:root {
  --sidebar-width: 280px;
  --admin-bg: #f5f7fb;
  --admin-surface: #ffffff;
  --admin-surface-soft: #f8fafc;
  --admin-border: #e5edf5;
  --admin-text: #16342b;
  --admin-muted: #64748b;
  --admin-primary: #0e4528;
  --admin-primary-soft: #eaf9f1;
  --admin-success: #1f9d61;
  --admin-warning: #d39b00;
  --admin-danger: #dc2626;
  --admin-shadow-sm: 0 10px 24px rgba(15, 23, 42, 0.05);
  --admin-shadow: 0 18px 42px rgba(14, 69, 40, 0.08);
  --admin-ring: 0 0 0 4px rgba(14, 69, 40, 0.11);
}

* { box-sizing: border-box; }

html, body {
  min-height: 100%;
  margin: 0;
  font-family: "Segoe UI", Arial, sans-serif;
  background: linear-gradient(180deg, #f8fbfb 0%, #f3f7f7 100%);
  color: var(--admin-text);
}

a { text-decoration: none; }

body {
  min-height: 100vh;
}

.admin-shell {
  min-height: 100vh;
}

.admin-sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 1040;
  width: var(--sidebar-width);
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  overflow-y: auto;
  background: linear-gradient(180deg, #0d3b21 0%, #0e4528 100%);
  color: #ffffff;
  box-shadow: 18px 0 42px rgba(14, 69, 40, 0.14);
  transition: width 0.2s ease, transform 0.2s ease;
}

.sidebar-header {
  padding: 1.35rem 1.2rem 1.15rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.brand-mark {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #ffffff;
}

.brand-mark:hover,
.brand-mark:focus {
  color: #ffffff;
}

.brand-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: inline-grid;
  place-items: center;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.1);
}

.brand-logo {
  max-width: 38px;
  height: auto;
}

.brand-copy {
  display: grid;
  gap: 0.15rem;
}

.brand-title {
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.2;
}

.brand-subtitle {
  font-size: 0.74rem;
  color: rgba(255,255,255,0.72);
  line-height: 1.2;
}

.sidebar-nav {
  display: grid;
  gap: 0.5rem;
  padding: 1rem 0.8rem;
}

.sidebar-nav .nav-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 48px;
  padding: 0.8rem 0.9rem;
  border-radius: 12px;
  color: rgba(255,255,255,0.8);
  font-weight: 600;
  transition: all 0.18s ease;
  white-space: nowrap;
}

.sidebar-nav .nav-link:hover,
.sidebar-nav .nav-link:focus,
.sidebar-nav .nav-link.active {
  background: rgba(255,255,255,0.08);
  color: #ffffff;
  transform: translateX(2px);
}

.nav-icon {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  display: inline-grid;
  place-items: center;
  background: rgba(255,255,255,0.08);
  color: #dff7ec;
  font-size: 0.82rem;
}

.sidebar-user {
  margin: auto 1rem 1rem;
  padding: 0.9rem 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  border-radius: 12px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.06);
}

.sidebar-user strong {
  display: block;
  font-size: 0.92rem;
  line-height: 1.2;
}

.sidebar-user small {
  color: rgba(255,255,255,0.7);
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 0 5px rgba(52,211,153,0.12);
  flex-shrink: 0;
}

.admin-main {
  min-height: 100vh;
  margin-left: var(--sidebar-width);
  transition: margin-left 0.2s ease;
}

.admin-navbar {
  position: sticky;
  top: 0;
  z-index: 1020;
  min-height: 72px;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--admin-border);
  box-shadow: var(--admin-shadow-sm);
}

.sidebar-toggle {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  gap: 4px;
  padding: 9px;
  border: 1px solid var(--admin-border);
  border-radius: 10px;
  background: #ffffff;
  box-shadow: 0 10px 20px rgba(15, 23, 42, 0.04);
  transition: all 0.15s ease;
}

.sidebar-toggle:hover,
.sidebar-toggle:focus {
  border-color: #bfdbfe;
  background: #f8fbff;
  box-shadow: var(--admin-ring);
}

.sidebar-toggle span {
  width: 18px;
  height: 2px;
  display: block;
  background: var(--admin-text);
  border-radius: 999px;
}

.navbar-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.icon-button,
.profile-button {
  border: 1px solid var(--admin-border);
  background: #ffffff;
  color: var(--admin-text);
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.04);
  transition: all 0.15s ease;
}

