/* Custom Royal Emerald & Gold Theme Styles */

:root {
  --gold-primary: #D4AF37;
  --gold-bright: #FACC15;
  --emerald-deep: #0F281E;
  --emerald-dark: #091A13;
  --surface-color: #1A231F;
}

/* Base resets & typography */
body {
  background-color: #0c1410;
  background-image: 
    radial-gradient(circle at 10% 20%, rgba(212, 175, 55, 0.03) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(16, 185, 129, 0.03) 0%, transparent 40%);
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

/* Nav Tab Styles */
.nav-tab {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 0.75rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #9ca3af;
  background-color: transparent;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.nav-tab:hover {
  color: #FDE047;
  background-color: rgba(255, 255, 255, 0.03);
}

.nav-tab.active-tab {
  color: #091A13;
  background-color: #D4AF37;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(212, 175, 55, 0.25);
}

/* Mobile Nav Button */
.mobile-nav-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  padding: 0.4rem 0.6rem;
  border-radius: 0.75rem;
  color: #9ca3af;
  font-size: 0.6875rem;
  font-weight: 600;
  transition: all 0.15s ease;
  flex: 1;
}

.mobile-nav-btn i {
  font-size: 1.15rem;
}

.mobile-nav-btn.active {
  color: #FACC15;
  transform: translateY(-2px);
}

.mobile-nav-btn.active i {
  color: #D4AF37;
}

/* Countdown Card */
.countdown-card {
  background-color: rgba(18, 22, 20, 0.9);
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: 0.75rem;
  padding: 0.4rem 0.6rem;
  text-align: center;
  min-width: 48px;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.05);
}

.countdown-num {
  font-family: 'Cairo', sans-serif;
  font-weight: 900;
  font-size: 1.25rem;
  line-height: 1.2;
  color: #FACC15;
  display: block;
}

.countdown-label {
  font-size: 0.625rem;
  color: #9ca3af;
  display: block;
}

/* Filter Chip */
.filter-chip {
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.filter-chip.active {
  border-color: #D4AF37 !important;
  background-color: rgba(212, 175, 55, 0.08) !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Custom Scrollbar */
.custom-scrollbar::-webkit-scrollbar {
  width: 5px;
  height: 5px;
}
.custom-scrollbar::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 4px;
}
.custom-scrollbar::-webkit-scrollbar-thumb {
  background: rgba(212, 175, 55, 0.3);
  border-radius: 4px;
}
.custom-scrollbar::-webkit-scrollbar-thumb:hover {
  background: rgba(212, 175, 55, 0.6);
}

/* Print Optimization */
@media print {
  body {
    background: #ffffff !important;
    color: #111827 !important;
  }
  header, nav, .mobile-nav-btn, button, #btnAnnounceVoice, #btnOpenSettings {
    display: none !important;
  }
  .tab-view {
    display: none !important;
  }
  #tab-annual-report {
    display: block !important;
  }
  .print-container {
    background: #ffffff !important;
    color: #111827 !important;
    border: 1px solid #d1d5db !important;
    box-shadow: none !important;
  }
  .print-container * {
    color: #111827 !important;
    border-color: #e5e7eb !important;
  }
}