/* ────────────────────────────────────────────────────────────
   Cloud.Unitsystems — Design System
   Dark mode glassmorphism with vibrant accents
──────────────────────────────────────────────────────────── */

/* ── Tokens ─────────────────────────────────────────────── */
:root {
  --clr-bg:          #0f0e17;
  --clr-bg2:         #1a1a2e;
  --clr-surface:     #16213e;
  --clr-surface2:    #0f3460;
  --clr-primary:     #e94560;
  --clr-primary-h:   #ff5c77;
  --clr-v1:          #6c63ff;
  --clr-v2:          #ff6b9d;
  --clr-warning:     #fbbf24;
  --clr-success:     #4ade80;
  --clr-text:        #e8e6f0;
  --clr-text-muted:  #8b8ba7;
  --clr-text-inv:    #0f0e17;
  --clr-border:      rgba(255,255,255,.08);

  --radius-sm:       8px;
  --radius-md:       14px;
  --radius-lg:       22px;
  --radius-xl:       32px;

  --shadow-card:     0 8px 32px rgba(0,0,0,.35), 0 2px 8px rgba(0,0,0,.2);
  --shadow-btn:      0 4px 16px rgba(124,111,247,.35);

  --font-sans:       'Inter', system-ui, sans-serif;
  --transition:      .3s cubic-bezier(.4,0,.2,1);
}

/* ── Light Theme Overrides ─────────────────────────────── */
.light-theme {
  --clr-bg:          #f0f4f9;
  --clr-bg2:         #e2e8f0;
  --clr-surface:     rgba(255, 255, 255, 0.75);
  --clr-surface2:    #ffffff;
  --clr-primary:     #d8314d;
  --clr-primary-h:   #e94560;
  --clr-v1:          #5a52e5;
  --clr-v2:          #e55b8d;
  --clr-text:        #1a1d23;
  --clr-text-muted:  #64748b;
  --clr-text-inv:    #ffffff;
  --clr-border:      rgba(0,0,0,.08);
  --shadow-card:     0 10px 30px rgba(0,0,0,.05), 0 2px 8px rgba(0,0,0,.04);
}

.light-theme body {
    background-image: 
        radial-gradient(ellipse 80% 50% at 20% -10%, rgba(108, 99, 255, 0.08) 0%, transparent 55%),
        radial-gradient(ellipse 60% 40% at 85% 90%,  rgba(0, 210, 255, 0.08)   0%, transparent 55%);
}

.light-theme .glass-card {
    background: rgba(255, 255, 255, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.04);
}

