:root {
  --app-primary: #004b23;
  --app-primary-dark: #003215;
  --app-primary-soft: #e8f6ec;
  --app-surface: #f4f7f5;
  --app-surface-strong: #eef3f0;
  --app-border: #dfe4e1;
  --app-text: #1d2422;
  --app-muted: #61706e;
}

.material-symbols-outlined,
.app-icon {
  font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 24;
  display: inline-block;
  line-height: 1;
  vertical-align: middle;
}

html,
body {
  min-height: 100%;
}

body {
  font-family: "Inter", sans-serif;
  background: var(--app-surface);
  color: var(--app-text);
}

h1,
h2,
h3,
h4,
h5,
h6,
.display-6,
.navbar-brand,
.section-title,
.page-title {
  font-family: "Public Sans", sans-serif;
}

a {
  text-decoration: none;
}

.app-layout {
  display: flex;
  min-height: 100vh;
}

.app-main {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.app-content {
  padding: 1.5rem;
  padding-bottom: 6rem;
}

.app-sidebar {
  width: 280px;
  flex: 0 0 280px;
  background: var(--app-surface-strong);
  border-right: 1px solid var(--app-border);
  position: sticky;
  top: 0;
  height: 100vh;
}

.app-sidebar-shell {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow-y: auto;
  padding: 1.5rem;
}

.app-sidebar-brand {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.app-brand-mark {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--app-primary);
  color: #fff;
}

.app-sidebar-title {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--app-primary-dark);
}

.app-sidebar-subtitle {
  margin: 0.2rem 0 0;
  color: var(--app-muted);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
}

.app-sidebar-nav .nav-link {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  border-radius: 1rem;
  padding: 0.65rem 0.85rem;
  color: #51605e;
  font-weight: 600;
  font-size: 0.9rem;
  line-height: 1.25;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.app-sidebar-nav .nav-link:hover,
.app-sidebar-nav .nav-link:focus {
  color: var(--app-primary);
  background: var(--app-primary-soft);
  transform: translateX(2px);
}

.app-sidebar-nav .nav-link.active {
  background: var(--app-primary);
  color: #fff;
  box-shadow: 0 1rem 2rem rgba(0, 75, 35, 0.18);
}

.app-sidebar-footer {
  margin-top: auto;
  padding: 1rem;
  border-radius: 1.25rem;
  background: #fff;
  border: 1px solid var(--app-border);
}

.app-sidebar-footer img {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  object-fit: cover;
}

.app-sidebar-footer-title {
  margin: 0;
  color: var(--app-primary-dark);
  font-size: 0.88rem;
  font-weight: 700;
}

.app-sidebar-footer-meta {
  margin: 0;
  color: var(--app-muted);
  font-size: 0.7rem;
}

[data-shared-header] {
  width: 100%;
}

.app-header {
  position: sticky;
  top: 0;
  z-index: 1030;
  background: rgba(248, 249, 250, 0.96);
  border-bottom: 1px solid var(--app-border);
  backdrop-filter: blur(12px);
}

.app-header .navbar-brand {
  font-weight: 800;
  color: var(--app-primary-dark);
  letter-spacing: -0.02em;
  font-size: 1rem;
}

.app-brand-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.9rem;
  background: var(--app-primary);
  color: #fff;
  font-size: 1.15rem;
}

.app-header .nav-link {
  border-radius: 999px;
  color: #52605f;
  font-weight: 600;
  padding: 0.5rem 0.9rem;
  font-size: 0.88rem;
}

.app-header .nav-link:hover,
.app-header .nav-link:focus {
  color: var(--app-primary);
  background: var(--app-primary-soft);
}

.app-header .nav-link.active {
  background: var(--app-primary);
  color: #fff;
}

.app-header .navbar-toggler {
  border: 1px solid var(--app-border);
  box-shadow: none;
}

.app-search {
  position: relative;
  min-width: 240px;
}

.app-search .material-symbols-outlined,
.app-search .app-icon {
  position: absolute;
  left: 0.9rem;
  top: 50%;
  transform: translateY(-50%);
  color: #707970;
  font-size: 1.05rem;
}

.app-search .form-control {
  border: 1px solid var(--app-border);
  border-radius: 999px;
  padding: 0.7rem 1rem 0.7rem 2.6rem;
  background: #fff;
  min-height: 2.75rem;
  font-size: 0.9rem;
}

.app-search .form-control:focus {
  border-color: #79bb87;
  box-shadow: 0 0 0 0.2rem rgba(0, 75, 35, 0.12);
}

.app-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 999px;
  border: 1px solid var(--app-border);
  background: #fff;
  color: #52605f;
}

.app-icon-btn:hover,
.app-icon-btn:focus {
  border-color: #79bb87;
  color: var(--app-primary);
  background: var(--app-primary-soft);
}

.app-user-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  border-radius: 999px;
  padding: 0.4rem 0.6rem;
  background: #fff;
  border: 1px solid var(--app-border);
  color: var(--app-primary-dark);
  font-size: 0.88rem;
}

.app-user-chip:hover,
.app-user-chip:focus {
  color: var(--app-primary-dark);
  background: var(--app-primary-soft);
  border-color: #79bb87;
}

.app-user-chip img {
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  object-fit: cover;
}

.app-region-badge {
  border: 1px solid var(--app-border);
  background: #fff;
  color: #52605f;
  font-weight: 700;
  padding: 0.55rem 0.85rem;
  font-size: 0.78rem;
}

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

.page-eyebrow {
  margin-bottom: 0.4rem;
  color: var(--app-muted);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 700;
}

.page-title {
  margin: 0;
  font-size: clamp(1.55rem, 2.4vw, 2.15rem);
  font-weight: 800;
  color: var(--app-primary-dark);
}

.page-subtitle {
  margin: 0.65rem 0 0;
  max-width: 60rem;
  color: var(--app-muted);
  font-size: 0.9rem;
}

