@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@500;600;700&family=Hind:wght@300;400;500;600;700&display=swap');

:root {
  /* Royal Dark Maroon Theme Palette */
  --maroon-950: #26070d;
  --maroon-900: #3b0a13;
  --maroon-850: #4e0d19;
  --maroon-800: #631221;
  --maroon-750: #7a172a;
  --maroon-700: #931d33;
  --maroon-600: #ad263f;
  --maroon-200: #ead9b8;
  --maroon-100: #f5ead4;
  --maroon-50:  #fbf6ea;
  
  /* Luxury Golden Palette */
  --gold-50:  #fffdf7;
  --gold-100: #fef9ec;
  --gold-200: #faecc2;
  --gold-300: #e8c769;
  --gold-400: #c99e2a;
  --gold-500: #b3820a;
  --gold-600: #946903;
  
  /* Surfaces & Backgrounds - Crisp Light Theme */
  --body-bg: #f8f6f2;
  --card-bg: #ffffff;
  --card-border: 1px solid rgba(122, 23, 42, 0.16);
  --card-shadow: 0 4px 20px rgba(78, 13, 25, 0.05);
  --box-bg-light: #fbf8f5;
  
  /* Text */
  --text-main: #26070d;
  --text-muted: #6b4d54;
  --text-maroon: #631221;
  --text-gold: #9e7104;
  
  /* Accent & Gradients */
  --gold-gradient: linear-gradient(135deg, #ecd17d 0%, #faecc2 50%, #d4af37 100%);
  --gold-gradient-hover: linear-gradient(135deg, #faecc2 0%, #eed588 50%, #c99e2a 100%);
  --maroon-gradient: linear-gradient(135deg, #7a172a 0%, #420a14 100%);
  --maroon-gradient-hover: linear-gradient(135deg, #8a1a30 0%, #540d1a 100%);
  --gold-glow: 0 0 20px rgba(212, 175, 55, 0.25);
  --gold-glow-sm: 0 2px 10px rgba(212, 175, 55, 0.2);
  --gold-border: rgba(212, 175, 55, 0.35);
  --gold-border-light: rgba(212, 175, 55, 0.2);
  --maroon-border-light: rgba(122, 23, 42, 0.2);
  
  /* Status Colors */
  --success: #0d8a7c;
  --warning: #d97706;
  --danger: #dc2626;
  --info: #0284c7;
  
  /* Layout sizing */
  --sidebar-width: 270px;
  --header-height: 72px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Hind', system-ui, sans-serif;
  background-color: var(--body-bg);
  color: var(--text-main);
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.6;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 7px;
  height: 7px;
}
::-webkit-scrollbar-track {
  background: #efe6d6;
}
::-webkit-scrollbar-thumb {
  background: var(--maroon-750);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--maroon-900);
}

/* Typography */
.font-brand {
  font-family: 'Cormorant Garamond', Georgia, serif;
  letter-spacing: 0.8px;
}

.text-maroon {
  color: var(--maroon-800) !important;
}
.text-maroon-dark {
  color: var(--maroon-950) !important;
}
.text-gold {
  color: var(--text-gold) !important;
}
.text-gold-light {
  color: var(--maroon-950) !important;
}
.text-gold-gradient {
  background: linear-gradient(135deg, #7a172a 0%, #b3820a 60%, #520b17 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}
.text-maroon-muted {
  color: var(--text-muted) !important;
}

code {
  color: var(--maroon-800) !important;
  background-color: var(--maroon-100) !important;
  border: 1px solid rgba(122, 23, 42, 0.18) !important;
  padding: 0.15rem 0.45rem !important;
  border-radius: 5px !important;
  font-size: 0.85em !important;
  font-weight: 600 !important;
}

/* Buttons */
.btn-gold {
  background: var(--gold-gradient);
  color: var(--maroon-950);
  font-weight: 700;
  letter-spacing: 0.4px;
  border: 1px solid rgba(179, 130, 10, 0.45);
  box-shadow: 0 3px 12px rgba(212, 175, 55, 0.3);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 8px;
  padding: 0.6rem 1.3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}
.btn-gold:hover, .btn-gold:focus {
  background: var(--gold-gradient-hover);
  color: var(--maroon-900);
  transform: translateY(-2px);
  box-shadow: 0 5px 16px rgba(212, 175, 55, 0.45);
}

.btn-maroon {
  background: var(--maroon-gradient);
  color: #ffffff !important;
  border: 1px solid var(--maroon-900);
  font-weight: 600;
  border-radius: 8px;
  padding: 0.55rem 1.2rem;
  box-shadow: 0 3px 12px rgba(99, 18, 33, 0.25);
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}
.btn-maroon:hover, .btn-maroon:focus {
  background: var(--maroon-gradient-hover);
  color: #ffffff !important;
  box-shadow: 0 5px 16px rgba(99, 18, 33, 0.35);
  transform: translateY(-2px);
}

.btn-outline-gold {
  background: #ffffff;
  color: var(--maroon-850);
  border: 1.5px solid var(--gold-400);
  font-weight: 600;
  border-radius: 8px;
  padding: 0.55rem 1.2rem;
  transition: all 0.25s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}
.btn-outline-gold:hover {
  background: var(--maroon-850);
  color: #ffffff;
  border-color: var(--maroon-850);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(78, 13, 25, 0.2);
}

.btn-outline-maroon {
  background: #ffffff;
  color: var(--maroon-800);
  border: 1.5px solid var(--maroon-750);
  font-weight: 600;
  border-radius: 8px;
  padding: 0.55rem 1.2rem;
  transition: all 0.25s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}
.btn-outline-maroon:hover {
  background: var(--maroon-800);
  color: #ffffff;
  border-color: var(--maroon-800);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(78, 13, 25, 0.2);
}

.btn-maroon-soft {
  background: var(--maroon-750);
  color: var(--gold-200);
  border: 1px solid var(--maroon-900);
  border-radius: 8px;
  font-weight: 600;
  padding: 0.45rem 1rem;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}
.btn-maroon-soft:hover {
  background: var(--maroon-900);
  color: #ffffff;
  border-color: var(--maroon-950);
}

.btn-sm-action {
  padding: 0.3rem 0.65rem;
  font-size: 0.8rem;
  border-radius: 6px;
  font-weight: 600;
}

/* Cards */
.gold-card {
  background: var(--card-bg);
  border: var(--card-border);
  border-radius: 14px;
  box-shadow: var(--card-shadow);
  position: relative;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.gold-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3.5px;
  background: linear-gradient(90deg, #7a172a 0%, #d4af37 50%, #7a172a 100%);
  opacity: 0.95;
}
.gold-card.card-hover:hover {
  transform: translateY(-3px);
  border-color: rgba(122, 23, 42, 0.35);
  box-shadow: 0 10px 28px rgba(78, 13, 25, 0.08), 0 2px 10px rgba(212, 175, 55, 0.15);
}

/* Form Controls */
.form-label {
  color: var(--maroon-950);
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
}
.form-control, .form-select {
  background-color: #ffffff !important;
  border: 1.5px solid rgba(122, 23, 42, 0.22) !important;
  color: var(--maroon-950) !important;
  border-radius: 8px;
  padding: 0.65rem 0.95rem;
  font-size: 0.92rem;
  transition: all 0.25s ease;
}
.form-control:focus, .form-select:focus {
  background-color: #ffffff !important;
  border-color: var(--maroon-750) !important;
  box-shadow: 0 0 0 0.2rem rgba(201, 158, 42, 0.28) !important;
  color: var(--maroon-950) !important;
}
.form-control::placeholder {
  color: #a3858c !important;
}
.form-check-input {
  width: 1.15rem;
  height: 1.15rem;
  cursor: pointer;
  border: 1.5px solid rgba(122, 23, 42, 0.45);
  background-color: #ffffff;
  transition: all 0.2s ease;
}
.form-check-input:focus {
  border-color: var(--maroon-750);
  box-shadow: 0 0 0 0.2rem rgba(201, 158, 42, 0.28);
}
.form-check-input:checked {
  background-color: var(--maroon-800) !important;
  border-color: var(--maroon-800) !important;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23ffffff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='m6 10 3 3 6-6'/%3e%3c/svg%3e") !important;
}
.input-group-text {
  background-color: var(--maroon-100);
  border: 1.5px solid rgba(122, 23, 42, 0.22);
  color: var(--maroon-850);
  font-weight: 600;
}

/* Badges */
.badge-gold {
  background: #fbf5e2;
  color: #8c6300;
  border: 1px solid rgba(212, 175, 55, 0.45);
  font-weight: 600;
  padding: 0.4em 0.75em;
  border-radius: 6px;
}
.badge-maroon {
  background: var(--maroon-800);
  color: #ffffff;
  border: 1px solid var(--maroon-900);
  font-weight: 600;
  padding: 0.4em 0.75em;
  border-radius: 6px;
}
.badge-maroon-soft {
  background: var(--maroon-750);
  color: var(--gold-200);
  border: 1px solid var(--maroon-900);
  font-weight: 600;
  padding: 0.4em 0.75em;
  border-radius: 6px;
}
.badge-member {
  background: var(--maroon-50);
  color: var(--maroon-800);
  border: 1px solid rgba(122, 23, 42, 0.25);
  font-weight: 700;
  font-size: 0.8rem;
  padding: 0.2em 0.55em;
  border-radius: 5px;
}
.badge-admin-tag {
  background: var(--maroon-900);
  color: #faecc2;
  font-size: 0.65rem;
  letter-spacing: 1px;
  padding: 3px 8px;
  border-radius: 4px;
  border: 1px solid var(--gold-400);
}
.badge-success-soft {
  background: rgba(13, 138, 124, 0.12);
  color: #0b7266;
  border: 1px solid rgba(13, 138, 124, 0.3);
  font-weight: 600;
  padding: 0.4em 0.75em;
  border-radius: 6px;
}
.badge-warning-soft {
  background: rgba(217, 119, 6, 0.12);
  color: #b45309;
  border: 1px solid rgba(217, 119, 6, 0.3);
  font-weight: 600;
  padding: 0.4em 0.75em;
  border-radius: 6px;
}
.badge-danger-soft {
  background: rgba(220, 38, 38, 0.12);
  color: #b91c1c;
  border: 1px solid rgba(220, 38, 38, 0.3);
  font-weight: 600;
  padding: 0.4em 0.75em;
  border-radius: 6px;
}
.badge-info-soft {
  background: rgba(2, 132, 199, 0.12);
  color: #0369a1;
  border: 1px solid rgba(2, 132, 199, 0.3);
  font-weight: 600;
  padding: 0.4em 0.75em;
  border-radius: 6px;
}

/* Stat Widgets */
.stat-widget {
  padding: 1.35rem 1.4rem;
}
.stat-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  background: var(--maroon-gradient);
  color: var(--gold-200);
  border: 1px solid var(--maroon-900);
  box-shadow: 0 3px 10px rgba(99, 18, 33, 0.25);
  flex-shrink: 0;
}
.stat-icon.icon-maroon {
  background: var(--maroon-gradient);
  color: var(--gold-200);
  border-color: var(--maroon-900);
}
.stat-icon.icon-gold {
  background: #fbf5e2;
  color: #9e7104;
  border-color: rgba(212, 175, 55, 0.4);
}
.stat-icon.icon-success {
  background: rgba(13, 138, 124, 0.12);
  color: #0d8a7c;
  border-color: rgba(13, 138, 124, 0.3);
}
.stat-icon.icon-warning {
  background: rgba(217, 119, 6, 0.12);
  color: #d97706;
  border-color: rgba(217, 119, 6, 0.3);
}

/* Tables */
.table-gold {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
}
.table-gold thead th {
  background-color: var(--maroon-800) !important;
  color: var(--gold-200) !important;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  padding: 0.85rem 1rem !important;
  border-bottom: 2px solid var(--gold-400) !important;
  white-space: nowrap;
}
.table-gold thead th:first-child {
  border-top-left-radius: 12px;
}
.table-gold thead th:last-child {
  border-top-right-radius: 12px;
}
.table-gold td {
  padding: 0.8rem 1rem !important;
  vertical-align: middle;
  border-bottom: 1px solid rgba(122, 23, 42, 0.12);
  background-color: transparent;
  color: var(--maroon-950);
  font-size: 0.88rem;
}
.table-gold tbody tr {
  transition: background-color 0.18s ease;
}
.table-gold tbody tr:hover {
  background-color: var(--maroon-50);
}

/* Avatar */
.avatar-gold {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--gold-gradient);
  color: var(--maroon-950);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--gold-400);
  box-shadow: 0 2px 8px rgba(212, 175, 55, 0.25);
  flex-shrink: 0;
}
.avatar-maroon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--maroon-900);
  color: #faecc2;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--gold-400);
  flex-shrink: 0;
}

/* App Shell Layout */
.app-wrapper {
  display: flex;
  width: 100%;
  min-height: 100vh;
}

/* Sidebar */
.app-sidebar {
  width: var(--sidebar-width);
  background: #ffffff;
  border-right: 1.5px solid rgba(122, 23, 42, 0.16);
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  z-index: 1040;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 2px 0 20px rgba(78, 13, 25, 0.05);
}

.sidebar-header {
  height: var(--header-height);
  padding: 1rem 1.4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1.5px solid rgba(122, 23, 42, 0.14);
  background: #ffffff;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.brand-icon-emblem {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: linear-gradient(135deg, #7a172a 0%, #3b0a13 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #faecc2;
  font-size: 1.3rem;
  font-weight: 800;
  box-shadow: 0 4px 12px rgba(122, 23, 42, 0.3);
  border: 1px solid rgba(212, 175, 55, 0.5);
}
.brand-name {
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1.1;
  color: var(--maroon-900);
}
.brand-tagline {
  font-size: 0.65rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--maroon-700);
  font-weight: 700;
}