.icon-button:hover,
.icon-button:focus,
.profile-button:hover,
.profile-button:focus {
  border-color: #bfdbfe;
  box-shadow: var(--admin-ring);
}

.icon-button {
  position: relative;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  font-size: 1rem;
}

.notification-dot {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--admin-danger);
  box-shadow: 0 0 0 2px #fff;
}

.profile-button {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 42px;
  padding: 0.35rem 0.7rem;
  border-radius: 10px;
  font-weight: 700;
}

.profile-avatar {
  width: 32px;
  height: 32px;
  display: inline-grid;
  place-items: center;
  border-radius: 10px;
  background: linear-gradient(135deg, #dff7ec, #dbeafe);
  color: var(--admin-primary);
  font-size: 1rem;
}

.profile-avatar img {
  width: 100%;
  height: 100%;
  border-radius: inherit;
  object-fit: cover;
}

.dashboard-content {
  min-height: calc(100vh - 150px);
}

.dashboard-content > .container-fluid {
  padding-top: 1.75rem !important;
  padding-bottom: 1.75rem !important;
}

.page-header {
  margin-bottom: 1.5rem;
}

.section-kicker {
  margin: 0 0 0.35rem;
  color: #5e7b6a;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.page-title {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
  color: var(--admin-text);
}

.page-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  background: var(--admin-primary-soft);
  color: #126d43;
  border: 1px solid rgba(18,109,67,0.12);
  font-size: 0.78rem;
  font-weight: 700;
}

.summary-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.15rem;
  margin-top: 1rem;
}

.summary-card {
  background: var(--admin-surface);
  border: 1px solid var(--admin-border);
  border-radius: 20px;
  padding: 1.2rem 1.15rem;
  box-shadow: var(--admin-shadow-sm);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.summary-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--admin-shadow);
}

.summary-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.metric-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: inline-grid;
  place-items: center;
  font-size: 1.15rem;
}

.metric-icon.green {
  background: rgba(31,157,97,0.12);
  color: #198754;
}

.metric-icon.blue {
  background: rgba(13,110,253,0.12);
  color: #0d6efd;
}

.metric-icon.orange {
  background: rgba(214,146,0,0.12);
  color: #d39b00;
}

.metric-icon.purple {
  background: rgba(102, 51, 153, 0.12);
  color: #6f42c1;
}

.summary-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--admin-muted);
}

.summary-value {
  margin-top: 0.2rem;
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--admin-text);
}

.summary-change {
  font-size: 0.8rem;
  font-weight: 700;
}

.summary-change.up { color: #198754; }
.summary-change.down { color: #dc3545; }

.panel {
  margin-top: 1.5rem;
  background: var(--admin-surface);
  border: 1px solid var(--admin-border);
  border-radius: 22px;
  box-shadow: var(--admin-shadow-sm);
  overflow: hidden;
}

.panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--admin-border);
}

.panel-title {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--admin-text);
}

.panel-body {
  padding: 1.25rem;
}

.admin-footer {
  background: linear-gradient(180deg, rgba(14,69,40,0.02), rgba(14,69,40,0.08));
  border-top: 1px solid var(--admin-border);
  color: #365b49;
  font-weight: 600;
  padding: 1rem 0;
}
body.sidebar-mini .admin-sidebar {
  width: 92px;
}

body.sidebar-mini .admin-main {
  margin-left: 92px;
}

body.sidebar-mini .brand-copy,
body.sidebar-mini .nav-text,
body.sidebar-mini .sidebar-user strong,
body.sidebar-mini .sidebar-user small {
  display: none;
}

body.sidebar-mini .sidebar-nav .nav-link {
  justify-content: center;
  padding-inline: 0.5rem;
}

@media (max-width: 991.98px) {
  .summary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-sidebar {
    transform: translateX(-100%);
  }
 body.sidebar-open .admin-sidebar {
    transform: translateX(0);
  }
  body.sidebar-open .sidebar-backdrop {
    display: block;
  }
  
  .admin-main {
    margin-left: 0;
  }
}
.auth-body {
    min-height: 100vh;
    margin: 0;
    background: url('/images/loginBG.png') center center / cover no-repeat;
    position: relative;
}

.auth-wrapper {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1.5rem 4rem;
}

.auth-visual {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}
.auth-logo {
    width: clamp(150px, 18vw, 260px);
    max-width: 120px;
    height: auto;
    filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.18));
}

