﻿/* ═══════════════════════════════════════════════════════════════
   BAYRAM-FEST · Taiba Moschee · Stylesheet
   Farben: Dunkelgrün · Gold · Weiss · Beige
   ═══════════════════════════════════════════════════════════════ */

/* ─── Variables ─────────────────────────────────────────────── */
:root {
  --green-dark:   #1b4332;
  --green-med:    #2d6a4f;
  --green-light:  #40916c;
  --gold-dark:    #92680a;
  --gold:         #c9a227;
  --gold-light:   #d4af37;
  --gold-bright:  #f0c840;
  --white:        #ffffff;
  --beige-light:  #faf6f0;
  --beige-med:    #f0e8d8;
  --beige-dark:   #e2d4bc;
  --text-dark:    #1a1a1a;
  --text-med:     #444444;
  --text-light:   #777777;
  --shadow-sm:    0 2px 8px rgba(0,0,0,0.08);
  --shadow-md:    0 4px 20px rgba(0,0,0,0.12);
  --shadow-lg:    0 8px 40px rgba(0,0,0,0.16);
  --radius-sm:    8px;
  --radius-md:    14px;
  --radius-lg:    20px;
  --radius-xl:    28px;
  --transition:   0.2s ease;
}

/* ─── Reset & Base ──────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--beige-light);
  color: var(--text-dark);
  line-height: 1.6;
  min-height: 100vh;
}

/* Islamic geometric background pattern */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80'%3E%3Cpath d='M40 4 L46 22 L64 16 L54 32 L72 40 L54 48 L64 64 L46 58 L40 76 L34 58 L16 64 L26 48 L8 40 L26 32 L16 16 L34 22 Z' fill='none' stroke='%23c9a227' stroke-width='0.6' opacity='0.07'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: -1;
}

a { color: var(--green-dark); text-decoration: none; }
a:hover { color: var(--gold); }
img { max-width: 100%; }

/* ─── Typography ────────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: 'Noto Serif', Georgia, serif;
  font-weight: 700;
  line-height: 1.3;
  color: var(--text-dark);
}
h1 { font-size: clamp(1.8rem, 5vw, 2.8rem); }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.4rem); }

/* ─── Layout ────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
}
.container-narrow { max-width: 720px; }

.section {
  padding: 64px 0;
}
.bg-beige   { background: var(--beige-light); }
.bg-white   { background: var(--white); }
.bg-green   { background: var(--green-dark); }
.bg-gold-gradient {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
}
.text-center { text-align: center; }
.text-white  { color: var(--white) !important; }
.text-white-soft { color: rgba(255,255,255,0.85) !important; }

/* ─── Navbar ────────────────────────────────────────────────── */
.navbar {
  background: var(--green-dark);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 12px rgba(0,0,0,0.25);
}
.nav-container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  text-decoration: none;
}
.nav-crescent { font-size: 22px; }
.nav-title {
  font-family: 'Noto Serif', serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gold-light);
}
.nav-mosque {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.65);
  display: none;
}
@media (min-width: 480px) { .nav-mosque { display: block; } }

.nav-links {
  display: none;
  gap: 8px;
  align-items: center;
}
@media (min-width: 640px) { .nav-links { display: flex; } }

.nav-link {
  color: rgba(255,255,255,0.85);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
  transition: var(--transition);
}
.nav-link:hover, .nav-link.active { background: rgba(255,255,255,0.12); color: var(--white); }
.nav-link-cta {
  background: var(--gold);
  color: var(--green-dark) !important;
  font-weight: 700;
}
.nav-link-cta:hover { background: var(--gold-bright); }
.nav-link-logout { color: rgba(255,100,100,0.85) !important; }

.nav-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
@media (min-width: 640px) { .nav-toggle { display: none; } }

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

.nav-mobile {
  display: none;
  background: var(--green-med);
  padding: 8px;
}
.nav-mobile.open { display: flex; flex-direction: column; }
.nav-mobile-link {
  color: rgba(255,255,255,0.9);
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-weight: 500;
  transition: var(--transition);
}
.nav-mobile-link:hover { background: rgba(255,255,255,0.1); color: white; }
.nav-mobile-cta {
  background: var(--gold);
  color: var(--green-dark) !important;
  font-weight: 700;
  text-align: center;
  margin: 4px 0;
}

