:root {
  --gold-primary: #D4AF37;
  --gold-light: #F3E5AB;
  --gold-dark: #997A15;
  --navy-dark: #0B1325;
  --navy-card: #141E33;
  --navy-light: #1D2A47;
  --text-primary: #1A1A1A;
  --text-muted: #6C757D;
  --bg-light: #F8F9FA;
  --border-color: #E2E8F0;
}

body {
  font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, sans-serif;
  background-color: #f4f6fa;
  color: var(--text-primary);
  margin: 0;
  padding: 0;
}

/* Luxury Gold & Navy Styles */
.bg-navy {
  background-color: var(--navy-dark) !important;
  color: #ffffff;
}

.bg-navy-card {
  background-color: var(--navy-card) !important;
  color: #ffffff;
}

.text-gold {
  color: var(--gold-primary) !important;
}

.bg-gold {
  background-color: var(--gold-primary) !important;
  color: #000000;
}

.gold-gradient-btn {
  background: linear-gradient(135deg, #d4af37 0%, #aa771c 100%);
  color: #ffffff !important;
  font-weight: 600;
  border: none;
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.25);
  transition: all 0.2s ease-in-out;
}

.gold-gradient-btn:hover {
  background: linear-gradient(135deg, #e5bd3c 0%, #bd8722 100%);
  box-shadow: 0 6px 16px rgba(212, 175, 55, 0.4);
  transform: translateY(-1px);
}

.gold-border {
  border: 1px solid rgba(212, 175, 55, 0.35) !important;
}

.gold-badge {
  background-color: rgba(212, 175, 55, 0.15);
  color: #997A15;
  border: 1px solid rgba(212, 175, 55, 0.4);
  font-weight: 600;
  padding: 0.35rem 0.65rem;
  border-radius: 6px;
}

/* App Header & Navigation */
.ayn-brand-title {
  font-family: 'Georgia', serif;
  letter-spacing: 1.5px;
  font-weight: 700;
  background: linear-gradient(135deg, #ffe082 0%, #ffd54f 50%, #d4af37 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.admin-sidebar {
  min-height: 100vh;
  background-color: var(--navy-dark);
  color: #ffffff;
}

.admin-sidebar .nav-link {
  color: #a0aec0;
  font-weight: 500;
  padding: 0.75rem 1.25rem;
  border-radius: 8px;
  margin: 0.2rem 0.5rem;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.admin-sidebar .nav-link:hover,
.admin-sidebar .nav-link.active {
  color: #ffffff;
  background-color: rgba(212, 175, 55, 0.15);
  border-left: 3px solid var(--gold-primary);
}

/* Stat Cards */
.stat-card {
  border: none;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
  transition: transform 0.2s;
  background: #ffffff;
}

.stat-card:hover {
  transform: translateY(-3px);
}

.stat-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}

/* Mobile-First Customer App Bottom Nav */
.mobile-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #ffffff;
  box-shadow: 0 -3px 15px rgba(0, 0, 0, 0.08);
  display: flex;
  justify-content: space-around;
  padding: 0.5rem 0;
  z-index: 1030;
  border-top: 1px solid var(--border-color);
}

.mobile-bottom-nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.75rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 0.2rem 0.5rem;
  transition: color 0.2s;
}

.mobile-bottom-nav a.active,
.mobile-bottom-nav a:hover {
  color: var(--gold-dark);
  font-weight: 600;
}

.mobile-bottom-nav a i {
  font-size: 1.25rem;
}

/* Rate Ticker */
.rate-pill {
  border-radius: 30px;
  padding: 0.4rem 1rem;
  background: #ffffff;
  border: 1px solid rgba(212, 175, 55, 0.3);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

/* WhatsApp Button */
.btn-whatsapp {
  background-color: #25D366;
  color: #ffffff !important;
  font-weight: 500;
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.btn-whatsapp:hover {
  background-color: #1EBE5D;
  color: #ffffff;
}

/* Progress bar for schemes */
.scheme-progress {
  height: 10px;
  border-radius: 5px;
  background-color: #e9ecef;
}

.scheme-progress .progress-bar {
  background: linear-gradient(90deg, #d4af37, #f3e5ab);
}

/* Card hover animation */
.card-hover-lift {
  transition: transform 0.2s, box-shadow 0.2s;
}
.card-hover-lift:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.spin-animation {
  animation: spin 1s linear infinite;
  display: inline-block;
}

@keyframes spin {
  100% { transform: rotate(360deg); }
}
