/* ==========================================================================
   HOME CARE SERVICES — Core Stylesheet
   ========================================================================== */

* , *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

ul { list-style: none; margin: 0; padding: 0; }

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  line-height: 1.2;
  margin: 0 0 12px;
  font-weight: 700;
}

p { margin: 0 0 12px; color: var(--color-text-muted); }

button { font-family: inherit; cursor: pointer; }

input, select, textarea {
  font-family: inherit;
  font-size: 15px;
  color: var(--color-text);
}

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

.section { padding: 72px 0; }
.section-alt { background: var(--color-bg-alt); }

.section-head { text-align: center; max-width: 640px; margin: 0 auto 40px; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-primary);
  background: rgba(11, 95, 255, 0.08);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 14px;
}

.section-head h2 { font-size: clamp(26px, 4vw, 38px); }

/* Skip link for accessibility */
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--color-primary);
  color: #fff;
  padding: 10px 16px;
  z-index: 999;
  border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--radius-pill);
  border: none;
  font-weight: 600;
  font-size: 15px;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
  white-space: nowrap;
}
.btn:active { transform: scale(0.97); }

.btn-primary {
  background: var(--color-primary);
  color: #fff;
  box-shadow: 0 10px 24px rgba(11, 95, 255, 0.28);
}
.btn-primary:hover { background: var(--color-primary-dark); box-shadow: 0 14px 30px rgba(11, 95, 255, 0.36); }

.btn-accent {
  background: var(--color-accent);
  color: #1a1300;
  box-shadow: 0 10px 24px rgba(255, 193, 7, 0.35);
}
.btn-accent:hover { background: var(--color-accent-dark); }

.btn-outline {
  background: transparent;
  border: 1.5px solid var(--color-border);
  color: var(--color-text);
}
.btn-outline:hover { border-color: var(--color-primary); color: var(--color-primary); }

.btn-ghost { background: transparent; color: var(--color-primary); }
.btn-ghost:hover { background: rgba(11, 95, 255, 0.08); }

.btn-sm { padding: 9px 18px; font-size: 13px; }
.btn-block { width: 100%; }
.btn-danger { background: var(--color-danger); color: #fff; }
.btn-success { background: var(--color-success); color: #fff; }
.btn:disabled { opacity: 0.55; cursor: not-allowed; }

.btn-icon {
  width: 42px; height: 42px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--color-bg-alt); border: 1px solid var(--color-border);
}

/* Header / Navbar */
.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  background: var(--glass-bg);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  border-bottom: 1px solid var(--glass-border);
  height: var(--header-height);
  display: flex;
  align-items: center;
  transition: box-shadow var(--transition-base);
}
.site-header.is-scrolled { box-shadow: var(--shadow-sm); }

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

.brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-heading); font-weight: 800; font-size: 20px; }
.brand-badge {
  width: 40px; height: 40px; border-radius: 12px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 20px;
  box-shadow: var(--shadow-sm);
}
.brand-name span { color: var(--color-accent); }
.brand-badge-img {
  height: 42px;
  width: auto;
  max-width: 64px;
  object-fit: contain;
  flex-shrink: 0;
  display: block;
}
.footer-logo-img { height: 84px; width: auto; max-width: 220px; object-fit: contain; display: block; margin-bottom: 4px; }

.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a {
  padding: 10px 14px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 14.5px;
  color: var(--color-text);
  transition: background var(--transition-fast), color var(--transition-fast);
}
.nav-links a:hover, .nav-links a.active { background: rgba(11, 95, 255, 0.1); color: var(--color-primary); }

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

.nav-toggle {
  display: none;
  width: 42px; height: 42px;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  background: var(--color-bg);
  align-items: center;
  justify-content: center;
}

.theme-toggle {
  width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid var(--color-border);
  background: var(--color-bg);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 18px;
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: 64px 0 90px;
  background:
    radial-gradient(1000px 500px at 90% -10%, rgba(255, 193, 7, 0.18), transparent 60%),
    radial-gradient(900px 500px at -10% 20%, rgba(11, 95, 255, 0.14), transparent 60%),
    var(--color-bg-alt);
}
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 8px; background: #fff; padding: 8px 16px; border-radius: var(--radius-pill); box-shadow: var(--shadow-sm); font-weight: 700; font-size: 13px; color: var(--color-primary); margin-bottom: 18px; }
.hero h1 { font-size: clamp(32px, 5vw, 54px); letter-spacing: -0.02em; }
.hero h1 .accent { color: var(--color-accent-dark); position: relative; }
.hero-sub { font-size: 17px; max-width: 480px; margin-bottom: 28px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 32px; }
.hero-trust { display: flex; gap: 28px; flex-wrap: wrap; }
.hero-trust .stat b { display: block; font-family: var(--font-heading); font-size: 24px; color: var(--color-text); }
.hero-trust .stat span { font-size: 13px; color: var(--color-text-muted); }

