/* Custom styling untuk Website Calon Anggota Baru Forum Zakat (FOZ) - Nuansa Hijau Tua & Basic Putih */

:root {
  --foz-green: #047857;       /* Hijau Tua FOZ */
  --foz-green-dark: #065F46;  /* Hijau Tua Gelap */
  --foz-green-deep: #064E3B;  /* Deep Emerald */
  --foz-green-light: #ECFDF5; /* Hijau Lembut */
  --foz-red: #B91C1C;         /* Aksen Merah FOZ */
  --foz-gray-bg: #FFFFFF;     /* Basic Putih Bersih */
}

body {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  color: #0F172A;
  background-color: var(--foz-gray-bg);
  scroll-behavior: smooth;
}

/* Glassmorphism navbar */
.glass-nav {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.9);
}

/* Hero Gradient Hijau Tua Elegan di atas Putih */
.hero-gradient {
  background: radial-gradient(circle at top right, rgba(4, 120, 87, 0.08), transparent 45%),
              radial-gradient(circle at bottom left, rgba(6, 95, 70, 0.05), transparent 50%),
              linear-gradient(135deg, #ffffff 0%, #F0FDF4 50%, #ffffff 100%);
}

/* Step Wizard Progress */
.step-item.active .step-circle {
  background-color: var(--foz-green);
  color: #FFFFFF;
  box-shadow: 0 0 0 4px rgba(4, 120, 87, 0.2);
}

.step-item.completed .step-circle {
  background-color: var(--foz-green);
  color: #FFFFFF;
}

.step-item.active .step-title {
  color: var(--foz-green);
  font-weight: 700;
}

/* File Upload Dropzone */
.dropzone {
  border: 2px dashed #CBD5E1;
  transition: all 0.25s ease-in-out;
}

.dropzone:hover, .dropzone.drag-over {
  border-color: var(--foz-green);
  background-color: var(--foz-green-light);
}

.dropzone.file-uploaded {
  border-color: #10B981;
  background-color: #ECFDF5;
}

/* Badge colors */
.badge-status-approved {
  background-color: #DEF7EC;
  color: #03543F;
  border: 1px solid #BCF0DA;
}

.badge-status-process {
  background-color: #FEF08A;
  color: #854D0E;
  border: 1px solid #FDE047;
}

.badge-status-decline {
  background-color: #FDE8E8;
  color: #9B1C1C;
  border: 1px solid #F8B4B4;
}

.badge-status-incomplete {
  background-color: #FFEDD5;
  color: #9A3412;
  border: 1px solid #FED7AA;
}

/* Timeline 9 Steps Connector */
.timeline-step {
  position: relative;
}

.timeline-step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 28px;
  right: -50%;
  width: 100%;
  height: 2px;
  background: #E2E8F0;
  z-index: 1;
}

@media (max-width: 1024px) {
  .timeline-step::after {
    display: none !important;
  }
}

/* Benefit Card Hover */
.benefit-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.benefit-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px -10px rgba(185, 28, 28, 0.15);
}

/* Tab active styles */
.tab-btn.active {
  color: #B91C1C;
  border-bottom: 2px solid #B91C1C;
  font-weight: 600;
}

/* Print styling for Bukti Pendaftaran */
@media print {
  body * {
    visibility: hidden;
  }
  #printable-receipt, #printable-receipt * {
    visibility: visible;
  }
  #printable-receipt {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
  }
}

/* Radiant Glowing Light Green Header for Super Admin */
.glow-card-green {
  background: linear-gradient(135deg, #ECFDF5 0%, #D1FAE5 35%, #A7F3D0 75%, #6EE7B7 100%);
  position: relative;
  overflow: hidden;
  border: 1.5px solid #6EE7B7;
  box-shadow: 0 12px 35px -5px rgba(16, 185, 129, 0.28), 0 0 25px 2px rgba(52, 211, 153, 0.25);
}

.glow-card-green::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(52, 211, 153, 0.65) 0%, rgba(16, 185, 129, 0.15) 55%, transparent 75%);
  pointer-events: none;
  filter: blur(40px);
  border-radius: 9999px;
  animation: glow-pulse-1 6s ease-in-out infinite alternate;
}

.glow-card-green::after {
  content: '';
  position: absolute;
  bottom: -70px;
  left: 5%;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(110, 231, 183, 0.7) 0%, rgba(5, 150, 105, 0.15) 60%, transparent 80%);
  pointer-events: none;
  filter: blur(45px);
  border-radius: 9999px;
  animation: glow-pulse-2 7s ease-in-out infinite alternate;
}

@keyframes glow-pulse-1 {
  0% { transform: translate(0, 0) scale(1); opacity: 0.75; }
  100% { transform: translate(-25px, 20px) scale(1.18); opacity: 1; }
}

@keyframes glow-pulse-2 {
  0% { transform: translate(0, 0) scale(0.95); opacity: 0.65; }
  100% { transform: translate(30px, -20px) scale(1.2); opacity: 0.95; }
}