.sidebar-menu {
  flex: 1;
  overflow-y: auto;
  padding: 1.2rem 0.9rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.menu-category {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--maroon-750);
  font-weight: 800;
  opacity: 0.85;
  padding: 0.6rem 0.8rem 0.3rem;
}

.nav-link-custom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.72rem 0.9rem;
  color: var(--maroon-950);
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
  border: 1px solid transparent;
}
.nav-link-custom:hover {
  background: var(--maroon-100);
  color: var(--maroon-900);
  border-color: rgba(122, 23, 42, 0.2);
  transform: translateX(3px);
}
.nav-link-custom.active {
  background: linear-gradient(135deg, #7a172a 0%, #420a14 100%) !important;
  color: #ffffff !important;
  font-weight: 700;
  border-color: #3b0a13;
  box-shadow: 0 4px 14px rgba(99, 18, 33, 0.3);
}
.nav-icon {
  width: 22px;
  margin-right: 0.65rem;
  color: var(--maroon-750);
  text-align: center;
  font-size: 1rem;
  transition: color 0.2s ease;
}
.nav-link-custom:hover .nav-icon {
  color: var(--maroon-850);
}
.nav-link-custom.active .nav-icon {
  color: #faecc2 !important;
}

.submenu-collapse {
  padding-left: 1.8rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  margin-top: 0.2rem;
  border-left: 2px dashed rgba(122, 23, 42, 0.25);
  margin-left: 1.4rem;
}
.submenu-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.45rem 0.75rem;
  color: #634f54;
  font-size: 0.84rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 6px;
  transition: all 0.2s ease;
}
.submenu-link:hover {
  color: var(--maroon-900);
  background: var(--maroon-100);
  padding-left: 0.95rem;
}
.submenu-link.active {
  color: var(--maroon-950);
  background: var(--maroon-100);
  font-weight: 700;
  border-left: 3px solid var(--maroon-750);
}

