/* Ertekaa Academy - Official Emerald Green Brand Stylesheet */

:root {
  /* Color Palette - Dark Emerald Theme (Default) */
  --bg-dark: #04120e;
  --bg-card-dark: rgba(8, 30, 22, 0.75);
  --bg-card-hover-dark: rgba(14, 45, 33, 0.88);
  --border-dark: rgba(16, 185, 129, 0.15);
  --text-main-dark: #f0fdf4;
  --text-muted-dark: #a7f3d0;

  /* Official Brand Colors: Emerald Green & Gold */
  --emerald-primary: #10b981;
  --emerald-dark: #059669;
  --emerald-glow: rgba(16, 185, 129, 0.4);
  --gold-accent: #f59e0b;
  --gold-dark: #d97706;
  --gold-glow: rgba(245, 158, 11, 0.35);
  --teal-accent: #14b8a6;
  --purple-accent: #8b5cf6;

  /* Typography & Effects */
  --font-family: 'Cairo', 'Readex Pro', system-ui, sans-serif;
  --transition-fast: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 8px;
}

/* Light Theme Overrides */
html.light {
  --bg-dark: #f8fafc;
  --bg-card-dark: #ffffff;
  --bg-card-hover-dark: #ffffff;
  --border-dark: rgba(16, 185, 129, 0.22);
  --text-main-dark: #0f172a;
  --text-muted-dark: #334155;
}

html.light .navbar-wrapper {
  background: rgba(255, 255, 255, 0.94) !important;
  border-bottom: 1px solid rgba(16, 185, 129, 0.2);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

html.light .brand-name {
  color: #064e3b !important;
}

html.light .brand-sub {
  color: #059669 !important;
}

html.light .nav-link {
  color: #1e293b !important;
}

html.light .nav-link:hover, html.light .nav-link.active {
  color: #064e3b !important;
  background: rgba(16, 185, 129, 0.16) !important;
}

html.light .btn-glass {
  background: #ffffff !important;
  color: #0f172a !important;
  border-color: rgba(16, 185, 129, 0.3) !important;
}

html.light .btn-icon {
  background: rgba(0, 0, 0, 0.05) !important;
  color: #0f172a !important;
  border-color: rgba(0, 0, 0, 0.1) !important;
}

html.light .glass-card {
  background: #ffffff !important;
  color: #0f172a !important;
  border-color: #cbd5e1 !important;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06) !important;
}

html.light .glass-card:hover {
  border-color: #10b981 !important;
  box-shadow: 0 12px 35px rgba(16, 185, 129, 0.15) !important;
}

html.light .lesson-item {
  background: #f8fafc !important;
  border-color: #cbd5e1 !important;
  color: #0f172a !important;
}

html.light .lesson-item:hover, html.light .lesson-item.active {
  background: rgba(16, 185, 129, 0.12) !important;
  border-color: #10b981 !important;
}

html.light .payment-card-option {
  background: #f8fafc !important;
  border-color: #cbd5e1 !important;
  color: #0f172a !important;
}

html.light .payment-card-option.active {
  background: rgba(16, 185, 129, 0.12) !important;
  border-color: #10b981 !important;
}

html.light .custom-file-upload {
  background: #f8fafc !important;
  border-color: #94a3b8 !important;
  color: #0f172a !important;
}

html.light .modal-card {
  background: #ffffff !important;
  color: #0f172a !important;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.18) !important;
  border-color: #cbd5e1 !important;
}

html.light .form-control {
  background: #f1f5f9 !important;
  color: #0f172a !important;
  border-color: #cbd5e1 !important;
}

html.light .footer {
  background: #f1f5f9 !important;
  border-top: 1px solid #e2e8f0 !important;
}



/* Global Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: var(--font-family);
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-main-dark);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background-color var(--transition-normal), color var(--transition-normal);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Background Glow Effects */
.bg-glow {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  filter: blur(130px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.35;
}

.bg-glow-1 {
  top: -100px;
  right: -100px;
  background: radial-gradient(circle, var(--emerald-primary), transparent);
}

.bg-glow-2 {
  top: 40%;
  left: -150px;
  background: radial-gradient(circle, var(--gold-accent), transparent);
}

.bg-glow-3 {
  bottom: 10%;
  right: -100px;
  background: radial-gradient(circle, var(--teal-accent), transparent);
}

/* Container */
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* Glassmorphism Cards */
.glass-card {
  background: var(--bg-card-dark);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  transition: transform var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.glass-card:hover {
  border-color: rgba(16, 185, 129, 0.4);
  box-shadow: 0 15px 40px rgba(16, 185, 129, 0.18);
}

/* Typography Utilities */
.gradient-text {
  background: linear-gradient(135deg, #34d399, #10b981, #f59e0b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-center { text-align: center; }
.text-emerald { color: var(--emerald-primary); }
.text-gold { color: var(--gold-accent); }
.text-teal { color: var(--teal-accent); }
.text-purple { color: var(--purple-accent); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--emerald-primary), var(--emerald-dark));
  color: #fff;
  box-shadow: 0 4px 20px var(--emerald-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px var(--emerald-glow);
  filter: brightness(1.1);
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold-accent), var(--gold-dark));
  color: #fff;
  box-shadow: 0 4px 20px var(--gold-glow);
}

.btn-gold:hover {
  transform: translateY(-2px);
  filter: brightness(1.1);
}

.btn-glass {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-main-dark);
  border: 1px solid var(--border-dark);
  backdrop-filter: blur(10px);
}

.btn-glass:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--emerald-primary);
  border: 1px solid var(--emerald-primary);
}

