/* ===== RESET ===== */
* {
  box-sizing: border-box;
  font-family: "Segoe UI", Arial, sans-serif;
}

body {
  margin: 0;
  background: #f4f6f8;
  color: #212121;
}

/* ===== HEADER ===== */

.nhs-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nhs-left {
  display: flex;
  align-items: center;
  gap: 15px;
}

.nhs-logo {
  height: 55px;
}

.nhs-title {
  color: white;
  font-size: 1.3rem;
  font-weight: 700;
}

.nhs-menu {
  display: flex;
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nhs-menu a,
.dropdown-btn {
  color: white;
  text-decoration: none;
  font-weight: 600;
  background: none;
  border: none;
  cursor: pointer;
}

.nhs-menu a:hover {
  text-decoration: underline;
}

/* ===== DROPDOWN ===== */
.dropdown {
  position: relative;
}

.dropdown-content {
  display: none;
  position: absolute;
  right: 0;
  background: white;
  border: 1px solid #ccc;
  min-width: 180px;
  z-index: 10;
}

.dropdown-content a {
  display: block;
  padding: 10px;
  color: #005eb8;
}

.dropdown-content a:hover {
  background: #f1f1f1;
}

.dropdown:hover .dropdown-content {
  display: block;
}

/* ===== PAGE LAYOUT ===== */
.container {
  padding: 24px;
}

.section {
  background: white;
  border: 1px solid #dcdcdc;
  padding: 20px;
  margin-bottom: 20px;
}

.section h3 {
  margin-top: 0;
  color: #003087;
  border-bottom: 1px solid #ddd;
  padding-bottom: 6px;
}

/* ===== DASHBOARD ===== */
.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.dashboard-card {
  background: white;
  border: 1px solid #ccc;
  padding: 20px;
}

.dashboard-card h4 {
  margin: 0 0 10px 0;
  color: #005eb8;
}

/* ===== FORMS ===== */
label {
  font-weight: 600;
  display: block;
  margin-top: 10px;
  color: #005eb8;
}

input,
select,
textarea {
  width: 100%;
  padding: 8px;
  border: 1px solid #aaa;
  margin-top: 4px;
}

textarea {
  resize: vertical;
  min-height: 80px;
}

button {
  margin-top: 12px;
  background: #005eb8;
  color: white;
  border: none;
  padding: 10px 18px;
  font-weight: 600;
  cursor: pointer;
}

button:hover {
  background: #003087;
}

/* ===== LISTS ===== */
ul.clean-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

ul.clean-list li {
  padding: 8px 0;
  border-bottom: 1px solid #ddd;
}

/* ===== CASE TWO COLUMN ===== */
.case-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

@media (max-width: 900px) {
  .case-layout {
    grid-template-columns: 1fr;
  }
}

/* ===== AUDIT LOG ===== */
.audit {
  font-size: 0.9rem;
  color: #555;
}
/* ===== RESET ===== */
* {
  box-sizing: border-box;
  font-family: "Segoe UI", Arial, sans-serif;
  margin: 0;
  padding: 0;
}

/* ===== TOP BAR ===== */
.nhs-top-bar {
  background: #f4f6f8;
  padding: 12px 0;
  border-bottom: 1px solid #ddd;
}

.top-bar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.hospital-name strong {
  width: 150px;
  margin-bottom: 30px;
}

.hospital-name span {
 width: 150px;
  margin-bottom: 30px;
}

.search-bar input {
  padding: 6px 10px;
  border: 1px solid #ccc;
  border-right: none;
  border-radius: 4px 0 0 4px;
}

.search-bar button {
  padding: 6px 10px;
  border: 1px solid #005eb8;
  background: #005eb8;
  color: white;
  border-radius: 0 4px 4px 0;
  cursor: pointer;
}

/* ===== MAIN NAV BAR ===== */
/* ===== MAIN NAV BAR ===== */
.nhs-header {
  background: #005eb8;
}

.nhs-nav {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 24px; /* Increase top/bottom padding to make it taller */
}

.nhs-menu {
  display: flex;
  gap: 24px;
  list-style: none;
}

.nhs-menu a {
  text-decoration: none;
  color: white;
  font-weight: 600;
  padding: 10px 12px; /* Add some vertical padding inside the links */
  border-radius: 0px;
  transition: background 0.2s;
}

.nhs-menu a:hover {
  background: rgba(255, 255, 255, 0.438);
}


/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .top-bar-content,
  .nhs-menu {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .search-bar {
    width: 100%;
  }

  .search-bar input {
    width: 80%;
    margin-bottom: 6px;
  }

  .search-bar button {
    width: 18%;
  }
}
.nhs-logo {
  height: 90px; /* Change this to whatever size you want */
  width: auto;   /* Keeps the aspect ratio */
}
.dashboard-card button {
  width: 100%;
  margin-top: 8px;
}
.clean-list li {
  padding: 12px;
  border-radius: 4px;
  background: #f7f9fc;
  margin-bottom: 8px;
}
/* ===== STAFF DASHBOARD ===== */
.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.dashboard-card {
  background: white;
  border: 1px solid #ccc;
  padding: 20px;
  border-radius: 6px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.dashboard-card h4 {
  color: #005eb8;
  margin-bottom: 10px;
}

.clean-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.clean-list li {
  padding: 12px;
  border-bottom: 1px solid #eee;
  border-radius: 4px;
  background: #f7f9fc;
  margin-bottom: 8px;
}

.clean-list li a {
  color: #005eb8;
  text-decoration: none;
}

.clean-list li a:hover {
  text-decoration: underline;
}

button {
  background: #005eb8;
  color: white;
  border: none;
  padding: 8px 14px;
  font-weight: 600;
  cursor: pointer;
  border-radius: 4px;
  margin-top: 6px;
}

button:hover {
  background: #003087;
}

h2 {
  color: #003087;
  margin-bottom: 20px;
}
.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.dashboard-card {
  background: white;
  border: 1px solid #ccc;
  padding: 20px;
  border-radius: 6px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.dashboard-card h4 {
  color: #005eb8;
  margin-bottom: 10px;
}

.dashboard-card p {
  font-size: 0.95rem;
  color: #333;
}

.dashboard-card button {
  margin-top: 10px;
}
/* Footer */
.nhs-footer {
  background: #005eb8;
  color: white;
  padding: 20px 0;
  margin-top: 40px;
  font-size: 0.9rem;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  padding: 0 24px;
  margin-top: auto;
}

.footer-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-logo {
  height: 50px;
  width: auto;
}

.footer-right ul {
  list-style: none;
  display: flex;
  gap: 20px;
  padding: 0;
  margin: 0;
}

.footer-right a {
  color: white;
  text-decoration: none;
}

.footer-right a:hover {
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 700px) {
  .footer-container {
    flex-direction: column;
    text-align: center;
  }

  .footer-right ul {
    flex-direction: column;
    gap: 8px;
  }
}
.dashboard-banner {
  margin-left: 25px;
  margin-bottom: 20px;
  display: flex;
  gap: 10px;
  overflow-x: auto;
}

.banner-img {
  max-height: 400px;
  border-radius: 6px;
  cursor: pointer;
  transition: transform 0.2s;
}

.banner-img:hover {
  transform: scale(1.05);
}
/* ===== STAFF SHIFTS PAGE ===== */
.container h2 {
  color: #003087;
  margin-bottom: 20px;
}

.btn {
  display: inline-block;
  margin-bottom: 20px;
  padding: 8px 16px;
  background: #005eb8;
  color: white;
  text-decoration: none;
  font-weight: 600;
  border-radius: 4px;
  transition: background 0.2s;
}

.btn:hover {
  background: #003087;
}

.shift-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.shift-card {
  background: white;
  border: 1px solid #dcdcdc;
  padding: 16px 20px;
  border-radius: 6px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.shift-card h4 {
  margin: 0 0 8px 0;
  color: #005eb8;
}

.shift-card p {
  margin: 2px 0;
  font-size: 0.95rem;
  color: #333;
}

.shift-card form {
  margin-top: 10px;
}

.shift-card button {
  background: #005eb8;
  color: white;
  padding: 6px 12px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 600;
  transition: background 0.2s;
}

.shift-card button:hover {
  background: #003087;
}

.shift-card span {
  color: red;
  font-weight: 600;
  margin-top: 10px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 600px) {
  .shift-list {
    grid-template-columns: 1fr;
  }
}
/* ===== PATIENTS PAGE ===== */
.container h2 {
  color: #003087;
  margin-bottom: 20px;
}

ul.patients-list {
  list-style: none;
  padding: 0;
}

ul.patients-list li {
  background: white;
  border: 1px solid #dcdcdc;
  padding: 12px 16px;
  margin-bottom: 10px;
  border-radius: 6px;
  transition: background 0.2s;
}

ul.patients-list li:hover {
  background: #f4f6f8;
}

ul.patients-list a {
  text-decoration: none;
  color: #005eb8;
  font-weight: 600;
  display: block;
}

ul.patients-list a strong {
  font-weight: 700;
}

ul.patients-list a span {
  font-weight: 400;
  color: #555;
  margin-left: 6px;
}