.hero-media { position: relative; }
.hero-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: var(--shadow-lg);
}
.hero-img-wrap { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4/3; background: linear-gradient(135deg, var(--color-primary-light), var(--color-primary)); display: flex; align-items: center; justify-content: center; color: #fff; font-size: 64px; }
.hero-floating-badge {
  position: absolute; bottom: -18px; left: -18px;
  background: #fff; border-radius: var(--radius-md);
  padding: 14px 18px; box-shadow: var(--shadow-md);
  display: flex; align-items: center; gap: 10px;
  animation: float 5s ease-in-out infinite;
}

/* Search bar */
.search-panel {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 10px;
  display: flex;
  gap: 8px;
  margin-top: 28px;
  position: relative;
}
.search-panel input {
  flex: 1;
  border: none;
  outline: none;
  padding: 14px 18px;
  border-radius: var(--radius-pill);
  font-size: 15px;
}
.search-suggestions {
  position: absolute;
  top: calc(100% + 8px);
  left: 0; right: 0;
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  z-index: 50;
  display: none;
}
.search-suggestions.is-open { display: block; }
.search-suggestions li a {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 18px;
}
.search-suggestions li a:hover { background: var(--color-bg-alt); }

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

/* Category card */
.category-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 26px 20px;
  text-align: center;
  transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
}
.category-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.category-icon {
  width: 56px; height: 56px; border-radius: 16px;
  background: rgba(11, 95, 255, 0.08);
  display: flex; align-items: center; justify-content: center;
  font-size: 26px; margin: 0 auto 14px;
  color: var(--color-primary);
}
.category-card h3 { font-size: 15.5px; margin-bottom: 4px; }
.category-card span { font-size: 12.5px; color: var(--color-text-muted); }

/* Service card */
.service-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
  position: relative;
  display: flex;
  flex-direction: column;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.service-thumb {
  aspect-ratio: 16/10;
  background: linear-gradient(135deg, var(--color-bg-alt), #e7edff);
  display: flex; align-items: center; justify-content: center;
  font-size: 44px; color: var(--color-primary);
  position: relative;
}
.service-badge {
  position: absolute; top: 12px; left: 12px;
  background: var(--color-accent); color: #1a1300;
  font-size: 11px; font-weight: 800; letter-spacing: 0.03em;
  padding: 5px 10px; border-radius: var(--radius-pill);
  text-transform: uppercase;
}
.fav-btn {
  position: absolute; top: 12px; right: 12px;
  width: 34px; height: 34px; border-radius: 50%;
  background: rgba(255,255,255,0.9); border: none;
  display: flex; align-items: center; justify-content: center;
  font-size: 15px;
}
.fav-btn.is-active { color: #ff4d6d; }
.service-body { padding: 18px 18px 20px; flex: 1; display: flex; flex-direction: column; }
.service-cat { font-size: 12px; color: var(--color-primary); font-weight: 700; text-transform: uppercase; letter-spacing: 0.03em; margin-bottom: 6px; }
.service-body h3 { font-size: 17px; margin-bottom: 6px; }
.service-desc { font-size: 13.5px; margin-bottom: 14px; flex: 1; }
.service-meta { display: flex; gap: 14px; font-size: 12.5px; color: var(--color-text-muted); margin-bottom: 14px; flex-wrap: wrap; }
.service-meta span { display: inline-flex; align-items: center; gap: 5px; }
.service-price-row { display: flex; align-items: center; justify-content: space-between; margin-top: auto; }
.price-block .old-price { text-decoration: line-through; color: var(--color-text-muted); font-size: 13px; margin-right: 6px; }
.price-block .price { font-size: 19px; font-weight: 800; color: var(--color-text); font-family: var(--font-heading); }

/* Steps / How it works */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; }
.step-card { text-align: center; position: relative; }
.step-num {
  width: 52px; height: 52px; border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
  color: #fff; font-weight: 800; font-family: var(--font-heading); font-size: 20px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
  box-shadow: var(--shadow-md);
}
.step-card h4 { font-size: 15.5px; }
.step-card p { font-size: 13.5px; }

/* Why choose us */
.feature-item { display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--color-border); }
.feature-item:last-child { border-bottom: none; }
.feature-icon {
  width: 46px; height: 46px; border-radius: 12px; flex-shrink: 0;
  background: rgba(255, 193, 7, 0.16); color: var(--color-accent-dark);
  display: flex; align-items: center; justify-content: center; font-size: 20px;
}
.feature-item h4 { font-size: 15px; margin-bottom: 4px; }
.feature-item p { font-size: 13.5px; margin: 0; }