.auth-page {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.auth-card {
    width: min(100%, 440px);
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 24px;
    box-shadow: 0 30px 60px rgba(7, 18, 14, 0.22);
    padding: clamp(1.5rem, 3vw, 2.2rem);
    backdrop-filter: blur(8px);
}

.auth-heading {
    margin-bottom: 1.5rem;
}

.eyebrow {
    color: #1d7b5c;
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: 700;
}

.auth-heading h1 {
    color: #0f172a;
    font-weight: 800;
}

.auth-heading p.text-muted {
    color: #6b7280 !important;
}

.login-form .form-label {
    font-weight: 600;
    color: #1f2937;
}

.login-form .form-control {
    height: 48px;
    border-radius: 12px;
    border: 1px solid #dfe7ee;
    padding: 0.75rem 0.9rem;
    font-size: 0.98rem;
    transition: all 0.2s ease;
    background: #fff;
}

.login-form .form-control:focus {
    border-color: #1d7b5c;
    box-shadow: 0 0 0 0.2rem rgba(29, 123, 92, 0.15);
}

.btn-login {
    height: 48px;
    border-radius: 12px;
    font-weight: 700;
    background: linear-gradient(135deg, #0d3b21, #1d7b5c);
    border: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-login:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 26px rgba(13, 59, 33, 0.18);
}

.auth-footer {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    text-align: center;
    padding: 0.9rem 1rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.85rem;
    background: rgba(15, 23, 42, 0.2);
    backdrop-filter: blur(4px);
}

@media (max-width: 991.98px) {
    .auth-wrapper {
        grid-template-columns: 1fr;
        padding-top: 2rem;
        padding-bottom: 4.5rem;
    }

    .auth-visual {
        min-height: 180px;
    }

    .auth-logo {
        max-width: 220px;
    }

    .auth-page {
        padding-bottom: 1rem;
    }
}

@media (max-width: 575.98px) {
    .auth-card {
        border-radius: 18px;
        padding: 1.25rem;
    }

    .login-form .form-control,
    .btn-login {
        height: 46px;
    }

    .auth-footer {
        font-size: 0.75rem;
        padding: 0.75rem 0.8rem;
    }
}
@media (max-width: 575.98px) {
  .summary-grid {
    grid-template-columns: 1fr;
  }

  .panel-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.7rem;
  }

  .profile-name {
    display: none !important;
  }
}
/* create page */
.kr-create-page .card {
    border-radius: 22px;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.06);
}

.kr-create-page .card-header {
    padding: 1.4rem 1.5rem 0.75rem;
}

.kr-create-page .card-body {
    padding: 1.2rem 1.5rem 1.5rem;
}

.kr-create-page .form-label {
    font-weight: 600;
    color: #334155;
    margin-bottom: 0.5rem;
}

.kr-create-page .form-control,
.kr-create-page .form-select,
.kr-create-page textarea {
    border-radius: 12px;
    border: 1px solid #dfe7ee;
    min-height: 46px;
    padding: 0.75rem 0.9rem;
    transition: all 0.2s ease;
}

.kr-create-page .form-control:focus,
.kr-create-page .form-select:focus,
.kr-create-page textarea:focus {
    border-color: #0e4528;
    box-shadow: 0 0 0 0.2rem rgba(14, 69, 40, 0.12);
}

.kr-create-page .btn {
    border-radius: 12px;
    font-weight: 600;
    min-height: 46px;
}

@media (max-width: 767.98px) {
    .kr-create-page .card-header {
        padding: 1rem 1rem 0.5rem;
    }

    .kr-create-page .card-body {
        padding: 1rem;
    }

    .page-title {
        font-size: 1.6rem;
    }
}
/* end create page */

.hospital-overview {
  --overview-ink: #173b30;
  --overview-muted: #687a72;
  --overview-line: #dfe9e3;
  color: var(--overview-ink);
}
.hospital-filter-menu.show{
  overflow-y: scroll;
  height:100px;
}

.overview-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--overview-line);
}

.overview-eyebrow {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 0.55rem;
  color: #2f7859;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.overview-heading-copy h1 {
  margin: 0;
  color: var(--overview-ink);
  font-size: 2rem;
  font-weight: 800;
}

.overview-intro {
  margin: 0.4rem 0 0;
  color: var(--overview-muted);
  font-size: 0.95rem;
}