.section-card,
.stat-card,
.accent-card {
  border: 0;
  border-radius: 1.5rem;
  box-shadow: 0 1rem 2rem rgba(15, 23, 42, 0.05);
}

.section-card {
  height: auto;
}

.section-card .card-header {
  background: transparent;
  border-bottom: 1px solid rgba(223, 228, 225, 0.85);
  padding: 1.25rem 1.5rem;
}

.section-card .card-body {
  padding: 1.5rem;
}

.section-title {
  margin: 0;
  color: var(--app-primary-dark);
  font-size: 1.02rem;
  font-weight: 800;
}

.section-copy {
  margin: 0.35rem 0 0;
  color: var(--app-muted);
  font-size: 0.86rem;
}

.stat-card .card-body {
  padding: 1.35rem 1.5rem;
}

.stat-label {
  margin: 0;
  color: var(--app-muted);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.66rem;
  font-weight: 700;
}

.stat-value {
  margin: 0.5rem 0 0;
  color: var(--app-primary-dark);
  font-size: 1.65rem;
  font-weight: 800;
}

.stat-note {
  margin: 0.45rem 0 0;
  color: var(--app-muted);
  font-size: 0.82rem;
}

.accent-card {
  background: linear-gradient(135deg, var(--app-primary) 0%, #0d6937 100%);
  color: #fff;
}

.accent-card .stat-label,
.accent-card .stat-note,
.accent-card .section-copy {
  color: rgba(255, 255, 255, 0.82);
}

.accent-card .stat-value,
.accent-card .section-title {
  color: #fff;
}

.metric-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  border-radius: 999px;
  background: var(--app-primary-soft);
  color: var(--app-primary);
  padding: 0.45rem 0.8rem;
  font-size: 0.72rem;
  font-weight: 700;
}

.table-app {
  margin-bottom: 0;
  font-size: 0.9rem;
}

.table-app thead th {
  color: var(--app-muted);
  font-size: 0.66rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  border-bottom-width: 1px;
}

.table-app > :not(caption) > * > * {
  padding: 0.72rem 0.65rem;
}

.table-app tbody tr:last-child td {
  border-bottom: 0;
}

.badge-soft-success,
.badge-soft-warning,
.badge-soft-danger,
.badge-soft-primary,
.badge-soft-muted {
  display: inline-block;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
}

.badge-soft-success {
  background: #e8f6ec;
  color: #0d7a3a;
}

.badge-soft-warning {
  background: #fff4db;
  color: #b26a00;
}

.badge-soft-danger {
  background: #ffe6e2;
  color: #c3391f;
}

.badge-soft-primary {
  background: #e4f0ff;
  color: #215da4;
}

.badge-soft-muted {
  background: #edf1f0;
  color: #566462;
}

.timeline-list,
.stack-list {
  display: grid;
  gap: 1rem;
}

.timeline-item,
.stack-item {
  display: flex;
  gap: 0.9rem;
}

.timeline-dot {
  width: 0.8rem;
  height: 0.8rem;
  border-radius: 50%;
  margin-top: 0.35rem;
  background: var(--app-primary);
  flex: 0 0 auto;
}

.timeline-item p,
.stack-item p {
  margin: 0;
}

.mini-note {
  color: var(--app-muted);
  font-size: 0.8rem;
}

.info-tile {
  border-radius: 1.25rem;
  background: #f8faf9;
  border: 1px solid var(--app-border);
  padding: 1rem 1.1rem;
}

.media-figure {
  width: 100%;
  border-radius: 1.25rem;
  object-fit: cover;
}

.table-wrap {
  overflow-x: auto;
}

.hero-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.support-box {
  border-radius: 1.25rem;
  background: #f8faf9;
  border: 1px solid var(--app-border);
  padding: 1.25rem;
}

.mobile-dock {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1040;
  background: rgba(255, 255, 255, 0.96);
  border-top: 1px solid var(--app-border);
  backdrop-filter: blur(12px);
  padding: 0.55rem 0.75rem 1.05rem;
}

.mobile-dock .nav-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  color: #6d7b79;
  border-radius: 1rem;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.7rem 0.5rem;
}

.mobile-dock .nav-link.active {
  color: var(--app-primary);
  background: var(--app-primary-soft);
}

/* App shell refresh */
body {
  background: #f3f6fb;
  color: #2a3447;
}

.app-layout {
  min-height: 100vh;
  background: #f3f6fb;
}

.app-main {
  min-height: 100vh;
  background: #f3f6fb;
}

.app-sidebar {
  width: 300px;
  flex: 0 0 300px;
  background: #fff;
  border-right: 1px solid #e6ebf2;
  box-shadow: 0 0 0 1px rgba(226, 232, 240, 0.28);
  transition: width 0.25s ease, flex-basis 0.25s ease;
}

.app-sidebar-shell {
  padding: 1rem 1rem 1.25rem;
}