/* ─── Buttons ───────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 600;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
}
.btn-lg  { padding: 14px 32px; font-size: 1rem; }
.btn-xl  { padding: 16px 40px; font-size: 1.05rem; }
.btn-sm  { padding: 7px 16px; font-size: 0.85rem; }
.btn-full { width: 100%; }

.btn-green {
  background: var(--green-dark);
  color: var(--white);
  border-color: var(--green-dark);
}
.btn-green:hover {
  background: var(--green-med);
  border-color: var(--green-med);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-gold {
  background: var(--gold);
  color: var(--green-dark);
  border-color: var(--gold);
  font-weight: 700;
}
.btn-gold:hover {
  background: var(--gold-bright);
  border-color: var(--gold-bright);
  color: var(--green-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-outline-green {
  background: transparent;
  color: var(--green-dark);
  border-color: var(--green-dark);
}
.btn-outline-green:hover {
  background: var(--green-dark);
  color: var(--white);
}

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.8);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,0.15);
  color: var(--white);
}

.btn-whatsapp {
  background: #25d366;
  color: white;
  border-color: #25d366;
}
.btn-whatsapp:hover { background: #1da851; border-color: #1da851; color: white; }

.btn-danger { background: #dc2626; color: white; border-color: #dc2626; }
.btn-danger:hover { background: #b91c1c; color: white; }

.btn-submit {
  width: 100%;
  padding: 18px;
  font-size: 1.1rem;
}

/* ─── HERO ──────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100svh;
  background: linear-gradient(160deg, #0d2b1e 0%, var(--green-dark) 40%, #2d6a4f 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 80px 20px 60px;
}

.hero-pattern {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100'%3E%3Cpath d='M50 5 L58 28 L82 20 L68 40 L90 50 L68 60 L82 80 L58 72 L50 95 L42 72 L18 80 L32 60 L10 50 L32 40 L18 20 L42 28 Z' fill='none' stroke='%23c9a227' stroke-width='0.8' opacity='0.1'/%3E%3C/svg%3E");
  pointer-events: none;
}

.hero-mosque-art {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(600px, 90vw);
  opacity: 0.6;
  pointer-events: none;
}
.mosque-svg { width: 100%; }

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 720px;
  width: 100%;
}

.hero-badge {
  display: inline-block;
  background: rgba(201,162,39,0.2);
  border: 1px solid rgba(201,162,39,0.5);
  color: var(--gold-light);
  padding: 6px 20px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-bottom: 20px;
  backdrop-filter: blur(4px);
}

.hero-title {
  font-family: 'Noto Serif', serif;
  font-size: clamp(2rem, 6vw, 3.5rem);
  color: var(--white);
  text-shadow: 0 2px 20px rgba(0,0,0,0.4);
  margin-bottom: 16px;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: rgba(255,255,255,0.85);
  margin-bottom: 32px;
}

.hero-details {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 36px;
}

.hero-detail-item {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50px;
  padding: 8px 18px;
  color: var(--white);
  font-size: 0.9rem;
}
.hero-detail-icon { font-size: 1rem; }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin-bottom: 20px;
}

.hero-note {
  color: rgba(255,255,255,0.65);
  font-size: 0.85rem;
}

.hero-scroll-hint {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.4);
  font-size: 1.4rem;
  animation: bounce 2s infinite;
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ─── Section Headers ───────────────────────────────────────── */
.section-header {
  text-align: center;
  margin-bottom: 48px;
}
.section-header h2 { margin-bottom: 12px; }
.section-header p { color: var(--text-med); font-size: 1.05rem; max-width: 560px; margin: 0 auto; }
.section-header-light h2 { color: var(--white); }
.section-header-light p { color: rgba(255,255,255,0.8); }
.ornament { font-size: 2rem; color: var(--gold); margin-bottom: 12px; display: block; }
.ornament-light { color: rgba(201,162,39,0.8); }

/* ─── Info Grid ─────────────────────────────────────────────── */
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.info-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  border-left: 4px solid var(--green-light);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.info-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.info-card-gold { border-left-color: var(--gold); }

.info-card-icon { font-size: 2.5rem; margin-bottom: 16px; }
.info-card h3 { margin-bottom: 10px; font-size: 1.15rem; }
.info-card p { color: var(--text-med); font-size: 0.95rem; line-height: 1.6; }
.info-card-tag {
  display: inline-block;
  margin-top: 14px;
  background: var(--beige-med);
  color: var(--green-dark);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 50px;
}

/* ─── Children Section ──────────────────────────────────────── */
.children-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
@media (max-width: 768px) {
  .children-section { grid-template-columns: 1fr; }
}

.children-emoji-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.children-emoji-item {
  background: var(--beige-med);
  border-radius: var(--radius-md);
  padding: 24px 16px;
  text-align: center;
  border: 2px solid var(--beige-dark);
  transition: var(--transition);
}
.children-emoji-item:hover { border-color: var(--gold); background: white; }
.children-emoji-item span:first-child { display: block; font-size: 2.5rem; margin-bottom: 8px; }
.children-emoji-item span:last-child { font-size: 0.9rem; font-weight: 600; color: var(--text-med); }

.children-info h3 { margin-bottom: 20px; color: var(--green-dark); }

.children-list {
  list-style: none;
  margin-bottom: 24px;
}
.children-list li {
  padding: 8px 0;
  border-bottom: 1px solid var(--beige-dark);
  color: var(--text-med);
  font-size: 0.95rem;
}
.children-list li::before { content: ''; }

.children-price-note {
  background: var(--green-dark);
  color: var(--white);
  padding: 14px 20px;
  border-radius: var(--radius-md);
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.children-price-note strong { font-size: 1.1rem; color: var(--gold-light); }
.children-price-note span { font-size: 0.85rem; opacity: 0.8; }

/* ─── Prices Grid ───────────────────────────────────────────── */
.prices-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-bottom: 28px;
}

.price-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 28px 20px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 2px solid transparent;
  transition: var(--transition);
  position: relative;
}
.price-card:hover { box-shadow: var(--shadow-md); border-color: var(--gold); transform: translateY(-3px); }