/* Brands */
.brands-row { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; }
.brand-chip {
  padding: 10px 22px; border-radius: var(--radius-pill);
  background: var(--color-surface); border: 1px solid var(--color-border);
  font-weight: 700; font-size: 14px; color: var(--color-text-muted);
}

/* Emergency banner */
.emergency-banner {
  background: linear-gradient(120deg, #ff5b5b, #ff8a3d);
  border-radius: var(--radius-lg);
  padding: 34px 36px;
  color: #fff;
  display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  box-shadow: var(--shadow-lg);
}
.emergency-banner h3 { margin-bottom: 6px; font-size: 22px; }
.emergency-banner p { color: rgba(255,255,255,0.9); margin: 0; }
.emergency-banner .btn-accent { color: #1a1300; }

/* Testimonials */
.testimonial-card {
  background: var(--color-surface); border: 1px solid var(--color-border);
  border-radius: var(--radius-lg); padding: 24px;
}
.stars { color: var(--color-accent); font-size: 15px; margin-bottom: 10px; }
.testimonial-card p { font-size: 14.5px; color: var(--color-text); }
.testimonial-user { display: flex; align-items: center; gap: 10px; margin-top: 16px; }
.testimonial-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--color-primary); color: #fff;
  display: flex; align-items: center; justify-content: center; font-weight: 700;
}
.testimonial-user b { display: block; font-size: 14px; }
.testimonial-user span { font-size: 12px; color: var(--color-text-muted); }

/* FAQ */
.faq-item { border: 1px solid var(--color-border); border-radius: var(--radius-md); margin-bottom: 12px; overflow: hidden; }
.faq-q {
  width: 100%; text-align: left; background: var(--color-surface); border: none;
  padding: 18px 20px; font-weight: 700; font-size: 15px;
  display: flex; justify-content: space-between; align-items: center;
}
.faq-q .icon { transition: transform var(--transition-base); }
.faq-item.is-open .faq-q .icon { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height var(--transition-base); background: var(--color-bg-alt); }
.faq-item.is-open .faq-a { max-height: 300px; }
.faq-a p { padding: 0 20px 18px; margin: 0; }

