﻿:root {
  --sidebar-width: 280px;
  --sidebar-mini-width: 70px;
  --admin-bg: #f5f7fb;
  --admin-surface: #ffffff;
  --admin-surface-soft: #f8fafc;
  --admin-border: #dbe4ef;
  --admin-border-strong: #9fb0c9;
  --admin-text: #1f2937;
  --admin-muted: #111827;
  --admin-primary: #2563eb;
  --admin-primary-dark: #1d4ed8;
  --admin-success: #0f766e;
  --admin-warning: #d97706;
  --admin-danger: #dc2626;
  --admin-sidebar: #111827;
  --admin-sidebar-soft: #1f2937;
  --admin-shadow-sm: 0 10px 24px rgba(15, 23, 42, 0.06);
  --admin-shadow: 0 18px 46px rgba(15, 23, 42, 0.09);
  --admin-shadow-lg: 0 26px 70px rgba(15, 23, 42, 0.12);
  --admin-ring: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
}

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

a {
  text-decoration: none;
}

.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;
  /* Reserve scrollbar gutter to keep inner content width stable so header/footer dividers align with scrollbar */
  scrollbar-gutter: stable;
  background: var(--admin-sidebar);
  color: #ffffff;
  box-shadow: 18px 0 42px rgba(15, 23, 42, 0.18);
  transform: translateX(0);
  transition: width 0.2s ease, transform 0.2s ease;
}

.sidebar-header {
  padding: 0.9rem 0.75rem 0.8rem;
  margin-inline: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

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

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

.brand-icon,
.profile-avatar,
.metric-icon,
.nav-icon {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  font-weight: 800;
}

.brand-icon {
  width: 34px;
  height: 34px;
  border-radius: 7px;
  background: linear-gradient(135deg, #2563eb, #0f766e);
  color: #ffffff;
}

.brand-copy,
.brand-title,
.brand-subtitle,
.nav-text,
.sidebar-footer-text {
  min-width: 0;
  transition: opacity 0.16s ease, width 0.16s ease;
}

.brand-title,
.brand-subtitle {
  display: block;
  line-height: 1.2;
  white-space: nowrap;
}

.brand-title {
  font-size: 0.92rem;
  font-weight: 800;
}

.brand-subtitle {
  color: #9ca3af;
  font-size: 0.7rem;
}

.sidebar-nav {
  display: grid;
  gap: 0.2rem;
  padding: 0.6rem 0.6rem;
}

.sidebar-nav .nav-item.has-dropdown {
  display: grid;
  gap: 0;
}

.sidebar-nav .nav-link.dropdown-toggle {
  cursor: pointer;
}

.sidebar-nav .nav-link.dropdown-toggle::after {
  content: "\f282";
  font-family: "bootstrap-icons";
  margin-left: auto;
  font-size: 0.72rem;
  transition: transform 0.2s ease;
  opacity: 0.7;
}

.sidebar-nav .nav-item.open .nav-link.dropdown-toggle::after {
  transform: rotate(180deg);
}

.sidebar-nav .nav-dropdown {
  display: none;
  padding-left: 2.6rem;
  padding-top: 0.1rem;
  padding-bottom: 0.2rem;
}

.sidebar-nav .nav-item.open .nav-dropdown {
  display: grid;
  gap: 0.15rem;
  padding-top: 0.25rem;
  padding-bottom: 0.35rem;
}

.nav-dropdown .dropdown-link {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.48rem 0.9rem;
  border-radius: 6px;
  color: #9ca3af;
  font-size: 0.85rem;
  font-weight: 600;
  transition: background 0.16s ease, color 0.16s ease, transform 0.16s ease, box-shadow 0.16s ease;
  white-space: nowrap;
  position: relative;
  letter-spacing: 0.01em;
}

.nav-dropdown .dropdown-link::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.35;
  flex-shrink: 0;
  transition: opacity 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.nav-dropdown .dropdown-link:hover,
.nav-dropdown .dropdown-link:focus {
  background: var(--admin-sidebar-soft);
  color: var(--admin-sidebar-text-strong);
  transform: translateX(4px);
  box-shadow: inset 2px 0 0 var(--admin-primary, #2563eb);
}

.nav-dropdown .dropdown-link:hover::before,
.nav-dropdown .dropdown-link:focus::before {
  opacity: 1;
  transform: scale(1.5);
  background: var(--admin-primary, #2563eb);
}

.nav-dropdown .dropdown-link:active {
  transform: translateX(2px);
}

.sidebar-nav .nav-link {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-height: 42px;
  padding: 0.55rem 0.85rem;
  border-radius: 8px;
  color: #d1d5db;
  font-weight: 600;
  font-size: .88rem;
  transition: background 0.16s ease, color 0.16s ease, transform 0.16s ease;
  white-space: nowrap;
}

.sidebar-nav .nav-link:hover,
.sidebar-nav .nav-link:focus,
.sidebar-nav .nav-link.active {
  background: var(--admin-sidebar-soft);
  color: #ffffff;
}

.sidebar-nav .nav-link:hover,
.sidebar-nav .nav-link:focus {
  transform: translateX(2px);
}

.sidebar-nav .nav-link.nav-disabled {
  opacity: 0.45;
  cursor: not-allowed;
  pointer-events: none;
  color: #9ca3af;
}
.sidebar-nav .nav-link.nav-disabled:hover,
.sidebar-nav .nav-link.nav-disabled:focus,
.sidebar-nav .nav-link.nav-disabled.active {
  background: transparent;
  color: #9ca3af;
  transform: none;
}

.nav-icon {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.08);
  color: #bfdbfe;
  font-size: 0.74rem;
}

.sidebar-footer {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: auto;
  margin-inline: 0.75rem;
  padding: 0.7rem 0;
  color: #d1d5db;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.75rem;
  white-space: nowrap;
}

.sidebar-user {
  margin: auto 1rem 1rem;
  padding: 0.85rem;
  display: grid;
  justify-items: center;
  gap: 0.22rem;
  border: 1px solid var(--admin-sidebar-border);
  border-radius: 8px;
  background: var(--admin-sidebar-soft);
  text-align: center;
}

.sidebar-user-avatar {
  border: 3px solid #53e9b9;
}

.sidebar-user strong {
  color: var(--admin-sidebar-text-strong);
  font-size: 1rem;
  line-height: 1.1;
}

.sidebar-user small {
  color: var(--admin-sidebar-muted);
  font-size: 0.84rem;
}

.status-dot,
.notification-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}

.status-dot {
  flex: 0 0 auto;
  background: #22c55e;
}

.sidebar-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1030;
  display: none;
  background: rgba(15, 23, 42, 0.5);
}

.admin-main {
  width: auto;
  min-width: 0;
  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;
  border-bottom: 1px solid var(--admin-border);
  box-shadow: var(--admin-shadow-sm);
}

.admin-navbar.bg-white {
  background-color: rgba(255, 255, 255, 0.94) !important;
  backdrop-filter: blur(14px);
}

.sidebar-toggle {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  gap: 4px;
  padding: 9px;
  border: 1px solid var(--admin-border);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.05);
  transition: border-color 0.16s ease, background 0.16s ease, box-shadow 0.16s 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;
}

.search-input {
  max-width: 520px;
  border-color: var(--admin-border);
  border-radius: 8px;
  background: var(--admin-surface-soft);
  min-height: 42px;
  box-shadow: none;
}

.search-input:focus {
  border-color: #93c5fd;
  box-shadow: var(--admin-ring);
}

.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.05);
  transition: border-color 0.16s ease, box-shadow 0.16s ease, transform 0.16s 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: 8px;
  font-weight: 800;
}

.notification-dot {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 10px;
  height: 10px;
  background: var(--admin-danger);
  border: 2px solid var(--admin-surface);
  animation: notifPulse 2s infinite;
}

@keyframes notifPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(220,38,38,0.4); }
  50% { box-shadow: 0 0 0 5px rgba(220,38,38,0); }
}

.notification-menu {
  width: min(400px, calc(100vw - 1.5rem));
  border: 1px solid var(--admin-border);
  border-radius: 14px;
  box-shadow: var(--admin-shadow-lg);
  overflow: hidden;
  padding: 0;
  max-height: 70vh;
  overflow-y: auto;
}

.notification-menu .dropdown-header {
  background: var(--admin-surface-soft);
  border-bottom: 1px solid var(--admin-border);
  padding: 0.85rem 1rem;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--admin-muted);
}

.notification-item {
  display: flex !important;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--admin-border);
  transition: all 0.2s ease;
  cursor: pointer;
  text-decoration: none;
  color: var(--admin-text);
}

.notification-item:last-child { border-bottom: none; }

.notification-item:hover {
  background: var(--admin-surface-soft);
  color: var(--admin-text);
  transform: translateX(3px);
}

.notification-item.unread {
  background: rgba(37,99,235,0.04);
}

html[data-theme="dark"] .notification-item.unread {
  background: rgba(96,165,250,0.08);
}

.notification-item.unread::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--admin-primary);
  border-radius: 0 3px 3px 0;
}

.notification-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.95rem;
}

.notification-icon.icon-student {
  background: rgba(37,99,235,0.1);
  color: #2563eb;
}

.notification-icon.icon-firm {
  background: rgba(245,158,11,0.1);
  color: #d97706;
}

.notification-icon.icon-individual {
  background: rgba(16,185,129,0.1);
  color: #059669;
}

.notification-icon.icon-general {
  background: rgba(107,114,128,0.1);
  color: #6b7280;
}

.notification-icon.icon-payment {
  background: rgba(124,58,237,0.1);
  color: #7c3aed;
}

html[data-theme="dark"] .notification-icon.icon-student {
  background: rgba(96,165,250,0.15);
  color: #60a5fa;
}

html[data-theme="dark"] .notification-icon.icon-firm {
  background: rgba(251,191,36,0.15);
  color: #fbbf24;
}

html[data-theme="dark"] .notification-icon.icon-individual {
  background: rgba(52,211,153,0.15);
  color: #34d399;
}

html[data-theme="dark"] .notification-icon.icon-general {
  background: rgba(148,163,184,0.12);
  color: #94a3b8;
}

html[data-theme="dark"] .notification-icon.icon-payment {
  background: rgba(167,139,250,0.15);
  color: #a78bfa;
}

.notification-body {
  flex: 1;
  min-width: 0;
}

.notification-text {
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 0.15rem;
  color: var(--admin-text);
}

.notification-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.72rem;
  color: var(--admin-muted);
}