.price-card-featured {
  border-color: var(--gold);
  background: linear-gradient(135deg, white 0%, #fdf9f0 100%);
}
.price-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: var(--green-dark);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 14px;
  border-radius: 50px;
  white-space: nowrap;
}
.price-icon { font-size: 2rem; margin-bottom: 12px; }
.price-card h3 { margin-bottom: 10px; font-size: 1rem; }
.price-card p { color: var(--text-light); font-size: 0.85rem; }
.price-includes { color: var(--green-light) !important; font-size: 0.78rem !important; font-weight: 600; }

.price-amount {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
  margin: 12px 0;
}
.price-currency { font-size: 0.9rem; color: var(--text-med); font-weight: 500; }
.price-number { font-size: 2.8rem; font-weight: 800; color: var(--green-dark); line-height: 1; }
.price-amount-free { display: block; }
.price-free-text { font-size: 1.4rem; font-weight: 700; color: var(--gold); }

.payment-note {
  background: var(--white);
  border: 2px solid var(--beige-dark);
  border-radius: var(--radius-md);
  padding: 16px 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-med);
  font-size: 0.95rem;
}

/* ─── Donate Section ────────────────────────────────────────── */
.donate-card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(201,162,39,0.4);
  border-radius: var(--radius-lg);
  padding: 40px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
  backdrop-filter: blur(4px);
}
@media (max-width: 640px) {
  .donate-card { grid-template-columns: 1fr; }
}

.donate-info h3 { color: var(--gold-light); margin-bottom: 12px; font-size: 1.4rem; }
.donate-info p { color: rgba(255,255,255,0.85); margin-bottom: 24px; }

.donate-method { display: flex; flex-direction: column; gap: 12px; }
.donate-method-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: rgba(255,255,255,0.08);
  border-radius: var(--radius-sm);
  color: rgba(255,255,255,0.9);
  font-size: 0.95rem;
}
.donate-method-item strong { color: var(--gold-light); min-width: 70px; }
.donate-link { color: var(--gold-light); text-decoration: underline; }

.donate-qr { text-align: center; }
.qr-image {
  width: 180px;
  height: 180px;
  object-fit: contain;
  background: #fff;
  border-radius: var(--radius-md);
  padding: 8px;
  display: block;
  margin: 0 auto 12px;
}
.qr-caption { color: rgba(255,255,255,0.6); font-size: 0.8rem; }

/* ─── Walk-In Card ──────────────────────────────────────────── */
.walk-in-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  display: flex;
  align-items: center;
  gap: 28px;
  box-shadow: var(--shadow-sm);
  border: 2px solid var(--beige-dark);
}
@media (max-width: 640px) {
  .walk-in-card { flex-direction: column; text-align: center; }
}
.walk-in-icon { font-size: 3rem; flex-shrink: 0; }
.walk-in-content { flex: 1; }
.walk-in-content h3 { color: var(--green-dark); margin-bottom: 10px; }
.walk-in-content p { color: var(--text-med); }
.walk-in-note { font-style: italic; font-size: 0.9rem; color: var(--text-light); margin-top: 8px; }

/* ─── CTA Section ───────────────────────────────────────────── */
.cta-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: var(--green-dark);
  margin-bottom: 12px;
}
.cta-subtitle { font-size: 1.1rem; color: var(--green-dark); margin-bottom: 32px; opacity: 0.8; }
.cta-note { margin-top: 16px; font-size: 0.85rem; color: rgba(27,67,50,0.7); }

/* ─── Page Header ───────────────────────────────────────────── */
.page-header {
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--green-med) 100%);
  padding: 48px 20px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60'%3E%3Cpath d='M30 3 L35 17 L49 12 L41 24 L54 30 L41 36 L49 48 L35 43 L30 57 L25 43 L11 48 L19 36 L6 30 L19 24 L11 12 L25 17 Z' fill='none' stroke='%23c9a227' stroke-width='0.5' opacity='0.15'/%3E%3C/svg%3E");
}
.page-header > * { position: relative; z-index: 1; }
.page-header-badge { font-size: 2.5rem; margin-bottom: 12px; }
.page-header h1 { color: var(--white); margin-bottom: 8px; }
.page-header p { color: rgba(255,255,255,0.8); font-size: 1.05rem; }

/* ─── Alerts ────────────────────────────────────────────────── */
.alert {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 20px;
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
  font-size: 0.95rem;
}
.alert-error { background: #fef2f2; border: 1px solid #fecaca; color: #991b1b; }
.alert-success { background: #f0fdf4; border: 1px solid #bbf7d0; color: #166534; }
.alert-icon { font-size: 1.1rem; flex-shrink: 0; }

/* ─── Forms ─────────────────────────────────────────────────── */
.form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--beige-dark);
}
@media (max-width: 640px) { .form-card { padding: 24px 20px; } }

.form-section {
  padding: 28px 0;
  border-bottom: 1px solid var(--beige-dark);
}
.form-section:last-of-type { border-bottom: none; }

.form-section-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.1rem;
  margin-bottom: 20px;
  color: var(--green-dark);
  font-family: 'Inter', sans-serif;
  font-weight: 600;
}
.form-section-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: var(--green-dark);
  color: var(--white);
  border-radius: 50%;
  font-size: 0.85rem;
  font-weight: 700;
  flex-shrink: 0;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }

.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-label { font-size: 0.9rem; font-weight: 600; color: var(--text-dark); }
.required { color: #dc2626; }
.optional { font-weight: 400; color: var(--text-light); font-size: 0.85rem; }

.form-input {
  padding: 13px 16px;
  border: 2px solid var(--beige-dark);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-family: inherit;
  color: var(--text-dark);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  width: 100%;
}
.form-input:focus {
  outline: none;
  border-color: var(--green-light);
  box-shadow: 0 0 0 3px rgba(64,145,108,0.12);
}
.form-textarea {
  padding: 13px 16px;
  border: 2px solid var(--beige-dark);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-family: inherit;
  resize: vertical;
  width: 100%;
  transition: border-color var(--transition);
}
.form-textarea:focus { outline: none; border-color: var(--green-light); box-shadow: 0 0 0 3px rgba(64,145,108,0.12); }
.form-hint { font-size: 0.8rem; color: var(--text-light); }

/* Number Input */
.number-input-wrap {
  display: flex;
  align-items: center;
  border: 2px solid var(--beige-dark);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.number-btn {
  background: var(--beige-med);
  border: none;
  padding: 12px 16px;
  font-size: 1.2rem;
  cursor: pointer;
  color: var(--green-dark);
  font-weight: 700;
  transition: background var(--transition);
  flex-shrink: 0;
}
.number-btn:hover { background: var(--green-dark); color: var(--white); }
.number-input {
  border: none !important;
  border-radius: 0 !important;
  text-align: center;
  box-shadow: none !important;
  flex: 1;
  min-width: 0;
}
.number-input:focus { box-shadow: none !important; }

/* Package Grid */
.package-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}
@media (min-width: 640px) { .package-grid { grid-template-columns: repeat(4, 1fr); } }
.package-grid-sm { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 640px) { .package-grid-sm { grid-template-columns: repeat(4, 1fr); } }

.package-option {
  cursor: pointer;
  position: relative;
}
.package-option input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
.package-inner {
  border: 2px solid var(--beige-dark);
  border-radius: var(--radius-md);
  padding: 16px 12px;
  text-align: center;
  transition: all var(--transition);
  background: var(--white);
  height: 100%;
}
.package-option:hover .package-inner { border-color: var(--green-light); background: var(--beige-light); }
.package-option.selected .package-inner {
  border-color: var(--green-dark);
  background: linear-gradient(135deg, #e8f4ec 0%, #f0fdf4 100%);
  box-shadow: 0 0 0 3px rgba(27,67,50,0.12);
}
.package-icon { font-size: 1.8rem; margin-bottom: 8px; }
.package-name { font-weight: 700; font-size: 0.9rem; color: var(--green-dark); margin-bottom: 4px; }
.package-price { font-size: 1rem; font-weight: 800; color: var(--gold-dark); margin-bottom: 4px; }
.package-desc { font-size: 0.78rem; color: var(--text-light); }
.package-recommended { font-size: 0.72rem; color: var(--gold-dark); font-weight: 700; margin-top: 4px; }

/* Donation Input */
.donation-input-wrap {
  background: var(--beige-light);
  border-radius: var(--radius-md);
  padding: 20px;
  border: 1px solid var(--beige-dark);
  margin-top: 8px;
}
.donation-input-inner {
  display: flex;
  align-items: center;
  border: 2px solid var(--beige-dark);
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin: 10px 0 6px;
  background: var(--white);
}
.donation-currency {
  padding: 0 14px;
  font-weight: 700;
  color: var(--text-med);
  background: var(--beige-med);
  height: 100%;
  display: flex;
  align-items: center;
  border-right: 2px solid var(--beige-dark);
}
.donation-input {
  border: none !important;
  box-shadow: none !important;
  flex: 1;
}
.donation-note { font-size: 0.8rem; color: var(--green-light); font-weight: 500; }

/* Price Summary */
.form-price-summary {
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--green-med) 100%);
  border-radius: var(--radius-md);
  padding: 16px 24px;
  margin-bottom: 24px;
  color: var(--white);
}
.price-summary-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
}
.price-summary-amount {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--gold-light);
}
.price-summary-detail {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
  margin-top: 4px;
}

/* Checkbox */
.checkbox-group { display: flex; flex-direction: column; gap: 14px; }
.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  font-size: 0.95rem;
  color: var(--text-med);
}
.checkbox-label input[type="checkbox"] { display: none; }
.checkbox-custom {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border: 2px solid var(--beige-dark);
  border-radius: 5px;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  margin-top: 2px;
}
.checkbox-label input:checked + .checkbox-custom {
  background: var(--green-dark);
  border-color: var(--green-dark);
}
.checkbox-label input:checked + .checkbox-custom::after {
  content: '✓';
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 700;
}
.privacy-note {
  margin-top: 14px;
  font-size: 0.82rem;
  color: var(--text-light);
  padding: 10px 16px;
  background: var(--beige-med);
  border-radius: var(--radius-sm);
}

/* Form Submit Area */
.form-submit-area {
  padding-top: 28px;
  text-align: center;
}
.form-total-box {
  background: var(--beige-med);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-bottom: 20px;
}
.form-total-label { font-size: 0.85rem; color: var(--text-light); font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; }
.form-total-amount { font-size: 2.2rem; font-weight: 800; color: var(--green-dark); margin: 8px 0; }
.form-total-note { font-size: 0.85rem; color: var(--text-med); }
.form-submit-note { margin-top: 12px; font-size: 0.82rem; color: var(--text-light); }