.app-brand-mark {
  width: 3.35rem;
  height: 3.35rem;
  border-radius: 1.2rem;
  background: transparent;
  color: #2f7257;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

.app-brand-mark .material-symbols-outlined,
.app-brand-mark .app-icon {
  font-size: 1.8rem;
}

.app-brand-copy {
  display: block;
}

.app-sidebar-title {
  display: block;
  margin: 0;
  color: #2f7257;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.04em;
}

.app-sidebar-subtitle {
  display: block;
  margin-top: 0.45rem;
  color: #8a95a6;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.app-sidebar-nav {
  gap: 0 0.4rem !important;
}

.app-sidebar-nav .nav-link {
  padding: 0.6rem 0.65rem;
  border-radius: 1rem;
  color: #51607a;
  font-size: 0.85rem;
  font-weight: 600;
  background: transparent;
  transform: none;
}

.app-sidebar-nav .nav-link:hover,
.app-sidebar-nav .nav-link:focus {
  color: #1d5b40;
  background: #f6f9fc;
}

.app-sidebar-nav .nav-link.active {
  color: #1d5b40;
  background: #f2f7f3;
  box-shadow: none;
}

.app-sidebar-nav .nav-link .nav-link-icon {
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 0.8rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #8793a6;
  flex: 0 0 auto;
}

.app-sidebar-nav .nav-link .nav-link-text {
  min-width: 0;
}

.app-sidebar-nav .nav-link .nav-link-arrow {
  margin-left: auto;
  color: #a1acba;
  font-size: 0.8rem;
  transition: transform 0.2s ease, color 0.2s ease;
}

.app-sidebar-nav .nav-link.active .nav-link-icon {
  background: #dfeee5;
  color: #2f7257;
}

.app-sidebar-nav .nav-link.active .nav-link-arrow {
  color: #2f7257;
}

.nav-link-group-toggle {
  width: 100%;
  border: 0;
  text-align: left;
}

.nav-item-group.open .nav-link-group-toggle .nav-link-arrow,
.nav-link-group-toggle[aria-expanded="true"] .nav-link-arrow {
  transform: rotate(90deg);
}

.app-sidebar-submenu {
  margin: 0.4rem 0 0.25rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.app-sidebar-sublink {
  display: block;
  padding: 0.55rem 0.8rem;
  border-radius: 0.75rem;
  color: #6c7890;
  font-size: 0.8rem;
  font-weight: 600;
}

.app-sidebar-sublink:hover,
.app-sidebar-sublink:focus {
  color: #1d5b40;
  background: #f6f9fc;
}

.app-sidebar-sublink.active {
  color: #1d5b40;
  background: #f2f7f3;
}

.app-sidebar-utility {
  padding-top: 1rem;
  border-top: 1px solid #edf1f5;
}

.app-sidebar-logout {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.85rem 0.95rem;
  color: #51607a;
  border-radius: 1rem;
  font-size: 0.85rem;
  font-weight: 600;
}

.app-sidebar-logout:hover,
.app-sidebar-logout:focus {
  color: #1d5b40;
  background: #f6f9fc;
}

.app-sidebar-logout .nav-link-icon {
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 0.8rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #8793a6;
  flex: 0 0 auto;
}

.app-sidebar-logout:hover .nav-link-icon,
.app-sidebar-logout:focus .nav-link-icon {
  color: #2f7257;
}

.app-sidebar-legal {
  margin-top: auto;
  padding: 1rem 0.45rem 0;
  text-align: center;
  color: #8a95a6;
  font-size: 0.78rem;
  line-height: 1.65;
}

.app-sidebar-legal span {
  color: #2f7257;
  font-weight: 700;
}

.app-topbar {
  position: sticky;
  top: 0;
  z-index: 1030;
  background: #fff;
  border-bottom: 1px solid #e6ebf2;
}

.app-topbar-inner {
  min-height: 4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0 1.5rem;
}



.app-topbar-toggle .material-symbols-outlined,
.app-topbar-toggle .app-icon {
  font-size: 1.65rem;
}

.navbar-right-wrap {
  flex-direction: row;
  margin-bottom: 0;
}

.nav-top-wrap {
  gap: 0.75rem;
}

.topbar-user-trigger {
  display: inline-flex;
  border-radius: 999px;
}

.avatar.avatar-md {
  width: 2.9rem;
  height: 2.9rem;
}

.avatar.avatar-md img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  box-shadow: 0 0.7rem 1.5rem rgba(15, 23, 42, 0.06);
}
.avatar-online:before {
    background-color: #198754;
}

.avatar-indicators:before {
    border: 2px solid #fff;
    border-radius: 50%;
    bottom: 0;
    content: "";
    display: table;
    height: 30%;
    position: absolute;
    right: 5%;
    width: 30%;
}

.topbar-dropdown-menu {
  width: 14rem;
  min-width: 14rem;
  margin-top: 0.65rem;
  border: 1px solid #e2e8f0;
  border-radius: 0.85rem;
  box-shadow: 0 0.85rem 2rem rgba(15, 23, 42, 0.1);
  padding-bottom: 0.25rem;
}

.topbar-dropdown-menu .dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.55rem 0.85rem;
  color: #415066;
  font-size: 0.85rem;
}

.topbar-dropdown-menu .dropdown-item:hover,
.topbar-dropdown-menu .dropdown-item:focus {
  background: #f7faf8;
  color: #1d5b40;
}

.topbar-dropdown-menu .dropdown-divider {
  margin: 0.8rem 0 0.45rem;
}

.topbar-dropdown-menu .px-4 {
  padding-left: 0.9rem !important;
  padding-right: 0.9rem !important;
}

.topbar-dropdown-menu .pt-2 {
  padding-top: 0.8rem !important;
}

.topbar-dropdown-menu h5 {
  font-size: 0.95rem;
}

.topbar-dropdown-menu .text-muted {
  font-size: 0.78rem !important;
}

.app-content {
  padding: 0 1.75rem 2rem;
  background: #f3f6fb;
}

.page-hero {
  margin: 0 -1.75rem 0;
  padding: 2.65rem 1.75rem 5rem;
  background: linear-gradient(90deg, #113c2b 0%, #1b6045 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 44px 44px;
  opacity: 0.14;
}

.page-hero > * {
  position: relative;
  z-index: 1;
}

.page-eyebrow {
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.76rem;
  letter-spacing: 0.16em;
}

.page-title {
  color: #fff;
  font-size: clamp(1.45rem, 2.4vw, 2.15rem);
  letter-spacing: -0.04em;
}

.page-subtitle {
  color: rgba(255, 255, 255, 0.84);
  max-width: 46rem;
  font-size: 0.98rem;
}

.hero-actions {
  align-items: center;
}

.hero-actions .btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.page-hero .btn-success {
  background: #fff;
  border-color: #fff;
  color: #1c2d24;
}

.page-hero .btn-success:hover,
.page-hero .btn-success:focus {
  background: #f7faf8;
  border-color: #f7faf8;
  color: #1c2d24;
}

.page-hero .btn-outline-secondary {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.24);
  color: #fff;
}

