/* Apex Dream Consulting - Premium Modern Stylesheet */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800;900&family=Noto+Sans+Devanagari:wght@400;500;600;700;800;900&family=Yantramanav:wght@400;500;700;900&display=swap');

:root {
  --primary-navy: #0f172a;
  --primary-blue: #1e3a8a;
  --brand-blue: #2563eb;
  --brand-indigo: #4f46e5;
  --accent-gold: #f59e0b;
  --accent-gold-light: #fef3c7;
  --accent-gold-dark: #d97706;
  --accent-emerald: #10b981;
  --accent-emerald-light: #d1fae5;
  --slate-bg: #f8fafc;
  --slate-card: #ffffff;
  --slate-border: #e2e8f0;
  --slate-text: #334155;
  --slate-muted: #64748b;
  --card-radius: 1.25rem;
  --card-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.05), 0 8px 10px -6px rgba(15, 23, 42, 0.03);
  --card-shadow-hover: 0 20px 35px -10px rgba(15, 23, 42, 0.12), 0 10px 15px -5px rgba(15, 23, 42, 0.04);
}

* {
  box-sizing: border-box;
}

body {
  font-family: 'Plus Jakarta Sans', 'Noto Sans Devanagari', 'Yantramanav', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--slate-bg);
  color: var(--slate-text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Plus Jakarta Sans', 'Noto Sans Devanagari', sans-serif;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.02em;
}

/* Header & Top Bar */
.adc-topbar {
  background: linear-gradient(90deg, #0f172a 0%, #1e3a8a 50%, #172554 100%);
  color: #f1f5f9;
  font-size: 0.8125rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.adc-navbar {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.04);
  transition: all 0.3s ease;
  padding: 0.75rem 0;
}

.brand-emblem {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: linear-gradient(135deg, #1e3a8a 0%, #0f172a 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(30, 58, 138, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.25);
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}

.brand-emblem::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.2), transparent);
}

.nav-link {
  font-weight: 600;
  color: #475569 !important;
  padding: 0.6rem 1rem !important;
  border-radius: 0.75rem;
  font-size: 0.9rem;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.nav-link:hover {
  color: #1e3a8a !important;
  background-color: #f1f5f9;
  transform: translateY(-1px);
}

.nav-link.active {
  background: #1e3a8a;
  color: #ffffff !important;
  box-shadow: 0 4px 12px rgba(30, 58, 138, 0.25);
}

.nav-link.active i {
  color: #f59e0b !important;
}

/* Hero Section */
.hero-gradient {
  background: radial-gradient(circle at 85% 15%, rgba(37, 99, 235, 0.25) 0%, transparent 50%),
              radial-gradient(circle at 10% 85%, rgba(245, 158, 11, 0.18) 0%, transparent 45%),
              linear-gradient(135deg, #0a0f1d 0%, #0f172a 40%, #1e3a8a 100%);
  color: #ffffff;
  position: relative;
  border-bottom-left-radius: 2.5rem;
  border-bottom-right-radius: 2.5rem;
  overflow: hidden;
}

.hero-gradient::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
}

.hero-card-glass {
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 1.75rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35);
}

/* Modern Card Styling */
.card-modern {
  background: #ffffff;
  border: 1px solid var(--slate-border);
  border-radius: var(--card-radius);
  box-shadow: var(--card-shadow);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.card-hover:hover {
  transform: translateY(-5px);
  box-shadow: var(--card-shadow-hover);
  border-color: #cbd5e1;
}

/* Stat Cards (Dashboard KPIs) */
.stat-card-pro {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 1.25rem;
  padding: 1.5rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(15, 23, 42, 0.04);
  transition: all 0.25s ease;
}

.stat-card-pro:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 25px -5px rgba(15, 23, 42, 0.08);
}

.stat-card-pro::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
}

.stat-card-blue::before { background: linear-gradient(90deg, #2563eb, #3b82f6); }
.stat-card-amber::before { background: linear-gradient(90deg, #f59e0b, #fbbf24); }
.stat-card-cyan::before { background: linear-gradient(90deg, #0284c7, #38bdf8); }
.stat-card-emerald::before { background: linear-gradient(90deg, #10b981, #34d399); }

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

/* Buttons */
.btn-gold-gradient {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #0f172a !important;
  font-weight: 800;
  border: none;
  border-radius: 0.85rem;
  padding: 0.75rem 1.6rem;
  box-shadow: 0 8px 20px -4px rgba(245, 158, 11, 0.4);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.btn-gold-gradient:hover {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  transform: translateY(-2px);
  box-shadow: 0 12px 24px -4px rgba(245, 158, 11, 0.5);
  color: #0f172a !important;
}

.btn-primary-gradient {
  background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%);
  color: #ffffff !important;
  font-weight: 700;
  border: none;
  border-radius: 0.85rem;
  padding: 0.75rem 1.6rem;
  box-shadow: 0 8px 20px -4px rgba(37, 99, 235, 0.35);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.btn-primary-gradient:hover {
  background: linear-gradient(135deg, #1d4ed8 0%, #3b82f6 100%);
  transform: translateY(-2px);
  box-shadow: 0 12px 24px -4px rgba(37, 99, 235, 0.45);
  color: #ffffff !important;
}

/* Badges */
.badge-reward {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #0f172a;
  font-weight: 900;
  border-radius: 9999px;
  padding: 0.4rem 0.85rem;
  box-shadow: 0 4px 10px rgba(245, 158, 11, 0.25);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.badge-status-pending {
  background-color: #fef3c7;
  color: #92400e;
  border: 1px solid #fde68a;
  font-weight: 700;
  padding: 0.35rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
}

.badge-status-confirmed {
  background-color: #e0f2fe;
  color: #075985;
  border: 1px solid #bae6fd;
  font-weight: 700;
  padding: 0.35rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
}

.badge-status-joined {
  background-color: #d1fae5;
  color: #065f46;
  border: 1px solid #a7f3d0;
  font-weight: 800;
  padding: 0.35rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
}

.badge-status-paid {
  background-color: #dcfce7;
  color: #14532d;
  border: 1px solid #86efac;
  font-weight: 800;
  padding: 0.35rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
}

/* Table Design */
.table-custom-pro {
  border-collapse: separate;
  border-spacing: 0;
  width: 100%;
}

.table-custom-pro thead th {
  background: #f8fafc;
  color: #475569;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 1rem 1.2rem;
  border-bottom: 2px solid #e2e8f0;
}

.table-custom-pro tbody tr {
  transition: background-color 0.15s ease;
}

.table-custom-pro tbody tr:hover {
  background-color: #f8fafc;
}

.table-custom-pro tbody td {
  padding: 1.1rem 1.2rem;
  border-bottom: 1px solid #f1f5f9;
  vertical-align: middle;
  font-size: 0.875rem;
}

/* Form Controls */
.form-control, .form-select {
  border: 1.5px solid #cbd5e1;
  border-radius: 0.85rem;
  padding: 0.75rem 1rem;
  font-size: 0.9rem;
  color: #0f172a;
  transition: all 0.2s ease;
}

.form-control:focus, .form-select:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.15);
  outline: none;
}

/* Animations */
@keyframes softPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.03); }
}

.pulse-soft {
  animation: softPulse 2.5s infinite ease-in-out;
}