/* ─── Confirmation ──────────────────────────────────────────── */
.confirm-success {
  text-align: center;
  padding: 40px 20px 32px;
}
.confirm-checkmark {
  width: 72px;
  height: 72px;
  background: var(--green-dark);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 700;
  margin: 0 auto 20px;
  box-shadow: 0 4px 20px rgba(27,67,50,0.3);
}
.confirm-success h1 { color: var(--green-dark); margin-bottom: 10px; }
.confirm-success p { color: var(--text-med); font-size: 1.05rem; }

.confirm-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 2px solid var(--beige-dark);
  overflow: hidden;
  margin-bottom: 28px;
}
.confirm-card-header {
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--green-med) 100%);
  padding: 28px;
  text-align: center;
  position: relative;
}
.confirm-card-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60'%3E%3Cpath d='M30 3 L35 17 L49 12 L41 24 L54 30 L41 36 L49 48 L35 43 L30 57 L25 43 L11 48 L19 36 L6 30 L19 24 L11 12 L25 17 Z' fill='none' stroke='%23c9a227' stroke-width='0.5' opacity='0.2'/%3E%3C/svg%3E");
}
.confirm-badge {
  display: inline-block;
  background: rgba(201,162,39,0.2);
  border: 1px solid rgba(201,162,39,0.5);
  color: var(--gold-light);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 4px 14px;
  border-radius: 50px;
  margin-bottom: 10px;
  position: relative;
}
.confirm-number {
  font-family: 'Noto Serif', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--white);
  position: relative;
  text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}
.confirm-mosque {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
  position: relative;
  margin-top: 6px;
}

.confirm-card-body { padding: 28px; }

.confirm-details-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 20px;
}
@media (max-width: 480px) { .confirm-details-grid { grid-template-columns: 1fr; } }

.confirm-detail {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px;
  background: var(--beige-light);
  border-radius: var(--radius-sm);
}
.confirm-detail-icon { font-size: 1.2rem; flex-shrink: 0; }
.confirm-detail-label { font-size: 0.75rem; color: var(--text-light); font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; }
.confirm-detail-value { font-size: 0.95rem; font-weight: 600; color: var(--text-dark); margin-top: 2px; }

.confirm-remark {
  background: var(--beige-med);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-size: 0.9rem;
  color: var(--text-med);
  margin-bottom: 20px;
}
.confirm-remark span { font-weight: 600; }

.confirm-total-box {
  background: var(--green-dark);
  border-radius: var(--radius-md);
  padding: 20px;
  color: var(--white);
}
.confirm-total-breakdown { border-bottom: 1px solid rgba(255,255,255,0.15); padding-bottom: 12px; margin-bottom: 12px; }
.confirm-total-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.8);
  padding: 4px 0;
}
.confirm-total-final {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--gold-light);
}
.confirm-payment-note {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.65);
  margin-top: 10px;
  text-align: center;
}

.confirm-qr-section {
  padding: 24px;
  text-align: center;
  border-top: 1px solid var(--beige-dark);
  background: var(--beige-light);
}
.confirm-qr-section p { color: var(--text-med); font-size: 0.9rem; margin-bottom: 12px; }
.confirm-qr-img {
  border: 3px solid var(--green-dark);
  border-radius: var(--radius-sm);
  padding: 6px;
  background: white;
}
.confirm-qr-number {
  font-family: 'Noto Serif', serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--green-dark);
  margin-top: 10px !important;
  margin-bottom: 0 !important;
}

.confirm-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 24px;
}

.confirm-notes {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  border: 1px solid var(--beige-dark);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.confirm-note-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--text-med);
}

/* Toast */
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--green-dark);
  color: var(--white);
  padding: 12px 24px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  transition: all 0.3s ease;
  z-index: 9999;
  white-space: nowrap;
}
.toast-show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ─── Error Page ────────────────────────────────────────────── */
.error-page { padding: 60px 20px; text-align: center; }
.error-icon { font-size: 4rem; margin-bottom: 20px; }
.error-title { color: var(--green-dark); margin-bottom: 12px; }
.error-message { color: var(--text-med); font-size: 1.05rem; margin-bottom: 32px; }
.error-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ─── Footer ────────────────────────────────────────────────── */
.footer {
  background: var(--green-dark);
  color: rgba(255,255,255,0.85);
  padding: 40px 0 24px;
  margin-top: 0;
  position: relative;
  overflow: hidden;
}
.footer-pattern {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60'%3E%3Cpath d='M30 3 L35 17 L49 12 L41 24 L54 30 L41 36 L49 48 L35 43 L30 57 L25 43 L11 48 L19 36 L6 30 L19 24 L11 12 L25 17 Z' fill='none' stroke='%23c9a227' stroke-width='0.5' opacity='0.08'/%3E%3C/svg%3E");
  pointer-events: none;
}
.footer-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  position: relative;
}
.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-crescent { font-size: 2rem; }
.footer-name { font-family: 'Noto Serif', serif; font-size: 1.1rem; font-weight: 700; color: var(--gold-light); }
.footer-mosque { font-size: 0.82rem; color: rgba(255,255,255,0.6); }
.footer-text p { font-size: 0.88rem; color: rgba(255,255,255,0.7); padding: 2px 0; }
.footer-langs { display: flex; gap: 8px; }
.footer-lang {
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 0.75rem;
  text-decoration: none;
  font-weight: 700;
  border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.5);
  cursor: pointer;
  transition: var(--transition);
}
.footer-lang:hover { color: rgba(255,255,255,0.85); border-color: rgba(255,255,255,0.3); }
.footer-lang.active { background: rgba(201,162,39,0.2); border-color: rgba(201,162,39,0.5); color: var(--gold-light); }
.footer-bottom {
  display: flex;
  gap: 12px;
  align-items: center;
  padding-top: 20px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.45);
  position: relative;
}
.footer-divider { opacity: 0.4; }
.footer-admin-link { color: rgba(255,255,255,0.35); transition: color var(--transition); }
.footer-admin-link:hover { color: rgba(255,255,255,0.65); }