.page-hero .btn-outline-secondary:hover,
.page-hero .btn-outline-secondary:focus {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.34);
  color: #fff;
}

.page-hero .btn-lg {
  padding: 0.82rem 1.25rem;
  border-radius: 1rem;
  font-size: 0.95rem;
  font-weight: 700;
  box-shadow: 0 1rem 1.8rem rgba(5, 21, 15, 0.12);
}

.stats-overlap {
  margin-top: -4.4rem;
  margin-bottom: 1.75rem;
  position: relative;
  z-index: 2;
}

.section-card,
.stat-card,
.accent-card {
  border: 0;
  border-radius: 1.4rem;
  background: #fff;
  box-shadow: 0 1rem 2.5rem rgba(15, 23, 42, 0.08);
}

.accent-card {
  background: #fff;
  color: inherit;
}

.accent-card .stat-label,
.accent-card .stat-note,
.accent-card .section-copy,
.accent-card .stat-value,
.accent-card .section-title {
  color: inherit;
}

.stat-card .card-body {
  padding: 1.55rem;
}

.stat-card-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 0.6rem;
}

.stat-label {
  color: #293548;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}

.stat-value {
  margin: 0.8rem 0 0;
  color: #1f2937;
  font-size: clamp(1.85rem, 2vw + 1rem, 2.35rem);
  font-weight: 800;
  line-height: 1.05;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.stat-value-compact {
  font-size: clamp(1.55rem, 1.2vw + 1rem, 1.5rem);
  white-space: nowrap;
}

.stat-note {
  margin: 0.75rem 0 0;
  color: #7a8699;
  font-size: 0.85rem;
  max-width: 17rem;
}

.stat-card-icon {
  width: 3.3rem;
  height: 3.3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.9rem;
  background: #dcecdf;
  color: #418765;
  flex: 0 0 auto;
}

.stat-card-icon .material-symbols-outlined,
.stat-card-icon .app-icon {
  font-size: 1.7rem;
}

.section-card {
  overflow: hidden;
}

.section-card .card-header {
  background: #fff;
  border-bottom: 1px solid #e7edf3;
  padding: 1.35rem 1.55rem;
}

.section-card .card-body {
  padding: 1.55rem;
}

.section-title {
  color: #263245;
  font-size: 1.1rem;
  font-weight: 800;
}

.section-copy {
  color: #7a8699;
  font-size: 0.9rem;
}

.table-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.table-search {
  width: min(100%, 32rem);
  margin-left: auto;
}

.table-search .form-control {
  min-height: 3.2rem;
}

.table-shell {
  border: 1px solid #e5ebf1;
  border-radius: 1.15rem;
  overflow: hidden;
  background: #fff;
}

.table-app {
  font-size: 0.82rem;
}

.table-app thead th {
  background: #f7f9fc;
  color: #445066;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: none;
  letter-spacing: 0;
  white-space: nowrap;
  border-bottom: 1px solid #e5ebf1;
}
.table-app tbody td {
    font-size: 0.82rem;
    padding: 0.8rem 0.8rem;
    vertical-align: middle;
}

.table-app > :not(caption) > * > * {
  padding: 1rem 1.05rem;
  color: #536075;
  border-color: #ebeff4;
}

.table-app tbody tr:hover td {
  background: #fbfcfd;
}

.table-action-btn {
  width: 2.85rem;
  height: 2.85rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 0.95rem;
  background: linear-gradient(135deg, #2f7257 0%, #3e8667 100%);
  color: #fff;
  box-shadow: 0 0.85rem 1.8rem rgba(47, 114, 87, 0.22);
}

.table-action-btn:hover,
.table-action-btn:focus {
  color: #fff;
  background: linear-gradient(135deg, #27664d 0%, #36775b 100%);
}

.action-stack {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  flex-wrap: nowrap;
  white-space: nowrap;
}

.action-btn {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  box-shadow: 0 6px 14px rgba(20, 28, 45, 0.12);
  transition: transform 0.14s ease, box-shadow 0.14s ease;
  text-decoration: none;
}

.action-btn:hover,
.action-btn:focus {
  transform: translateY(-1px);
  box-shadow: 0 10px 18px rgba(20, 28, 45, 0.18);
}

.action-btn.btn-view {
  background: #1f7a54;
  color: #fff;
}

.action-btn.btn-edit {
  background: #f5b61a;
  color: #111827;
}

.action-btn.btn-vacate {
  background: #d94857;
  color: #fff;
}

.action-btn.btn-approve {
  background: #2563eb;
  color: #fff;
}

.action-btn.btn-paid {
  background: #0f766e;
  color: #fff;
}

.action-btn.btn-reject {
  background: #d94857;
  color: #fff;
}

.table-routes thead th {
  font-size: 0.78rem;
  padding: 0.85rem 0.8rem;
  white-space: nowrap;
}

.table-routes tbody td {
  font-size: 0.82rem;
  padding: 0.8rem 0.8rem;
  vertical-align: middle;
}

.table-routes .action-btn {
  width: 32px;
  height: 32px;
}

.table-pagination-bar {
  margin-top: 1rem;
  padding: 0.85rem 1.1rem;
  border: 1px solid #e5ebf1;
  border-radius: 1rem;
  background: #fff;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 0.75rem;
}

.table-pagination-summary {
  color: #6b778c;
  font-size: 0.85rem;
}

.table-pagination-controls {
  justify-self: end;
}

.table-per-page-form {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  margin: 0;
}

.table-per-page-select {
    width: 58px;
    min-width: 58px;
    border-radius: 0.8rem;
    padding: 0.45rem 1.6rem 0.45rem 0.65rem;
    border: 1px solid #d7deea;
    box-shadow: 0 4px 10px rgba(15, 23, 42, 0.06);
    background-position: right 0.7rem center;
    font-size: 0.78rem;
}

.table-per-page-select:focus {
  border-color: #79a98e;
  box-shadow: 0 0 0 0.2rem rgba(47, 114, 87, 0.12);
}

.table-per-page-label {
  color: #344256;
  font-size: 0.78rem;
  min-width: 60px;
}

.table-pagination-list {
  gap: 0.4rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.table-pagination-bar nav {
  justify-self: end;
}

@media (max-width: 991.98px) {
  .table-pagination-bar {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .table-pagination-summary,
  .table-pagination-bar nav,
  .table-pagination-controls {
    justify-self: center;
    text-align: center;
  }

  .table-pagination-list {
    justify-content: center;
  }
}

.table-pagination-list .page-link {
  min-width: 2.5rem;
  height: 2.5rem;
  padding: 0 0.7rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.8rem;
  border: 1px solid #d9e2ec;
  color: #526079;
  background: #fff;
  font-size: 0.88rem;
  font-weight: 600;
  box-shadow: none;
}

.table-pagination-list .page-link:hover,
.table-pagination-list .page-link:focus {
  color: #1d5b40;
  background: #f7faf8;
  border-color: #cad6e1;
}

.table-pagination-list .page-item.active .page-link {
  color: #fff;
  background: #1f5a43;
  border-color: #1f5a43;
}

.table-pagination-list .page-item.disabled .page-link {
  color: #8e9aae;
  background: #cfd8e2;
  border-color: #cfd8e2;
}

.table-pagination-list .table-pagination-ellipsis {
  min-width: 2.2rem;
  background: #eef3f7;
  border-color: #eef3f7;
  color: #7f8aa1;
}

.table-pagination-list .material-symbols-outlined,
.table-pagination-list .app-icon {
  font-size: 1rem;
}

.table-action-group {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-wrap: wrap;
}

.table-inline-btn {
  min-width: 4.5rem;
  border-radius: 0.75rem;
  border: 1px solid #d9e2ec;
  background: #fff;
  color: #415066;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.45rem 0.7rem;
}

.table-inline-btn:hover,
.table-inline-btn:focus {
  color: #1d5b40;
  background: #f7faf8;
  border-color: #c7d4df;
}

.table-inline-btn-danger {
  color: #b42318;
  border-color: #f0c9c4;
  background: #fff7f6;
}

.table-inline-btn-danger:hover,
.table-inline-btn-danger:focus {
  color: #912018;
  background: #feeceb;
  border-color: #e8b0aa;
}

.profile-card {
  border-radius: 1.4rem;
}

.profile-card .card-body {
  padding: 1.25rem 1.35rem 1.5rem;
}

.profile-form {
  max-width: 680px;
}

.profile-label {
  color: #3b4a62;
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 0.55rem;
}

.profile-input {
  min-height: 3.25rem !important;
  border: 1px solid #d7e1ec !important;
  border-radius: 1rem !important;
  padding: 0.65rem 0.9rem !important;
  font-size: 0.9rem !important;
  color: #59677e !important;
}

.profile-input::placeholder {
  color: #7d8aa1;
}

.profile-input:disabled,
.profile-input[disabled] {
  background: #fff;
  color: #5a6980;
  opacity: 1;
}

.profile-help {
  margin-top: 0.45rem;
  color: #7b879a;
  font-size: 0.85rem;
}

.profile-save-btn {
  min-width: 9.5rem;
  min-height: 3rem;
  border-radius: 1rem !important;
  font-size: 0.9rem;
  font-weight: 700;
}

.qas-toast-container {
  z-index: 2000;
  --qas-toast-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
  --qas-toast-bg: rgba(255, 255, 255, 0.88);
  --qas-toast-border: rgba(148, 163, 184, 0.24);
}

.qas-toast {
  min-width: 320px;
  max-width: 420px;
  border-radius: 18px;
  border: 1px solid var(--qas-toast-border);
  background: var(--qas-toast-bg);
  box-shadow: 0 24px 50px rgba(15, 23, 42, 0.16), 0 6px 18px rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(12px);
  overflow: hidden;
}

.qas-toast .toast-header {
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
  font-weight: 700;
  letter-spacing: 0.01em;
  gap: 8px;
  padding: 0.7rem 0.9rem;
  background: rgba(235, 248, 237, 0.95);
}

.qas-toast .toast-body {
  color: #1e293b;
  font-size: 0.92rem;
  line-height: 1.45;
  padding: 0.78rem 0.9rem 0.9rem;
  background: rgba(255, 255, 255, 0.8);
}

.qas-toast-dot {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #49a256;
  color: #fff;
  flex: 0 0 auto;
}

.qas-toast-dot .material-symbols-outlined,
.qas-toast-dot .app-icon {
  font-size: 18px;
  font-weight: 700;
}

.qas-toast-success .toast-header strong {
  color: #3f8850;
}

.qas-toast-error .toast-header {
  background: rgba(254, 242, 242, 0.96);
}

.qas-toast-dot-error {
  background: #dc3545;
}

.qas-toast-error .toast-header strong {
  color: #b42318;
}

.qas-toast-warning .toast-header {
  background: rgba(255, 248, 230, 0.98);
}

.qas-toast-dot-warning {
  background: #f59e0b;
}

.qas-toast-warning .toast-header strong {
  color: #9a6700;
}

.qas-toast .btn-close {
  opacity: 0.8;
}

.badge-soft-success,
.badge-soft-warning,
.badge-soft-danger,
.badge-soft-primary,
.badge-soft-muted {
  padding: 0.45rem 0.85rem;
  font-size: 0.8rem;
}

.badge-soft-success {
  background: #e6f3e8;
  color: #3f885e;
}

.badge-soft-warning {
  background: #fff2d8;
  color: #b87413;
}

.badge-soft-primary {
  background: #e8f1ff;
  color: #406cad;
}

.badge-soft-muted {
  background: #eef2f6;
  color: #64748b;
}

.section-card .form-control,
.section-card .form-select,
.section-card textarea.form-control {
  min-height: 3.15rem;
  border: 1px solid #dce4ec;
  border-radius: 1rem;
  padding: 0.78rem 1rem;
  font-size: 0.82rem;
  box-shadow: none;
}
.section-card textarea.form-control {
  min-height: auto;
}

.section-card .form-control:focus,
.section-card .form-select:focus,
.section-card textarea.form-control:focus {
  border-color: #79a98e;
  box-shadow: 0 0 0 0.2rem rgba(47, 114, 87, 0.12);
}
.section-card .form-select.table-per-page-select{
  min-height: auto;
  padding: 7px 28px 7px 13px;
  border-radius: 10px;
}
.section-card .form-label {
  color: #334155;
  font-size: 0.88rem;
  margin-bottom: 0.5rem;
}

.section-card .btn-success {
  background: linear-gradient(135deg, #2f7257 0%, #3e8667 100%);
  border: 0;
  border-radius: 0.85rem;
  padding: 0.62rem 0.95rem;
  font-weight: 700;
  font-size: 0.92rem;
}

.section-card .btn-success:hover,
.section-card .btn-success:focus {
  background: linear-gradient(135deg, #27664d 0%, #36775b 100%);
}

.section-card .btn-outline-secondary {
  border-color: #dce4ec;
  border-radius: 0.85rem;
  color: #5f6c80;
  padding: 0.62rem 0.95rem;
  font-size: 0.92rem;
}

.section-card .btn-outline-secondary:hover,
.section-card .btn-outline-secondary:focus {
  color: #334155;
  border-color: #cdd8e3;
  background: #f8fafc;
}

#deleteConfirmModal .modal-dialog,
#deleteBlockedModal .modal-dialog {
  max-width: 520px;
}

#deleteConfirmModal .modal-content,
#deleteBlockedModal .modal-content {
  border: 0;
  border-radius: 1.35rem;
  overflow: hidden;
  box-shadow: 0 0.85rem 1.8rem rgba(15, 23, 42, 0.14);
  background: #fff;
}

#deleteConfirmModal .modal-header,
#deleteBlockedModal .modal-header {
  padding: 0.95rem 1.15rem;
  background: linear-gradient(135deg, #f8fbff 0%, #eef5ff 100%);
  border-bottom: 1px solid #dfe7f1;
  justify-content: space-between;
}

#deleteConfirmModal .modal-title,
#deleteBlockedModal .modal-title {
  color: #223a35;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

#deleteConfirmModal .modal-body,
#deleteBlockedModal .modal-body {
  padding: 1.15rem 1.15rem 1rem;
  color: #53627b;
  font-size: 0.95rem;
  line-height: 1.45;
}

#deleteConfirmModal .modal-body strong,
#deleteBlockedModal .modal-body strong {
  color: #435066;
  font-weight: 800;
}

#deleteConfirmModal .modal-footer,
#deleteBlockedModal .modal-footer {
  padding: 0.9rem 1.15rem 1rem;
  border-top: 1px solid #dfe7f1;
  gap: 0.65rem;
  background: #f8fbfd;
}

#deleteConfirmModal .btn-secondary,
#deleteConfirmModal .btn-danger,
#deleteBlockedModal .btn-secondary,
#deleteBlockedModal .btn-danger {
  border: 0;
  border-radius: 0.58rem;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.62rem 1rem;
  min-width: 5.5rem;
  box-shadow: none;
}

#deleteConfirmModal .btn-secondary,
#deleteBlockedModal .btn-secondary {
  background: #56637a;
  border-color: #56637a;
}

#deleteConfirmModal .btn-secondary:hover,
#deleteConfirmModal .btn-secondary:focus,
#deleteBlockedModal .btn-secondary:hover,
#deleteBlockedModal .btn-secondary:focus {
  background: #4a566c;
  border-color: #4a566c;
}

