:root {
  --orange-deep:   #D4571E;
  --orange-mid:    #E8712A;
  --orange-light:  #FF9A44;
  --orange-glow:   #FF7A33;
  --orange-pale:   #FFD4A8;

  --orange-subtle: rgba(232, 113, 42, 0.08);
  --orange-muted:  rgba(232, 113, 42, 0.15);
  --orange-border: rgba(232, 113, 42, 0.2);

  --bg-primary:   #0B0A0F;
  --bg-secondary: #111018;
  --bg-tertiary:  #1A1824;
  --bg-elevated:  #201E2C;

  --text-primary:   #F0EDE8;
  --text-secondary: #9B96A8;
  --text-muted:     #6B6580;

  --border-color: #2A2738;
  --border-light: #35324A;

  --success: #3DD68C;
  --danger:  #FF5C6A;
  --warning: #FFB547;
  --info:    #5B9CF6;

  --card-bg:       rgba(26, 24, 36, 0.7);
  --card-bg-solid: #16141F;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;

  --shadow-sm:     0 2px 8px rgba(0,0,0,0.2);
  --shadow-md:     0 4px 20px rgba(0,0,0,0.3);
  --shadow-lg:     0 8px 40px rgba(0,0,0,0.4);
  --shadow-orange: 0 4px 24px rgba(232, 113, 42, 0.15);

  --transition-fast:   0.15s ease;
  --transition-normal: 0.25s ease;
  --transition-slow:   0.4s ease;
}

[data-theme="light"] {
  --orange-subtle: rgba(232, 113, 42, 0.08);
  --orange-muted:  rgba(232, 113, 42, 0.08);
  --orange-border: rgba(232, 113, 42, 0.3);

  --bg-primary:   #F3F4F6;
  --bg-secondary: #FFFFFF;
  --bg-tertiary:  #F9FAFB;
  --bg-elevated:  #FFFFFF;

  --text-primary:   #111827;
  --text-secondary: #4B5563;
  --text-muted:     #9CA3AF;

  --border-color: #E5E7EB;
  --border-light: #D1D5DB;

  --success: #059669;
  --danger:  #DC2626;
  --warning: #D97706;
  --info:    #2563EB;

  --card-bg:       rgba(255, 255, 255, 0.9);
  --card-bg-solid: #FFFFFF;

  --shadow-sm:     0 1px 2px 0 rgba(0,0,0,0.05);
  --shadow-md:     0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
  --shadow-lg:     0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
  --shadow-orange: 0 4px 12px rgba(232, 113, 42, 0.15);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Noto Sans Bengali', sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  min-height: 100vh;
  line-height: 1.7;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  transition: background-color var(--transition-normal), color var(--transition-normal);
}

body::before {
  content: '';
  position: fixed;
  top: -200px; right: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(232,113,42,0.06) 0%, transparent 70%);
  pointer-events: none; z-index: 0;
}
[data-theme="light"] body::before { background: radial-gradient(circle, rgba(232,113,42,0.12) 0%, transparent 70%); }

body::after {
  content: '';
  position: fixed;
  bottom: -300px; left: -200px;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(255,154,68,0.04) 0%, transparent 70%);
  pointer-events: none; z-index: 0;
}
[data-theme="light"] body::after { background: radial-gradient(circle, rgba(255,154,68,0.08) 0%, transparent 70%); }

/* ══ NAVBAR ══ */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  height: 68px;
  background: rgba(11, 10, 15, 0.82);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  border-bottom: 1px solid var(--border-color);
  transition: background-color var(--transition-fast), border-color var(--transition-fast);
}
[data-theme="light"] .navbar { background: rgba(255, 255, 255, 0.9); }
.navbar.scrolled { height: 60px; box-shadow: var(--shadow-sm); }

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  flex-shrink: 0;
}

/* ── Logo fix: dedicated square frame so the logo always renders
     fully visible and proportionate, regardless of the source
     image's aspect ratio or transparent padding ── */