.sidebar-badge-count {
  font-size: 0.7rem;
  padding: 2px 7px;
  border-radius: 10px;
  font-weight: 700;
  background: var(--maroon-750);
  color: #ffffff;
}

.sidebar-footer {
  padding: 1rem 1.2rem;
  border-top: 1.5px solid rgba(122, 23, 42, 0.14);
  background: var(--maroon-50);
}
.admin-quick-profile {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* App Main & Header */
.app-main {
  flex: 1;
  margin-left: var(--sidebar-width);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  transition: margin-left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.app-navbar {
  height: var(--header-height);
  background: #ffffff;
  border-bottom: 1.5px solid rgba(122, 23, 42, 0.15);
  padding: 0 1.8rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 1020;
  box-shadow: 0 2px 12px rgba(78, 13, 25, 0.04);
}
.app-navbar::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #7a172a 0%, #d4af37 50%, #7a172a 100%);
}

.page-title-header {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--maroon-900);
  margin-bottom: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-toggle-btn {
  background: #fbf8f2;
  border: 1px solid rgba(122, 23, 42, 0.25);
  color: var(--maroon-900);
  width: 38px;
  height: 38px;
  border-radius: 8px;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.2s ease;
}
.nav-toggle-btn:hover {
  background: var(--maroon-800);
  color: #ffffff;
}

.app-content {
  flex: 1;
  padding: 1.8rem;
}

/* Overlay for Mobile */
.sidebar-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(38, 7, 13, 0.45);
  backdrop-filter: blur(4px);
  z-index: 1030;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}