.light-theme .site-header {
    background: rgba(240, 244, 249, 0.85);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.light-theme .user-badge {
    background: rgba(0, 0, 0, 0.04);
    color: var(--clr-text);
}

.light-theme .btn-ghost {
    color: var(--clr-text);
}

/* ── Light Theme Button Fixes ──────────────────────────── */
.light-theme .btn-complex {
    border-color: rgba(0, 0, 0, 0.08);
}

.light-theme .btn-complex-1 { color: #5a52e5; background: rgba(108, 99, 255, 0.1); border-color: rgba(108, 99, 255, 0.15); }
.light-theme .btn-complex-2 { color: #2d8a4d; background: rgba(74, 222, 128, 0.1); border-color: rgba(74, 222, 128, 0.15); }
.light-theme .btn-complex-3 { color: #c04070; background: rgba(255, 107, 157, 0.1); border-color: rgba(255, 107, 157, 0.15); }
.light-theme .btn-complex-4 { color: #926c00; background: rgba(251, 191, 36, 0.1); border-color: rgba(251, 191, 36, 0.15); }
.light-theme .btn-complex-5 { color: #007a99; background: rgba(0, 210, 255, 0.1); border-color: rgba(0, 210, 255, 0.15); }
.light-theme .btn-complex-6 { color: #a02030; background: rgba(233, 69, 96, 0.1); border-color: rgba(233, 69, 96, 0.15); }

.light-theme .btn-complex:hover { color: #000 !important; background: rgba(0, 0, 0, 0.05); }

.light-theme .btn-complex-1:hover { background: rgba(108, 99, 255, 0.25); }
.light-theme .btn-complex-2:hover { background: rgba(74, 222, 128, 0.25); }
.light-theme .btn-complex-3:hover { background: rgba(255, 107, 157, 0.25); }
.light-theme .btn-complex-4:hover { background: rgba(251, 191, 36, 0.25); }
.light-theme .btn-complex-5:hover { background: rgba(0, 210, 255, 0.25); }
.light-theme .btn-complex-6:hover { background: rgba(233, 69, 96, 0.25); }

.light-theme .toast {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(0, 0, 0, 0.1);
    color: var(--clr-text);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

/* ── Global Smooth Switching ───────────────────────────── */
body, .card, .btn, .site-header, .site-footer, .user-badge, .form-input, .calendar-day, .menu-section, .variant-badge {
    transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, backdrop-filter 0.3s ease;
}

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

html { 
  scroll-behavior: smooth; 
  font-size: 16px; 
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.25) rgba(255, 255, 255, 0.02);
}

/* ── Custom Scrollbar ───────────────────────────────────── */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.02);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.25);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.45);
}

body {
  font-family: var(--font-sans);
  background: var(--clr-bg);
  color: var(--clr-text);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  line-height: 1.6;
  background-image:
    radial-gradient(ellipse 80% 50% at 20% -10%, rgba(124,111,247,.22) 0%, transparent 55%),
    radial-gradient(ellipse 60% 40% at 85% 90%,  rgba(0,210,255,.12)   0%, transparent 55%);
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--clr-primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--clr-primary-h); }

/* ── Container ──────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ── Header ─────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(15,14,23,.7);
  border-bottom: 1px solid var(--clr-border);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 60px;
  height: auto;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 10px;
  padding-bottom: 10px;
}

.logo {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -.5px;
  color: var(--clr-text);
}

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

.user-badge {
  font-size: .85rem;
  color: var(--clr-text-muted);
  padding: 4px 10px;
  background: rgba(255,255,255,.05);
  border-radius: 20px;
  max-width: 180px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ── Footer ─────────────────────────────────────────────── */
.site-footer {
  margin-top: auto;
  padding: 24px 0;
  text-align: center;
  color: var(--clr-text-muted);
  font-size: .8rem;
  border-top: 1px solid var(--clr-border);
}

/* ── Main content ───────────────────────────────────────── */
.main-content {
  flex: 1;
  padding: 32px 0 48px;
}

/* ── Cards ──────────────────────────────────────────────── */
.card {
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-card);
}

.glass-card {
  background: rgba(22,33,62,.55);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.text-center { text-align: center; }

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: var(--radius-md);
  font-family: var(--font-sans);
  font-size: .95rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  white-space: nowrap;
  user-select: none;
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--clr-primary), #5c54d4);
  color: #fff;
  box-shadow: var(--shadow-btn);
}
.btn-primary:hover {
  background: linear-gradient(135deg, var(--clr-primary-h), #6e66e8);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(233, 69, 96, .4);
  color: #fff;
}
.btn-primary:active { transform: translateY(0); }

.btn-secondary {
  background: rgba(124,111,247,.15);
  color: var(--clr-primary-h);
  border: 1px solid rgba(124,111,247,.3);
}
.btn-secondary:hover {
  background: rgba(124,111,247,.28);
  color: var(--clr-primary-h);
  transform: translateY(-1px);
}

.btn-ghost {
  background: rgba(255,255,255,.06);
  color: var(--clr-text-muted);
  border: 1px solid var(--clr-border);
}
.btn-ghost:hover {
  background: rgba(255,255,255,.12);
  color: var(--clr-text);
}

.btn-sm { padding: 7px 14px; font-size: .82rem; border-radius: var(--radius-sm); }
.btn-full { width: 100%; }

/* ── Provider buttons ──────────────────────────────────── */
.btn-google, .btn-microsoft {
  background: rgba(255,255,255,.07);
  color: var(--clr-text);
  border: 1px solid var(--clr-border);
  width: 100%;
  justify-content: center;
}
.btn-google:hover  { background: rgba(66,133,244,.15); border-color: rgba(66,133,244,.4); color: var(--clr-text); transform: translateY(-2px); }
.btn-microsoft:hover { background: rgba(0,120,212,.15); border-color: rgba(0,120,212,.4); color: var(--clr-text); transform: translateY(-2px); }

.provider-icon { width: 18px; height: 18px; flex-shrink: 0; }

/* ── Variant order buttons ──────────────────────────────── */
.order-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 16px;
}

.btn-complex {
  width: 100%;
  padding: 18px 15px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 1.05rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: all var(--transition);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.btn-complex:hover {
  border-color: rgba(255, 255, 255, 0.3);
}

.btn-complex:active { transform: translateY(-1px); }

/* Variant 1: Purple */
.btn-complex-1 {
  background: linear-gradient(135deg, rgba(108, 99, 255, 0.25), rgba(108, 99, 255, 0.1));
  color: #a29dff;
  border-color: rgba(108, 99, 255, 0.3);
}
.btn-complex-1:hover {
  background: linear-gradient(135deg, rgba(108, 99, 255, 0.4), rgba(108, 99, 255, 0.2));
  box-shadow: 0 10px 25px rgba(108, 99, 255, 0.4);
  color: #fff;
}

/* Variant 2: Green */
.btn-complex-2 {
  background: linear-gradient(135deg, rgba(74, 222, 128, 0.2), rgba(74, 222, 128, 0.08));
  color: #89f1ab;
  border-color: rgba(74, 222, 128, 0.25);
}
.btn-complex-2:hover {
  background: linear-gradient(135deg, rgba(74, 222, 128, 0.35), rgba(74, 222, 128, 0.15));
  box-shadow: 0 10px 25px rgba(74, 222, 128, 0.35);
  color: #fff;
}

/* Variant 3: Pink/Magenta */
.btn-complex-3 {
  background: linear-gradient(135deg, rgba(255, 107, 157, 0.2), rgba(255, 107, 157, 0.08));
  color: #ff9dbf;
  border-color: rgba(255, 107, 157, 0.25);
}
.btn-complex-3:hover {
  background: linear-gradient(135deg, rgba(255, 107, 157, 0.35), rgba(255, 107, 157, 0.15));
  box-shadow: 0 10px 25px rgba(255, 107, 157, 0.35);
  color: #fff;
}

/* Variant 4: Gold/Yellow */
.btn-complex-4 {
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.18), rgba(251, 191, 36, 0.05));
  color: #fcd34d;
  border-color: rgba(251, 191, 36, 0.25);
}
.btn-complex-4:hover {
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.3), rgba(251, 191, 36, 0.12));
  box-shadow: 0 10px 25px rgba(251, 191, 36, 0.3);
  color: #fff;
}