/* ─── Admin Layout ──────────────────────────────────────────── */
.admin-login-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: linear-gradient(135deg, #0d2b1e 0%, var(--green-dark) 100%);
}
.admin-login-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  width: 100%;
  max-width: 420px;
  box-shadow: var(--shadow-lg);
}
.admin-login-logo {
  text-align: center;
  margin-bottom: 32px;
}
.admin-login-crescent { font-size: 3rem; display: block; margin-bottom: 12px; }
.admin-login-logo h1 { color: var(--green-dark); font-size: 1.6rem; margin-bottom: 4px; }
.admin-login-logo p { color: var(--text-light); font-size: 0.9rem; }
.admin-login-form { display: flex; flex-direction: column; gap: 20px; }
.admin-login-back { text-align: center; margin-top: 20px; font-size: 0.9rem; }

.admin-layout {
  display: flex;
  min-height: calc(100vh - 64px);
}

.admin-sidebar {
  width: 220px;
  background: var(--green-dark);
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 64px;
  height: calc(100vh - 64px);
  overflow-y: auto;
}
@media (max-width: 768px) { .admin-sidebar { display: none; } }

/* ─── Admin Mobile Bottom-Nav ─────────────────────────────── */
.admin-mobile-nav {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--green-dark);
  border-top: 1px solid rgba(255,255,255,0.12);
  z-index: 200;
  padding: 0;
}
.admin-mobile-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding: 8px 4px;
  color: rgba(255,255,255,0.7);
  font-size: 0.65rem;
  font-weight: 500;
  flex: 1;
  text-align: center;
  transition: color 0.15s;
}
.admin-mobile-nav-item span:first-child { font-size: 1.3rem; line-height: 1; }
.admin-mobile-nav-item.active { color: var(--gold-light); }
.admin-mobile-nav-item:hover  { color: var(--white); }
@media (max-width: 768px) {
  .admin-layout { display: block; }
  .admin-mobile-nav { display: flex; }
  .admin-main { width: 100%; padding-bottom: 80px; }
}

.sidebar-logo {
  padding: 20px 16px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.1rem;
  color: var(--gold-light);
  font-weight: 700;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.sidebar-nav { padding: 12px 8px; flex: 1; }
.sidebar-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  color: rgba(255,255,255,0.8);
  font-size: 0.9rem;
  font-weight: 500;
  transition: var(--transition);
  margin-bottom: 2px;
}
.sidebar-link:hover { background: rgba(255,255,255,0.1); color: var(--white); }
.sidebar-link.active { background: rgba(201,162,39,0.2); color: var(--gold-light); }
.sidebar-bottom { padding: 8px; border-top: 1px solid rgba(255,255,255,0.1); }
.sidebar-logout { color: rgba(255,100,100,0.8) !important; }

.admin-main {
  flex: 1;
  padding: 32px;
  min-width: 0;
  max-width: 100%;
}
@media (max-width: 640px) { .admin-main { padding: 16px; } }