.btn-outline:hover {
  background: rgba(16, 185, 129, 0.12);
}

.btn-lg {
  padding: 14px 32px;
  font-size: 1.1rem;
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.875rem;
}

.btn-block {
  width: 100%;
}

.btn-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-dark);
  color: var(--text-main-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-fast);
}

.btn-icon:hover {
  background: rgba(255, 255, 255, 0.15);
  color: var(--emerald-primary);
}

/* Header & Navbar */
.navbar-wrapper {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(4, 18, 14, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-dark);
  padding: 12px 0;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-logo {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--emerald-primary);
  box-shadow: 0 0 12px var(--emerald-glow);
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-main-dark);
}

.brand-sub {
  font-size: 0.75rem;
  color: var(--emerald-primary);
  font-weight: 600;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-link {
  color: var(--text-muted-dark);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.nav-link:hover, .nav-link.active {
  color: #fff;
  background: rgba(16, 185, 129, 0.18);
  border-bottom: 2px solid var(--emerald-primary);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-main-dark);
  cursor: pointer;
}

/* Theme Icon Visibility */
html.dark .sun-icon { display: block; }
html.dark .moon-icon { display: none; }
html.light .sun-icon { display: none; }
html.light .moon-icon { display: block; }

/* Main Content Area */
main { flex-grow: 1; }

/* Page Banner (For Multi-page Pages) */
.page-banner {
  padding: 60px 0 30px;
  text-align: center;
  background: linear-gradient(180deg, rgba(16, 185, 129, 0.1), transparent);
}

.page-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-top: 10px;
}

/* Hero Section */
.hero-section {
  padding: 80px 0 60px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.35);
  border-radius: 30px;
  color: var(--emerald-primary);
  font-weight: 700;
  font-size: 0.875rem;
  margin-bottom: 20px;
}

.badge-gold {
  background: rgba(245, 158, 11, 0.15);
  border-color: rgba(245, 158, 11, 0.35);
  color: var(--gold-accent);
}

.hero-title {
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 20px;
}

.hero-desc {
  font-size: 1.15rem;
  color: var(--text-muted-dark);
  margin-bottom: 32px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--border-dark);
}

.stat-num {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--emerald-primary);
}

.stat-label {
  font-size: 0.875rem;
  color: var(--text-muted-dark);
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border-dark);
}

/* Hero Visual */
.hero-image-wrapper {
  position: relative;
  padding: 12px;
  border-radius: 24px;
}