.overview-count {
  display: grid;
  justify-items: end;
  gap: 0.2rem;
  flex: 0 0 auto;
}

.overview-count span {
  color: var(--overview-muted);
  font-size: 0.8rem;
  font-weight: 600;
}

.overview-count strong {
  color: var(--overview-ink);
  font-size: 1.85rem;
  font-weight: 800;
  line-height: 1;
}

.overview-filter {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin: 1.25rem 0 2rem;
  padding: 1rem 1.15rem;
  border: 1px solid #d9e8df;
  border-radius: 10px;
  background: #f1f7f3;
}

.overview-filter-heading {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  flex: 0 0 auto;
}

.overview-filter-icon,
.overview-hospital-icon,
.overview-metric-icon,
.overview-empty-icon {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
}

.overview-filter-icon {
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 9px;
  background: #dceee3;
  color: #246648;
  font-size: 1.1rem;
}

.overview-filter-heading strong,
.overview-filter-heading small {
  display: block;
}

.overview-filter-heading strong {
  font-size: 0.92rem;
  font-weight: 750;
}

.overview-filter-heading small {
  margin-top: 0.1rem;
  color: var(--overview-muted);
  font-size: 0.78rem;
}

.overview-filter-controls {
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  gap: 0.65rem;
  min-width: 0;
  flex: 1;
}

.overview-select-wrap {
  width: min(100%, 21rem);
}

.overview-select-wrap .form-label {
  margin-bottom: 0.35rem;
  color: #42584d;
  font-size: 0.76rem;
  font-weight: 700;
}

.overview-select-wrap .form-select {
  min-height: 42px;
  border-color: #cadbd0;
  border-radius: 8px;
  color: #273e33;
  font-size: 0.88rem;
}

.overview-filter-actions {
  display: flex;
  gap: 0.5rem;
}

.overview-filter-actions .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 42px;
  border-radius: 8px;
  white-space: nowrap;
  font-size: 0.86rem;
  font-weight: 650;
}

.overview-filter-actions .btn-primary {
  border-color: #176747;
  background: #176747;
}

.overview-filter-actions .btn-primary:hover {
  border-color: #10563a;
  background: #10563a;
}

.overview-section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.9rem;
}

.overview-section-heading h2 {
  margin: 0;
  color: var(--overview-ink);
  font-size: 1.15rem;
  font-weight: 800;
}

.overview-section-heading p {
  margin: 0.25rem 0 0;
  color: var(--overview-muted);
  font-size: 0.82rem;
}

.overview-live,
.overview-status {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  flex: 0 0 auto;
  padding: 0.35rem 0.6rem;
  border: 1px solid #d6e9dc;
  border-radius: 999px;
  background: #f2f8f4;
  color: #286447;
  font-size: 0.72rem;
  font-weight: 750;
}

.overview-live > span {
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 50%;
  background: #2a9b68;
}

.overview-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.overview-hospital {
  min-width: 0;
  padding: 1.1rem;
  border: 1px solid var(--overview-line);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 4px 14px rgba(23, 59, 48, 0.045);
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.overview-hospital:hover {
  transform: translateY(-2px);
  border-color: #b8d2c2;
  box-shadow: 0 9px 22px rgba(23, 59, 48, 0.085);
}

.overview-hospital-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}

.overview-hospital-icon {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 9px;
  background: #e8f3ec;
  color: #1b6948;
  font-size: 1.2rem;
}

.overview-hospital-title {
  min-width: 0;
  flex: 1;
}

.overview-hospital-title > span {
  display: block;
  margin-bottom: 0.1rem;
  color: #75847c;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.overview-hospital-title h3 {
  overflow-wrap: anywhere;
  margin: 0;
  color: var(--overview-ink);
  font-size: 0.98rem;
  font-weight: 750;
  line-height: 1.3;
}

.overview-status {
  padding: 0.25rem 0.5rem;
  font-size: 0.68rem;
}

.overview-phone {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  overflow-wrap: anywhere;
  margin: 0.95rem 0 0;
  color: #5e7167;
  font-size: 0.82rem;
}

.overview-phone i {
  color: #39735a;
}

.overview-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 1rem;
  padding-top: 0.9rem;
  border-top: 1px solid #edf1ee;
}

.overview-metric {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  min-width: 0;
}

.overview-metric-icon {
  width: 2rem;
  height: 2rem;
  border-radius: 8px;
  font-size: 0.88rem;
}