.navbar-logo-frame {
  height: 38px;
  width: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: var(--transition-normal);
}

.navbar-logo {
  height: 100%;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 2px 8px rgba(232,113,42,0.3));
  transition: var(--transition-normal);
}

.navbar-brand:hover .navbar-logo {
  transform: scale(1.05);
}

.navbar-title {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, var(--orange-light) 0%, var(--orange-deep) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.navbar-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.navbar-nav a {
  position: relative;
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 0.9rem;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: var(--transition-fast);
  text-decoration: none;
  white-space: nowrap;
}

.navbar-nav a i { width: 17px; height: 17px; flex-shrink: 0; }

.navbar-nav a:hover { color: var(--text-primary); background: var(--bg-tertiary); }
[data-theme="light"] .navbar-nav a:hover { color: var(--orange-deep); }

.navbar-nav a.active { color: var(--orange-light); background: var(--orange-subtle); }
[data-theme="light"] .navbar-nav a.active { color: var(--orange-deep); background: #FFF7ED; font-weight: 600; }

.navbar-nav a.active::after {
  content: '';
  position: absolute;
  bottom: -1px; left: 50%;
  transform: translateX(-50%);
  width: 20px; height: 2px;
  background: var(--orange-mid);
  border-radius: 2px;
}

.theme-toggle {
  background: transparent;
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  width: 38px; height: 38px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-fast);
  flex-shrink: 0;
}
.theme-toggle:hover { color: var(--text-primary); background: var(--bg-tertiary); border-color: var(--border-light); }

.navbar-divider { width: 1px; height: 28px; background: var(--border-color); margin: 0 6px; flex-shrink: 0; }

/* Registration badge */
.nav-reg-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--orange-light);
  background: var(--orange-subtle);
  border: 1px solid var(--orange-border);
  text-decoration: none;
  white-space: nowrap;
  transition: var(--transition-fast);
  cursor: pointer;
}
.nav-reg-btn i { width: 15px; height: 15px; flex-shrink: 0; }
.nav-reg-btn:hover {
  background: var(--orange-muted);
  border-color: rgba(232,113,42,0.4);
  color: var(--orange-light);
  transform: translateY(-1px);
  box-shadow: var(--shadow-orange);
}
[data-theme="light"] .nav-reg-btn { color: var(--orange-deep); background: #FFF7ED; border-color: #FED7AA; }
[data-theme="light"] .nav-reg-btn:hover { background: #FFEDD5; color: var(--orange-deep); }

.mobile-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--text-secondary);
  cursor: pointer;
  transition: var(--transition-fast);
  flex-direction: column;
  gap: 5px;
  padding: 9px 8px;
}
.mobile-toggle:hover { background: var(--bg-tertiary); color: var(--text-primary); border-color: var(--border-light); }
.mobile-toggle .bar {
  display: block;
  width: 22px; height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease, width 0.3s ease;
  transform-origin: center;
}
.mobile-toggle.open .bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-toggle.open .bar:nth-child(2) { opacity: 0; transform: scaleX(0); }
.mobile-toggle.open .bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ══ BUTTONS ══ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 24px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.88rem;
  font-family: inherit;
  border: none;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-decoration: none;
  white-space: nowrap;
  line-height: 1.4;
  position: relative;
  overflow: hidden;
}
.btn i { width: 17px; height: 17px; flex-shrink: 0; }

.btn-primary {
  background: linear-gradient(135deg, var(--orange-mid), var(--orange-deep));
  color: #fff;
  box-shadow: var(--shadow-orange);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 8px 48px rgba(232,113,42,0.2); filter: brightness(1.08); }
.btn-primary:active { transform: translateY(0); filter: brightness(0.95); }

.btn-secondary { background: var(--bg-tertiary); color: var(--text-primary); border: 1px solid var(--border-color); }
.btn-secondary:hover { background: var(--bg-elevated); border-color: var(--border-light); }