.hero-img {
  width: 100%;
  height: 440px;
  object-fit: cover;
  border-radius: 16px;
}

.floating-badge {
  position: absolute;
  background: var(--bg-card-hover-dark);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-dark);
  padding: 12px 18px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.4);
}

.badge-top { top: 20px; right: -20px; }
.badge-bottom { bottom: 20px; left: -20px; }

.floating-badge span {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted-dark);
}

/* Features Section */
.features-section {
  padding: 40px 0 80px;
}

.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.feature-card {
  padding: 28px;
  transition: transform var(--transition-fast);
}

.feature-card:hover { transform: translateY(-6px); }

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: rgba(16, 185, 129, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.feature-card h3 { font-size: 1.2rem; margin-bottom: 10px; }
.feature-card p { color: var(--text-muted-dark); font-size: 0.925rem; }

/* Section Header */
.section-header { margin-bottom: 48px; }
.section-title { font-size: 2.2rem; font-weight: 800; margin-top: 10px; margin-bottom: 12px; }
.section-desc { color: var(--text-muted-dark); font-size: 1.05rem; }

/* Courses Cards */
.courses-section { padding: 40px 0 100px; }

.filter-tabs {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 24px;
  flex-wrap: wrap;
}

.tab-btn {
  padding: 10px 22px;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-dark);
  color: var(--text-muted-dark);
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.tab-btn:hover, .tab-btn.active {
  background: var(--emerald-primary);
  color: #fff;
  border-color: var(--emerald-primary);
  box-shadow: 0 4px 15px var(--emerald-glow);
}

.course-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.course-thumb { position: relative; height: 210px; }
.course-thumb img { width: 100%; height: 100%; object-fit: cover; }

.category-badge {
  position: absolute;
  top: 14px; right: 14px;
  background: var(--emerald-primary);
  color: #fff;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
}

.badge-purple { background: rgba(139, 92, 246, 0.9); }

.course-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.course-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.825rem;
  color: var(--text-muted-dark);
  margin-bottom: 12px;
}

.star-icon { color: var(--gold-accent); fill: var(--gold-accent); width: 14px; }
.course-title { font-size: 1.25rem; font-weight: 700; margin-bottom: 10px; }
.course-snippet { font-size: 0.9rem; color: var(--text-muted-dark); margin-bottom: 20px; flex-grow: 1; }

.instructor-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--text-muted-dark);
  padding-top: 14px;
  border-top: 1px solid var(--border-dark);
  margin-bottom: 16px;
}

.inst-avatar { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; border: 1px solid var(--emerald-primary); }
.course-footer { display: flex; gap: 10px; }

/* About Founder */
.about-section { padding: 40px 0 80px; }
.about-card { padding: 40px; }
.about-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 40px; align-items: center; }

.about-img-box { position: relative; text-align: center; }
.about-img {
  width: 100%;
  max-width: 360px;
  border-radius: 20px;
  border: 3px solid var(--emerald-primary);
  box-shadow: 0 10px 30px var(--emerald-glow);
}

.instructor-title-badge { margin-top: 16px; display: flex; flex-direction: column; }
.instructor-title-badge strong { font-size: 1.2rem; color: var(--text-main-dark); }
.instructor-title-badge span { font-size: 0.9rem; color: var(--emerald-primary); font-weight: 600; }

.about-heading { font-size: 2.1rem; margin-top: 10px; margin-bottom: 16px; }
.about-text { font-size: 1.05rem; color: var(--text-muted-dark); margin-bottom: 24px; }
.about-bullets { display: flex; flex-direction: column; gap: 16px; margin-bottom: 32px; }

.bullet-item { display: flex; gap: 12px; align-items: flex-start; }
.bullet-icon { color: var(--emerald-primary); width: 22px; height: 22px; flex-shrink: 0; margin-top: 2px; }

.about-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* Quiz Section */
.assessment-section { padding: 40px 0 80px; }
.quiz-promo-card {
  padding: 60px 40px;
  text-align: center;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.15), rgba(245, 158, 11, 0.1));
}