.sidebar-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Modal Styling */
.modal-gold .modal-content {
  border-radius: 14px;
  border: 1.5px solid rgba(122, 23, 42, 0.28);
  box-shadow: 0 15px 40px rgba(38, 7, 13, 0.2);
  overflow: hidden;
}
.modal-gold .modal-header {
  background: linear-gradient(135deg, #7a172a 0%, #4e0d19 100%);
  border-bottom: 2px solid var(--gold-400);
  padding: 1rem 1.4rem;
}
.modal-gold .modal-header .btn-close {
  filter: invert(1) grayscale(100%) brightness(200%);
  opacity: 0.85;
}
.modal-gold .modal-header .btn-close:hover {
  opacity: 1;
}
.modal-gold .modal-header .modal-title {
  color: var(--gold-200);
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 700;
}
.modal-gold .modal-footer {
  background: var(--maroon-50);
  border-top: 1px solid var(--gold-border);
  padding: 0.9rem 1.4rem;
}

/* Voucher / Receipt Card */
.voucher-box {
  background: #ffffff;
  border: 2px dashed rgba(122, 23, 42, 0.3);
  border-radius: 12px;
  padding: 1.5rem;
}

/* Document preview box */
.doc-preview-card {
  background: #ffffff;
  border: 1px solid rgba(122, 23, 42, 0.2);
  border-radius: 12px;
  padding: 1rem;
  transition: all 0.25s ease;
  position: relative;
  display: flex;
  flex-direction: column;
}
.doc-preview-card:hover {
  border-color: var(--maroon-750);
  box-shadow: 0 8px 24px rgba(122, 23, 42, 0.12);
  transform: translateY(-2px);
}

/* Realistic PAN Card Mockup */
.pan-mock-card {
  background: linear-gradient(135deg, #e0f2fe 0%, #bae6fd 60%, #e2e8f0 100%);
  border: 1.5px solid #0284c7;
  border-radius: 10px;
  padding: 0.85rem;
  position: relative;
  box-shadow: inset 0 0 12px rgba(2, 132, 199, 0.15), 0 4px 12px rgba(0,0,0,0.06);
  cursor: pointer;
  transition: transform 0.2s ease;
}
.pan-mock-card:hover {
  transform: scale(1.02);
}
.pan-header-text {
  font-size: 0.65rem;
  font-weight: 800;
  color: #0369a1;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  line-height: 1.1;
}

/* Realistic Aadhaar Front Card Mockup */
.aadhaar-mock-card-front {
  background: #ffffff;
  border: 1.5px solid #f97316;
  border-radius: 10px;
  padding: 0.85rem;
  position: relative;
  box-shadow: inset 0 3px 0 #f97316, inset 0 -3px 0 #16a34a, 0 4px 12px rgba(0,0,0,0.06);
  cursor: pointer;
  transition: transform 0.2s ease;
}
.aadhaar-mock-card-front:hover {
  transform: scale(1.02);
}

/* Realistic Aadhaar Back Card Mockup */
.aadhaar-mock-card-back {
  background: #ffffff;
  border: 1.5px solid #16a34a;
  border-radius: 10px;
  padding: 0.85rem;
  position: relative;
  box-shadow: inset 0 3px 0 #16a34a, inset 0 -3px 0 #f97316, 0 4px 12px rgba(0,0,0,0.06);
  cursor: pointer;
  transition: transform 0.2s ease;
}
.aadhaar-mock-card-back:hover {
  transform: scale(1.02);
}

/* Realistic Bank Passbook / Cheque Mockup */
.bank-mock-card {
  background: linear-gradient(135deg, #fefce8 0%, #fef9c3 60%, #fffbeb 100%);
  border: 1.5px solid #ca8a04;
  border-radius: 10px;
  padding: 0.85rem;
  position: relative;
  box-shadow: inset 0 0 10px rgba(202, 138, 4, 0.15), 0 4px 12px rgba(0,0,0,0.06);
  cursor: pointer;
  transition: transform 0.2s ease;
}
.bank-mock-card:hover {
  transform: scale(1.02);
}
.micr-band {
  font-family: 'Courier New', monospace;
  background: #fff;
  border: 1px dashed #ca8a04;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.72rem;
  font-weight: bold;
  letter-spacing: 2px;
}

/* Zoom Lightbox Preview Modal */
.kyc-zoom-img-box {
  background: #26070d;
  border-radius: 12px;
  padding: 1.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 2px solid var(--gold-400);
}


/* Responsive Breakpoints */
@media (max-width: 991.98px) {
  .app-sidebar {
    transform: translateX(-100%);
  }
  .app-sidebar.show {
    transform: translateX(0);
  }
  .app-main {
    margin-left: 0;
  }
  .nav-toggle-btn {
    display: flex;
  }
  .app-navbar {
    padding: 0 1rem;
  }
  .app-content {
    padding: 1rem;
  }
 
}

/* ===== Admin Auth Pages (Login) ===== */
.auth-wrapper {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
  background: radial-gradient(circle at 50% 30%, #5a0c20 0%, #3a0510 60%, #2a040c 100%);
  position: relative;
}
.auth-card {
  width: 100%;
  max-width: 460px;
  background: #ffffff;
  border: 1px solid rgba(122, 23, 42, 0.22);
  border-radius: 18px;
  box-shadow: 0 15px 45px rgba(38, 7, 13, 0.1), 0 0 25px rgba(212, 175, 55, 0.15);
  padding: 2.5rem;
  position: relative;
  z-index: 1;
  overflow: hidden;
}
.auth-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #7a172a 0%, #d4af37 50%, #7a172a 100%);
}
.auth-header { text-align: center; margin-bottom: 1.8rem; }
.auth-header .emblem-lg {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: var(--maroon-gradient);
  color: #faecc2;
  font-size: 1.9rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  box-shadow: 0 6px 18px rgba(99, 18, 33, 0.3);
}
@media (max-width: 575.98px) {
  .auth-card { padding: 1.8rem 1.2rem; }
}

/* ===== Flash / validation alerts ===== */
.alert-maroon {
  background: var(--maroon-100);
  color: #7a172a;
  border: 1px solid rgba(122, 23, 42, 0.3);
  border-left: 4px solid #7a172a;
  border-radius: 10px;
  font-size: 0.88rem;
}
.alert-gold {
  background: #fbf5e2;
  color: #7a5400;
  border: 1px solid rgba(212, 175, 55, 0.5);
  border-radius: 10px;
  font-size: 0.88rem;
}