.btn-outline { background: transparent; color: var(--text-secondary); border: 1px solid var(--border-color); }
.btn-outline:hover { color: var(--text-primary); background: var(--bg-tertiary); border-color: var(--border-light); }

.btn-danger  { background: var(--danger);  color: #fff; }
.btn-danger:hover  { filter: brightness(1.1); transform: translateY(-1px); }

.btn-success { background: var(--success); color: #000; }
.btn-success:hover { filter: brightness(1.1); transform: translateY(-1px); }

.btn-ghost { background: transparent; color: var(--text-secondary); padding: 8px 14px; }
.btn-ghost:hover { color: var(--text-primary); background: var(--orange-subtle); }

[data-theme="light"] .btn-primary { box-shadow: 0 2px 8px rgba(212,87,30,0.25); }
[data-theme="light"] .btn-primary:hover { box-shadow: 0 6px 14px rgba(212,87,30,0.3); }
[data-theme="light"] .btn-secondary { background: var(--bg-secondary); box-shadow: var(--shadow-sm); }
[data-theme="light"] .btn-ghost:hover { color: var(--danger); background: rgba(220,38,38,0.05); }

.btn-sm { padding: 6px 14px; font-size: 0.8rem; }
.btn-lg { padding: 14px 32px; font-size: 1rem; border-radius: var(--radius-md); }
.btn-icon { padding: 8px; border-radius: var(--radius-sm); }

/* ══ LAYOUT ══ */
.container    { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.container-sm { max-width: 720px;  margin: 0 auto; padding: 0 24px; }
.container-lg { max-width: 1400px; margin: 0 auto; padding: 0 24px; }

/* ══ CARD ══ */
.card {
  background: var(--card-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: var(--transition-normal);
}
[data-theme="light"] .card { box-shadow: var(--shadow-sm); }
.card:hover { border-color: var(--border-light); }
[data-theme="light"] .card:hover { box-shadow: var(--shadow-md); }

.card-solid { background: var(--card-bg-solid); backdrop-filter: none; }
.card-highlight {
  border-color: var(--orange-border);
  background: linear-gradient(135deg, var(--orange-subtle) 0%, var(--card-bg) 60%);
}

.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-color);
}

.card-title { font-size: 1.1rem; font-weight: 700; display: flex; align-items: center; gap: 10px; }
.card-title i { color: var(--orange-mid); width: 20px; height: 20px; }

/* ══ BADGE ══ */
.badge { display: inline-flex; align-items: center; gap: 5px; padding: 4px 12px; border-radius: 100px; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.01em; }
.badge i { width: 12px; height: 12px; }
.badge-active  { background: rgba(61,214,140,0.1);  color: var(--success); border: 1px solid rgba(61,214,140,0.2); }
.badge-pending { background: rgba(255,181,71,0.1);  color: var(--warning); border: 1px solid rgba(255,181,71,0.2); }
.badge-closed  { background: rgba(255,92,106,0.1);  color: var(--danger);  border: 1px solid rgba(255,92,106,0.2); }
.badge-done    { background: rgba(232,113,42,0.1);  color: var(--orange-light); border: 1px solid rgba(232,113,42,0.2); }
.badge-info    { background: rgba(91,156,246,0.1);  color: var(--info);    border: 1px solid rgba(91,156,246,0.2); }
[data-theme="light"] .badge-active  { background: #D1FAE5; color: #065F46; border-color: #A7F3D0; }
[data-theme="light"] .badge-pending { background: #FEF3C7; color: #92400E; border-color: #FDE68A; }
[data-theme="light"] .badge-closed  { background: #FEE2E2; color: #991B1B; border-color: #FECACA; }
[data-theme="light"] .badge-done    { background: #FFEDD5; color: #9A3412; border-color: #FED7AA; }
[data-theme="light"] .badge-info    { background: #DBEAFE; color: #1E40AF; border-color: #BFDBFE; }

/* ══ FLASH ══ */
.flash-container { position: relative; z-index: 10; max-width: 1200px; margin: 20px auto; padding: 0 24px; }
.flash { display: flex; align-items: center; gap: 12px; padding: 14px 20px; border-radius: var(--radius-md); font-weight: 500; font-size: 0.9rem; animation: flashSlide 0.35s ease; }
.flash i { width: 20px; height: 20px; flex-shrink: 0; }
.flash-success { background: rgba(61,214,140,0.08);  color: var(--success); border: 1px solid rgba(61,214,140,0.18); }
.flash-error   { background: rgba(255,92,106,0.08);  color: var(--danger);  border: 1px solid rgba(255,92,106,0.18); }
.flash-warning { background: rgba(255,181,71,0.08);  color: var(--warning); border: 1px solid rgba(255,181,71,0.18); }
.flash-info    { background: rgba(91,156,246,0.08);  color: var(--info);    border: 1px solid rgba(91,156,246,0.18); }
[data-theme="light"] .flash-success { background: #ECFDF5; color: #065F46; border-color: #A7F3D0; }
[data-theme="light"] .flash-error   { background: #FEF2F2; color: #991B1B; border-color: #FECACA; }
[data-theme="light"] .flash-warning { background: #FFFBEB; color: #92400E; border-color: #FDE68A; }
[data-theme="light"] .flash-info    { background: #EFF6FF; color: #1E40AF; border-color: #BFDBFE; }
@keyframes flashSlide { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: translateY(0); } }

/* ══ FORMS ══ */
.form-group { margin-bottom: 20px; }
.form-label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--text-secondary); margin-bottom: 8px; }
.form-input { width: 100%; padding: 11px 16px; background: var(--bg-tertiary); border: 1px solid var(--border-color); border-radius: var(--radius-sm); color: var(--text-primary); font-family: inherit; font-size: 0.9rem; transition: var(--transition-fast); outline: none; }
.form-input::placeholder { color: var(--text-muted); }
.form-input:focus { border-color: var(--orange-mid); box-shadow: 0 0 0 3px rgba(232,113,42,0.12); }
.form-input:hover:not(:focus) { border-color: var(--border-light); }
[data-theme="light"] .form-input { background: #FFFFFF; }
[data-theme="light"] .form-input:focus { box-shadow: 0 0 0 3px rgba(232,113,42,0.15); }
.form-error { font-size: 0.78rem; color: var(--danger); margin-top: 6px; display: flex; align-items: center; gap: 4px; }
.form-error i { width: 13px; height: 13px; }
select.form-input { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%239B96A8' viewBox='0 0 16 16'%3E%3Cpath d='M4 6l4 4 4-4'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 36px; cursor: pointer; }
textarea.form-input { resize: vertical; min-height: 100px; }

/* ══ TABLE ══ */
.table-wrapper { overflow-x: auto; border-radius: var(--radius-md); border: 1px solid var(--border-color); }
table { width: 100%; border-collapse: collapse; }
thead { background: var(--bg-tertiary); }
th { padding: 14px 18px; text-align: left; font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-muted); }
td { padding: 14px 18px; font-size: 0.88rem; border-bottom: 1px solid var(--border-color); color: var(--text-secondary); }
[data-theme="light"] .table-wrapper { background: #FFFFFF; }
[data-theme="light"] th { color: var(--text-secondary); border-bottom: 1px solid var(--border-color); }
tbody tr { transition: var(--transition-fast); }
tbody tr:hover { background: var(--orange-subtle); }
[data-theme="light"] tbody tr:hover { background: var(--bg-tertiary); }
tbody tr:last-child td { border-bottom: none; }

/* ══ PAGE HEADER ══ */
.page-header { padding: 40px 0 28px; }
.page-header-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.page-title { font-size: 1.75rem; font-weight: 800; letter-spacing: -0.02em; line-height: 1.3; }
.page-subtitle { color: var(--text-muted); font-size: 0.92rem; margin-top: 6px; }
.page-breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 0.82rem; color: var(--text-muted); margin-bottom: 12px; }
.page-breadcrumb a { color: var(--text-secondary); text-decoration: none; transition: var(--transition-fast); }
.page-breadcrumb a:hover { color: var(--orange-light); }
.page-breadcrumb .separator { color: var(--text-muted); }
.page-breadcrumb .current { color: var(--orange-light); font-weight: 600; }

/* ══ STATS ══ */
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.stat-card { background: var(--card-bg); backdrop-filter: blur(12px); border: 1px solid var(--border-color); border-radius: var(--radius-md); padding: 22px 24px; display: flex; align-items: center; gap: 18px; transition: var(--transition-normal); }
[data-theme="light"] .stat-card { box-shadow: var(--shadow-sm); }
.stat-card:hover { border-color: var(--orange-border); transform: translateY(-2px); box-shadow: var(--shadow-orange); }
[data-theme="light"] .stat-card:hover { box-shadow: var(--shadow-md); }
.stat-icon { width: 48px; height: 48px; border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.stat-icon i { width: 22px; height: 22px; }
.stat-icon-orange { background: var(--orange-muted); color: var(--orange-light); }
.stat-icon-green  { background: rgba(61,214,140,0.12); color: var(--success); }
.stat-icon-blue   { background: rgba(91,156,246,0.12); color: var(--info); }
.stat-icon-red    { background: rgba(255,92,106,0.12); color: var(--danger); }
[data-theme="light"] .stat-icon-orange { background: #FFEDD5; color: var(--orange-deep); }
[data-theme="light"] .stat-icon-green  { background: #D1FAE5; color: var(--success); }
[data-theme="light"] .stat-icon-blue   { background: #DBEAFE; color: var(--info); }
[data-theme="light"] .stat-icon-red    { background: #FEE2E2; color: var(--danger); }
.stat-value { font-size: 1.55rem; font-weight: 800; line-height: 1.2; letter-spacing: -0.02em; }
.stat-label { font-size: 0.8rem; color: var(--text-muted); font-weight: 500; margin-top: 2px; }

/* ══ FOOTER ══ */
.footer {
  margin-top: auto;
  padding: 32px 40px;
  border-top: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--text-muted);
  font-size: 0.8rem;
  background: var(--bg-primary);
  z-index: 1;
}
.footer a { color: var(--text-secondary); text-decoration: none; transition: var(--transition-fast); }
.footer a:hover { color: var(--orange-light); }
.footer-links { display: flex; gap: 20px; }

/* ══ UTILITIES ══ */
.text-center { text-align: center; }
.text-right  { text-align: right; }
.text-muted  { color: var(--text-muted); }
.text-orange { color: var(--orange-light); }
.text-success { color: var(--success); }
.text-danger  { color: var(--danger); }
.mt-4 { margin-top: 16px; }
.mt-6 { margin-top: 24px; }
.mt-8 { margin-top: 32px; }
.mb-4 { margin-bottom: 16px; }
.mb-6 { margin-bottom: 24px; }
.gap-4 { gap: 16px; }
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.flex-wrap { flex-wrap: wrap; }
.grid  { display: grid; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.fw-bold { font-weight: 700; }
.small { font-size: 0.82rem; }
.uppercase { text-transform: uppercase; }
.tracking-wider { letter-spacing: 0.06em; }

/* ══ SKELETON ══ */
.skeleton {
  background: linear-gradient(90deg, var(--bg-tertiary) 25%, var(--bg-elevated) 50%, var(--bg-tertiary) 75%);
  background-size: 200% 100%;
  animation: skeletonPulse 1.5s ease infinite;
  border-radius: var(--radius-sm);
}
[data-theme="light"] .skeleton { background: linear-gradient(90deg, #F3F4F6 25%, #E5E7EB 50%, #F3F4F6 75%); }
@keyframes skeletonPulse { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

/* ══ MODAL ══ */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(4px);
  z-index: 5000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.modal-overlay.open { display: flex; animation: fadeIn 0.2s ease; }
[data-theme="light"] .modal-overlay { background: rgba(0,0,0,0.4); }

.modal {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 32px;
  width: 100%;
  max-width: 520px;
  max-height: 90vh;
  overflow-y: auto;
  animation: modalSlide 0.3s ease;
}
[data-theme="light"] .modal { box-shadow: var(--shadow-lg); }

.modal-actions { display: flex; gap: 10px; justify-content: flex-end; margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--border-color); }

.field { margin-bottom: 18px; }
.field label { display: flex; align-items: center; gap: 6px; font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-muted); margin-bottom: 7px; }
.field label i { width: 14px; height: 14px; color: var(--orange-mid); }
.field input, .field select, .field textarea { width: 100%; padding: 11px 14px; background: var(--bg-tertiary); border: 1px solid var(--border-color); border-radius: var(--radius-sm); color: var(--text-primary); font-family: inherit; font-size: 0.9rem; transition: var(--transition-fast); outline: none; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--orange-mid); box-shadow: 0 0 0 3px rgba(232,113,42,0.1); }
.field textarea { resize: vertical; min-height: 80px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes modalSlide { from { opacity: 0; transform: translateY(20px) scale(0.97); } to { opacity: 1; transform: translateY(0) scale(1); } }

/* ══ TIMER BAR ══ */
.timer-bar { height: 3px; background: var(--bg-tertiary); border-radius: 2px; overflow: hidden; }
.timer-bar-fill { height: 100%; background: linear-gradient(90deg, var(--orange-mid), var(--orange-light)); border-radius: 2px; transition: width 1s linear; }

/* ══ FLOATING WHATSAPP ══ */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9000;
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.whatsapp-btn {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45);
  transition: all 0.25s ease;
  flex-shrink: 0;
  position: relative;
}

.whatsapp-btn svg { width: 28px; height: 28px; fill: #fff; }

.whatsapp-float:hover .whatsapp-btn {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(37, 211, 102, 0.6);
}

.whatsapp-tooltip {
  background: #25D366;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 100px;
  white-space: nowrap;
  opacity: 0;
  transform: translateX(8px);
  transition: all 0.25s ease;
  pointer-events: none;
  box-shadow: 0 2px 12px rgba(37,211,102,0.3);
}

.whatsapp-float:hover .whatsapp-tooltip { opacity: 1; transform: translateX(0); }

.whatsapp-btn::after {
  content: '';
  position: absolute;
  width: 56px; height: 56px;
  border-radius: 50%;
  border: 2px solid rgba(37,211,102,0.5);
  animation: waPulse 2s ease-out infinite;
}

@keyframes waPulse {
  0%   { transform: scale(1);   opacity: 0.8; }
  100% { transform: scale(1.7); opacity: 0;   }
}

/* ══ RESPONSIVE ══ */
@media (max-width: 900px) {
  .navbar { padding: 0 20px; }

  .navbar-nav {
    display: none;
    position: absolute;
    top: 68px; left: 0; right: 0;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
    flex-direction: column;
    padding: 12px 20px;
    gap: 2px;
    box-shadow: var(--shadow-lg);
  }
  [data-theme="light"] .navbar-nav { background: #FFFFFF; box-shadow: var(--shadow-lg); }
  .navbar-nav.open { display: flex; }
  .navbar-nav a { width: 100%; padding: 12px 16px; border-radius: var(--radius-sm); }
  .nav-reg-btn { width: 100%; justify-content: center; }
  .navbar-divider { width: 100%; height: 1px; margin: 8px 0; }
  .mobile-toggle { display: flex; }
  .page-title { font-size: 1.4rem; }
  .stats-grid { grid-template-columns: 1fr; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer { flex-direction: column; gap: 16px; text-align: center; }
  .footer-links { flex-wrap: wrap; justify-content: center; }
  .whatsapp-float { bottom: 20px; right: 20px; }
  .whatsapp-tooltip { display: none; }
}

@media (max-width: 480px) {
  .navbar { padding: 0 16px; }
  .container { padding: 0 16px; }
  .card { padding: 20px; }
  .page-header { padding: 28px 0 20px; }
  .btn-lg { padding: 12px 24px; font-size: 0.9rem; }
  .modal { padding: 24px 20px; }
}

/* ══ SCROLLBAR ══ */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border-color); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--border-light); }
::selection { background: rgba(232,113,42,0.25); color: var(--text-primary); }

@media print {
  .navbar, .footer, .mobile-toggle, .whatsapp-float { display: none !important; }
  body { background: #fff; color: #000; }
  .card { border: 1px solid #ddd; background: #fff; }
}

/* ══ APP DOWNLOAD BADGE ══ */
.nav-download-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 600;
  color: #3DD68C;
  background: rgba(61,214,140,0.08);
  border: 1px solid rgba(61,214,140,0.2);
  text-decoration: none;
  white-space: nowrap;
  transition: var(--transition-fast);
  position: relative;
}
.nav-download-btn i { width: 15px; height: 15px; flex-shrink: 0; }
.nav-download-btn:hover {
  background: rgba(61,214,140,0.15);
  border-color: rgba(61,214,140,0.4);
  color: #3DD68C;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(61,214,140,0.2);
}
.nav-download-btn .dl-pulse {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #3DD68C;
  flex-shrink: 0;
  animation: dlPulse 1.8s ease-in-out infinite;
}
@keyframes dlPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.7); }
}
[data-theme="light"] .nav-download-btn { color: #059669; background: #D1FAE5; border-color: #A7F3D0; }
[data-theme="light"] .nav-download-btn:hover { background: #A7F3D0; }

/* Floating download pill */
.app-download-float {
  position: fixed;
  bottom: 100px;
  right: 28px;
  z-index: 8999;
}
.app-download-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #1a2e1a, #0d1f0d);
  border: 1px solid rgba(61,214,140,0.35);
  border-radius: 999px;
  padding: 10px 18px 10px 12px;
  text-decoration: none;
  box-shadow: 0 4px 24px rgba(61,214,140,0.2);
  transition: all 0.25s ease;
  max-width: 56px;
  overflow: hidden;
  white-space: nowrap;
}
.app-download-pill:hover {
  max-width: 220px;
  box-shadow: 0 6px 32px rgba(61,214,140,0.35);
  transform: translateY(-2px);
}
.app-download-pill-icon {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: rgba(61,214,140,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1.5px solid rgba(61,214,140,0.4);
}
.app-download-pill-icon svg {
  width: 18px; height: 18px;
  fill: none;
  stroke: #3DD68C;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.app-download-pill-text {
  display: flex;
  flex-direction: column;
  opacity: 0;
  transition: opacity 0.2s ease 0.05s;
  flex-shrink: 0;
}
.app-download-pill:hover .app-download-pill-text { opacity: 1; }
.app-download-pill-label {
  font-size: 0.68rem;
  color: rgba(61,214,140,0.7);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  line-height: 1;
}
.app-download-pill-name {
  font-size: 0.88rem;
  color: #3DD68C;
  font-weight: 700;
  line-height: 1.3;
}
[data-theme="light"] .app-download-pill {
  background: linear-gradient(135deg, #ECFDF5, #D1FAE5);
  border-color: #6EE7B7;
  box-shadow: 0 4px 16px rgba(5,150,105,0.2);
}
[data-theme="light"] .app-download-pill-icon { background: rgba(5,150,105,0.1); border-color: #6EE7B7; }
[data-theme="light"] .app-download-pill-icon svg { stroke: #059669; }
[data-theme="light"] .app-download-pill-label { color: rgba(5,150,105,0.7); }
[data-theme="light"] .app-download-pill-name { color: #065F46; }
[data-theme="light"] .app-download-pill:hover { box-shadow: 0 6px 24px rgba(5,150,105,0.3); }

@media (max-width: 900px) {
  .app-download-float { bottom: 90px; right: 20px; }
  .nav-download-btn { width: 100%; justify-content: center; }
}