.quiz-promo-content h2 { font-size: 2.2rem; margin: 16px 0 12px; }
.quiz-promo-content p { color: var(--text-muted-dark); font-size: 1.1rem; max-width: 600px; margin: 0 auto 28px; }

/* Testimonials */
.testimonials-section { padding: 40px 0 80px; }
.testimonial-card { padding: 30px; }
.stars { color: var(--gold-accent); margin-bottom: 14px; font-size: 1.1rem; }
.testimonial-text { font-size: 0.95rem; color: var(--text-muted-dark); margin-bottom: 20px; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.author-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; color: #fff; font-size: 0.85rem;
  background: var(--emerald-dark);
}

.testimonial-author span { display: block; font-size: 0.775rem; color: var(--text-muted-dark); }

/* Contact Section */
.contact-section { padding: 40px 0 100px; }
.contact-info, .contact-form-card { padding: 40px; }
.contact-info h2 { font-size: 2rem; margin: 12px 0 16px; }
.contact-info p { color: var(--text-muted-dark); margin-bottom: 30px; }

.contact-methods { display: flex; flex-direction: column; gap: 20px; }
.c-method { display: flex; align-items: center; gap: 16px; }
.c-icon { width: 32px; height: 32px; flex-shrink: 0; color: var(--emerald-primary); }
.c-method a { color: var(--emerald-primary); text-decoration: none; display: block; font-size: 0.9rem; font-weight: 600; }

/* Forms */
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-weight: 600; margin-bottom: 8px; font-size: 0.9rem; }
.form-control {
  width: 100%; padding: 12px 16px; border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.06); border: 1px solid var(--border-dark);
  color: var(--text-main-dark); font-size: 0.95rem; outline: none;
  transition: border-color var(--transition-fast);
}

.form-control:focus {
  border-color: var(--emerald-primary);
  box-shadow: 0 0 12px var(--emerald-glow);
}

/* Modals */
.modal-overlay {
  position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.8); backdrop-filter: blur(8px);
  z-index: 1000; display: flex; align-items: center; justify-content: center;
  padding: 20px; opacity: 0; pointer-events: none; transition: opacity var(--transition-fast);
}

.modal-overlay.active { opacity: 1; pointer-events: auto; }
.modal-card { width: 100%; max-width: 500px; padding: 22px 26px; position: relative; max-height: 90vh; overflow-y: auto; }
.modal-close {
  position: absolute; top: 12px; left: 14px; background: none; border: none;
  color: var(--text-muted-dark); font-size: 1.6rem; cursor: pointer;
}

.modal-header { text-align: center; margin-bottom: 24px; }
.modal-icon { width: 44px; height: 44px; color: var(--emerald-primary); margin-bottom: 8px; }

/* Quiz Steps */
.curriculum-list { display: flex; flex-direction: column; gap: 14px; margin-top: 18px; }
.lesson-item {
  display: flex; align-items: center; justify-content: space-between; padding: 20px 24px;
  border-radius: var(--radius-md); background: rgba(255, 255, 255, 0.05); border: 1px solid var(--border-dark);
  transition: all var(--transition-fast); cursor: pointer; min-height: 72px; font-size: 1.05rem;
}
.lesson-item:hover, .lesson-item.active { border-color: var(--emerald-primary); background: rgba(16, 185, 129, 0.16); transform: translateY(-2px); }
.lesson-info { display: flex; align-items: center; gap: 16px; }
.lesson-num {
  width: 36px; height: 36px; border-radius: 50%; background: var(--emerald-dark); color: #fff;
  display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 0.95rem; flex-shrink: 0;
}

.quiz-options { display: flex; flex-direction: column; gap: 12px; margin-top: 20px; }
.quiz-opt {
  padding: 14px 20px; border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.06); border: 1px solid var(--border-dark);
  color: var(--text-main-dark); font-weight: 600; text-align: right; cursor: pointer;
  transition: all var(--transition-fast);
}