#deleteConfirmModal .btn-danger,
#deleteBlockedModal .btn-danger {
  background: #d5444c;
  border-color: #d5444c;
}

#deleteConfirmModal .btn-danger:hover,
#deleteConfirmModal .btn-danger:focus,
#deleteBlockedModal .btn-danger:hover,
#deleteBlockedModal .btn-danger:focus {
  background: #c63a42;
  border-color: #c63a42;
}

#deleteConfirmModal .btn-close,
#deleteBlockedModal .btn-close {
  padding: 0.1rem;
  margin: 0;
  opacity: 0.7;
  transform: scale(0.9);
}

#deleteConfirmModal .btn-close:hover,
#deleteConfirmModal .btn-close:focus,
#deleteBlockedModal .btn-close:hover,
#deleteBlockedModal .btn-close:focus {
  opacity: 1;
}

#deleteBlockedModal .btn-outline-secondary {
  border-radius: 0.5rem;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.42rem 0.78rem;
  color: #56637a;
  border-color: #c5ceda;
  background: #fff;
  min-width: 0;
}

#deleteBlockedModal .btn-outline-secondary:hover,
#deleteBlockedModal .btn-outline-secondary:focus {
  color: #4a566c;
  border-color: #b7c2cf;
  background: #f7f9fc;
}