.notification-type-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  padding: 0.1rem 0.45rem;
  border-radius: 4px;
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.badge-student { background: rgba(37,99,235,0.1); color: #2563eb; }
.badge-firm { background: rgba(245,158,11,0.1); color: #d97706; }
.badge-individual { background: rgba(16,185,129,0.1); color: #059669; }
.badge-payment { background: rgba(124,58,237,0.1); color: #7c3aed; }

html[data-theme="dark"] .badge-student { background: rgba(96,165,250,0.15); color: #60a5fa; }
html[data-theme="dark"] .badge-firm { background: rgba(251,191,36,0.15); color: #fbbf24; }
html[data-theme="dark"] .badge-individual { background: rgba(52,211,153,0.15); color: #34d399; }
html[data-theme="dark"] .badge-payment { background: rgba(167,139,250,0.15); color: #a78bfa; }

.notification-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2rem 1rem;
  color: var(--admin-muted);
  text-align: center;
}

.notification-empty i {
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
  opacity: 0.4;
}

.notification-footer {
  border-top: 1px solid var(--admin-border);
  padding: 0.5rem 1rem;
  background: var(--admin-surface-soft);
}

.notification-footer a {
  display: block;
  text-align: center;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--admin-primary);
  padding: 0.4rem;
  border-radius: 6px;
  transition: background 0.15s;
}

.notification-footer a:hover {
  background: rgba(37,99,235,0.08);
  color: var(--admin-primary);
}

@media (max-width: 575.98px) {
  .notification-menu {
    width: calc(100vw - 1rem);
    max-height: 60vh;
  }
}

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

.profile-avatar {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: #e0ecff;
  color: var(--admin-primary-dark);
  font-size: 0.76rem;
}

.avatar-img {
  display: block;
  flex: 0 0 auto;
  object-fit: cover;
  object-position: center;
}

.avatar-sm {
  width: 34px;
  height: 34px;
  border-radius: 10px;
}

.avatar-md {
  width: 56px;
  height: 56px;
  border-radius: 50%;
}

.avatar-xl {
  width: 78px;
  height: 78px;
  border-radius: 50%;
}

.profile-button .avatar-sm {
  border: 2px solid #52e7b8;
  box-shadow: 0 0 0 2px rgba(15, 23, 42, 0.08);
}

html[data-theme="dark"] .profile-button .avatar-sm {
  border-color: #54f0be;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.08);
}

.profile-dropdown-menu {
  min-width: 240px;
  border: 1px solid var(--admin-border);
  border-radius: 12px;
  box-shadow: var(--admin-shadow);
  padding: 0.5rem;
}
.profile-dropdown-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0.75rem;
}
.profile-dropdown-header .avatar-img {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  object-fit: cover;
}
.profile-dropdown-name {
  margin: 0;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--admin-text);
}
.profile-dropdown-email {
  margin: 2px 0 0;
  font-size: 0.78rem;
  color: var(--admin-muted);
}
.profile-dropdown-menu .dropdown-item {
  border-radius: 8px;
  padding: 0.55rem 0.75rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--admin-text);
  transition: background 0.15s;
}
.profile-dropdown-menu .dropdown-item:hover {
  background: var(--admin-surface-soft);
}
.profile-dropdown-menu .dropdown-item.text-danger {
  color: #dc2626 !important;
}
.profile-dropdown-menu .dropdown-item.text-danger:hover {
  background: #fef2f2;
}
html[data-theme="dark"] .profile-dropdown-menu .dropdown-item.text-danger:hover {
  background: rgba(220, 38, 38, 0.15);
}
.profile-dropdown-menu .dropdown-divider {
  margin: 0.3rem 0;
  border-color: var(--admin-border);
}

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

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

.page-heading,
.panel-header,
.metric-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.page-heading {
  margin-bottom: 1.35rem;
}

.page-heading h1 {
  font-weight: 800;
  letter-spacing: 0;
}

.eyebrow {
  color: var(--admin-primary);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.heading-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.6rem;
}

.heading-actions .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  white-space: nowrap;
}

@media (min-width: 768px) {
  .heading-actions {
    flex-wrap: nowrap;
  }

  .heading-actions .btn {
    height: 40px;
    padding: 0 1.1rem;
  }
}

@media (max-width: 1199.98px) {
  .page-heading {
    flex-wrap: wrap;
  }
}

.btn {
  border-radius: 8px;
  font-weight: 700;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.05);
  transition: border-color 0.16s ease, background 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}

.btn:hover,
.btn:focus {
  transform: translateY(-1px);
}

.btn-primary {
  border-color: var(--admin-primary);
  background: var(--admin-primary);
}

.btn-primary:hover,
.btn-primary:focus {
  border-color: var(--admin-primary-dark);
  background: var(--admin-primary-dark);
}

.metric-card,
.panel {
  border: 1px solid var(--admin-border);
  border-radius: 8px;
  background: var(--admin-surface);
  box-shadow: var(--admin-shadow);
}

.metric-card {
  position: relative;
  min-height: 164px;
  padding: 1.35rem;
  overflow: hidden;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.metric-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: var(--metric-color, var(--admin-primary));
}

.metric-card:hover {
  border-color: #c6d5e8;
  box-shadow: var(--admin-shadow-lg);
  transform: translateY(-3px);
}

.metric-primary {
  --metric-color: var(--admin-primary);
}

.metric-success {
  --metric-color: var(--admin-success);
}

.metric-warning {
  --metric-color: var(--admin-warning);
}

.metric-danger {
  --metric-color: var(--admin-danger);
}

.metric-label {
  color: var(--admin-muted);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.metric-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, #dbeafe, #eff6ff);
  color: var(--metric-color, var(--admin-primary));
  box-shadow:
    3px 3px 8px rgba(0,0,0,0.06),
    -2px -2px 6px rgba(255,255,255,0.8),
    inset 0 1px 0 rgba(255,255,255,0.9);
  border: 1px solid rgba(255,255,255,0.6);
  transition: all 0.2s ease;
}
.metric-card:hover .metric-icon {
  transform: scale(1.05);
  box-shadow:
    4px 4px 12px rgba(0,0,0,0.10),
    -3px -3px 8px rgba(255,255,255,0.9),
    inset 0 1px 0 rgba(255,255,255,0.9);
}

.metric-success .metric-icon {
  background: linear-gradient(145deg, #d1fae5, #ecfdf5);
}
.metric-success .metric-icon i { color: #059669; }

.metric-warning .metric-icon {
  background: linear-gradient(145deg, #fef3c7, #fffbeb);
}
.metric-warning .metric-icon i { color: #d97706; }

.metric-danger .metric-icon {
  background: linear-gradient(145deg, #fecaca, #fef2f2);
}
.metric-danger .metric-icon i { color: #dc2626; }

.metric-primary .metric-icon i { color: #2563eb; }

.metric-value {
  margin-top: 1rem;
  color: var(--admin-text);
  font-size: 2.18rem;
  font-weight: 800;
  line-height: 1;
}

.metric-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.9rem;
  color: var(--admin-muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.panel {
  padding: 1.35rem;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.panel:hover {
  border-color: #c6d5e8;
  box-shadow: var(--admin-shadow-lg);
}

.panel-header {
  margin-bottom: 1.25rem;
}

.panel-header p {
  font-size: 0.92rem;
}

.chart-bars {
  height: 292px;
  display: grid;
  grid-template-columns: repeat(6, minmax(38px, 1fr));
  align-items: end;
  gap: 1rem;
  padding: 1.2rem 0.4rem 0;
  border-radius: 8px;
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

.chart-column {
  height: 100%;
  display: grid;
  grid-template-rows: 1fr auto;
  align-items: end;
  gap: 0.6rem;
  color: var(--admin-muted);
  font-size: 0.84rem;
  font-weight: 700;
  text-align: center;
}

.chart-column span {
  width: 100%;
  height: var(--bar-size);
  min-height: 28px;
  display: block;
  border-radius: 8px 8px 3px 3px;
  background: linear-gradient(180deg, var(--admin-primary), var(--admin-success));
  box-shadow: 0 10px 20px rgba(37, 99, 235, 0.18);
}

.bar-42 {
  --bar-size: 42%;
}

.bar-58 {
  --bar-size: 58%;
}

.bar-51 {
  --bar-size: 51%;
}

.bar-72 {
  --bar-size: 72%;
}

.bar-66 {
  --bar-size: 66%;
}

.bar-83 {
  --bar-size: 83%;
}

.activity-list {
  display: grid;
  gap: 1.1rem;
}

.activity-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem;
  padding-bottom: 1.1rem;
  border-bottom: 1px solid var(--admin-border);
}

.activity-item:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.activity-dot {
  width: 12px;
  height: 12px;
  margin-top: 0.45rem;
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(37, 99, 235, 0.08);
}

.table {
  --bs-table-bg: transparent;
}

.table thead th {
  color: var(--admin-muted);
  font-size: 0.78rem;
  text-transform: uppercase;
  white-space: nowrap;
}

.table tbody td {
  padding-top: 1rem;
  padding-bottom: 1rem;
  vertical-align: middle;
}

.table tbody tr {
  transition: background 0.16s ease;
}

.table tbody tr:hover {
  background: #f8fbff;
}

.badge {
  border-radius: 8px;
  padding: 0.45rem 0.65rem;
}

.table-search {
  width: min(260px, 100%);
  border-color: var(--admin-border);
  border-radius: 8px;
}

.table-media {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.product-thumb {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  object-fit: cover;
  flex: 0 0 auto;
  border: 1px solid var(--admin-border);
}

.profile-avatar-lg {
  width: 92px;
  height: 92px;
  border-radius: 8px;
  font-size: 1.5rem;
}

.profile-hero {
  display: grid;
  justify-items: center;
}

.profile-card {
  overflow: hidden;
}

.profile-cover {
  margin: -1.35rem -1.35rem 0.9rem;
  height: 96px;
  border-bottom: 1px solid var(--admin-border);
}

.profile-cover img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

.profile-photo {
  margin-top: -44px;
  border: 4px solid var(--admin-surface);
  box-shadow: var(--admin-shadow-sm);
}

.info-list,
.settings-list,
.legend-list {
  display: grid;
  gap: 0.85rem;
}

.info-list div,
.mini-card,
.settings-row,
.legend-list div {
  border: 1px solid var(--admin-border);
  border-radius: 8px;
  background: var(--admin-surface-soft);
}

.info-list div,
.legend-list div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem;
}

.info-list span,
.mini-card span,
.settings-row small {
  color: var(--admin-muted);
  font-size: 0.84rem;
}

.info-list strong,
.mini-card strong {
  text-align: right;
}

.mini-card {
  display: grid;
  gap: 0.35rem;
  min-height: 104px;
  align-content: center;
  padding: 1rem;
}

.mini-card strong {
  color: var(--admin-text);
  font-size: 1.05rem;
}

.settings-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem;
  cursor: pointer;
}

.settings-row span {
  display: grid;
  gap: 0.2rem;
}

.donut-chart {
  width: 190px;
  height: 190px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: conic-gradient(var(--admin-primary) 0 42%, var(--admin-success) 42% 68%, var(--admin-warning) 68% 86%, var(--admin-danger) 86% 100%);
  box-shadow: var(--admin-shadow-sm);
}

.donut-chart span {
  width: 112px;
  height: 112px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #ffffff;
  color: var(--admin-text);
  font-size: 1.65rem;
  font-weight: 800;
}

.legend-list div {
  padding: 0.75rem 0.85rem;
}

.legend-dot {
  width: 10px;
  height: 10px;
  flex: 0 0 auto;
  border-radius: 50%;
}

.legend-list strong {
  margin-left: auto;
}

.progress {
  height: 1.15rem;
  border-radius: 8px;
  background: #e8eef6;
}

.progress-bar {
  border-radius: 8px;
  font-size: 0.75rem;
  font-weight: 800;
}

.progress-42 {
  width: 42%;
}

.progress-58 {
  width: 58%;
}

.progress-72 {
  width: 72%;
}

.blank-panel {
  min-height: 440px;
  display: grid;
  place-items: center;
  text-align: center;
}

.blank-state {
  max-width: 440px;
  display: grid;
  justify-items: center;
}

.blank-visual {
  width: 88px;
  height: 88px;
  object-fit: contain;
  margin-bottom: 0.9rem;
}

.auth-body {
  min-height: 100vh;
  background: linear-gradient(135deg, #f8fbff 0%, #eaf2ff 44%, #eef8f6 100%);
}

.auth-page,
.error-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 1.5rem;
}

.auth-card,
.error-card {
  width: min(100%, 460px);
  border: 1px solid var(--admin-border);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--admin-shadow-lg);
}

.auth-card {
  padding: 1.5rem;
}

.auth-visual {
  margin-bottom: 1rem;
  height: 96px;
  border: 1px solid var(--admin-border);
  border-radius: 8px;
  overflow: hidden;
}

.auth-visual img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

.error-card {
  padding: 2rem;
  text-align: center;
}

.error-illustration {
  width: min(260px, 100%);
  max-height: 132px;
  object-fit: contain;
  margin: 0 auto 0.55rem;
}

.auth-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  color: var(--admin-text);
}

.auth-brand:hover,
.auth-brand:focus {
  color: var(--admin-text);
}

.auth-brand span:last-child {
  display: grid;
  line-height: 1.2;
}

.auth-brand small,
.auth-footer {
  color: var(--admin-muted);
}

.auth-footer {
  margin-top: 1.2rem;
  text-align: center;
  font-size: 0.92rem;
}

.error-code {
  color: var(--admin-primary);
  font-size: clamp(5rem, 18vw, 8rem);
  font-weight: 800;
  line-height: 1;
}

.admin-footer {
  padding: 1.1rem 0 1.35rem;
  color: var(--admin-muted);
  font-size: 0.9rem;
  background: var(--admin-surface);
  border-top: 1px solid var(--admin-border);
  margin-top: 1.5rem;
}

.admin-footer .container-fluid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.admin-footer a:hover {
  text-decoration: underline !important;
  color: var(--admin-primary) !important;
}

@media (min-width: 992px) {
  body.sidebar-mini .admin-sidebar {
    width: var(--sidebar-mini-width);
  }

  body.sidebar-mini .admin-main {
    margin-left: var(--sidebar-mini-width);
  }

  body.sidebar-mini .brand-copy,
  body.sidebar-mini .nav-text,
  body.sidebar-mini .sidebar-footer-text {
    width: 0;
    opacity: 0;
    overflow: hidden;
  }

  body.sidebar-mini .sidebar-header,
  body.sidebar-mini .sidebar-footer {
    margin-inline: 1rem;
    padding-inline: 0;
  }

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

  body.sidebar-mini .sidebar-nav .nav-link:hover,
  body.sidebar-mini .sidebar-nav .nav-link:focus {
    transform: none;
  }

  body.sidebar-mini .nav-icon {
    width: 32px;
    height: 32px;
    font-size: 0.85rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    transition: background 0.2s ease, transform 0.2s ease;
  }

  body.sidebar-mini .sidebar-nav .nav-link:hover .nav-icon,
  body.sidebar-mini .sidebar-nav .nav-link:focus .nav-icon,
  body.sidebar-mini .sidebar-nav .nav-link.active .nav-icon {
    background: rgba(255, 255, 255, 0.18);
    transform: scale(1.08);
  }

  body.sidebar-mini .nav-dropdown {
    display: none !important;
  }
}

@media (max-width: 991.98px) {
  .admin-sidebar {
    width: min(var(--sidebar-width), calc(100vw - 48px));
    transform: translateX(-100%);
  }

  .admin-main {
    margin-left: 0;
  }

  body.sidebar-open {
    overflow: hidden;
  }

  body.sidebar-open .admin-sidebar {
    transform: translateX(0);
  }

  body.sidebar-open .sidebar-backdrop {
    display: block;
  }
}

@media (max-width: 575.98px) {
  .page-heading,
  .panel-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .heading-actions {
    width: 100%;
    justify-content: stretch;
  }

  .heading-actions .btn {
    flex: 1 1 0;
  }

  .chart-bars {
    height: 220px;
    gap: 0.6rem;
    padding-inline: 0.25rem;
  }

  .metric-value {
    font-size: 1.85rem;
  }

  .metric-card,
  .panel {
    padding: 1.1rem;
  }

  .admin-footer .container-fluid {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sidebar-nav .nav-link,
  .sidebar-toggle,
  .icon-button,
  .profile-button,
  .btn,
  .metric-card,
  .panel,
  .table tbody tr {
    transition: none;
  }

  .sidebar-nav .nav-link:hover,
  .sidebar-nav .nav-link:focus,
  .btn:hover,
  .btn:focus,
  .metric-card:hover {
    transform: none;
  }
}

html[data-theme="dark"] {
  --admin-bg: #0f172a;
  --admin-surface: #182235;
  --admin-surface-soft: #111827;
  --admin-border: #2f3b52;
  --admin-border-strong: #56688a;
  --admin-text: #e5edf7;
  --admin-muted: #e5edf7;
  --admin-primary: #60a5fa;
  --admin-primary-dark: #3b82f6;
  --admin-success: #2dd4bf;
  --admin-warning: #fbbf24;
  --admin-danger: #f87171;
  --admin-sidebar: #090f1d;
  --admin-sidebar-soft: #172033;
  --admin-shadow-sm: 0 10px 24px rgba(0, 0, 0, 0.24);
  --admin-shadow: 0 18px 46px rgba(0, 0, 0, 0.32);
  --admin-shadow-lg: 0 26px 70px rgba(0, 0, 0, 0.42);
  --admin-ring: 0 0 0 4px rgba(96, 165, 250, 0.18);
}

html[data-theme="dark"] body {
  background: linear-gradient(180deg, #111827 0%, var(--admin-bg) 48%, #0b1120 100%);
}

.brand-icon {
  font-size: 0.9rem;
}

.nav-icon {
  font-size: 0.72rem;
}

.theme-toggle i {
  font-size: 1rem;
}

.admin-navbar.bg-white,
.sidebar-toggle,
.icon-button,
.profile-button {
  background-color: var(--admin-surface) !important;
  color: var(--admin-text);
}

html[data-theme="dark"] .admin-navbar.bg-white {
  background-color: rgba(24, 34, 53, 0.92) !important;
}

html[data-theme="dark"] .profile-avatar {
  background: #1e3a5f;
  color: #bfdbfe;
}

.page-heading-copy {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 1rem;
  min-width: 0;
}

.page-icon,
.section-title i {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 8px;
  background: #eaf2ff;
  color: var(--admin-primary-dark);
}

.page-icon {
  width: 48px;
  height: 48px;
  font-size: 1.25rem;
}

.section-title {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.section-title i {
  width: 34px;
  height: 34px;
  font-size: 0.95rem;
}

html[data-theme="dark"] .page-icon,
html[data-theme="dark"] .section-title i {
  background: #1e3a5f;
  color: #bfdbfe;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}

.btn-light {
  border-color: var(--admin-border);
  background: var(--admin-surface-soft);
  color: var(--admin-text);
}

.btn-outline-secondary {
  border-color: var(--admin-border);
  color: var(--admin-text);
}

.btn-outline-secondary:hover,
.btn-outline-secondary:focus {
  border-color: var(--admin-primary);
  background: #eaf2ff;
  color: var(--admin-primary-dark);
}

html[data-theme="dark"] .btn-outline-secondary:hover,
html[data-theme="dark"] .btn-outline-secondary:focus {
  background: #1e3a5f;
  color: #bfdbfe;
}

html[data-theme="dark"] .chart-bars {
  background: linear-gradient(180deg, #111827 0%, #182235 100%);
}

html[data-theme="dark"] .table tbody tr:hover {
  background: #111827;
}

html[data-theme="dark"] .progress {
  background: #243149;
}

html[data-theme="dark"] .auth-body {
  background: linear-gradient(135deg, #0b1120 0%, #111827 48%, #10201f 100%);
}

.auth-card,
.error-card {
  background: var(--admin-surface);
}

.auth-theme-toggle {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 10;
}

.dropdown-menu,
.modal-content,
.accordion-item,
.accordion-button {
  border-color: var(--admin-border);
  background-color: var(--admin-surface);
  color: var(--admin-text);
}

.dropdown-item,
.accordion-body {
  color: var(--admin-text);
}

.dropdown-item:hover,
.dropdown-item:focus,
.accordion-button:not(.collapsed) {
  background-color: var(--admin-surface-soft);
  color: var(--admin-text);
}

.form-control,
.form-select {
  border: 1.5px solid var(--admin-border-strong);
  background-color: var(--admin-surface);
  color: var(--admin-text);
}

.form-control:focus,
.form-select:focus {
  border-color: #2563eb;
  background-color: var(--admin-surface);
  color: var(--admin-text);
  box-shadow: var(--admin-ring);
}

.form-control::placeholder {
  color: var(--admin-muted);
}

.text-muted {
  color: var(--admin-muted) !important;
}

html[data-theme="dark"] .text-body {
  color: var(--admin-text) !important;
}

html[data-theme="dark"] .text-bg-secondary {
  background-color: #334155 !important;
  color: #e5edf7 !important;
}

@media (max-width: 767.98px) {
  .navbar-actions {
    gap: 0.5rem;
  }

  .page-heading {
    flex-wrap: wrap;
  }

  .heading-actions {
    width: 100%;
    justify-content: flex-start;
  }

  .heading-actions .btn {
    flex: 1 1 auto;
    white-space: nowrap;
  }

  .icon-button,
  .profile-button,
  .sidebar-toggle {
    width: 40px;
    height: 40px;
  }

  .profile-button {
    padding: 0.3rem;
  }

  .page-heading-copy {
    align-items: flex-start;
  }
}

@media (max-width: 575.98px) {
  .page-heading-copy {
    width: 100%;
  }

  .page-icon {
    width: 44px;
    height: 44px;
  }

  .panel-header .d-flex,
  .panel-header .form-control,
  .panel-header .form-select {
    width: 100%;
  }
}

html[data-theme="light"] {
  color-scheme: light;
}

html[data-theme="dark"] {
  color-scheme: dark;
}

body,
.admin-navbar,
.admin-sidebar,
.admin-main,
.metric-card,
.panel,
.auth-card,
.error-card,
.dropdown-menu,
.modal-content,
.form-control,
.form-select {
  transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

.table {
  --bs-table-color: var(--admin-text);
  --bs-table-border-color: var(--admin-border);
  color: var(--admin-text);
}

.page-link {
  border-color: var(--admin-border);
  background: var(--admin-surface);
  color: var(--admin-text);
}

.page-link:hover,
.page-link:focus {
  border-color: var(--admin-primary);
  background: var(--admin-surface-soft);
  color: var(--admin-primary);
}

.page-item.active .page-link {
  border-color: var(--admin-primary);
  background: var(--admin-primary);
  color: #ffffff;
}

.page-item.disabled .page-link {
  border-color: var(--admin-border);
  background: var(--admin-surface-soft);
  color: var(--admin-muted);
}

.alert {
  border-radius: 8px;
}

html[data-theme="dark"] .alert-primary {
  border-color: #1d4ed8;
  background: rgba(37, 99, 235, 0.16);
  color: #bfdbfe;
}

html[data-theme="dark"] .alert-success {
  border-color: #0f766e;
  background: rgba(15, 118, 110, 0.18);
  color: #99f6e4;
}

html[data-theme="dark"] .alert-warning {
  border-color: #d97706;
  background: rgba(217, 119, 6, 0.18);
  color: #fde68a;
}

html[data-theme="dark"] .alert-danger {
  border-color: #dc2626;
  background: rgba(220, 38, 38, 0.16);
  color: #fecaca;
}

html[data-theme="dark"] .modal-header,
html[data-theme="dark"] .modal-footer,
html[data-theme="dark"] .accordion-item {
  border-color: var(--admin-border);
}

html[data-theme="dark"] .btn-close {
  filter: invert(1) grayscale(100%) brightness(180%);
}

html[data-theme="dark"] .text-bg-info {
  background-color: #0e7490 !important;
  color: #ecfeff !important;
}

html[data-theme="dark"] .text-bg-warning {
  background-color: #b45309 !important;
  color: #fff7ed !important;
}

html[data-theme="dark"] .text-bg-success {
  background-color: #0f766e !important;
  color: #ecfdf5 !important;
}

html[data-theme="dark"] .text-bg-danger {
  background-color: #b91c1c !important;
  color: #fef2f2 !important;
}

@media (max-width: 991.98px) {
  .dashboard-content > .container-fluid {
    padding-top: 1.25rem !important;
    padding-bottom: 1.25rem !important;
  }

  .admin-sidebar {
    box-shadow: 18px 0 48px rgba(0, 0, 0, 0.28);
  }
}

@media (max-width: 767.98px) {
  .panel-header {
    align-items: flex-start;
  }

  .panel-header > .d-flex {
    width: 100%;
  }

  .table-search {
    width: 100%;
  }

  .auth-page,
  .error-page {
    padding: 1rem;
  }

  .auth-card,
  .error-card {
    padding: 1.15rem;
  }
}

@media (max-width: 420px) {
  .heading-actions {
    width: 100%;
  }

  .heading-actions .btn {
    width: 100%;
  }

  .metric-card {
    min-height: 146px;
  }

  .profile-avatar-lg {
    width: 76px;
    height: 76px;
  }
}

@media (max-width: 575.98px) {
  .avatar-sm {
    width: 32px;
    height: 32px;
    border-radius: 8px;
  }

  .avatar-xl {
    width: 70px;
    height: 70px;
  }

  .profile-cover {
    height: 82px;
    margin-bottom: 0.75rem;
  }

  .profile-photo {
    margin-top: -38px;
  }

  .auth-visual {
    height: 82px;
  }

  .product-thumb {
    width: 36px;
    height: 36px;
  }
}

html:not([data-theme="dark"]) {
  --admin-sidebar: #ffffff;
  --admin-sidebar-soft: #eef4ff;
  --admin-sidebar-border: #dbe4ef;
  --admin-sidebar-text: #0f172a;
  --admin-sidebar-text-strong: #0f172a;
  --admin-sidebar-muted: #1f2937;
  --admin-sidebar-icon-bg: #eaf2ff;
  --admin-sidebar-icon: #2563eb;
  --admin-sidebar-shadow: 18px 0 42px rgba(15, 23, 42, 0.08);
}

html[data-theme="dark"] {
  --admin-sidebar-border: rgba(255, 255, 255, 0.08);
  --admin-sidebar-text: #e5edf7;
  --admin-sidebar-text-strong: #ffffff;
  --admin-sidebar-muted: #e5edf7;
  --admin-sidebar-icon-bg: rgba(255, 255, 255, 0.08);
  --admin-sidebar-icon: #bfdbfe;
  --admin-sidebar-shadow: 18px 0 42px rgba(0, 0, 0, 0.34);
}

.admin-sidebar {
  border-right: 1px solid var(--admin-sidebar-border);
  background: var(--admin-sidebar);
  color: var(--admin-sidebar-text-strong);
  box-shadow: var(--admin-sidebar-shadow);
}

.sidebar-header {
  border-bottom-color: var(--admin-sidebar-border);
}

.brand-mark,
.brand-mark:hover,
.brand-mark:focus {
  color: var(--admin-sidebar-text-strong);
}

.brand-subtitle {
  color: var(--admin-sidebar-muted);
}

.sidebar-nav .nav-link {
  color: var(--admin-sidebar-text);
}

.sidebar-nav .nav-link:hover,
.sidebar-nav .nav-link:focus,
.sidebar-nav .nav-link.active {
  background: var(--admin-sidebar-soft);
  color: var(--admin-sidebar-text-strong);
}

.nav-icon {
  background: var(--admin-sidebar-icon-bg);
  color: var(--admin-sidebar-icon);
}

.sidebar-footer {
  border-top-color: var(--admin-sidebar-border);
  color: var(--admin-sidebar-text);
}

.sidebar-logout-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1rem;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 10px;
  border: 1.5px solid var(--admin-sidebar-border, #334155);
  background: transparent;
  color: var(--admin-sidebar-text, #94a3b8);
  transition: all 0.2s ease;
  text-decoration: none;
  cursor: pointer;
}
.sidebar-logout-btn:hover {
  background: #dc2626;
  border-color: #dc2626;
  color: #ffffff;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
}
.sidebar-logout-btn i { font-size: 1rem; }

.nav-dropdown .dropdown-link {
  color: var(--admin-sidebar-text);
}

.nav-dropdown .dropdown-link:hover,
.nav-dropdown .dropdown-link:focus {
  background: var(--admin-sidebar-soft);
  color: var(--admin-sidebar-text-strong);
}

/* Ã¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢Â
   LANDING PAGE (index.html)
   Ã¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢Â */
.landing-page * { box-sizing: border-box; }
.landing-page { margin: 0; font-family: "Segoe UI", Arial, sans-serif; color: #1f2937; }

/* Ã¢â€â‚¬Ã¢â€â‚¬ Navbar Ã¢â€â‚¬Ã¢â€â‚¬ */
.navbar-landing {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1050;
  background: rgba(255,255,255,0.97); backdrop-filter: blur(16px);
  border-bottom: 1px solid #e5e7eb;
}
.navbar-landing .nav-top {
  background: #111827; color: #d1d5db; font-size: 0.82rem;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.navbar-landing .nav-top-inner {
  max-width: 1320px; margin: 0 auto; padding: 0.55rem 1.5rem;
  display: flex; align-items: center; gap: 2rem;
}
.navbar-landing .nav-top-inner span { display: inline-flex; align-items: center; gap: 0.4rem; letter-spacing: 0.01em; }
.navbar-landing .nav-top-inner i { font-size: 0.7rem; opacity: 0.7; }
.nav-top-contact { display: inline-flex !important; }
.navbar-landing .nav-top-social {
  position: absolute; right: 1.5rem; top: 0.55rem;
  display: flex; gap: 1.1rem; font-size: 1rem;
}
.navbar-landing .nav-top { position: relative; }
.navbar-landing .nav-top-social a { color: #9ca3af; transition: color 0.2s ease, transform 0.2s ease; display: inline-flex; }
.navbar-landing .nav-top-social a:hover { color: #fff; transform: translateY(-1px); }
.navbar-landing .nav-bottom {
  background: rgba(255,255,255,0.97); backdrop-filter: blur(16px);
  width: 100%;
}
.navbar-landing .nav-bottom-inner {
  max-width: 1320px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.65rem 1.5rem;
}
.navbar-landing .brand {
  display: flex; align-items: center; gap: 1rem;
  font-size: 1.5rem; font-weight: 800; color: #1f2937;
  text-decoration: none; letter-spacing: -0.02em;
}
.navbar-landing .brand img { width: 60px; height: 60px; border-radius: 12px; object-fit: contain; box-shadow: 0 2px 8px rgba(0,0,0,0.06); }
.navbar-landing .brand small { font-size: 0.72rem; font-weight: 400; color: #1f2937; display: block; margin-top: -2px; line-height: 1.3; letter-spacing: 0.01em; }
.navbar-landing .nav-links { display: flex; align-items: center; gap: 0.35rem; list-style: none; margin: 0; padding: 0; }
.navbar-landing .nav-links a {
  text-decoration: none; font-size: 0.9rem; font-weight: 600; color: #4b5563;
  padding: 0.5rem 1rem; border-radius: 8px;
  transition: background 0.2s ease, color 0.2s ease;
}
.navbar-landing .nav-links a:hover { background: #f1f5f9; color: #1e40af; }
.navbar-landing .nav-links a.active { background: #eff6ff; color: #2563eb; }
.navbar-landing .nav-dropdown-landing { position: relative; }
.navbar-landing .nav-dropdown-menu {
  list-style: none; margin: 0; padding: 0.5rem 0;
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(8px);
  background: #fff; border-radius: 12px; box-shadow: 0 12px 40px rgba(0,0,0,0.12);
  min-width: 200px; opacity: 0; visibility: hidden;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  border: 1px solid #f1f5f9; z-index: 1060;
}
.navbar-landing .nav-dropdown-menu::before {
  content: ""; position: absolute; top: -6px; left: 50%; transform: translateX(-50%) rotate(45deg);
  width: 12px; height: 12px; background: #fff; border-left: 1px solid #f1f5f9; border-top: 1px solid #f1f5f9;
}
.navbar-landing .nav-dropdown-landing:hover .nav-dropdown-menu {
  opacity: 1; visibility: visible; transform: translateX(-50%) translateY(4px);
}
.navbar-landing .nav-dropdown-menu li { padding: 0; }
.navbar-landing .nav-dropdown-menu a {
  display: block; padding: 0.55rem 1.25rem; font-size: 0.85rem; font-weight: 500;
  color: #374151; border-radius: 0; white-space: nowrap; background: transparent;
}
.navbar-landing .nav-dropdown-menu a:hover { background: #f8fafc; color: #2563eb; }
.navbar-landing .nav-dropdown-menu--wide {
  min-width: 280px; max-height: 70vh; overflow-y: auto;
  columns: 2; column-gap: 0;
}
.navbar-landing .nav-dropdown-menu--wide li { break-inside: avoid; }
.navbar-landing .nav-dropdown-menu--wide a { white-space: normal; }
.navbar-landing .nav-links .btn-login {
  padding: 0.5rem 1.2rem; border-radius: 8px; border: none;
  background: #2563eb; color: #fff; font-weight: 600; font-size: 0.85rem;
  cursor: pointer; transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  text-decoration: none; display: inline-flex; align-items: center; gap: 0.4rem;
  margin-left: 0.5rem;
}
.navbar-landing .nav-links .btn-login:hover { background: #1d4ed8; transform: translateY(-1px); box-shadow: 0 4px 12px rgba(37,99,235,0.3); }
.nav-close { display: none; }

/* Ã¢â€â‚¬Ã¢â€â‚¬ Hero Video Ã¢â€â‚¬Ã¢â€â‚¬ */
.hero {
  margin-top: 124px;
  position: relative;
  min-height: 75vh;
  display: flex;
  align-items: center;
  background: #0f172a;
  overflow: hidden;
}
.video-hero {
  min-height: 75vh;
}
.hero-slider {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 30%;
  opacity: 0;
  transform: scale(1.03);
  transition: opacity 1.4s ease-in-out, transform 6s ease-in-out;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.hero-slide.active {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}
.video-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(15,23,42,0.55) 0%, rgba(15,23,42,0.30) 50%, rgba(15,23,42,0.15) 100%);
}
.hero .slide-content {
  position: relative; z-index: 2;
  max-width: 720px; margin: 0 auto; padding: 3rem 2.5rem;
  text-align: center;
  background: radial-gradient(ellipse 95% 80% at 50% 50%, rgba(8,22,50,0.72) 0%, rgba(8,22,50,0.40) 55%, rgba(8,22,50,0) 78%);
}
.slide-tag {
  display: inline-block; padding: 0.35rem 1.2rem; margin-bottom: 1.25rem;
  border-radius: 50px; background: rgba(255,255,255,0.12); backdrop-filter: blur(4px);
  color: #93c5fd; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.04em;
  text-transform: uppercase; border: 1px solid rgba(255,255,255,0.08);
  text-shadow: 0 1px 4px rgba(0,0,0,0.6);
}
.hero .slide-content h1 {
  font-size: clamp(2.2rem, 5vw, 3.2rem); font-weight: 900; line-height: 1.15;
  letter-spacing: -0.02em; margin: 0 0 1.25rem; color: #ffffff;
  text-shadow: 0 2px 14px rgba(0,0,0,0.55), 0 0 40px rgba(0,0,0,0.25);
}
.hero .slide-content h1 span {
  background: linear-gradient(135deg, #60a5fa, #34d399);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.hero .slide-content p {
  font-size: 1.1rem; color: rgba(255,255,255,0.88); line-height: 1.75;
  margin: 0 auto 2rem; max-width: 520px;
  text-shadow: 0 1px 8px rgba(0,0,0,0.55);
}
.hero .slide-content .btn-group { display: flex; gap: 0.85rem; flex-wrap: wrap; justify-content: center; }
.hero .slide-content .btn-primary-custom {
  padding: 0.85rem 2rem; border-radius: 10px; border: none;
  background: #2563eb; color: #fff; font-weight: 700; font-size: 0.95rem;
  cursor: pointer; transition: background 0.16s ease, transform 0.16s ease, box-shadow 0.16s ease;
  text-decoration: none; display: inline-flex; align-items: center; gap: 0.5rem;
  box-shadow: 0 4px 14px rgba(37,99,235,0.35);
  position: relative; z-index: 3; pointer-events: auto;
}
.hero .slide-content .btn-primary-custom:hover { background: #1d4ed8; transform: translateY(-3px); box-shadow: 0 6px 20px rgba(37,99,235,0.45); }
.hero .slide-content .btn-secondary-custom {
  padding: 0.85rem 2rem; border-radius: 10px; border: 2px solid rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.06); color: #e5e7eb; font-weight: 700; font-size: 0.95rem;
  cursor: pointer; transition: background 0.16s ease, transform 0.16s ease, border-color 0.16s ease;
  text-decoration: none; display: inline-flex; align-items: center; gap: 0.5rem;
  backdrop-filter: blur(4px);
  position: relative; z-index: 3; pointer-events: auto;
}
.hero .slide-content .btn-secondary-custom:hover { background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.5); transform: translateY(-3px); }

/* Ã¢â€â‚¬Ã¢â€â‚¬ Features Ã¢â€â‚¬Ã¢â€â‚¬ */
.features {
  padding: 5rem 2rem; background: #ffffff;
}
.features .inner { max-width: 1200px; margin: 0 auto; }
.features .section-title { text-align: center; margin-bottom: 3rem; display: block; }
.features .section-title h2 { font-size: 2rem; font-weight: 800; margin: 0 0 0.5rem; }
.features .section-title p { color: #1f2937; margin: 0; }
.features .grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem; }
.feature-card {
  padding: 2rem; border-radius: 12px; border: 1px solid #e5e7eb;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.feature-card:hover { box-shadow: 0 12px 32px rgba(15,23,42,0.06); transform: translateY(-3px); }
.feature-card .icon {
  width: 48px; height: 48px; border-radius: 12px;
  display: grid; place-items: center; font-size: 1.25rem; margin-bottom: 1rem;
}
.feature-card h3 { font-size: 1.1rem; font-weight: 700; margin: 0 0 0.5rem; }
.feature-card p { font-size: 0.9rem; color: #1f2937; line-height: 1.6; margin: 0; }

/* Ã¢â€â‚¬Ã¢â€â‚¬ Courses Ã¢â€â‚¬Ã¢â€â‚¬ */
.courses {
  padding: 5rem 2rem; background: #f9fafb;
}
.courses .inner { max-width: 1200px; margin: 0 auto; }
.courses .section-title { text-align: center; margin-bottom: 3rem; display: block; }
.courses .section-title h2 { font-size: 2rem; font-weight: 800; margin: 0 0 0.5rem; }
.courses .section-title p { color: #1f2937; margin: 0; }
.courses .grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.course-card {
  background: #fff; border-radius: 12px; border: 1px solid #e5e7eb; overflow: hidden;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.course-card:hover { box-shadow: 0 12px 32px rgba(15,23,42,0.06); transform: translateY(-3px); }
.course-card .thumb { height: 180px; background-size: cover !important; background-position: center !important; display: block; }
.course-card .body { padding: 1.25rem 1.5rem 1.5rem; background: #fff; }
.course-card .badge-custom {
  display: inline-block; padding: 0.2rem 0.6rem; border-radius: 6px;
  font-size: 0.75rem; font-weight: 700; margin-bottom: 0.5rem;
}
.course-card h3 { font-size: 1.05rem; font-weight: 700; margin: 0 0 0.4rem; }
.course-card p { font-size: 0.85rem; color: #1f2937; line-height: 1.5; margin: 0 0 1rem; }
.course-card .meta { display: flex; gap: 1rem; font-size: 0.82rem; color: #374151; }
.course-card .meta i { margin-right: 0.25rem; }

/* Ã¢â€â‚¬Ã¢â€â‚¬ Footer Ã¢â€â‚¬Ã¢â€â‚¬ */
.footer-landing {
  padding: 3rem 2rem; background: #111827; color: #d1d5db;
}
.footer-landing .inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2rem; }
.footer-landing h4 { color: #fff; font-size: 1rem; font-weight: 700; margin: 0 0 1rem; }
.footer-landing p { font-size: 0.88rem; line-height: 1.6; margin: 0 0 1rem; }
.footer-landing ul { list-style: none; padding: 0; margin: 0; }
.footer-landing ul li { margin-bottom: 0.5rem; }
.footer-landing ul a { color: #9ca3af; text-decoration: none; font-size: 0.88rem; transition: color 0.16s ease; }
.footer-landing ul a:hover { color: #fff; }
.footer-landing .bottom { max-width: 1200px; margin: 2rem auto 0; padding-top: 1.5rem; border-top: 1px solid #374151; text-align: center; font-size: 0.85rem; color: #cbd5e1; }

/* Ã¢â€â‚¬Ã¢â€â‚¬ Nav Toggle Ã¢â€â‚¬Ã¢â€â‚¬ */
.nav-toggle {
  display: none; background: none; border: none; cursor: pointer;
  width: 40px; height: 40px; border-radius: 8px; font-size: 1.4rem;
  color: #1f2937; align-items: center; justify-content: center;
  transition: background 0.2s ease;
}
.nav-toggle:hover { background: #f1f5f9; }

/* Ã¢â€â‚¬Ã¢â€â‚¬ Mobile Nav Overlay Ã¢â€â‚¬Ã¢â€â‚¬ */
@media (max-width: 991.98px) {
  .nav-toggle { display: inline-flex; }
  .navbar-landing .nav-links {
    position: fixed; top: 0; right: -100%; width: min(320px, 80vw); height: 100vh;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; z-index: 1070; overflow-y: auto;
    padding: 1rem 0; box-shadow: -8px 0 32px rgba(0,0,0,0.1);
    transition: right 0.3s ease; display: flex; list-style: none; margin: 0;
  }
  .navbar-landing .nav-links.open { right: 0; }
  .navbar-landing .nav-links > li { border-bottom: 1px solid #f1f5f9; }
  .navbar-landing .nav-links > li:last-child { border-bottom: none; }
  .navbar-landing .nav-links a {
    display: block; padding: 0.75rem 1.25rem; border-radius: 0;
    font-size: 0.95rem; border: none;
  }
  .navbar-landing .nav-links > li > a { font-weight: 700; color: #1f2937; }
  .navbar-landing .nav-links > li > a:hover { background: #f8fafc; color: #2563eb; }
  .navbar-landing .nav-links a.active { background: #eff6ff; color: #2563eb; border-radius: 0; }
  .navbar-landing .nav-dropdown-landing { position: static; }
  .navbar-landing .nav-dropdown-landing > a {
    display: flex; align-items: center; justify-content: space-between;
    padding-right: 1.25rem;
  }
  .navbar-landing .nav-dropdown-menu {
    position: static; transform: none; opacity: 1; visibility: visible;
    background: #f1f5f9; box-shadow: none; border: none; border-radius: 0;
    min-width: auto; padding: 0; max-height: 0; overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
    border-left: 3px solid transparent;
    margin: 0;
  }
  .navbar-landing .nav-dropdown-menu::before { display: none; }
  .navbar-landing .nav-dropdown-landing:hover .nav-dropdown-menu {
    transform: none; opacity: 1; visibility: visible;
  }
  .navbar-landing .nav-dropdown-landing.open .nav-dropdown-menu {
    max-height: 800px; padding: 0.35rem 0;
    border-left-color: #2563eb;
  }
  .navbar-landing .nav-dropdown-landing > a i.bi-chevron-down {
    transition: transform 0.35s ease; font-size: 0.65rem; margin-left: 0.2rem;
  }
  .navbar-landing .nav-dropdown-landing.open > a i.bi-chevron-down { transform: rotate(180deg); }
  .navbar-landing .nav-dropdown-menu li { position: relative; }
  .navbar-landing .nav-dropdown-menu a {
    padding: 0.6rem 1.5rem 0.6rem 2.5rem; font-size: 0.88rem;
    font-weight: 500; color: #374151; display: flex; align-items: center; gap: 0.5rem;
  }
  .navbar-landing .nav-dropdown-menu a::before {
    content: ""; width: 5px; height: 5px; border-radius: 50%;
    background: #cbd5e1; flex-shrink: 0;
    transition: background 0.2s ease, transform 0.2s ease;
  }
  .navbar-landing .nav-dropdown-menu a:hover::before,
  .navbar-landing .nav-dropdown-menu a:focus::before {
    background: #2563eb; transform: scale(1.6);
  }
  .navbar-landing .nav-dropdown-menu a:hover { background: #e8edf5; color: #2563eb; }
  .navbar-landing .nav-dropdown-menu a:active { background: #dce3ef; }
  .navbar-landing .nav-links .btn-login {
    margin: 0.75rem 1.25rem; justify-content: center;
  }
  /* Close button inside mobile nav */
  .nav-close {
    display: flex; align-items: center; justify-content: flex-end;
    padding: 0.5rem 1rem; border-bottom: 1px solid #f1f5f9;
  }
.nav-close button {
background: none; border: none; font-size: 1.5rem; cursor: pointer;
color: #1f2937; padding: 0.25rem; border-radius: 6px;
    transition: background 0.2s ease;
  }
  .nav-close button:hover { background: #f1f5f9; }
  /* Overlay backdrop */
  .nav-overlay {
    position: fixed; inset: 0; z-index: 1040; background: rgba(0,0,0,0.45);
    opacity: 0; visibility: hidden; transition: opacity 0.3s ease, visibility 0.3s ease;
  }
  .nav-overlay.show { opacity: 1; visibility: visible; }
}

@media (max-width: 768px) {
  .hero { min-height: 65vh; margin-top: 100px; }
  .hero .slide-content { padding: 2.5rem 1.25rem; }
  .hero .slide-content h1 { font-size: 1.6rem; }
  .hero .slide-content p { font-size: 0.9rem; max-width: 100%; }
  .slide-tag { font-size: 0.65rem; padding: 0.2rem 0.9rem; margin-bottom: 1rem; }
  .hero .slide-content .btn-group { flex-direction: column; align-items: center; }
  .hero .slide-content .btn-primary-custom,
  .hero .slide-content .btn-secondary-custom { width: 100%; max-width: 280px; justify-content: center; }
  .navbar-landing .nav-top-inner { padding: 0.4rem 1rem; gap: 0.75rem; font-size: 0.75rem; flex-wrap: wrap; }
  .navbar-landing .nav-top-social { gap: 0.7rem; font-size: 0.85rem; }
  .navbar-landing .nav-bottom-inner { padding: 0.4rem 1rem; }
  .navbar-landing .brand img { width: 44px; height: 44px; border-radius: 10px; }
  .navbar-landing .brand { gap: 0.65rem; font-size: 1.2rem; }
  .navbar-landing .brand small { font-size: 0.6rem; }
  .features { padding: 3rem 1rem; }
  .features .section-title h2 { font-size: 1.5rem; }
  .features .grid { grid-template-columns: 1fr; }
  .courses { padding: 3rem 1rem; }
  .courses .section-title h2 { font-size: 1.5rem; }
  .courses .grid { grid-template-columns: 1fr; }
  .course-card .thumb { height: 160px; }
  .footer-landing { padding: 2rem 1rem; }
  .footer-landing .inner { grid-template-columns: 1fr; gap: 1.5rem; }
  #scrollTopBtn { width: 40px; height: 40px; font-size: 1rem; bottom: 1.25rem; right: 1.25rem; }
}

@media (max-width: 480px) {
  .hero { min-height: 55vh; margin-top: 90px; }
  .hero .slide-content { padding: 2rem 1rem; }
  .hero .slide-content h1 { font-size: 1.35rem; }
  .hero .slide-content p { font-size: 0.82rem; margin-bottom: 1.25rem; }
  .navbar-landing .nav-top-inner { font-size: 0.7rem; padding: 0.3rem 0.75rem; }
  .navbar-landing .nav-bottom-inner { padding: 0.3rem 0.75rem; }
  .navbar-landing .brand { gap: 0.5rem; }
  .navbar-landing .brand img { width: 38px; height: 38px; }
  .navbar-landing .brand small { display: none; }
  .features .section-title h2 { font-size: 1.3rem; }
  .courses .section-title h2 { font-size: 1.3rem; }
  .nav-toggle { width: 36px; height: 36px; font-size: 1.2rem; }
  .navbar-landing .nav-links { width: min(280px, 82vw); }
  .navbar-landing .nav-links a { padding: 0.65rem 1rem; font-size: 0.88rem; }
  .navbar-landing .nav-links .btn-login { margin: 0.65rem 1rem; padding: 0.5rem 1rem; }
  .navbar-landing .nav-dropdown-menu a { padding: 0.45rem 1rem 0.45rem 1.5rem; font-size: 0.82rem; }
}

@media (max-width: 380px) {
  .hero { min-height: 50vh; margin-top: 84px; }
  .hero .slide-content { padding: 1.5rem 0.75rem; }
  .hero .slide-content h1 { font-size: 1.15rem; }
  .hero .slide-content p { font-size: 0.78rem; }
  .slide-tag { font-size: 0.6rem; padding: 0.15rem 0.7rem; }
  .hero .slide-content .btn-primary-custom,
  .hero .slide-content .btn-secondary-custom { max-width: 220px; padding: 0.7rem 1.2rem; font-size: 0.85rem; }
  .navbar-landing .nav-top-inner { font-size: 0.62rem; padding: 0.25rem 0.5rem; gap: 0.5rem; }
  .navbar-landing .nav-top-social { gap: 0.5rem; font-size: 0.75rem; }
  .navbar-landing .nav-bottom-inner { padding: 0.25rem 0.5rem; }
  .navbar-landing .brand { gap: 0.4rem; font-size: 1rem; }
  .navbar-landing .brand img { width: 32px; height: 32px; }
  .features { padding: 2rem 0.75rem; }
  .courses { padding: 2rem 0.75rem; }
  .course-card .thumb { height: 140px; }
  .footer-landing { padding: 1.5rem 0.75rem; }
  #scrollTopBtn { width: 36px; height: 36px; font-size: 0.85rem; bottom: 1rem; right: 1rem; }
}

/* Ã¢â€â‚¬Ã¢â€â‚¬ 20:9 tall screens (e.g. Blackview BV8200 portrait) Ã¢â€â‚¬Ã¢â€â‚¬ */
@media (min-height: 900px) and (min-width: 481px) {
  .hero { min-height: 60vh; }
}
@media (min-height: 900px) and (max-width: 480px) {
  .hero { min-height: 45vh; }
}
@media (min-height: 1100px) {
  .hero { min-height: 55vh; }
}

/* Ã¢â€â‚¬Ã¢â€â‚¬ Contact Page Ã¢â€â‚¬Ã¢â€â‚¬ */
@media (max-width: 768px) {
  .contact-banner { min-height: 200px !important; }
  .contact-banner h1 { font-size: 1.6rem !important; }
  .contact-section { padding: 2rem 1rem !important; }
  .contact-grid { grid-template-columns: 1fr !important; gap: 2rem !important; }
  .contact-form-grid { grid-template-columns: 1fr !important; }
  .contact-map-section { padding: 0 1rem 2rem !important; }
  .contact-section form button[type="submit"] { width: 100% !important; justify-content: center; }
}
@media (max-width: 480px) {
  .contact-banner { min-height: 170px !important; margin-top: 90px !important; }
  .contact-banner h1 { font-size: 1.3rem !important; }
  .contact-banner p { font-size: 0.85rem !important; }
}

/* Ã¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢Â
   AUTH PAGES (login.html, etc.)
   Ã¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢Â */
.auth-body .auth-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 1.75rem;
  padding-top: 0.5rem;
}
.auth-body .auth-logo img {
  width: 90px;
  height: 90px;
  object-fit: contain;
  margin-bottom: 0.85rem;
  border-radius: 18px;
  box-shadow: 0 8px 28px rgba(37, 99, 235, 0.15);
}
.auth-body .auth-logo h1 {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--admin-text);
  margin: 0;
}
.auth-body .auth-logo p {
  color: var(--admin-muted);
  font-size: 0.88rem;
  margin: 0.15rem 0 0;
}
.auth-body .auth-card {
  padding: 2rem 2rem 1.75rem;
}
.auth-body .auth-card .btn-primary {
  padding: 0.7rem 1rem;
  font-weight: 700;
  border-radius: 8px;
}
.auth-body .auth-card .form-control {
border-radius: 8px;
padding: 0.6rem 0.9rem;
border: 1.5px solid var(--admin-border-strong);
background: var(--admin-surface-soft);
transition: border-color 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}
.auth-body .auth-card .form-control:focus {
  border-color: #93c5fd;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
  background: #ffffff;
}
.auth-body .auth-card .form-label {
  font-weight: 600;
  font-size: 0.88rem;
  margin-bottom: 0.35rem;
  color: var(--admin-text);
}
.auth-body .auth-divider {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 1.25rem 0;
  color: var(--admin-muted);
  font-size: 0.82rem;
  font-weight: 600;
}
.auth-body .auth-divider::before,
.auth-body .auth-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--admin-border);
}
.auth-body .auth-card .auth-footer {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--admin-border);
}
.auth-body .auth-footer a {
  font-weight: 700;
  color: var(--admin-primary);
  transition: opacity 0.16s ease;
}
.auth-body .auth-footer a:hover {
  opacity: 0.8;
}
html[data-theme="dark"] .auth-body .auth-logo img {
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.25);
}
html[data-theme="dark"] .auth-body .auth-card .form-control {
background: rgba(255, 255, 255, 0.05);
border-color: #56688a;
}
html[data-theme="dark"] .auth-body .auth-card .form-control:focus {
  background: rgba(255, 255, 255, 0.08);
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}
@media (max-width: 480px) {
  .auth-body .auth-card {
    padding: 1.5rem;
  }
  .auth-body .auth-logo img {
    width: 72px;
    height: 72px;
  }
  .auth-body .auth-logo h1 {
    font-size: 1.25rem;
  }
}

.auth-body .form-check-label {
  font-size: 0.88rem;
  color: var(--admin-muted);
}
.auth-body .auth-card .forgot-link {
  color: var(--admin-primary);
  font-weight: 600;
  text-decoration: none;
  transition: opacity 0.16s ease;
}
.auth-body .auth-card .forgot-link:hover {
  opacity: 0.8;
  text-decoration: underline;
}

/* Ã¢â€â‚¬Ã¢â€â‚¬ Registration Form (wider card) Ã¢â€â‚¬Ã¢â€â‚¬ */
.auth-card--register {
  width: min(100%, 920px);
  padding: 2.5rem 2.5rem 2rem;
}
.auth-card--register .form-control {
background: #fff;
border: 1.5px solid #9fb0c9;
}
.auth-card--register .form-control:focus {
  border-color: #93c5fd;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
  background: #fff;
}
html[data-theme="dark"] .auth-card--register .form-control {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
}
html[data-theme="dark"] .auth-card--register .form-control:focus {
  background: rgba(255, 255, 255, 0.09);
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}
.auth-card--register .edu-grid-row .edu-level {
  background: #f1f5f9;
  border-right: 1px solid var(--admin-border);
}
html[data-theme="dark"] .auth-card--register .edu-grid-row .edu-level {
  background: rgba(255,255,255,0.04);
  border-right-color: var(--admin-border);
}
.auth-card--register .radio-group {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 0.6rem 1rem;
}
html[data-theme="dark"] .auth-card--register .radio-group {
  background: rgba(255,255,255,0.03);
  border-color: rgba(255,255,255,0.08);
}
.auth-card--register .form-section-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--admin-text);
  margin: 1.75rem 0 1rem 0;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--admin-primary);
}
.auth-card--register .form-section-title:first-of-type {
  margin-top: 0.25rem;
}

/* Ã¢â€â‚¬Ã¢â€â‚¬ Auth split card (ICAG portal style) Ã¢â€â‚¬Ã¢â€â‚¬ */
.auth-card--split { width: min(100%, 900px); padding: 0; border-radius: 20px; overflow: hidden; display: grid; grid-template-columns: 1.15fr .85fr; }
.auth-form-side { padding: 2.4rem 2.3rem 1.8rem; min-width: 0; }
.welcome-head { text-align: center; margin-bottom: 1.4rem; }
.welcome-head h2 { font-size: 1.45rem; font-weight: 800; color: var(--admin-text); margin: 0 0 .35rem; }
.welcome-head p { color: var(--admin-muted); font-size: .87rem; line-height: 1.65; margin: 0 auto; max-width: 380px; }
.auth-card--split .btn-login { width: 100%; padding: .8rem 1rem; border: none; border-radius: 10px; background: linear-gradient(135deg, #dd3333, #cc2222); color: #fff; font-weight: 800; font-size: .95rem; display: inline-flex; align-items: center; justify-content: center; gap: .5rem; box-shadow: 0 6px 16px rgba(221,51,51,.35); transition: transform .16s ease, box-shadow .16s ease; }
.auth-card--split .btn-login:hover { transform: translateY(-1px); box-shadow: 0 10px 24px rgba(221,51,51,.45); }
.auth-visual-side { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.2rem; padding: 2.4rem 2rem; background: linear-gradient(165deg, #0a1f44 0%, #14305e 100%); text-align: center; position: relative; overflow: hidden; }
.auth-visual-side::before, .auth-visual-side::after { content: ""; position: absolute; border-radius: 50%; }
.auth-visual-side::before { width: 230px; height: 230px; top: -80px; right: -80px; background: rgba(37,99,235,.15); }
.auth-visual-side::after { width: 170px; height: 170px; bottom: -60px; left: -60px; background: rgba(255,255,255,.05); }
.auth-visual-side img { width: 140px; height: 140px; object-fit: contain; border-radius: 50%; background: #fff; padding: .6rem; box-shadow: 0 12px 34px rgba(0,0,0,.28); position: relative; z-index: 1; }
.auth-visual-side h2 { font-size: 1.5rem; font-weight: 800; color: #fff; margin: 0 0 .25rem; letter-spacing: .02em; position: relative; z-index: 1; }
.auth-visual-side p { font-size: .83rem; color: #9db2d0; line-height: 1.6; margin: 0; max-width: 230px; position: relative; z-index: 1; }
@media (max-width: 767.98px) {
  .auth-card--split { grid-template-columns: 1fr; }
  .auth-visual-side { display: none; }
}

/* Ã¢â€â‚¬Ã¢â€â‚¬ Password field with toggle Ã¢â€â‚¬Ã¢â€â‚¬ */
.password-wrapper {
  position: relative;
}
.password-wrapper .form-control {
  padding-right: 44px;
}
.password-toggle {
  position: absolute;
  right: 2px;
  top: 2px;
  bottom: 2px;
  width: 40px;
  border: none;
  background: transparent;
  color: #94a3b8;
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: 0 10px 10px 0;
  transition: color 0.15s;
}
.password-toggle:hover { color: #1f2937; }
.password-toggle:focus { outline: none; color: #2563eb; }
.password-requirements {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 18px;
}
.password-requirements li {
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: color 0.2s;
}
.password-requirements li i { font-size: 0.65rem; }
.req-valid { color: #16a34a; }
.req-invalid { color: #1f2937; }
.req-valid i { color: #16a34a; }
.req-invalid i { color: #1f2937; }
/* Ã¢â€â‚¬Ã¢â€â‚¬ Auth alert messages Ã¢â€â‚¬Ã¢â€â‚¬ */
.auth-alert {
  border-radius: 10px;
  padding: 1rem 1.25rem;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}
.auth-alert i { font-size: 1.25rem; flex-shrink: 0; margin-top: 0.05rem; }
.auth-alert-title { margin: 0; font-weight: 700; font-size: 0.95rem; }
.auth-alert-text { margin: 0.2rem 0 0; font-size: 0.87rem; line-height: 1.5; }
.auth-alert-success { background: #f0fdf4; border: 1px solid #bbf7d0; }
.auth-alert-success i { color: #16a34a; }
.auth-alert-success .auth-alert-title { color: #166534; }
.auth-alert-success .auth-alert-text { color: #166534; }
.auth-alert-error { background: #fef2f2; border: 1px solid #fecaca; }
.auth-alert-error i { color: #dc2626; }
.auth-alert-error .auth-alert-title { color: #991b1b; }
.auth-alert-error .auth-alert-text { color: #991b1b; }

/* Radio group inline */
.radio-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1rem;
  padding: 0.5rem 0;
}
.radio-group .form-check {
  padding-left: 1.5rem;
  min-height: 0;
  margin-bottom: 0;
}
.radio-group .form-check-input {
  margin-top: 0.25rem;
}
.radio-group .form-check-label {
  font-size: 0.88rem;
  color: var(--admin-text);
  font-weight: 500;
}
/* Education grid */
.edu-grid {
  border: 1px solid var(--admin-border);
  border-radius: 8px;
  overflow: hidden;
}
.edu-grid-header {
  display: none;
  background: #f8fafc;
  font-weight: 700;
  font-size: 0.82rem;
  color: var(--admin-muted);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding: 0.6rem 0.75rem;
  border-bottom: 1px solid var(--admin-border);
}
.edu-grid-row {
  display: grid;
  grid-template-columns: 130px 1fr 1fr 1.4fr 1fr;
  gap: 0;
  border-bottom: 1px solid var(--admin-border);
  align-items: start;
}
.edu-grid-row:last-child { border-bottom: none; }
.edu-grid-row .edu-level {
  font-weight: 600;
  font-size: 0.82rem;
  color: var(--admin-text);
  padding: 0.6rem 0.75rem;
  background: #f9fafb;
  min-height: 100%;
  display: flex;
  align-items: center;
}
.edu-grid-row .edu-fields {
  display: contents;
}
.edu-grid-row .edu-fields > * {
  padding: 0.35rem 0.4rem;
}
.edu-grid-row .edu-fields .form-control {
  font-size: 0.82rem;
  padding: 0.4rem 0.5rem;
  border-radius: 4px;
}
@media (max-width: 768px) {
  .edu-grid-row {
    grid-template-columns: 1fr;
    gap: 0.35rem;
    padding: 0.75rem;
  }
  .edu-grid-row .edu-level {
    background: transparent;
    padding: 0 0 0.25rem 0;
    font-size: 0.88rem;
  }
  .edu-grid-row .edu-fields { display: grid; gap: 0.35rem; }
  .edu-grid-row .edu-fields > * { padding: 0; }
}
/* Professional qual grid */
.prof-qual-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.prof-qual-grid .full-width { grid-column: 1 / -1; }
.prof-qual-grid .year-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}
@media (max-width: 576px) {
  .prof-qual-grid { grid-template-columns: 1fr; }
  .prof-qual-grid .full-width { grid-column: 1; }
}

/* Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬ 3D Admin Form Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬ */
.form-3d-card {
  background: linear-gradient(145deg, var(--admin-surface-soft), var(--admin-surface));
  border-radius: 20px;
  padding: 2px;
  box-shadow:
    0 20px 60px rgba(37, 99, 235, 0.10),
    0 8px 20px rgba(0,0,0,0.04),
    inset 0 1px 0 rgba(255,255,255,0.8);
}
[data-theme="dark"] .form-3d-card {
  box-shadow: 0 20px 60px rgba(0,0,0,0.4), 0 8px 20px rgba(0,0,0,0.2), inset 0 1px 0 rgba(255,255,255,0.05);
}
[data-theme="dark"] .form-section { border-bottom-color: rgba(255,255,255,0.06); }
[data-theme="dark"] .form-section-title { color: var(--admin-text); }
.form-3d-card-inner {
  background: var(--admin-surface, #ffffff);
  border-radius: 18px;
  padding: 2.25rem 2rem;
  box-shadow:
    inset 0 1px 2px rgba(255,255,255,0.7),
    0 1px 0 rgba(0,0,0,0.02);
}
.form-section {
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}
.form-section:last-of-type { border-bottom: 0; margin-bottom: 1.5rem; }
.form-section-title {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 1.25rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #2563eb20;
}
.form-section-title i { font-size: 1.2rem; color: #fafbff; }
.form-control-3d,
.form-select-3d {
background: var(--admin-surface-soft, #f8fafc);
border: 1.5px solid var(--admin-border-strong, #9fb0c9);
  border-radius: 12px;
  padding: 0.65rem 1rem;
  font-size: 0.9rem;
  color: var(--admin-text, #1e293b);
  transition: all 0.2s ease;
  box-shadow:
    inset 0 1px 3px rgba(0,0,0,0.04),
    0 1px 0 rgba(255,255,255,0.6);
}
.form-control-3d:focus,
.form-select-3d:focus {
  background: var(--admin-surface, #ffffff);
  border-color: #2563eb;
  box-shadow:
    inset 0 1px 3px rgba(0,0,0,0.04),
    0 0 0 4px rgba(37, 99, 235, 0.10);
}
.form-control-3d::placeholder { color: var(--admin-muted, #94a3b8); }
.form-select-3d { cursor: pointer; }
textarea.form-control-3d { resize: vertical; }
.photo-preview-box {
  width: 100%;
  min-height: 100px;
  border: 2px dashed #d1d9e6;
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  background: #f8fafc;
  padding: 1rem;
  transition: border-color 0.2s;
}
.photo-preview-box:hover { border-color: #2563eb80; }
.form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
  margin-top: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(0,0,0,0.05);
}
.btn-3d {
  border-radius: 12px;
  padding: 0.65rem 1.75rem;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.2s ease;
  box-shadow:
    0 4px 6px rgba(0,0,0,0.04),
    0 1px 0 rgba(255,255,255,0.6);
}
.btn-3d.btn-primary {
  background: linear-gradient(145deg, #2563eb, #1d4ed8);
  border: none;
  box-shadow:
    0 4px 14px rgba(37, 99, 235, 0.30),
    0 1px 0 rgba(255,255,255,0.15);
}
.btn-3d.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.35);
}
.btn-3d.btn-outline-secondary {
border: 1.5px solid #d1d9e6;
color: #1f2937;
background: #f8fafc;
}
.btn-3d.btn-outline-secondary:hover {
  background: #eef2f7;
  border-color: #94a3b8;
}
@media (max-width: 576px) {
  .form-3d-card-inner { padding: 1.5rem 1rem; }
  .form-actions { flex-direction: column; }
  .form-actions .btn-3d { width: 100%; }
}

/* Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬ 3D Config Cards Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬ */
.form-3d-card {
  background: var(--admin-surface, #ffffff);
  border-radius: 20px;
  border: 1px solid var(--admin-border, transparent);
  box-shadow: var(--admin-shadow, 0 30px 80px rgba(0,0,0,0.10));
  padding: 1.75rem;
  height: 100%;
  transition: box-shadow 0.2s ease, background 0.2s, border-color 0.2s;
}
.form-3d-card:hover {
  box-shadow: var(--admin-shadow-lg, 0 35px 90px rgba(0,0,0,0.13));
}
.form-3d-card .form-section-title {
  margin-top: 0;
}

/* Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬ View Modal Info Items Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬ */
.info-item {
  background: var(--admin-surface-soft, #f8fafc);
  border: 1px solid var(--admin-border, #e2e8f0);
  border-radius: 10px;
  padding: 0.75rem 1rem;
  height: 100%;
}
.info-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  color: #1f2937;
  margin-bottom: 4px;
}
.info-value {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: #1e293b;
}

/* Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬ Search Bar Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬ */
.search-bar-wrapper {
  position: relative;
  max-width: 400px;
}
.search-bar-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  font-size: 0.95rem;
  pointer-events: none;
}
.search-bar-input {
padding-left: 38px;
border-radius: 10px;
border: 1.5px solid var(--admin-border-strong, #9fb0c9);
  background: var(--admin-surface-soft, #f8fafc);
  font-size: 0.875rem;
  height: 42px;
  transition: all 0.2s ease;
  color: var(--admin-text, #1f2937);
}
.search-bar-input:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.10);
  background: var(--admin-surface, #ffffff);
}
.search-bar-input::placeholder { color: #94a3b8; }

/* Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬ Action Buttons Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬ */
.action-btn-group {
  display: flex;
  justify-content: flex-end;
  gap: 4px;
}
.action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 0 10px;
  min-width: 34px;
  height: 34px;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.15s ease;
  border: 1.5px solid transparent;
  white-space: nowrap;
}
.action-btn:hover { transform: translateY(-1px); text-decoration: none; }
.action-btn i { font-size: 0.9rem; }
.action-edit {
  color: #2563eb;
  background: #eff6ff;
  border-color: #bfdbfe;
}
.action-edit:hover { background: #2563eb; color: #ffffff; border-color: #2563eb; }
.action-view {
  color: #6366f1;
  background: #eef2ff;
  border-color: #c7d2fe;
}
.action-view:hover { background: #6366f1; color: #ffffff; border-color: #6366f1; }
.action-activate {
  color: #059669;
  background: #ecfdf5;
  border-color: #a7f3d0;
}
.action-activate:hover { background: #059669; color: #ffffff; border-color: #059669; }
.action-deactivate {
  color: #d97706;
  background: #fffbeb;
  border-color: #fde68a;
}
.action-deactivate:hover { background: #d97706; color: #ffffff; border-color: #d97706; }
.action-delete {
  color: #dc2626;
  background: #fef2f2;
  border-color: #fecaca;
}
.action-delete:hover { background: #dc2626; color: #ffffff; border-color: #dc2626; }

/* Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬ Pagination Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬ */
.pagination-sm .page-link {
  border-radius: 8px !important;
  margin: 0 2px;
  padding: 0.35rem 0.7rem;
  font-size: 0.8rem;
  color: #1f2937;
  border: 1.5px solid #e2e8f0;
  background: #ffffff;
  transition: all 0.15s ease;
}
.pagination-sm .page-link:hover {
  background: #f1f5f9;
  border-color: #cbd5e1;
  color: #1e293b;
}
.pagination-sm .page-item.active .page-link {
  background: #2563eb;
  border-color: #2563eb;
  color: #ffffff;
  font-weight: 600;
}
.pagination-sm .page-item.disabled .page-link {
  background: #f8fafc;
  border-color: #e2e8f0;
  color: #1f2937;
  opacity: 0.6;
}
#perPageSelect:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.10);
}

/* Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬ User Info Cards Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬ */
.info-card {
  background: var(--admin-surface-soft);
  border: 1px solid var(--admin-border);
  border-radius: 10px;
  padding: 0.55rem 0.75rem;
  transition: background 0.2s, border-color 0.2s;
}
.info-card small { color: var(--admin-muted); display: block; font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.03em; margin-bottom: 2px; }
.info-card strong { color: var(--admin-text); font-size: 0.9rem; }

/* Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬ Sidebar Modules Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬ */
.sidebar-modules {
  padding: 0 1rem 1rem;
  display: grid;
  gap: 0.75rem;
}
.sidebar-module {
  border: 1px solid var(--admin-sidebar-border, rgba(255,255,255,0.08));
  border-radius: 10px;
  background: var(--admin-sidebar-soft);
  overflow: hidden;
}
.sidebar-module-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 0.75rem;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--admin-sidebar-text-strong, #fff);
  border-bottom: 1px solid var(--admin-sidebar-border, rgba(255,255,255,0.06));
  background: rgba(0,0,0,0.1);
}
.sidebar-module-header i { font-size: 0.85rem; }
.sidebar-module-body {
  padding: 0.55rem 0.75rem;
  font-size: 0.78rem;
}
.sidebar-module-body small { color: var(--admin-sidebar-muted, #9ca3af); }
.sidebar-module-body .fw-semibold { color: var(--admin-sidebar-text-strong, #fff); }
.sidebar-stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.3rem;
  margin-top: 0.4rem;
}
.sidebar-stat {
  text-align: center;
  padding: 0.35rem 0.2rem;
  border-radius: 6px;
  background: rgba(0,0,0,0.12);
}
.sidebar-stat strong { display: block; font-size: 1rem; color: var(--admin-sidebar-text-strong, #fff); }
.sidebar-stat small { font-size: 0.65rem; text-transform: uppercase; opacity: 0.7; }
.sidebar-module-link {
  color: var(--admin-primary);
  font-size: 0.75rem;
  font-weight: 600;
  text-decoration: none;
}
.sidebar-module-link:hover { text-decoration: underline; }
.sidebar-activity {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.5rem;
  padding: 0.3rem 0;
  align-items: start;
}
.sidebar-activity:not(:last-child) { border-bottom: 1px solid var(--admin-sidebar-border, rgba(255,255,255,0.05)); }
.activity-dot-sm {
  width: 8px;
  height: 8px;
  margin-top: 0.35rem;
  border-radius: 50%;
  flex: 0 0 auto;
}
.sidebar-info-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  padding: 0.25rem 0;
}
.sidebar-info-row:not(:last-child) { border-bottom: 1px solid var(--admin-sidebar-border, rgba(255,255,255,0.05)); }

/* Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬ Stat Cards (dashboard info boxes) Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬ */
.stat-card {
  padding: 0.9rem 1rem;
  border-radius: 12px;
  transition: background 0.2s, border-color 0.2s;
}
.stat-card-primary { background: #eef4ff; }
.stat-card-success { background: #f0fdf4; }
.stat-card-warning { background: #fffbeb; }
.stat-card-danger  { background: #fef2f2; }
.stat-card .small { color: var(--admin-muted); display: block; margin-bottom: 2px; }
.stat-card .fw-semibold { color: var(--admin-text); }
[data-theme="dark"] .stat-card-primary { background: rgba(37,99,235,0.12); }
[data-theme="dark"] .stat-card-success { background: rgba(5,150,105,0.12); }
[data-theme="dark"] .stat-card-warning { background: rgba(217,119,6,0.12); }
[data-theme="dark"] .stat-card-danger  { background: rgba(220,38,38,0.12); }
.avatar-placeholder {
  width: 80px; height: 80px; border-radius: 50%;
  background: var(--admin-surface-soft);
  border: 2px solid var(--admin-border);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 2rem; color: var(--admin-muted);
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

/* Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬ System Config Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬ */
.config-table-head { background:var(--admin-surface-soft); }
.config-table-head th { color:var(--admin-text); font-weight:600; }
.role-badge { background:rgba(37,99,235,0.08); color:#2563eb; padding:0.5rem 1rem; border-radius:10px; font-size:0.9rem; font-weight:500; }
[data-theme="dark"] .role-badge { background:rgba(59,130,246,0.2); color:#93c5fd; }
.config-btn-edit { background:#eef2ff; border:none; color:#4f46e5; padding:0.35rem 0.6rem; border-radius:8px; box-shadow:0 2px 4px rgba(79,70,229,0.12); }
.config-btn-edit:hover { background:#4f46e5; color:#fff; }
[data-theme="dark"] .config-btn-edit { background:rgba(79,70,229,0.2); color:#a5b4fc; box-shadow:none; }
[data-theme="dark"] .config-btn-edit:hover { background:#4f46e5; color:#fff; }
.config-btn-delete { background:#fef2f2; border:none; color:#dc2626; padding:0.35rem 0.6rem; border-radius:8px; box-shadow:0 2px 4px rgba(220,38,38,0.12); }
.config-btn-delete:hover { background:#dc2626; color:#fff; }
[data-theme="dark"] .config-btn-delete { background:rgba(220,38,38,0.2); color:#fca5a5; box-shadow:none; }
[data-theme="dark"] .config-btn-delete:hover { background:#dc2626; color:#fff; }
.config-fee-label { color:#1e293b; }
[data-theme="dark"] .config-fee-label { color:var(--admin-text); }
.config-dollar-sign { background:var(--admin-surface-soft); border:1.5px solid var(--admin-border); border-radius:10px 0 0 10px; font-weight:600; color:var(--admin-text); }

/* Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬ Dark Mode Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬ */
[data-theme="dark"] {
  --admin-bg: #0f172a;
  --admin-surface: #1e293b;
  --admin-surface-soft: #1a2332;
  --admin-border: #334155;
  --admin-border-strong: #5a6d8f;
  --admin-text: #e2e8f0;
  --admin-muted: #e2e8f0;
  --admin-shadow-sm: 0 10px 24px rgba(0, 0, 0, 0.25);
  --admin-shadow: 0 18px 46px rgba(0, 0, 0, 0.35);
  --admin-shadow-lg: 0 26px 70px rgba(0, 0, 0, 0.45);
  --admin-ring: 0 0 0 4px rgba(59, 130, 246, 0.25);
}
[data-theme="dark"] body {
  background: linear-gradient(180deg, #0f172a 0%, var(--admin-bg) 42%, #0b1120 100%);
}
[data-theme="dark"] .table {
  --bs-table-bg: transparent;
  --bs-table-color: var(--admin-text);
}
[data-theme="dark"] .table > :not(caption) > * > * {
  background: transparent !important;
  border-bottom-color: var(--admin-border);
}
[data-theme="dark"] .table tbody tr:hover {
  background: rgba(255, 255, 255, 0.03) !important;
}
[data-theme="dark"] .pagination-sm .page-link {
  background: var(--admin-surface);
  border-color: var(--admin-border);
  color: var(--admin-text);
}
[data-theme="dark"] .pagination-sm .page-link:hover {
  background: var(--admin-surface-soft);
  border-color: var(--admin-muted);
  color: var(--admin-text);
}
[data-theme="dark"] .pagination-sm .page-item.disabled .page-link {
  background: var(--admin-surface-soft);
  border-color: var(--admin-border);
  color: var(--admin-muted);
}
[data-theme="dark"] .modal-content {
  background: var(--admin-surface);
  border-color: var(--admin-border);
}
[data-theme="dark"] .modal-header,
[data-theme="dark"] .modal-footer {
  border-color: var(--admin-border);
}
[data-theme="dark"] .btn-close {
  filter: invert(1) brightness(200%);
}
[data-theme="dark"] .page-heading .page-icon {
  background: rgba(59, 130, 246, 0.15);
}
[data-theme="dark"] .dropdown-menu {
  background: var(--admin-surface);
  border-color: var(--admin-border);
}
[data-theme="dark"] .dropdown-item {
  color: var(--admin-text);
}
[data-theme="dark"] .dropdown-item:hover {
  background: var(--admin-surface-soft);
  color: var(--admin-text);
}
[data-theme="dark"] .alert {
  background: var(--admin-surface);
  border-color: var(--admin-border);
  color: var(--admin-text);
}
[data-theme="dark"] .table thead th {
  color: var(--admin-muted);
  border-bottom-color: var(--admin-border);
}
[data-theme="dark"] #perPageSelect {
  background: var(--admin-surface);
  color: var(--admin-text);
  border-color: var(--admin-border);
}
[data-theme="dark"] #perPageSelect option {
  background: var(--admin-surface);
  color: var(--admin-text);
}

/* Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬ Apply Form Dark Mode Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬ */
[data-theme="dark"] .form-control,
[data-theme="dark"] .form-select,
[data-theme="dark"] .form-control:focus,
[data-theme="dark"] .form-select:focus {
  background: var(--admin-surface-soft);
  color: var(--admin-text);
  border-color: var(--admin-border);
}
[data-theme="dark"] .form-control:focus,
[data-theme="dark"] .form-select:focus {
  box-shadow: var(--admin-ring);
}
[data-theme="dark"] .form-control::placeholder {
  color: var(--admin-muted);
}
[data-theme="dark"] .form-check-input {
  background: var(--admin-surface-soft);
  border-color: var(--admin-border);
}
[data-theme="dark"] .form-check-input:checked {
  background: var(--admin-primary);
  border-color: var(--admin-primary);
}
[data-theme="dark"] .table-light {
  --bs-table-bg: var(--admin-surface-soft);
  --bs-table-color: var(--admin-text);
}
[data-theme="dark"] .table-bordered {
  --bs-table-border-color: var(--admin-border);
}
[data-theme="dark"] .apply-type-card {
  background: var(--admin-surface);
  border-color: var(--admin-border);
  color: var(--admin-text);
}
[data-theme="dark"] .apply-type-card:hover {
  border-color: var(--admin-primary);
}
[data-theme="dark"] .apply-type-card.border-primary {
  border-color: var(--admin-primary) !important;
  background: rgba(59,130,246,0.08);
}
[data-theme="dark"] .card-body {
  color: var(--admin-text);
}
[data-theme="dark"] .text-muted {
  color: var(--admin-muted) !important;
}
[data-theme="dark"] .apply-form .panel-body {
  color: var(--admin-text);
}

/* Tab Content Modal dark mode - handled inline in manage_content.php */

/* Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬ Modal Responsive Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬ */
@media (max-width: 576px) {
  .modal-dialog.modal-lg { margin: 0.5rem; }
  .modal-header { padding: 1rem 1rem 0 1rem !important; }
  .modal-body { padding: 1rem 1rem 1.25rem 1rem !important; }
  .modal-footer { padding: 0.75rem 1rem !important; }
  #editAdminForm .row > div,
  #addAdminModal .row > div { margin-bottom: 0.5rem; }
  .photo-preview-box { min-height: 80px; }
  .action-btn-group { gap: 2px; }
  .action-btn { padding: 0 6px; min-width: 30px; height: 30px; font-size: 0.75rem; }
  .action-btn i { font-size: 0.8rem; }
  .search-bar-wrapper { max-width: 100%; }
  .metric-card { min-height: 100px; padding: 1rem; }
  .metric-value { font-size: 1.6rem; }
  .info-item { padding: 0.5rem 0.75rem; }
  .info-value { font-size: 0.8rem; }
}

/* Ã¢â€â‚¬Ã¢â€â‚¬ 3D Professional Tables Ã¢â€â‚¬Ã¢â€â‚¬ */
.table-3d {
  --t3d-bg: #ffffff;
  --t3d-bg-stripe: #f8fafc;
  --t3d-header-bg: #f8fafc;
  --t3d-header-color: #1f2937;
  --t3d-border: #e2e8f0;
  --t3d-row-hover: #f1f5f9;
  --t3d-shadow: 0 8px 32px rgba(15,23,42,0.07);
  --t3d-shadow-hover: 0 12px 40px rgba(15,23,42,0.12);
  --t3d-radius: 14px;
  --t3d-text: #1e293b;
  --t3d-muted: #1f2937;
  --t3d-cell-padding: 0.85rem 1rem;
  background: var(--t3d-bg);
  border: 1px solid var(--t3d-border);
  border-radius: var(--t3d-radius);
  box-shadow: var(--t3d-shadow);
  overflow: hidden;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 0.82rem;
  color: var(--t3d-text);
  width: 100%;
  transition: box-shadow .3s ease;
}

.table-3d:hover {
  box-shadow: var(--t3d-shadow-hover);
}

.table-3d thead th {
  background: var(--t3d-header-bg);
  color: var(--t3d-header-color);
  font-weight: 600;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: var(--t3d-cell-padding);
  border: none;
  border-bottom: 2px solid var(--t3d-border);
  white-space: nowrap;
  position: sticky;
  top: 0;
  z-index: 2;
}

.table-3d thead th:first-child {
  padding-left: 1.25rem;
}

.table-3d thead th:last-child {
  padding-right: 1.25rem;
}

.table-3d tbody td {
  padding: var(--t3d-cell-padding);
  border-bottom: 1px solid var(--t3d-border);
  vertical-align: middle;
  color: var(--t3d-text);
  transition: background .18s ease, color .18s ease;
}

.table-3d tbody td:first-child {
  padding-left: 1.25rem;
}

.table-3d tbody td:last-child {
  padding-right: 1.25rem;
}

.table-3d tbody tr {
  transition: background .18s ease;
}

.table-3d tbody tr:nth-child(even) {
  background: var(--t3d-bg-stripe);
}

.table-3d tbody tr:hover {
  background: var(--t3d-row-hover);
}

.table-3d tbody tr:last-child td {
  border-bottom: none;
}

.table-3d tbody tr:last-child td:first-child {
  border-bottom-left-radius: var(--t3d-radius);
}

.table-3d tbody tr:last-child td:last-child {
  border-bottom-right-radius: var(--t3d-radius);
}

/* Dark mode */
html[data-theme="dark"] .table-3d {
  --t3d-bg: #1e293b;
  --t3d-bg-stripe: #172033;
  --t3d-header-bg: #0f172a;
  --t3d-header-color: #e5edf7;
  --t3d-border: #2d3a50;
  --t3d-row-hover: #16223b;
  --t3d-shadow: 0 8px 32px rgba(0,0,0,0.28);
  --t3d-shadow-hover: 0 12px 40px rgba(0,0,0,0.38);
  --t3d-text: #e2e8f0;
  --t3d-muted: #e5edf7;
}

html[data-theme="dark"] .table-3d thead th {
  background: var(--t3d-header-bg) !important;
  border-bottom-color: var(--t3d-border);
}

html[data-theme="dark"] .table-3d tbody tr:nth-child(even) {
  background: var(--t3d-bg-stripe) !important;
}

html[data-theme="dark"] .table-3d tbody tr:hover {
  background: var(--t3d-row-hover) !important;
}

/* Bordered variant */
.table-3d-bordered {
  border: 1px solid var(--t3d-border);
}

.table-3d-bordered td,
.table-3d-bordered th {
  border-color: var(--t3d-border) !important;
}

/* Table inside card wrapper */
.table-3d-wrap {
  border-radius: var(--t3d-radius);
  overflow: hidden;
  box-shadow: var(--t3d-shadow);
  border: 1px solid var(--t3d-border);
  background: var(--t3d-bg);
  transition: box-shadow .3s ease;
}

.table-3d-wrap:hover {
  box-shadow: var(--t3d-shadow-hover);
}

.table-3d-wrap .table-3d {
  border: none;
  border-radius: 0;
  box-shadow: none;
}

.table-3d-wrap .table-3d:hover {
  box-shadow: none;
}

/* Small variant */
.table-3d-sm tbody td {
  padding: 0.55rem 0.75rem;
  font-size: 0.78rem;
}

.table-3d-sm thead th {
  padding: 0.6rem 0.75rem;
  font-size: 0.68rem;
}

/* Responsive */
@media (max-width: 767.98px) {
  .table-3d { font-size: 0.78rem; }
  .table-3d thead th { font-size: 0.66rem; padding: 0.6rem 0.65rem; }
  .table-3d tbody td { padding: 0.55rem 0.65rem; }
  .table-3d tbody td:first-child { padding-left: 0.75rem; }
  .table-3d thead th:first-child { padding-left: 0.75rem; }
}

/* Ã¢â€â‚¬Ã¢â€â‚¬ Professional table headers (non-3d tables) Ã¢â€â‚¬Ã¢â€â‚¬ */
.table:not(.table-3d) > thead th {
  background: var(--bs-tertiary-bg, #f8fafc);
  color: var(--bs-secondary-color, #64748b);
  font-weight: 600;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-bottom: 2px solid var(--bs-border-color, #e2e8f0);
  white-space: nowrap;
}
html[data-theme="dark"] .table:not(.table-3d) > thead th {
  background: #0f172a !important;
  color: #e5edf7;
  border-bottom-color: #334155;
}

/* Zebra striping for plain tables */
.table:not(.table-3d) > tbody > tr:nth-of-type(even) {
  background: var(--bs-tertiary-bg, #f8fafc);
}
html[data-theme="dark"] .table:not(.table-3d) > tbody > tr:nth-of-type(even) {
  background: rgba(255,255,255,0.03) !important;
}

/* Ã¢â€â‚¬Ã¢â€â‚¬ Table status badges (soft, high-contrast) Ã¢â€â‚¬Ã¢â€â‚¬ */
.table .badge {
  padding: .38em .62em;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: .68rem;
  line-height: 1;
}
.table .badge.bg-success,
.table .badge.text-bg-success { background:#ecfdf5 !important; color:#047857 !important; border-color:#a7f3d0 !important; }
.table .badge.bg-danger,
.table .badge.text-bg-danger { background:#fef2f2 !important; color:#b91c1c !important; border-color:#fecaca !important; }
.table .badge.bg-warning,
.table .badge.text-bg-warning { background:#fffbeb !important; color:#b45309 !important; border-color:#fde68a !important; }
.table .badge.bg-info,
.table .badge.text-bg-info { background:#eff6ff !important; color:#1d4ed8 !important; border-color:#bfdbfe !important; }
.table .badge.bg-primary { background:#eff6ff !important; color:#1d4ed8 !important; border-color:#bfdbfe !important; }
.table .badge.bg-secondary,
.table .badge.text-bg-secondary { background:#f1f5f9 !important; color:#1f2937 !important; border-color:#cbd5e1 !important; }
.table .badge.bg-light { background:#f8fafc !important; color:#1f2937 !important; border-color:#e2e8f0 !important; }
.table .badge.bg-dark { background:#1e293b !important; color:#e2e8f0 !important; border-color:#334155 !important; }

html[data-theme="dark"] .table .badge.bg-success,
html[data-theme="dark"] .table .badge.text-bg-success { background:rgba(16,185,129,.15) !important; color:#34d399 !important; border-color:rgba(16,185,129,.4) !important; }
html[data-theme="dark"] .table .badge.bg-danger,
html[data-theme="dark"] .table .badge.text-bg-danger { background:rgba(248,113,113,.14) !important; color:#f87171 !important; border-color:rgba(248,113,113,.4) !important; }
html[data-theme="dark"] .table .badge.bg-warning,
html[data-theme="dark"] .table .badge.text-bg-warning { background:rgba(251,191,36,.14) !important; color:#fbbf24 !important; border-color:rgba(251,191,36,.4) !important; }
html[data-theme="dark"] .table .badge.bg-info,
html[data-theme="dark"] .table .badge.text-bg-info { background:rgba(96,165,250,.16) !important; color:#93c5fd !important; border-color:rgba(96,165,250,.4) !important; }
html[data-theme="dark"] .table .badge.bg-primary { background:rgba(96,165,250,.16) !important; color:#93c5fd !important; border-color:rgba(96,165,250,.4) !important; }
html[data-theme="dark"] .table .badge.bg-secondary,
html[data-theme="dark"] .table .badge.text-bg-secondary { background:rgba(148,163,184,.16) !important; color:#cbd5e1 !important; border-color:rgba(148,163,184,.4) !important; }
html[data-theme="dark"] .table .badge.bg-light { background:rgba(148,163,184,.16) !important; color:#cbd5e1 !important; border-color:rgba(148,163,184,.4) !important; }
html[data-theme="dark"] .table .badge.bg-dark { background:#0f172a !important; color:#e2e8f0 !important; border-color:#334155 !important; }

/* Ã¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢Â ICAG-Style Landing Redesign Ã¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢ÂÃ¢â€¢Â */
/* Navbar (navy + gold) */
.landing-page .navbar-landing .nav-top { background:#1a1a2e; color:#e0e0e0; }
.landing-page .navbar-landing .nav-top-social a { color:rgba(255,255,255,.7); }
.landing-page .navbar-landing .nav-top-social a:hover { color:#fff; }
.landing-page .navbar-landing .nav-top-social .follow-us { color:#fff; font-weight:800; font-size:.72rem; text-transform:uppercase; letter-spacing:.1em; opacity:.8; }
@media (min-width: 992px) { .landing-page .navbar-landing .nav-top-inner { padding-right: 13rem; } }
@media (min-width: 1200px) { .landing-page .navbar-landing .nav-top-inner { padding-right: 16rem; } }
.landing-page .navbar-landing .nav-bottom { border-bottom:2px solid #dd3333; box-shadow:0 2px 14px rgba(221,51,51,.07); }
.landing-page .navbar-landing .nav-links a:hover { color:#dd3333; background:#f4f6fa; }
.landing-page .navbar-landing .nav-links a.active { color:#dd3333; background:#f1f5fb; }
.landing-page .navbar-landing .nav-dropdown-menu a:hover { color:#dd3333; background:#f4f6fa; }
.landing-page .navbar-landing .nav-links .btn-login { background:linear-gradient(135deg,#dd3333,#cc2222); color:#fff; box-shadow:0 4px 12px rgba(221,51,51,.35); }
.landing-page .navbar-landing .nav-links .btn-login:hover { background:linear-gradient(135deg,#cc2222,#aa1111); box-shadow:0 6px 16px rgba(221,51,51,.45); }
.landing-page .navbar-landing .nav-links .btn-register { padding:.5rem 1.2rem; border-radius:8px; background:linear-gradient(135deg,#1e73be,#155a96); color:#fff; font-weight:700; font-size:.85rem; text-decoration:none; display:inline-flex; align-items:center; gap:.4rem; margin-left:.35rem; transition:transform .2s ease, box-shadow .2s ease; box-shadow:0 4px 12px rgba(30,115,190,.35); }
.landing-page .navbar-landing .nav-links .btn-register:hover { transform:translateY(-1px); box-shadow:0 6px 16px rgba(220,38,38,.45); }
.landing-page .navbar-landing .nav-dropdown-menu--wide { min-width:560px; max-width:620px; columns:2; column-gap:2rem; padding:.6rem .75rem; }
.landing-page .navbar-landing .nav-dropdown-menu--wide li.dropdown-portal-li { column-span:all; }
.landing-page .navbar-landing .nav-dropdown-menu .dropdown-portal-btn { display:inline-flex; align-items:center; justify-content:center; gap:.45rem; width:fit-content; margin:.9rem 0 .2rem; padding:.65rem 1.15rem; border-radius:8px; background:linear-gradient(135deg,#dd3333,#cc2222); color:#fff; font-weight:800; font-size:.82rem; white-space:nowrap; column-span:all; transition:background .2s ease, transform .2s ease, box-shadow .2s ease; box-shadow:0 3px 10px rgba(221,51,51,.3); }
.landing-page .navbar-landing .nav-dropdown-menu .dropdown-portal-btn:hover { background:#dd3333; color:#fff; transform:translateY(-1px); box-shadow:0 5px 14px rgba(221,51,51,.4); }

/* Hero (navy + gold) */
.landing-page .hero { background:linear-gradient(180deg,#0f0f1a,#1a1a2e 55%,#16213e); }
.landing-page .video-overlay { background:linear-gradient(180deg, rgba(15,15,26,.62) 0%, rgba(26,26,46,.42) 45%, rgba(22,33,62,.25) 100%); }
.landing-page .slide-tag { background:rgba(221,51,51,.16); color:#dd3333; border:1px solid rgba(221,51,51,.4); }
.landing-page .hero .slide-content h1 span { color:#dd3333; -webkit-text-fill-color:#dd3333; background:none; }
.landing-page .hero .slide-content .btn-primary-custom { background:linear-gradient(135deg,#dd3333,#cc2222); color:#fff; box-shadow:0 6px 18px rgba(221,51,51,.4); }
.landing-page .hero .slide-content .btn-primary-custom:hover { transform:translateY(-3px); box-shadow:0 10px 26px rgba(221,51,51,.5); }
.landing-page .hero .slide-content .btn-secondary-custom { border-color:rgba(255,255,255,.35); }

/* Hero stats strip */
.landing-page .hero-stats { position:relative; z-index:2; max-width:860px; margin:-3.4rem auto 0; padding:0 2rem; display:grid; grid-template-columns:repeat(4,1fr); gap:1rem; pointer-events:none; }
.landing-page .hero-stat { background:#fff; border-radius:14px; padding:1.25rem 1rem; text-align:center; box-shadow:0 12px 32px rgba(10,31,68,.16); border-top:3px solid #dd3333; pointer-events:auto; }
.landing-page .hero-stat strong { display:block; font-size:1.7rem; font-weight:800; color:#dd3333; line-height:1.1; }
.landing-page .hero-stat span { font-size:.75rem; color:black; font-weight:700; text-transform:uppercase; letter-spacing:.05em; }

/* Section scaffolding */
.landing-sec { padding:5rem 2rem; }
.landing-sec--white { background:#fff; }
.landing-sec--gray { background:#f7f8fb; }
.landing-sec .inner { max-width:1200px; margin:0 auto; }
.landing-sec-title { text-align:center; margin-bottom:3rem; }
.landing-sec-title .eyebrow { display:inline-block; color:#dd3333; font-weight:800; font-size:.75rem; text-transform:uppercase; letter-spacing:.14em; margin-bottom:.6rem; }
.landing-sec-title h2 { font-size:2rem; font-weight:800; color:#1e73be; margin:0 0 .6rem; }
.landing-sec-title p { color:#1f2937; margin:0 auto; max-width:600px; line-height:1.7; }

/* News Flash Bar (over banner) */
.news-flash-bar {
  position: absolute; top: 0; left: 0; right: 0; z-index: 10;
  background: rgba(0,0,0,.35);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.news-flash-inner {
  max-width: 1320px; margin: 0 auto;
  display: flex; align-items: center; gap: 1rem;
  padding: 0.55rem 1.5rem;
}
.news-flash-inner .flash-label {
  flex: none;
  background: rgba(221,51,51,.85); color: #fff;
  font-weight: 800; font-size: 0.65rem;
  text-transform: uppercase; letter-spacing: 0.1em;
  padding: 0.3rem 0.75rem; border-radius: 4px;
  white-space: nowrap;
  display: inline-flex; align-items: center; gap: 0.35rem;
  border: 1px solid rgba(221,51,51,.3);
}
.news-flash-inner .flash-track {
  position: relative; flex: 1 1 auto; min-width: 0;
  overflow: hidden; white-space: nowrap; height: 1.4em;
}
.news-flash-inner .flash-item {
  position: absolute; top: 0; left: 0; display: block;
  color: #fff; font-size: 0.88rem; font-weight: 600;
  line-height: 1.4em; white-space: nowrap;
  opacity: 0; transform: translateX(100%);
}
@media (max-width: 767.98px) {
  .news-flash-inner { padding: 0.4rem 1rem; gap: 0.6rem; }
  .news-flash-inner .flash-label { font-size: 0.58rem; padding: 0.25rem 0.5rem; }
  .news-flash-inner .flash-item { font-size: 0.78rem; }
}

/* Latest News / Publications */
.landing-page .news-top { display:flex; align-items:center; margin-bottom:2.2rem; }
.landing-page .news-top-title .eyebrow { display:inline-block; color:#dd3333; font-weight:800; font-size:.75rem; text-transform:uppercase; letter-spacing:.14em; margin-bottom:.5rem; }
.landing-page .news-top-title h2 { font-size:1.8rem; font-weight:800; color:#1e73be; margin:0; line-height:1.2; }
.landing-page .news-top-flash { display:flex; align-items:center; gap:1rem; background:linear-gradient(135deg,#eef4ff 0%,#e4edfb 100%); border:1px solid #c6d7ef; border-left:4px solid #dd3333; border-radius:10px; padding:.8rem 1.2rem; box-shadow:0 3px 12px rgba(2,6,23,.08), inset 0 1px 0 rgba(255,255,255,.7); }
.landing-page .news-top-flash .flash-label { flex:none; color:#dd3333; font-weight:800; font-size:.72rem; text-transform:uppercase; letter-spacing:.08em; white-space:nowrap; padding-right:1rem; border-right:1px solid #c6d7ef; }
.landing-page .news-top-flash .flash-track { position:relative; flex:1 1 auto; min-width:0; overflow:hidden; white-space:nowrap; height:1.55em; }
.landing-page .news-top-flash .flash-item { position:absolute; top:0; left:0; width:100%; display:block; color:#0f2a5c; font-size:.92rem; line-height:1.55em; white-space:nowrap; opacity:0; transform:translateX(100%); }
.landing-page .news-top-support { display:flex; flex-direction:column; align-items:center; justify-content:center; gap:.5rem; text-decoration:none; }
.landing-page .news-top-support .support-ico { width:58px; height:58px; border-radius:50%; background:linear-gradient(135deg,#dd3333,#cc2222); color:#fff; display:grid; place-items:center; font-size:1.4rem; box-shadow:0 6px 18px rgba(221,51,51,.4); transition:transform .2s ease, box-shadow .2s ease; }
.landing-page .news-top-support:hover .support-ico { transform:translateY(-2px); box-shadow:0 10px 24px rgba(221,51,51,.5); }
.landing-page .news-top-support .support-label { font-size:.82rem; font-weight:700; color:#1e73be; text-transform:uppercase; letter-spacing:.06em; }

.landing-page .news-main { display:grid; grid-template-columns:minmax(0,2fr) minmax(0,1fr); gap:2rem; align-items:start; }

.landing-page .news-tabs { display:grid; grid-template-columns:230px minmax(0,1fr); gap:1.5rem; align-items:start; }
.landing-page .tabs-nav { list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:.5rem; }
.landing-page .tabs-nav li { display:flex; align-items:center; gap:.6rem; padding:.85rem 1.1rem; border-radius:10px; border:1px solid #dfe3ea; background:#fff; color:#33425e; font-size:.88rem; font-weight:700; cursor:pointer; transition:background .2s ease, color .2s ease, border-color .2s ease; }
.landing-page .tabs-nav li i { color:#1e73be; font-size:1rem; transition:color .2s ease; }
.landing-page .tabs-nav li:hover { border-color:#dd3333; }
.landing-page .tabs-nav li.active { background:#dd3333; border-color:#dd3333; color:#fff; }
.landing-page .tabs-nav li.active i { color:#dd3333; }

.landing-page .tabs-content { border:1px solid #e5e9f0; border-radius:14px; overflow:hidden; background:#fff; box-shadow:0 10px 30px rgba(10,31,68,.06); }
.landing-page .tab-panel { display:none; }
.landing-page .tab-panel.active { display:block; }
.landing-page .tab-panel img { width:100%; height:420px; object-fit:cover; display:block; }
.landing-page .tab-panel h3 { font-size:1.25rem; font-weight:800; color:#1e73be; margin:0; padding:1.4rem 1.6rem 0; }
.landing-page .tab-panel p { font-size:.9rem; color:#1f2937; line-height:1.7; margin:0; padding:.55rem 1.6rem 0; }
.landing-page .tab-panel .tab-actions { display:flex; flex-wrap:wrap; gap:.8rem; padding:1.3rem 1.6rem 1.7rem; }
.landing-page .tab-panel .tab-actions:first-child { padding-top:1.6rem; }
.landing-page .tab-btn { display:inline-flex; align-items:center; gap:.45rem; padding:.7rem 1.4rem; border-radius:9px; background:linear-gradient(135deg,#dd3333,#cc2222); color:#fff; font-weight:800; font-size:.85rem; text-decoration:none; transition:transform .16s ease, box-shadow .16s ease; box-shadow:0 6px 16px rgba(221,51,51,.4); }
.landing-page .tab-btn:hover { transform:translateY(-2px); box-shadow:0 10px 24px rgba(220,38,38,.5); }
.landing-page .tab-btn--ghost { background:#fff; color:#1e73be; border:1px solid #dfe3ea; box-shadow:none; }
.landing-page .tab-btn--ghost:hover { border-color:#dd3333; }

.landing-page .news-form .form-card { background:#fff; border:1px solid #e5e9f0; border-radius:14px; padding:1.8rem; box-shadow:0 10px 30px rgba(10,31,68,.06); position:sticky; top:1.5rem; }
.landing-page .news-form .form-card h3 { font-size:1.25rem; font-weight:800; color:#1e73be; margin:0 0 .4rem; }
.landing-page .news-form .form-card > p { color:#1f2937; font-size:.9rem; margin:0 0 1.4rem; }
.landing-page .news-form .form-grid { display:grid; grid-template-columns:1fr 1fr; gap:.85rem; }
.landing-page .news-form .form-grid .full { grid-column:1 / -1; }
.landing-page .news-form .form-card label { display:block; font-size:.8rem; font-weight:600; color:#374151; margin-bottom:.35rem; }
.landing-page .news-form .form-card input, .landing-page .news-form .form-card textarea { width:100%; padding:.7rem .85rem; border:1px solid #d7dde8; border-radius:9px; font-size:.9rem; font-family:inherit; color:#1f2937; background:#fff; transition:border-color .16s ease, box-shadow .16s ease; }
.landing-page .news-form .form-card input:focus, .landing-page .news-form .form-card textarea:focus { outline:none; border-color:#1e73be; box-shadow:0 0 0 3px rgba(30,115,190,.18); }
.landing-page .news-form .form-card textarea { resize:vertical; min-height:110px; }
.landing-page .news-form .form-card button { margin-top:1rem; padding:.8rem 2rem; border:none; border-radius:9px; background:linear-gradient(135deg,#dd3333,#cc2222); color:#fff; font-weight:800; font-size:.9rem; cursor:pointer; display:inline-flex; align-items:center; gap:.45rem; transition:transform .16s ease, box-shadow .16s ease; box-shadow:0 6px 16px rgba(221,51,51,.4); }
.landing-page .news-form .form-card button:hover { transform:translateY(-2px); box-shadow:0 10px 24px rgba(220,38,38,.5); }

/* Media Center */
.landing-media { padding:4rem 2rem; background:linear-gradient(180deg,#1a1a2e,#0f3460); }
.landing-media .inner { max-width:1200px; margin:0 auto; }
.landing-media .landing-sec-title h2 { color:#fff; }
.landing-media .landing-sec-title p { color:#9db2d0; }
.landing-media .media-filters { display:flex; flex-wrap:wrap; justify-content:center; gap:.55rem; margin-bottom:2rem; }
.landing-media .media-filters button { padding:.45rem 1.1rem; border-radius:999px; border:1px solid rgba(255,255,255,.22); background:rgba(255,255,255,.05); color:#c7d3e8; font-size:.8rem; font-weight:600; cursor:pointer; transition:background .2s ease, color .2s ease, border-color .2s ease; }
.landing-media .media-filters button:hover, .landing-media .media-filters button.active { background:#dd3333; border-color:#dd3333; color:#fff; }
.landing-media .media-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:1rem; }
.landing-media .media-item { position:relative; display:block; border-radius:12px; overflow:hidden; border:2px solid rgba(255,255,255,.08); transition:border-color .2s ease, transform .2s ease; }
.landing-media .media-item:hover { border-color:#dd3333; transform:scale(1.02); }
.landing-media .media-item img { width:100%; height:190px; object-fit:cover; display:block; }
.landing-media .media-item::after { content:"\f62c"; font-family:"bootstrap-icons"; position:absolute; inset:0; display:grid; place-items:center; font-size:1.6rem; color:#fff; background:rgba(10,31,68,.35); opacity:0; transition:opacity .2s ease; }
.landing-media .media-item:hover::after { opacity:1; }
.landing-media .media-item.hidden-item { display:none; }
.landing-media .media-load-more { text-align:center; margin-top:2rem; }
.landing-media .btn-load-more {
  display:inline-flex; align-items:center; gap:.4rem;
  padding:.7rem 2rem; border-radius:999px; border:2px solid rgba(255,255,255,.2);
  background:rgba(255,255,255,.06); color:#c7d3e8; font-size:.88rem; font-weight:700;
  cursor:pointer; transition:all .25s ease; letter-spacing:.03em;
}
.landing-media .btn-load-more:hover {
  background:#dd3333; border-color:#dd3333; color:#fff;
  box-shadow:0 4px 20px rgba(221,51,51,.4); transform:translateY(-2px);
}
.landing-media .btn-load-more:active { transform:translateY(0); }
.landing-media .btn-load-more i { transition:transform .25s ease; }
.landing-media .btn-load-more.loaded i { transform:rotate(45deg); }

/* Footer */
.landing-page .footer-landing {
  background: linear-gradient(180deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  border-top: 4px solid #dd3333;
}
.landing-page .footer-landing h4 { color:#dd3333; font-size:1rem; font-weight:700; margin:0 0 1rem; }
.landing-page .footer-landing p { font-size:.88rem; line-height:1.65; margin:0 0 1rem; color:#b0b8c8; }
.landing-page .footer-landing ul a { color:#8892a8; text-decoration:none; font-size:.88rem; transition:color .16s ease; }
.landing-page .footer-landing ul a:hover { color:#dd3333; }
.landing-page .footer-landing .bottom {
  border-color:rgba(221,51,51,.3); text-align:center; font-size:.82rem;
  color:#6b7590; margin-top:2rem; padding-top:1.5rem;
  border-top:1px solid rgba(221,51,51,.3);
}

/* Responsive */
@media (max-width: 1199.98px) {
  .landing-page .news-top { display:flex; }
}
@media (max-width: 991.98px) {
  .landing-page .hero-stats { grid-template-columns:repeat(2,1fr); }
  .landing-page .news-top { display:flex; }
  .landing-page .news-main { grid-template-columns:1fr; }
  .landing-page .news-tabs { grid-template-columns:1fr; }
  .landing-page .tabs-nav { flex-direction:row; flex-wrap:wrap; }
  .landing-page .news-form .form-card { position:static; }
  .landing-media .media-grid { grid-template-columns:repeat(3,1fr); }
  .landing-page .navbar-landing .nav-links .btn-register { margin:.65rem 1rem .9rem; justify-content:center; }
  .landing-page .navbar-landing .nav-dropdown-menu--wide { min-width:0; width:100%; columns:1; column-gap:0; padding:.5rem .75rem; }
  .landing-page .navbar-landing .nav-dropdown-menu--wide li.dropdown-portal-li { column-span:normal; }
}
@media (max-width: 575.98px) {
  .landing-page .news-form .form-grid { grid-template-columns:1fr; }
  .landing-page .hero-stats { grid-template-columns:repeat(2,1fr); gap:.7rem; margin-top:-2.6rem; }
  .landing-media .media-grid { grid-template-columns:1fr 1fr; }
  .landing-media .media-filters { justify-content:flex-start; }
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   GLOBAL TEXT VISIBILITY â€” make grey/muted text readable in
   both light (near-black) and dark (near-white) themes.
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.text-muted,
.text-body-secondary,
.text-secondary,
.text-body,
.form-text,
.form-label,
.help-block,
.eyebrow,
.card-desc,
.metric-meta,
.page-heading-copy .text-muted,
.panel-header .text-muted,
table .text-muted,
table small,
.table thead th,
.breadcrumb,
.breadcrumb-item,
.dropdown-header,
.sidebar .brand-subtitle,
.sidebar-footer,
.sidebar-nav .nav-link small,
.accordion-body .text-muted,
.modal-body .text-muted {
  color: var(--admin-text) !important;
}

html[data-theme="dark"] .text-muted,
html[data-theme="dark"] .text-body-secondary,
html[data-theme="dark"] .text-secondary,
html[data-theme="dark"] .text-body,
html[data-theme="dark"] .form-text,
html[data-theme="dark"] .form-label,
html[data-theme="dark"] .help-block,
html[data-theme="dark"] .eyebrow,
html[data-theme="dark"] .card-desc,
html[data-theme="dark"] .metric-meta,
html[data-theme="dark"] .breadcrumb,
html[data-theme="dark"] .breadcrumb-item,
html[data-theme="dark"] .dropdown-header {
  color: #e5edf7 !important;
}

/* Override common hardcoded grey hexes used in inline styles */
[style*="color:#6b7280"]:not(i),
[style*="color: #6b7280"]:not(i),
[style*="color:#64748b"]:not(i),
[style*="color: #64748b"]:not(i),
[style*="color:#94a3b8"]:not(i),
[style*="color: #94a3b8"]:not(i),
[style*="color:#6c757d"]:not(i),
[style*="color: #6c757d"]:not(i),
[style*="color:#475569"]:not(i),
[style*="color: #475569"]:not(i),
[style*="color:#9ca3af"]:not(i),
[style*="color: #9ca3af"]:not(i) {
  color: var(--admin-text) !important;
}

html[data-theme="dark"] [style*="color:#6b7280"],
html[data-theme="dark"] [style*="color: #6b7280"],
html[data-theme="dark"] [style*="color:#64748b"],
html[data-theme="dark"] [style*="color: #64748b"],
html[data-theme="dark"] [style*="color:#94a3b8"],
html[data-theme="dark"] [style*="color: #94a3b8"],
html[data-theme="dark"] [style*="color:#6c757d"],
html[data-theme="dark"] [style*="color: #6c757d"],
html[data-theme="dark"] [style*="color:#475569"],
html[data-theme="dark"] [style*="color: #475569"],
html[data-theme="dark"] [style*="color:#9ca3af"],
html[data-theme="dark"] [style*="color: #9ca3af"] {
  color: #e5edf7 !important;
}

/* ═══════════════════════════════════════════════════════════
   BOLD INPUT BORDERS — visible in light mode
   ═══════════════════════════════════════════════════════════ */
.form-control,
.form-select,
.form-control-modern,
.form-select-modern,
.form-control-3d,
.form-select-3d,
.search-bar-input,
.input-group-text,
.auth-card .form-control,
.auth-card--register .form-control {
  border-width: 1.5px !important;
  border-color: var(--admin-border-strong, #9fb0c9) !important;
}

.form-control:focus,
.form-select:focus,
.form-control-modern:focus,
.form-select-modern:focus,
.form-control-3d:focus,
.form-select-3d:focus,
.search-bar-input:focus,
.auth-card .form-control:focus,
.auth-card--register .form-control:focus {
  border-color: #2563eb !important;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15) !important;
}

html[data-theme="dark"] .form-control,
html[data-theme="dark"] .form-select,
html[data-theme="dark"] .form-control-modern,
html[data-theme="dark"] .form-select-modern,
html[data-theme="dark"] .form-control-3d,
html[data-theme="dark"] .form-select-3d,
html[data-theme="dark"] .search-bar-input,
html[data-theme="dark"] .input-group-text,
html[data-theme="dark"] .auth-card .form-control,
html[data-theme="dark"] .auth-card--register .form-control {
  border-color: #56688a !important;
}

html[data-theme="dark"] .form-control:focus,
html[data-theme="dark"] .form-select:focus,
html[data-theme="dark"] .form-control-modern:focus,
html[data-theme="dark"] .form-select-modern:focus,
html[data-theme="dark"] .form-control-3d:focus,
html[data-theme="dark"] .form-select-3d:focus,
html[data-theme="dark"] .search-bar-input:focus,
html[data-theme="dark"] .auth-card .form-control:focus,
html[data-theme="dark"] .auth-card--register .form-control:focus {
  border-color: #60a5fa !important;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2) !important;
}