/* Variant 5: Cyan/Blue */
.btn-complex-5 {
  background: linear-gradient(135deg, rgba(0, 210, 255, 0.2), rgba(0, 210, 255, 0.08));
  color: #70e4ff;
  border-color: rgba(0, 210, 255, 0.25);
}
.btn-complex-5:hover {
  background: linear-gradient(135deg, rgba(0, 210, 255, 0.35), rgba(0, 210, 255, 0.15));
  box-shadow: 0 10px 25px rgba(0, 210, 255, 0.35);
  color: #fff;
}

/* Variant 6: Red/Pink (Primary) */
.btn-complex-6 {
  background: linear-gradient(135deg, rgba(233, 69, 96, 0.2), rgba(233, 69, 96, 0.08));
  color: #ff8ca0;
  border-color: rgba(233, 69, 96, 0.25);
}
.btn-complex-6:hover {
  background: linear-gradient(135deg, rgba(233, 69, 96, 0.35), rgba(233, 69, 96, 0.15));
  box-shadow: 0 10px 25px rgba(233, 69, 96, 0.35);
  color: #fff;
}


.variant-num {
  font-size: 2.4rem;
  line-height: 1;
  display: block;
}
.variant-label { font-size: .85rem; font-weight: 500; opacity: .85; }

/* ── Forms ──────────────────────────────────────────────── */
.form-label {
  display: block;
  margin-bottom: 7px;
  font-size: .88rem;
  font-weight: 500;
  color: var(--clr-text-muted);
}

.form-input {
  width: 100%;
  padding: 12px 16px;
  background: rgba(255,255,255,.06);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-sm);
  color: var(--clr-text);
  font-family: var(--font-sans);
  font-size: .95rem;
  transition: border-color var(--transition), background var(--transition);
  outline: none;
}
.form-input:focus {
  border-color: var(--clr-primary);
  background: rgba(124,111,247,.08);
}
.form-input::placeholder { color: var(--clr-text-muted); }

/* Fix for select options visibility in dark mode */
.form-input option {
  background-color: var(--clr-bg2);
  color: var(--clr-text);
}

.input-group {
  display: flex;
  gap: 10px;
}
.input-group .form-input { flex: 1; min-width: 0; }

.form-group { margin-bottom: 20px; }

/* ── Auth section ──────────────────────────────────────── */
.auth-section {
  max-width: 460px;
  margin: 48px auto;
}