.admin-page-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}
.admin-page-header h1 { margin: 0; font-size: 1.6rem; }
.admin-page-header p { color: var(--text-light); font-size: 0.9rem; margin: 4px 0 0; }
.admin-header-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* Stats */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}
.stat-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 20px 18px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border-top: 3px solid transparent;
}
.stat-card-green  { border-top-color: var(--green-dark); }
.stat-card-gold   { border-top-color: var(--gold); }
.stat-card-blue   { border-top-color: #3b82f6; }
.stat-card-orange { border-top-color: #f97316; }
.stat-card-purple { border-top-color: #8b5cf6; }
.stat-card-red    { border-top-color: #ef4444; }
.stat-icon { font-size: 1.6rem; margin-bottom: 8px; }
.stat-number { font-size: 1.8rem; font-weight: 800; color: var(--green-dark); line-height: 1.1; }
.stat-label { font-size: 0.78rem; color: var(--text-light); font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; margin-top: 6px; }

.admin-two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 24px; }
@media (max-width: 768px) { .admin-two-col { grid-template-columns: 1fr; } }

.admin-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 24px;
}
.admin-card h3 { margin-bottom: 16px; font-size: 1rem; color: var(--green-dark); font-family: 'Inter', sans-serif; font-weight: 700; }
.admin-card-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.admin-card-header h3 { margin: 0; }

/* Status */
.status-breakdown { display: flex; flex-direction: column; gap: 10px; }
.status-item { display: flex; align-items: center; gap: 10px; font-size: 0.9rem; }
.status-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
  background: var(--text-light);
}
.status-open { background: #f59e0b; }
.status-paid { background: #10b981; }
.status-registered { background: #3b82f6; }
.status-appeared { background: #10b981; }
.status-missing { background: #ef4444; }
.status-count { margin-left: auto; font-weight: 700; color: var(--text-dark); }

/* Table */
.table-wrap { overflow-x: auto; border-radius: var(--radius-sm); }
.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}
.admin-table-full { min-width: 900px; }
.admin-table th {
  background: var(--green-dark);
  color: var(--white);
  padding: 10px 12px;
  text-align: left;
  font-weight: 600;
  font-size: 0.8rem;
  white-space: nowrap;
}
.admin-table td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--beige-dark);
  vertical-align: top;
}
.admin-table tbody tr:hover td { background: var(--beige-light); }
.row-appeared td { background: #f0fdf4; }
.row-remark td { padding: 4px 12px 12px; background: transparent !important; }
.remark-icon { margin-right: 4px; }
.remark-text { font-size: 0.82rem; color: var(--text-light); font-style: italic; }
.table-footer td { background: var(--beige-med); font-size: 0.85rem; }

.table-link { color: var(--green-dark); font-weight: 600; text-decoration: underline; text-decoration-color: transparent; }
.table-link:hover { text-decoration-color: var(--green-dark); }
.td-number { white-space: nowrap; }
.td-name { font-weight: 500; }
.td-center { text-align: center; }
.td-amount { text-align: right; font-weight: 600; white-space: nowrap; }
.td-date { white-space: nowrap; color: var(--text-light); font-size: 0.82rem; }
.td-actions { display: flex; gap: 6px; align-items: center; }

.status-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
}
.status-badge.status-open { background: #fef3c7; color: #92400e; }
.status-badge.status-paid_onsite { background: #d1fae5; color: #065f46; }
.status-badge.status-paid_twint { background: #dbeafe; color: #1e40af; }

.status-select {
  border: 1px solid var(--beige-dark);
  border-radius: var(--radius-sm);
  padding: 4px 8px;
  font-size: 0.8rem;
  cursor: pointer;
  background: white;
  color: var(--text-dark);
}
.status-select.status-open { background: #fef3c7; border-color: #f59e0b; }
.status-select.status-paid_onsite { background: #d1fae5; border-color: #10b981; }
.status-select.status-paid_twint { background: #dbeafe; border-color: #3b82f6; }
.status-select.status-attend-appeared { background: #d1fae5; border-color: #10b981; }
.status-select.status-attend-not_appeared { background: #fee2e2; border-color: #ef4444; }

.action-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px 6px;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  transition: background var(--transition);
}
.action-btn:hover { background: var(--beige-med); }
.action-edit:hover { background: #dbeafe; }
.action-delete:hover { background: #fee2e2; }

.inline-form { display: inline; }
.ml-auto { margin-left: auto; }

/* Filter */
.filter-form {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
}
.filter-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.filter-search {
  position: relative;
  flex: 1;
  min-width: 220px;
}
.filter-search-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-light);
}
.filter-input {
  width: 100%;
  padding: 10px 14px 10px 36px;
  border: 2px solid var(--beige-dark);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
}
.filter-input:focus { outline: none; border-color: var(--green-light); }
.filter-select {
  padding: 10px 14px;
  border: 2px solid var(--beige-dark);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  background: white;
  min-width: 150px;
}
.filter-select:focus { outline: none; border-color: var(--green-light); }

.results-count { font-size: 0.9rem; color: var(--text-light); margin-bottom: 14px; }
.empty-state { text-align: center; color: var(--text-light); padding: 20px; }
.empty-state-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 48px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.empty-icon { font-size: 3rem; margin-bottom: 16px; }

/* Admin quick links */
.admin-quick-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}
.quick-link {
  background: var(--white);
  border: 2px solid var(--beige-dark);
  border-radius: var(--radius-sm);
  padding: 12px 20px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--green-dark);
  transition: var(--transition);
}
.quick-link:hover { border-color: var(--green-dark); background: var(--beige-light); color: var(--green-dark); }

/* Settings */
.settings-form { display: flex; flex-direction: column; gap: 24px; }
.price-input-wrap {
  display: flex;
  align-items: center;
  border: 2px solid var(--beige-dark);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.price-input-prefix {
  padding: 0 12px;
  background: var(--beige-med);
  font-weight: 700;
  color: var(--text-med);
  height: 100%;
  display: flex;
  align-items: center;
  border-right: 2px solid var(--beige-dark);
  font-size: 0.9rem;
}
.price-input { border: none !important; box-shadow: none !important; }

.form-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  padding-top: 12px;
}

/* Edit page */
.edit-reservation-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--beige-dark);
}
.edit-res-number { font-family: 'Noto Serif', serif; font-size: 1.3rem; font-weight: 700; color: var(--green-dark); }
.edit-res-date { font-size: 0.85rem; color: var(--text-light); }
.admin-total-display {
  padding: 13px 16px;
  background: var(--beige-med);
  border-radius: var(--radius-sm);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--green-dark);
  border: 2px solid var(--beige-dark);
}

/* ─── Sprachumschalter ──────────────────────────────────────── */
.lang-switcher {
  display: flex;
  gap: 4px;
  align-items: center;
  background: rgba(255,255,255,0.08);
  border-radius: 50px;
  padding: 3px 6px;
}
.lang-btn {
  padding: 4px 10px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  transition: var(--transition);
  border: 1px solid transparent;
  letter-spacing: 0.03em;
}
.lang-btn:hover { color: var(--white); background: rgba(255,255,255,0.12); }
.lang-active {
  background: var(--gold);
  color: var(--green-dark) !important;
  border-color: var(--gold);
}
.nav-mobile-langs {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 12px;
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 4px;
}
.nav-mobile-langs .lang-btn {
  padding: 10px 16px;
  font-size: 0.9rem;
  border-radius: var(--radius-sm);
  color: rgba(255,255,255,0.75);
}
.nav-mobile-langs .lang-active { background: var(--gold); color: var(--green-dark) !important; }

/* ─── RTL Support (Arabisch) ────────────────────────────────── */
body.rtl { font-family: 'Noto Naskh Arabic', 'Inter', sans-serif; }
[dir="rtl"] .nav-container,
[dir="rtl"] .nav-links,
[dir="rtl"] .hero-actions,
[dir="rtl"] .hero-details { flex-direction: row-reverse; }
[dir="rtl"] .hero-content,
[dir="rtl"] .page-header { text-align: right; direction: rtl; }
[dir="rtl"] .form-section-title,
[dir="rtl"] .walk-in-card,
[dir="rtl"] .alert,
[dir="rtl"] .footer-content,
[dir="rtl"] .footer-brand,
[dir="rtl"] .price-summary-header { flex-direction: row-reverse; }
[dir="rtl"] .menu-row,
[dir="rtl"] .admin-menu-row,
[dir="rtl"] .confirm-note-item,
[dir="rtl"] .sidebar-link { flex-direction: row-reverse; }
[dir="rtl"] .confirm-total-row,
[dir="rtl"] .confirm-total-final { flex-direction: row-reverse; }
[dir="rtl"] .info-card { border-left: none; border-right: 4px solid var(--green-light); }
[dir="rtl"] .info-card-gold { border-right-color: var(--gold); }
[dir="rtl"] .menu-row-subtotal,
[dir="rtl"] .admin-menu-sub { text-align: left; }
[dir="rtl"] .number-input-wrap { flex-direction: row-reverse; }
[dir="rtl"] .children-section { direction: rtl; }
[dir="rtl"] .form-actions { flex-direction: row-reverse; }
[dir="rtl"] .confirm-details-grid { direction: rtl; }

/* ─── Menü-Zeilen (neues Bestellformular) ───────────────────── */
.form-section-hint { color: var(--text-light); font-size: 0.9rem; margin-bottom: 16px; }

.menu-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border: 2px solid var(--beige-dark);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  background: var(--white);
  transition: all var(--transition);
}
.menu-row-active {
  border-color: var(--green-dark);
  background: linear-gradient(135deg, #f0fdf4 0%, #ffffff 100%);
  box-shadow: 0 0 0 3px rgba(27,67,50,0.08);
}
.menu-row-icon { font-size: 1.8rem; flex-shrink: 0; }
.menu-row-info { flex: 1; min-width: 0; }
.menu-row-name { font-weight: 700; color: var(--green-dark); font-size: 0.95rem; }
.menu-row-desc { font-size: 0.8rem; color: var(--text-light); }
.menu-row-price-badge {
  background: var(--green-dark);
  color: var(--gold-light);
  font-weight: 800;
  font-size: 0.9rem;
  padding: 4px 12px;
  border-radius: 50px;
  white-space: nowrap;
  flex-shrink: 0;
}
.menu-row-controls { display: flex; align-items: center; gap: 4px; flex-shrink: 0; }
.number-btn-sm { padding: 8px 12px !important; font-size: 1rem !important; }
.number-input-sm { width: 56px !important; text-align: center; }
.menu-row-subtotal {
  min-width: 90px;
  text-align: right;
  font-weight: 700;
  color: var(--green-dark);
  font-size: 0.9rem;
  flex-shrink: 0;
}
@media (max-width: 580px) {
  .menu-row { flex-wrap: wrap; gap: 10px; }
  .menu-row-icon { order: 0; }
  .menu-row-info { order: 1; flex: 1 1 60%; }
  .menu-row-price-badge { order: 2; }
  .menu-row-controls { order: 3; }
  .menu-row-subtotal { order: 4; width: 100%; text-align: center; }
}

/* Checkbox-Fehlermarkierung */
.has-error .checkbox-label .checkbox-custom { border-color: #dc2626; }

/* Admin Menü-Zeilen */
.admin-menu-rows { display: flex; flex-direction: column; gap: 10px; }
.admin-menu-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: var(--beige-light);
  border-radius: var(--radius-sm);
  border: 1px solid var(--beige-dark);
}
.admin-menu-icon { font-size: 1.5rem; }
.admin-menu-info { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.admin-menu-info strong { font-size: 0.9rem; }
.admin-menu-info span { font-size: 0.8rem; color: var(--text-light); }
.admin-menu-input { width: 70px !important; text-align: center; padding: 8px !important; }
.admin-menu-sub { min-width: 100px; text-align: right; font-weight: 700; font-size: 0.85rem; color: var(--green-dark); }
.confirm-order-text { font-size: 0.88rem; }