.overview-metric-icon.green {
  background: #e8f4ec;
  color: #22804f;
}

.overview-metric-icon.blue {
  background: #e8f1fa;
  color: #3976ad;
}

.overview-metric-label,
.overview-metric strong {
  display: block;
}

.overview-metric-label {
  color: #6c7d74;
  font-size: 0.68rem;
  font-weight: 600;
  line-height: 1.25;
}

.overview-metric strong {
  margin-top: 0.18rem;
  color: #203d30;
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1;
}

.overview-empty {
  display: grid;
  justify-items: center;
  grid-column: 1 / -1;
  padding: 3rem 1rem;
  border: 1px dashed #cddbd2;
  border-radius: 10px;
  background: #fbfdfb;
  text-align: center;
}

.overview-empty-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 10px;
  background: #e8f3ec;
  color: #39735a;
  font-size: 1.35rem;
}

.overview-empty h3 {
  margin: 0.8rem 0 0;
  color: var(--overview-ink);
  font-size: 1rem;
  font-weight: 750;
}

.overview-empty p {
  margin: 0.3rem 0 0;
  color: var(--overview-muted);
  font-size: 0.84rem;
}

@media (max-width: 991.98px) {
  .overview-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .overview-filter {
    align-items: flex-start;
    flex-direction: column;
  }

  .overview-filter-controls {
    width: 100%;
    justify-content: flex-start;
  }
}

@media (max-width: 575.98px) {
  .overview-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.8rem;
  }

  .overview-heading-copy h1 {
    font-size: 1.65rem;
  }

  .overview-count {
    display: flex;
    align-items: baseline;
    justify-items: initial;
    gap: 0.55rem;
  }

  .overview-count strong {
    font-size: 1.35rem;
  }

  .overview-filter {
    gap: 0.9rem;
    padding: 0.9rem;
  }

  .overview-filter-controls {
    align-items: stretch;
    flex-direction: column;
  }

  .overview-select-wrap {
    width: 100%;
  }

  .overview-filter-actions .btn {
    flex: 1;
  }

  .overview-section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.55rem;
  }

  .overview-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .overview-hospital {
    padding: 1rem;
  }
}

  .users-form-page .card-header {
    padding-bottom: 0.8rem;
  }

  .users-form-page .card-header .btn {
    border-radius: 8px;
    font-weight: 650;
  }

  .users-form-subtitle {
    margin-top: 0.35rem;
    color: #6a7c73;
    font-size: 0.88rem;
  }

  .users-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.1rem 1.25rem;
  }

  .users-form-grid > .form-group {
    min-width: 0;
    margin: 0;
  }

  .users-form-grid > .form-group:last-child {
    display: flex;
    grid-column: 1 / -1;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-top: 0.15rem;
  }

  .users-form-grid label {
    display: block;
    margin-bottom: 0.45rem;
    color: #354d40;
    font-size: 0.88rem;
    font-weight: 650;
  }

  .users-form-grid .form-control,
  .users-form-grid .form-select {
    min-height: 46px;
    border-color: #dce6df;
    border-radius: 9px;
    background-color: #fff;
  }

  .users-form-grid .form-control:focus,
  .users-form-grid .form-select:focus {
    border-color: #388364;
    box-shadow: 0 0 0 0.2rem rgba(56, 131, 100, 0.13);
  }

  .users-form-grid .form-text {
    margin-top: 0.4rem;
    color: #6f7f76;
    font-size: 0.77rem;
    line-height: 1.45;
  }

  .users-form-grid .invalid-feedback {
    font-size: 0.8rem;
  }

  .users-form-grid .btn {
    min-height: 44px;
    border-radius: 8px;
    font-weight: 650;
  }

  .user-directory-table {
    min-width: 1120px;
  }

  .user-directory-table th,
  .user-directory-table td {
    vertical-align: middle;
  }

  .user-directory-table .table-actions {
    min-width: 128px;
  }

  @media (max-width: 767.98px) {
    .users-form-grid {
      grid-template-columns: minmax(0, 1fr);
      gap: 1rem;
    }

    .users-form-grid > .form-group:last-child {
      grid-column: auto;
    }
  }

  @media (max-width: 575.98px) {
    .users-form-grid > .form-group:last-child {
      flex-direction: column;
    }

    .users-form-grid > .form-group:last-child .btn {
      width: 100%;
    }
  }