.auth-header { text-align: center; margin-bottom: 28px; }

.auth-icon {
  font-size: 3rem;
  line-height: 1;
  margin-bottom: 12px;
  filter: drop-shadow(0 0 24px rgba(124,111,247,.6));
}

.auth-header h1 {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.auth-subtitle {
  color: var(--clr-text-muted);
  font-size: .95rem;
}

.auth-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}

.divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 20px 0;
  color: var(--clr-text-muted);
  font-size: .82rem;
}
.divider::before, .divider::after {
  flex: 1;
  height: 1px;
  background: var(--clr-border);
  content: '';
}

/* ── Menu section ──────────────────────────────────────── */
.menu-section { max-width: 660px; margin: 0 auto; }

.menu-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 8px;
}

.menu-title { font-size: 1.6rem; font-weight: 700; }

.menu-date {
  color: var(--clr-text-muted);
  font-size: .9rem;
}

.menu-photo-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 16px;
  border: 1px solid var(--clr-border);
  box-shadow: var(--shadow-card);
}
.menu-photo {
  width: 100%;
  height: auto;
  display: block;
}

.menu-description {
  background: rgba(255,255,255,.04);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  font-size: 1rem;
  margin-bottom: 20px;
  color: var(--clr-text-muted);
}

.order-form-section { margin-top: 8px; }
.order-form-section h2 { margin-bottom: 4px; font-size: 1.15rem; }

/* ── Order confirmed ───────────────────────────────────── */
.order-confirmed {
  text-align: center;
  margin-top: 8px;
}
.order-confirmed-icon { font-size: 2.5rem; margin-bottom: 12px; }
.order-confirmed h2 { font-size: 1.25rem; margin-bottom: 8px; }
.order-change-hint { color: var(--clr-text-muted); font-size: .88rem; margin: 16px 0 8px; }

/* ── Orders closed ─────────────────────────────────────── */
.orders-closed { text-align: center; }
.orders-closed-icon { font-size: 2.5rem; margin-bottom: 12px; }
.orders-closed h2 { font-size: 1.2rem; margin-bottom: 8px; }

/* ── No menu ───────────────────────────────────────────── */
.no-menu-section { max-width: 480px; margin: 64px auto; }
.no-menu-icon { font-size: 3rem; margin-bottom: 16px; }
.no-menu-section h1 { font-size: 1.5rem; margin-bottom: 10px; }

/* ── Admin panel ────────────────────────────────────────── */
.admin-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 12px;
}
.admin-header h1 { font-size: 1.6rem; font-weight: 700; }

.admin-actions { display: flex; gap: 10px; }

.section-title { font-size: 1.15rem; font-weight: 600; margin-bottom: 20px; }

.current-menu-info { margin-bottom: 16px; }
.admin-preview {
  margin-top: 14px;
  border-radius: var(--radius-md);
  width: 100%;
  height: auto;
  display: block;
  border: 1px solid var(--clr-border);
}
.divider-line { border: none; border-top: 1px solid var(--clr-border); margin: 20px 0; }
.upload-hint { color: var(--clr-text-muted); font-size: .9rem; margin-bottom: 16px; }

/* ── File upload area ───────────────────────────────────── */
.file-upload-area {
  border: 2px dashed var(--clr-border);
  border-radius: var(--radius-md);
  background: rgba(255,255,255,.03);
  transition: all var(--transition);
  overflow: hidden;
}
.file-upload-area.drag-over {
  border-color: var(--clr-primary);
  background: rgba(124,111,247,.1);
}
.file-input-hidden { display: none; }
.file-upload-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 36px;
  cursor: pointer;
  gap: 8px;
}
.file-upload-icon { font-size: 2rem; }
.file-upload-text { font-weight: 500; }
.file-upload-hint { font-size: .82rem; color: var(--clr-text-muted); }
.file-preview {
  padding: 16px;
  align-items: center;
  gap: 14px;
}
.file-preview img {
  height: 80px;
  width: auto;
  border-radius: var(--radius-sm);
  object-fit: cover;
}
.file-preview span { font-size: .88rem; color: var(--clr-text-muted); }

/* ── Orders table ───────────────────────────────────────── */
.orders-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}
.summary-card {
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: center;
}
.summary-total { border-color: rgba(124,111,247,.35); }
.summary-num {
  display: block;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--clr-primary);
  line-height: 1;
  margin-bottom: 6px;
}
.summary-label { font-size: .82rem; color: var(--clr-text-muted); }