@media (max-width: 991.98px) {
  #deleteConfirmModal .modal-dialog,
  #deleteBlockedModal .modal-dialog {
    max-width: calc(100vw - 1rem);
    margin: 0.5rem auto;
  }

  #deleteConfirmModal .modal-header,
  #deleteConfirmModal .modal-body,
  #deleteConfirmModal .modal-footer,
  #deleteBlockedModal .modal-header,
  #deleteBlockedModal .modal-body,
  #deleteBlockedModal .modal-footer {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  #deleteConfirmModal .modal-footer,
  #deleteBlockedModal .modal-footer {
    padding-top: 0.85rem;
    padding-bottom: 0.9rem;
  }
}

.timeline-list,
.stack-list {
  gap: 0.9rem;
}

.timeline-item,
.stack-item {
  gap: 0.8rem;
}

.timeline-dot {
  width: 0.78rem;
  height: 0.78rem;
  margin-top: 0.4rem;
  background: #2f7257;
}

.mini-note {
  color: #7a8699;
  font-size: 0.84rem;
}

.info-tile,
.support-box {
  border-radius: 1.1rem;
  background: #f8fafc;
  border: 1px solid #e5ebf1;
  padding: 1rem 1.05rem;
}

.app-mobile-menu .offcanvas-header {
  align-items: flex-start;
  padding: 1rem 1rem 0.75rem;
  border-bottom: 1px solid #edf1f5;
}