/* CTA */
.cta-block {
  background: linear-gradient(120deg, var(--color-primary), var(--color-primary-dark));
  border-radius: var(--radius-lg); padding: 48px; text-align: center; color: #fff;
}
.cta-block h2 { color: #fff; }
.cta-block p { color: rgba(255,255,255,0.85); }

/* Footer */
.site-footer { background: #0c1428; color: #cbd5f5; padding: 56px 0 24px; margin-top: 60px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px; }
.footer-col h5 { color: #fff; font-size: 15px; margin-bottom: 16px; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul a { color: #9fb0d8; font-size: 14px; }
.footer-col ul a:hover { color: #fff; }
.footer-brand p { color: #9fb0d8; font-size: 14px; }
.footer-social { display: flex; gap: 10px; margin-top: 14px; }
.footer-social a {
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  margin-top: 40px; padding-top: 20px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  font-size: 13px; color: #7f8db3;
}

/* Floating buttons */
.floating-actions { position: fixed; right: 20px; bottom: 24px; display: flex; flex-direction: column; gap: 12px; z-index: 90; }
.fab {
  width: 56px; height: 56px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 24px; box-shadow: var(--shadow-lg);
  border: none;
}
.fab-whatsapp { background: #25d366; }
.fab-call { background: var(--color-primary); animation: ring 2.4s infinite; }
.fab-top {
  width: 44px; height: 44px; background: var(--color-text); opacity: 0.85;
  font-size: 18px; display: none;
}
.fab-top.is-visible { display: flex; }

/* Forms */
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-weight: 600; font-size: 13.5px; margin-bottom: 7px; }
.form-control {
  width: 100%; padding: 13px 16px; border-radius: var(--radius-sm);
  border: 1.5px solid var(--color-border); background: var(--color-bg);
  outline: none; transition: border-color var(--transition-fast);
}
.form-control:focus { border-color: var(--color-primary); }
textarea.form-control { resize: vertical; min-height: 90px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-hint { font-size: 12px; color: var(--color-text-muted); margin-top: 6px; }
.form-error { font-size: 12.5px; color: var(--color-danger); margin-top: 6px; display: none; }
.form-group.has-error .form-control { border-color: var(--color-danger); }
.form-group.has-error .form-error { display: block; }
.input-with-btn { display: flex; gap: 8px; }
.input-with-btn .form-control { flex: 1; }

.card { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: 26px; }
.card-shadow { box-shadow: var(--shadow-md); }

/* Booking stepper */
.stepper { display: flex; justify-content: space-between; margin-bottom: 36px; position: relative; }
.stepper::before {
  content: ""; position: absolute; top: 18px; left: 0; right: 0; height: 2px; background: var(--color-border); z-index: 0;
}
.stepper-item { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 8px; flex: 1; }
.stepper-dot {
  width: 36px; height: 36px; border-radius: 50%; background: var(--color-bg);
  border: 2px solid var(--color-border); display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 13px; color: var(--color-text-muted);
}
.stepper-item.is-active .stepper-dot { border-color: var(--color-primary); color: var(--color-primary); background: rgba(11,95,255,0.08); }
.stepper-item.is-done .stepper-dot { background: var(--color-primary); border-color: var(--color-primary); color: #fff; }
.stepper-item span.label { font-size: 12px; color: var(--color-text-muted); font-weight: 600; }

.location-box {
  border: 1.5px dashed var(--color-border); border-radius: var(--radius-md);
  padding: 20px; text-align: center; margin-bottom: 18px;
}
.location-box.is-active { border-style: solid; border-color: var(--color-success); background: rgba(23,178,106,0.06); }
#booking-map, .map-frame { width: 100%; height: 260px; border-radius: var(--radius-md); border: 1px solid var(--color-border); overflow: hidden; }

/* Status badges */
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: var(--radius-pill); font-size: 12px; font-weight: 700; }
.badge-pending { background: rgba(255,193,7,0.16); color: #a6710a; }
.badge-accepted { background: rgba(11,95,255,0.12); color: var(--color-primary); }
.badge-assigned { background: rgba(124,58,237,0.12); color: #7c3aed; }
.badge-onway { background: rgba(6,182,212,0.12); color: #0891b2; }
.badge-completed { background: rgba(23,178,106,0.14); color: var(--color-success); }
.badge-cancelled { background: rgba(239,68,68,0.12); color: var(--color-danger); }

/* Tracking timeline */
.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li { display: flex; gap: 16px; padding-bottom: 28px; position: relative; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before {
  content: ""; position: absolute; left: 11px; top: 26px; bottom: 0; width: 2px; background: var(--color-border);
}
.timeline li:last-child::before { display: none; }
.timeline-dot { width: 24px; height: 24px; border-radius: 50%; background: var(--color-border); flex-shrink: 0; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 12px; }
.timeline li.is-done .timeline-dot { background: var(--color-success); }
.timeline li.is-current .timeline-dot { background: var(--color-primary); animation: pulse 1.6s infinite; }
.timeline-content h5 { margin: 0 0 3px; font-size: 14.5px; }
.timeline-content span { font-size: 12.5px; color: var(--color-text-muted); }

/* Admin */
.admin-shell { display: grid; grid-template-columns: 260px 1fr; min-height: 100vh; }
.admin-sidebar { background: #0c1428; color: #cbd5f5; padding: 22px 16px; position: sticky; top: 0; height: 100vh; overflow-y: auto; }
.admin-sidebar .brand { color: #fff; margin-bottom: 26px; padding: 0 8px; }
.admin-nav a {
  display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-radius: 10px;
  color: #9fb0d8; font-weight: 600; font-size: 14px; margin-bottom: 4px;
}
.admin-nav a:hover, .admin-nav a.active { background: rgba(255,255,255,0.08); color: #fff; }
.admin-main { padding: 26px 30px; background: var(--color-bg-alt); min-height: 100vh; }
.admin-topbar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; flex-wrap: wrap; gap: 12px; }
.admin-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-bottom: 26px; }
.stat-card { background: var(--color-surface); border-radius: var(--radius-lg); padding: 20px; border: 1px solid var(--color-border); }
.stat-card .stat-top { display: flex; justify-content: space-between; align-items: flex-start; }
.stat-icon { width: 42px; height: 42px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 18px; }
.stat-card h3 { font-size: 26px; margin: 12px 0 4px; }
.stat-card span.label { font-size: 13px; color: var(--color-text-muted); }

.table-wrap { overflow-x: auto; background: var(--color-surface); border-radius: var(--radius-lg); border: 1px solid var(--color-border); }
table.data-table { width: 100%; border-collapse: collapse; min-width: 720px; }
.data-table th, .data-table td { text-align: left; padding: 14px 16px; font-size: 13.5px; border-bottom: 1px solid var(--color-border); white-space: nowrap; }
.data-table th { color: var(--color-text-muted); font-weight: 700; text-transform: uppercase; font-size: 11.5px; letter-spacing: 0.04em; }
.data-table tr:last-child td { border-bottom: none; }
.data-table tr:hover td { background: var(--color-bg-alt); }

.modal-overlay {
  position: fixed; inset: 0; background: rgba(10,14,28,0.5); z-index: var(--z-modal);
  display: none; align-items: center; justify-content: center; padding: 20px;
}
.modal-overlay.is-open { display: flex; }
.modal-box { background: var(--color-bg); border-radius: var(--radius-lg); max-width: 560px; width: 100%; max-height: 88vh; overflow-y: auto; padding: 26px; box-shadow: var(--shadow-lg); }
.modal-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }

.toast-stack { position: fixed; top: 20px; right: 20px; z-index: var(--z-toast); display: flex; flex-direction: column; gap: 10px; }
.toast { background: var(--color-text); color: #fff; padding: 14px 18px; border-radius: var(--radius-md); box-shadow: var(--shadow-lg); font-size: 14px; display: flex; align-items: center; gap: 10px; min-width: 260px; animation: fadeInUp 0.3s ease; }
.toast-success { background: #0f5132; }
.toast-error { background: #7f1d1d; }
.toast-info { background: #0c2a63; }

.offline-banner {
  display: none; background: #7f1d1d; color: #fff; text-align: center;
  padding: 8px; font-size: 13px; font-weight: 600;
}
.offline-banner.is-visible { display: block; }

.install-banner {
  position: fixed; bottom: 20px; left: 20px; right: 20px; max-width: 420px;
  background: var(--color-surface); border: 1px solid var(--color-border);
  border-radius: var(--radius-lg); padding: 16px 18px; box-shadow: var(--shadow-lg);
  display: none; align-items: center; gap: 14px; z-index: 95;
}
.install-banner.is-visible { display: flex; }

.page-hero { padding: 46px 0 30px; background: var(--color-bg-alt); text-align: center; }
.page-hero h1 { font-size: clamp(26px, 4vw, 38px); }
.breadcrumb { font-size: 13px; color: var(--color-text-muted); margin-bottom: 10px; }
.breadcrumb a { color: var(--color-primary); }

.filter-bar { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin-bottom: 26px; background: var(--color-surface); padding: 16px; border-radius: var(--radius-md); border: 1px solid var(--color-border); }
.filter-bar select, .filter-bar input { padding: 10px 14px; border-radius: var(--radius-sm); border: 1.5px solid var(--color-border); background: var(--color-bg); }

.empty-state { text-align: center; padding: 60px 20px; color: var(--color-text-muted); }
.empty-state .icon { font-size: 46px; margin-bottom: 14px; }

.error-page { min-height: 70vh; display: flex; align-items: center; justify-content: center; text-align: center; padding: 40px 20px; }
.error-code { font-size: clamp(70px, 14vw, 130px); font-family: var(--font-heading); font-weight: 800; color: var(--color-primary); line-height: 1; }

.pac-target-input { width: 100%; }

.admin-view { display: none; }
.admin-view.is-active { display: block; }
.settings-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 640px) { .settings-grid { grid-template-columns: 1fr; } }