.orders-table { width: 100%; border-collapse: collapse; }
.orders-table th {
  background: rgba(255,255,255,.04);
  font-size: .82rem;
  font-weight: 600;
  color: var(--clr-text-muted);
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--clr-border);
  text-transform: uppercase;
  letter-spacing: .05em;
}
.orders-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--clr-border);
  font-size: .9rem;
}
.orders-table tr:last-child td { border-bottom: none; }
.row-v1 td { background: rgba(79,168,255,.04); }
.row-v2 td { background: rgba(255,107,157,.04); }

.variant-badge {
  display: inline-block;
  padding: 3px 12px;
  border-radius: 20px;
  font-size: .8rem;
  font-weight: 600;
}
.variant-badge-1 { background: rgba(108, 99, 255, 0.15); color: #a29dff; border: 1px solid rgba(108, 99, 255, 0.2); }
.variant-badge-2 { background: rgba(74, 222, 128, 0.15); color: #89f1ab; border: 1px solid rgba(74, 222, 128, 0.2); }
.variant-badge-3 { background: rgba(255, 107, 157, 0.15); color: #ff9dbf; border: 1px solid rgba(255, 107, 157, 0.2); }
.variant-badge-4 { background: rgba(251, 191, 36, 0.15); color: #fcd34d; border: 1px solid rgba(251, 191, 36, 0.2); }
.variant-badge-5 { background: rgba(0, 210, 255, 0.15); color: #70e4ff; border: 1px solid rgba(0, 210, 255, 0.2); }
.variant-badge-6 { background: rgba(233, 69, 96, 0.15); color: #ff8ca0; border: 1px solid rgba(233, 69, 96, 0.2); }

/* ── Badges ─────────────────────────────────────────────── */
.badge { display: inline-block; padding: 4px 12px; border-radius: 20px; font-size: .8rem; font-weight: 600; }
.badge-success { background: rgba(74,222,128,.15); color: var(--clr-success); }

/* ── Misc ───────────────────────────────────────────────── */
.small { font-size: .82rem; }
.text-muted { color: var(--clr-text-muted); }

/* ── Animations ─────────────────────────────────────────── */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
.animate-fade-in { animation: fadeIn .4s ease both; }

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 560px) {
  .input-group { flex-direction: column; }
  .order-buttons { grid-template-columns: 1fr; }
  .btn-variant { padding: 20px; }
  .variant-num { font-size: 1.8rem; }
  .orders-summary { grid-template-columns: 1fr 1fr; }
  .menu-header { flex-direction: column; }
  
  .admin-btn { display: none !important; }
  .logo { font-size: 1.1rem; }
  .nav-actions { gap: 6px; }
  .user-badge { max-width: 140px; font-size: 0.8rem; padding: 4px 8px; }
  .btn-sm { padding: 6px 12px; font-size: 0.78rem; }
  .site-header .container { justify-content: space-between; }
}

/* ── Service Hub ────────────────────────────────────────── */
.service-card {
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
/* ── Smooth Accordion (Details) ────────────────────────── */
.custom-accordion {
  overflow: hidden;
}

.custom-accordion summary {
  list-style: none;
  display: flex !important;
}
.custom-accordion summary::-webkit-details-marker { display: none; }

.custom-accordion[open] .accordion-icon {
  transform: rotate(180deg);
  background: rgba(233, 69, 96, 0.15) !important;
  color: var(--clr-primary) !important;
}

.accordion-content-wrap {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

.custom-accordion.is-open .accordion-content-wrap {
  grid-template-rows: 1fr;
}

.accordion-content-sub {
  min-height: 0;
  visibility: hidden;
  transition: visibility 0.35s;
}

.custom-accordion.is-open .accordion-content-sub {
  visibility: visible;
}

/* ── Toast Notifications ────────────────────────────────── */
#toast-container {
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 12px;
  pointer-events: none;
}

.toast {
  pointer-events: auto;
  background: rgba(22, 33, 62, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-left: 4px solid var(--clr-primary);
  color: var(--clr-text);
  padding: 16px 28px;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 40px rgba(0,0,0,0.4);
  min-width: 320px;
  display: flex;
  align-items: center;
  gap: 15px;
  transform: translateX(120%);
  transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.toast.show {
  transform: translateX(0);
}

.toast-success {
  border-left-color: var(--clr-success);
}

.toast-error {
  border-left-color: var(--clr-primary);
}

.toast-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
}