.app-mobile-menu .offcanvas-header .app-sidebar-brand {
  margin-bottom: 0;
  padding: 0;
  border-bottom: 0;
}

.app-mobile-menu .offcanvas-body {
  display: flex;
  flex-direction: column;
}

body.sidebar-collapsed .app-sidebar {
  width: 104px;
  flex-basis: 104px;
}

body.sidebar-collapsed .app-sidebar-brand {
  justify-content: center;
}

body.sidebar-collapsed .app-brand-copy,
body.sidebar-collapsed .app-sidebar-nav .nav-link .nav-link-text,
body.sidebar-collapsed .app-sidebar-nav .nav-link .nav-link-arrow,
body.sidebar-collapsed .app-sidebar-logout .nav-link-text,
body.sidebar-collapsed .app-sidebar-legal,
body.sidebar-collapsed .app-sidebar .app-sidebar-sublink .nav-link-text{
  display: none;
}

body.sidebar-collapsed .app-sidebar-nav .nav-link {
  padding-left: 1.5rem;
}
body.sidebar-collapsed .app-sidebar .app-sidebar-submenu{
  margin-left: 1rem;;
}

.auth-page {
  position: relative;
  min-height: 100vh;
  overflow-x: hidden;
  background:
    radial-gradient(circle at top left, rgba(72, 187, 120, 0.18), transparent 28%),
    radial-gradient(circle at right 18%, rgba(16, 185, 129, 0.14), transparent 22%),
    linear-gradient(135deg, #03281d 0%, #064a36 48%, #0b5c44 100%);
}

.auth-page::before,
.auth-page::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
}

.auth-page::before {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  opacity: 0.42;
}

.auth-page::after {
  background:
    linear-gradient(90deg, rgba(2, 28, 20, 0.42) 0%, transparent 24%, transparent 72%, rgba(255, 255, 255, 0.06) 100%);
}

.auth-bg-shape {
  position: fixed;
  width: 15rem;
  height: 12rem;
  border-radius: 2.75rem;
  background: rgba(171, 233, 191, 0.12);
  pointer-events: none;
  z-index: 0;
}

.auth-bg-shape-left {
  top: 4rem;
  left: -4.5rem;
  transform: rotate(18deg);
}

.auth-bg-shape-right {
  right: -4.25rem;
  bottom: 2.5rem;
  transform: rotate(-14deg);
}

.auth-stage {
  min-height: 100vh;
  position: relative;
  z-index: 1;
}

.auth-container {
  position: relative;
  z-index: 1;
  max-width: 40rem;
}

.auth-card {
  border: 0;
  max-width: 34rem;
  margin: 0 auto;
  border-radius: 2rem;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 2rem 4rem rgba(3, 24, 17, 0.22);
}

.auth-card .card-body {
  padding: clamp(1.6rem, 3vw, 2.35rem);
}

.auth-title {
  margin: 0 0 1rem;
  color: #2f7a5c;
  text-align: center;
  font-size: clamp(1.55rem, 2.4vw, 1.8rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.auth-form .form-label {
  margin-bottom: 0.55rem;
  color: #334155;
  font-size: 0.9rem;
  font-weight: 700;
}

.auth-card .form-control {
  min-height: 3rem;
  border: 1px solid #d8e1df;
  border-radius: 1rem;
  padding: 0.6rem 1rem;
  font-size: 0.85rem;
  color: #64748b;
  background: #fff;
  box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.04);
}

.auth-card .form-control::placeholder {
  color: #94a3b8;
}

.auth-card .form-control:focus {
  border-color: #5ba782;
  box-shadow: 0 0 0 0.2rem rgba(48, 122, 92, 0.12);
}

.auth-password-group {
  border: 1px solid #d8e1df;
  border-radius: 1rem;
  overflow: hidden;
  background: #fff;
  box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.04);
}

.auth-password-group:focus-within {
  border-color: #5ba782;
  box-shadow: 0 0 0 0.2rem rgba(48, 122, 92, 0.12);
}