.quiz-opt:hover {
  border-color: var(--emerald-primary);
  background: rgba(16, 185, 129, 0.18);
}

.d-none { display: none !important; }

/* Toast */
.toast-notification {
  position: fixed; bottom: 30px; left: 30px;
  background: var(--emerald-primary); color: #fff;
  padding: 14px 24px; border-radius: var(--radius-md);
  box-shadow: 0 10px 30px rgba(0,0,0,0.3); font-weight: 600; z-index: 2000;
  opacity: 0; transform: translateY(20px); transition: all var(--transition-fast); pointer-events: none;
}

.toast-notification.active { opacity: 1; transform: translateY(0); }

/* Footer */
.footer { border-top: 1px solid var(--border-dark); padding: 40px 0; background: rgba(3, 12, 9, 0.95); margin-top: auto; }
.footer-content { display: flex; flex-direction: column; align-items: center; gap: 20px; text-align: center; }
.footer-logo { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--emerald-primary); }
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-links a { color: var(--text-muted-dark); text-decoration: none; font-weight: 500; }
.footer-links a:hover { color: var(--emerald-primary); }
.footer-copy { font-size: 0.85rem; color: var(--text-muted-dark); }

/* Media Queries */
@media (max-width: 992px) {
  .hero-grid, .about-grid, .grid-2 { grid-template-columns: 1fr; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .hero-title { font-size: 2.2rem; }
}

@media (max-width: 768px) {
  .nav-menu {
    position: fixed; top: 70px; right: -100%; width: 250px;
    height: calc(100vh - 70px); background: var(--bg-dark);
    flex-direction: column; padding: 30px; transition: right var(--transition-fast);
    border-left: 1px solid var(--border-dark);
  }

  .nav-menu.open { right: 0; }
  .menu-toggle { display: block; }
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .hero-buttons { flex-direction: column; }
}

/* Custom Payment Method Radio Cards & File Upload Styling */
.payment-options-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 8px;
}

.payment-card-option {
  position: relative;
  border: 2px solid var(--border-dark);
  background: rgba(255, 255, 255, 0.04);
  border-radius: var(--radius-md);
  padding: 10px 12px;
  cursor: pointer;
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 10px;
}

.payment-card-option:hover {
  border-color: var(--emerald-primary);
  background: rgba(16, 185, 129, 0.1);
}

.payment-card-option.active {
  border-color: var(--emerald-primary);
  background: rgba(16, 185, 129, 0.18);
  box-shadow: 0 0 15px rgba(16, 185, 129, 0.3);
}

.payment-card-option input[type="radio"] {
  display: none;
}

.pay-card-icon {
  width: 34px;
  height: 34px;
  border-radius: var(--radius-sm);
  background: rgba(16, 185, 129, 0.2);
  color: var(--emerald-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1rem;
  flex-shrink: 0;
}

.payment-card-option.instapay .pay-card-icon {
  background: rgba(245, 158, 11, 0.2);
  color: var(--gold-accent);
}

.pay-card-text strong {
  display: block;
  font-size: 0.88rem;
  color: var(--text-main-dark);
}

.pay-card-text span {
  font-size: 0.72rem;
  color: var(--text-muted-dark);
}

/* Custom File Upload Box */
.custom-file-upload {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 14px 16px;
  border: 2px dashed var(--emerald-primary);
  border-radius: var(--radius-md);
  background: rgba(16, 185, 129, 0.05);
  cursor: pointer;
  transition: all var(--transition-fast);
  text-align: center;
  margin-top: 4px;
}

.custom-file-upload:hover {
  border-color: var(--gold-accent);
  background: rgba(245, 158, 11, 0.08);
}

.custom-file-upload input[type="file"] {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.file-upload-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  color: var(--text-muted-dark);
}

.file-upload-content i {
  color: var(--emerald-primary);
  width: 24px;
  height: 24px;
}

.file-upload-content strong {
  color: var(--text-main-dark);
  font-size: 0.85rem;
}


select.form-control option {
  background-color: #04120e !important;
  color: #f0fdf4 !important;
  padding: 12px;
}