.auth-password-group .form-control {
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.auth-password-group .form-control:focus {
  box-shadow: none;
}

.auth-password-toggle {
  min-width: 3.9rem;
  border: 0;
  border-left: 1px solid #d8e1df;
  border-radius: 0;
  background: #fff;
  color: #7c879a;
}

.auth-password-toggle .material-symbols-outlined,
.auth-password-toggle .app-icon {
  font-size: 1rem;
}

.auth-password-toggle:hover,
.auth-password-toggle:focus {
  background: #f7faf8;
  color: #2f7a5c;
  box-shadow: none;
}

.auth-card .form-check {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.auth-card .form-check-input {
  width: 1rem;
  height: 1rem;
  margin-top: 0;
  border-color: #cbd5e1;
}

.auth-card .form-check-input:checked {
  background-color: #2f7a5c;
  border-color: #2f7a5c;
}

.auth-card .form-check-label {
  color: #64748b;
  font-size: 0.88rem;
}

.auth-submit-btn {
  min-height: 3.55rem;
  border: 0;
  border-radius: 1.1rem;
  background: linear-gradient(135deg, #2f7257 0%, #3e8667 100%);
  color: #fff;
  font-size: 0.98rem;
  font-weight: 700;
  box-shadow: 0 1.25rem 2.5rem rgba(47, 114, 87, 0.22);
}

.auth-submit-btn:hover,
.auth-submit-btn:focus {
  background: linear-gradient(135deg, #27664d 0%, #36775b 100%);
  color: #fff;
}

.auth-footer {
  margin-top: 1.1rem;
  color: #718096;
  font-size: 0.82rem;
  line-height: 1.5;
}

.auth-footer span {
  color: #2f7a5c;
  font-weight: 700;
}

.session-expired-modal-content {
  border: 0;
  border-radius: 1.6rem;
  overflow: hidden;
  background:
    radial-gradient(circle at top, rgba(171, 233, 191, 0.22), transparent 46%),
    linear-gradient(135deg, #0c4d39 0%, #136249 100%);
  box-shadow: 0 1.75rem 3.5rem rgba(3, 24, 17, 0.28);
}

.session-expired-modal-body {
  padding: 1.6rem 1.35rem 0.75rem;
  color: #fff;
}

.session-expired-modal-icon {
  width: 3rem;
  height: 3rem;
  margin: 0 auto 0.85rem;
  border-radius: 1rem;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.16);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.session-expired-modal-icon .app-icon {
  font-size: 1.1rem;
}

.session-expired-modal-title {
  margin-bottom: 0.45rem;
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.session-expired-modal-text {
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.88rem;
  line-height: 1.55;
}

.session-expired-modal-footer {
  padding: 0 1.35rem 1.35rem;
}

.session-expired-modal-button {
  min-height: 2.9rem;
  width: 100%;
  max-width: 12rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.session-expired-modal-button:hover,
.session-expired-modal-button:focus {
  text-decoration: none;
}

.captcha-card .form-enable{
  font-size: 1rem;
}
.captcha-card .form-check-input{
  width: 2.5em;
  height: 1.2em;
}
.captcha-card .form-check-input:checked{
  background-color: #2f7a5c;
  border-color: #2f7a5c;
}
.role-details-modal .modal-header,
#roleAccessModal .modal-header,
.user-password-modal .modal-header{
  background: linear-gradient(135deg, #f8fbff 0%, #eef5ff 100%);
}
.role-details-modal .form-control{
  font-size: 0.9rem !important;
}
.role-details-modal .modal-footer .btn{
  min-height: 42px !important;
  min-width: 115px !important;
  font-size: 0.85rem !important;
}
.user-password-modal .modal-footer .btn{
  font-size: 0.8rem !important;
}
.user-password-btn{
  box-shadow: 0 6px 14px rgba(15, 23, 42, 0.1) !important;
  border: 1px solid #ffc107 !important;
}

@media (max-width: 991.98px) {
  .app-content {
    padding: 0 1rem 5.5rem;
  }

  .app-topbar-inner {
    padding: 0 1rem;
  }

  .page-hero {
    margin: 0 -1rem 0;
    padding: 2rem 1rem 5.8rem;
  }

  .stats-overlap {
    margin-top: -3.4rem;
  }

  .table-search {
    width: 100%;
    margin-left: 0;
  }

  .app-mobile-menu {
    max-width: 320px;
  }
}

@media (max-width: 575.98px) {
  .app-content {
    padding: 0 1rem 5.25rem;
  }

  .app-topbar-badge {
    display: none !important;
  }

  .page-title {
    font-size: 1.85rem;
  }

  .stat-card .card-body,
  .section-card .card-body,
  .section-card .card-header {
    padding: 1.2rem;
  }

  .table-app > :not(caption) > * > * {
    padding: 0.85rem 0.9rem;
  }

  .auth-card .card-body {
    padding: 1.4rem;
  }

  .auth-card {
    max-width: 100%;
    border-radius: 1.6rem;
  }

  .auth-title {
    font-size: 1.45rem;
  }

  .auth-card .form-control,
  .auth-submit-btn {
    min-height: 3.2rem;
  }

  .auth-bg-shape {
    width: 10rem;
    height: 8rem;
  }
}

::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: #d0d8d5;
  border-radius: 999px;
}
.select2-container--default .select2-results__option--highlighted.select2-results__option--selectable {
    background-color: #3e8667;
    color: white;
}
.form-select.select2-hidden-accessible + .select2 .select2-selection__placeholder,
.form-select.select2-hidden-accessible + .select2 .select2-selection--single,
.form-select.select2-hidden-accessible + .select2 .select2-selection__rendered{
  font-size: 0.82rem !important;
}
.form-select.select2-hidden-accessible + .select2 .select2-selection--single{
    min-height: 3.15rem !important;
    border: 1px solid #dce4ec !important;
    border-radius: 1rem !important;
    padding: 0.78rem 1rem !important;
    font-size: 0.82rem !important;
    box-shadow: none !important;
}

.table-pagination-controls .form-select.select2-hidden-accessible + .select2 .select2-selection--single{
  min-height: 2rem !important;
  border-radius: 0.3rem !important;
  padding: 0.78rem !important;
}

.table-per-page-form .form-select.select2-hidden-accessible + .select2 .select2-selection--single{
  min-height: 2.5rem !important;
  border-radius: 10px !important;
  padding: 1rem 1.5rem !important;
}

.select2-container .select2-results__option{
  font-size: 0.85em !important;
}
.flatpickr-current-month{
  width: 100% !important;
}
.flatpickr-day.today{
  background: #4a825d !important;
  border-color: #4a825d !important;
  color: #fff !important;
}
#paymentMethodTabs .btn{
  font-weight: normal !important;
  padding: 0.42rem 0.95rem !important;
  border-radius: 0.5rem !important;
}
.section-card .btn-small{
  padding: 0.42rem 0.95rem !important;
  font-size: 0.82rem !important;
  border-radius: 0.3rem !important;
  font-weight: normal !important;
}
