/* =========================================
   Seda Atik Hair — Main Stylesheet
   ========================================= */

:root {
  --rose:       #C9856A;
  --rose-light: #E8C4B4;
  --rose-dark:  #A0614A;
  --cream:      #FAF7F4;
  --warm-gray:  #8C7B72;
  --dark:       #2C2018;
  --text:       #4A3728;
  --border:     #E8DDD6;
  --white:      #FFFFFF;
  --shadow:     0 4px 24px rgba(44,32,24,.08);
  --radius:     12px;
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans:  'DM Sans', system-ui, sans-serif;
  --transition: .25s ease;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  background: var(--cream);
  color: var(--text);
  line-height: 1.7;
  font-size: 16px;
}

/* ---- Typography ---- */
h1, h2, h3, h4, h5 { font-family: var(--font-serif); line-height: 1.25; color: var(--dark); }
h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.5rem); }
h3 { font-size: 1.4rem; }
a { color: inherit; text-decoration: none; }
p { color: var(--warm-gray); }

/* ---- Layout ---- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
section { padding: 5rem 0; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .75rem 1.75rem;
  border-radius: 50px;
  font-family: var(--font-sans);
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  text-decoration: none;
}
.btn-primary { background: var(--rose); color: #fff; border-color: var(--rose); }
.btn-primary:hover { background: var(--rose-dark); border-color: var(--rose-dark); }
.btn-outline { background: transparent; color: var(--dark); border-color: var(--dark); }
.btn-outline:hover { background: var(--dark); color: #fff; }
.btn-sm { padding: .5rem 1.2rem; font-size: .78rem; }
.btn-danger { background: #dc2626; color: #fff; border-color: #dc2626; }
.btn-danger:hover { background: #b91c1c; }

/* ---- Section Headers ---- */
.section-label {
  display: inline-block;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--rose);
  margin-bottom: .75rem;
}
.section-header { text-align: center; margin-bottom: 3rem; }
.section-header p { max-width: 560px; margin: .75rem auto 0; }

/* ---- Header ---- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250,247,244,.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 70px;
}
.logo { font-family: var(--font-serif); font-size: 1.35rem; color: var(--dark); font-weight: 700; }
.main-nav { display: flex; align-items: center; gap: 2rem; }
.main-nav a { font-size: .82rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--text); transition: color var(--transition); }
.main-nav a:hover { color: var(--rose); }
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--dark); border-radius: 2px; transition: var(--transition); }

/* ---- Hero ---- */
.hero {
  position: relative;
  min-height: calc(100vh - 70px);
  display: flex; align-items: center;
  text-align: center;
  padding: 4rem 1.5rem;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(250,247,244,.94) 0%, rgba(250,247,244,.82) 42%, rgba(250,247,244,.42) 100%),
    url('https://images.unsplash.com/photo-1522337360788-8b13dee7a37e?auto=format&fit=crop&w=1800&q=80') center right / cover no-repeat,
    linear-gradient(135deg, var(--cream) 0%, #F0E6DE 100%);
}
.hero .container {
  position: relative;
  z-index: 1;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .4rem 1.2rem;
  border: 1px solid var(--rose-light);
  border-radius: 50px;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--rose);
  margin-bottom: 1.5rem;
}
.hero h1 { margin-bottom: 1.25rem; text-shadow: 0 2px 18px rgba(250,247,244,.55); }
.hero h1 span { color: var(--rose); font-style: italic; }
.hero p { font-size: 1.1rem; max-width: 520px; margin: 0 auto 2.5rem; color: var(--text); }
.hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

@media (max-width: 768px) {
  .hero {
    background:
      linear-gradient(rgba(250,247,244,.88), rgba(250,247,244,.92)),
      url('https://images.unsplash.com/photo-1522337360788-8b13dee7a37e?auto=format&fit=crop&w=1200&q=80') center / cover no-repeat,
      linear-gradient(135deg, var(--cream) 0%, #F0E6DE 100%);
  }
}

/* ---- Stats Bar ---- */
.stats-bar { background: var(--dark); color: #fff; padding: 2.5rem 0; }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 2rem; text-align: center; }
.stat-number { font-family: var(--font-serif); font-size: 2.4rem; color: var(--rose-light); font-style: italic; }
.stat-label { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.6); margin-top: .25rem; }

/* ---- Cards ---- */
.card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}
.card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(44,32,24,.14); }
.card-body { padding: 1.5rem; }

/* ---- Services Grid ---- */
.services-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.5rem; }
.service-card { background: var(--white); border-radius: var(--radius); padding: 1.75rem; border: 1px solid var(--border); transition: var(--transition); }
.service-card:hover { border-color: var(--rose-light); box-shadow: var(--shadow); transform: translateY(-3px); }
.service-icon { width: 50px; height: 50px; background: #FFF0EB; border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 1rem; }
.service-icon svg { color: var(--rose); }
.service-category { font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--rose); margin-bottom: .35rem; }
.service-name { font-family: var(--font-serif); font-size: 1.2rem; margin-bottom: .5rem; }
.service-desc { font-size: .88rem; color: var(--warm-gray); margin-bottom: 1rem; }
.service-meta { display: flex; justify-content: space-between; align-items: center; }
.service-price { font-family: var(--font-serif); font-size: 1.15rem; color: var(--dark); font-weight: 600; }
.service-duration { font-size: .78rem; color: var(--warm-gray); }

/* ---- Gallery Grid ---- */
.gallery-grid { columns: 3; gap: 1rem; }
.gallery-item { break-inside: avoid; margin-bottom: 1rem; border-radius: var(--radius); overflow: hidden; cursor: pointer; }
.gallery-item img { width: 100%; display: block; transition: transform .4s ease; }
.gallery-item:hover img { transform: scale(1.04); }

/* ---- Filter Tabs ---- */
.filter-tabs { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; }
.filter-tab {
  padding: .45rem 1.2rem;
  border-radius: 50px;
  border: 1px solid var(--border);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .06em;
  cursor: pointer;
  background: var(--white);
  transition: var(--transition);
}
.filter-tab:hover, .filter-tab.active { background: var(--rose); color: #fff; border-color: var(--rose); }

/* ---- Team ---- */
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 2rem; }
.team-card { text-align: center; }
.team-photo { width: 140px; height: 140px; border-radius: 50%; background: var(--border); margin: 0 auto 1.25rem; overflow: hidden; border: 4px solid var(--rose-light); }
.team-photo img { width: 100%; height: 100%; object-fit: cover; }
.team-name { font-family: var(--font-serif); font-size: 1.2rem; margin-bottom: .25rem; }
.team-title { font-size: .82rem; color: var(--rose); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; margin-bottom: .75rem; }
.team-specialties { display: flex; flex-wrap: wrap; gap: .4rem; justify-content: center; }
.team-specialty { background: #FFF0EB; color: var(--rose); padding: .25rem .75rem; border-radius: 50px; font-size: .72rem; font-weight: 600; }

/* ---- Contact ---- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
.contact-item { display: flex; gap: 1rem; align-items: flex-start; margin-bottom: 1.5rem; }
.contact-icon { width: 46px; height: 46px; background: #FFF0EB; border-radius: 12px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-icon svg { color: var(--rose); }
.contact-label { font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--rose); margin-bottom: .25rem; }
.contact-value { font-weight: 500; color: var(--dark); }
.map-placeholder { background: var(--border); border-radius: var(--radius); height: 320px; display: flex; align-items: center; justify-content: center; color: var(--warm-gray); }
.map-placeholder iframe { width: 100%; height: 100%; border: 0; border-radius: var(--radius); }

/* ---- Booking Form ---- */
.booking-section { max-width: 800px; margin: 0 auto; }
.steps-nav { display: flex; gap: 0; margin-bottom: 3rem; }
.step-indicator {
  flex: 1; text-align: center; padding: 1rem;
  border-bottom: 3px solid var(--border);
  font-size: .78rem; font-weight: 600; color: var(--warm-gray);
  letter-spacing: .06em; text-transform: uppercase;
  cursor: pointer; transition: var(--transition);
}
.step-indicator.active { border-color: var(--rose); color: var(--rose); }
.step-indicator.done { border-color: var(--rose-dark); color: var(--rose-dark); }
.step-panel { display: none; }
.step-panel.active { display: block; }
.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; font-size: .82rem; font-weight: 600; color: var(--dark); margin-bottom: .45rem; }
.form-control {
  width: 100%; padding: .75rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-family: var(--font-sans);
  font-size: .95rem;
  color: var(--dark);
  background: var(--white);
  transition: border-color var(--transition);
  outline: none;
}
.form-control:focus { border-color: var(--rose); }
.staff-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 1rem; }
.staff-card-sel {
  border: 2px solid var(--border); border-radius: var(--radius);
  padding: 1.25rem; text-align: center; cursor: pointer;
  transition: var(--transition);
}
.staff-card-sel:hover, .staff-card-sel.selected { border-color: var(--rose); background: #FFF8F5; }
.slots-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(90px, 1fr)); gap: .6rem; }
.slot-btn {
  padding: .6rem .5rem; border: 1.5px solid var(--border);
  border-radius: 8px; text-align: center;
  font-size: .85rem; font-weight: 600; cursor: pointer;
  background: var(--white); transition: var(--transition);
}
.slot-btn:hover, .slot-btn.selected { background: var(--rose); color: #fff; border-color: var(--rose); }
.slot-btn:disabled { opacity: .4; cursor: not-allowed; }
.booking-summary { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem; margin-bottom: 2rem; }
.summary-row { display: flex; justify-content: space-between; padding: .5rem 0; border-bottom: 1px solid var(--border); font-size: .9rem; }
.summary-row:last-child { border: none; font-weight: 700; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.booking-nav { display: flex; justify-content: space-between; margin-top: 2rem; }
.alert { padding: 1rem 1.5rem; border-radius: 8px; margin-bottom: 1.5rem; }
.alert-success { background: #f0fdf4; color: #166534; border: 1px solid #bbf7d0; }
.alert-error   { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }
.alert-info    { background: #eff6ff; color: #1e40af; border: 1px solid #bfdbfe; }


/* ---- Admin Manual Appointment Slots ---- */
.manual-slots-box {
  min-height: 48px;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 8px;
  padding: .8rem;
}

.manual-slots-box .slots-grid {
  margin: 0;
}

/* ---- Lightbox ---- */
.lightbox {
  position: fixed; inset: 0; background: rgba(0,0,0,.9);
  display: none; place-items: center;
  z-index: 999; padding: 1rem;
}
.lightbox.open { display: grid; }
.lightbox img { max-width: 90vw; max-height: 90vh; border-radius: 8px; }
.lightbox-close { position: absolute; top: 1.5rem; right: 1.5rem; color: #fff; font-size: 2rem; cursor: pointer; line-height: 1; background: none; border: none; }

/* ---- Footer ---- */
.site-footer { background: var(--dark); color: rgba(255,255,255,.7); padding: 4rem 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 3rem; padding-bottom: 3rem; }
.footer-logo { font-family: var(--font-serif); font-size: 1.4rem; color: var(--white); margin-bottom: .5rem; }
.footer-tagline { font-size: .85rem; color: rgba(255,255,255,.5); margin-bottom: 1.5rem; }
.social-links { display: flex; gap: 1rem; }
.social-links a { color: rgba(255,255,255,.6); font-size: .82rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; transition: color var(--transition); }
.social-links a:hover { color: var(--rose-light); }
.site-footer h4 { font-family: var(--font-sans); font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.4); margin-bottom: 1.25rem; }
.site-footer ul { list-style: none; }
.site-footer ul li { margin-bottom: .6rem; }
.site-footer ul a { color: rgba(255,255,255,.65); font-size: .88rem; transition: color var(--transition); }
.site-footer ul a:hover { color: var(--rose-light); }
.site-footer p { color: rgba(255,255,255,.65); font-size: .88rem; line-height: 1.7; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 1.5rem 0; }
.footer-bottom p { font-size: .8rem; color: rgba(255,255,255,.4); text-align: center; }

/* ---- WhatsApp FAB ---- */
.whatsapp-fab {
  position: fixed; bottom: 2rem; right: 2rem; z-index: 90;
  background: #25D366; color: #fff;
  width: 56px; height: 56px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,.4);
  transition: transform var(--transition);
}
.whatsapp-fab:hover { transform: scale(1.1); }

/* =========================================
   ADMIN PANEL
   ========================================= */
.admin-layout { display: flex; min-height: 100vh; }
.admin-sidebar {
  width: 260px; flex-shrink: 0;
  background: var(--dark);
  padding: 1.5rem 0;
  position: sticky; top: 0; height: 100vh; overflow-y: auto;
}
.admin-sidebar-brand { padding: 0 1.5rem 1.5rem; border-bottom: 1px solid rgba(255,255,255,.08); }
.admin-sidebar-brand h2 { font-family: var(--font-serif); color: var(--white); font-size: 1.1rem; }
.admin-sidebar-brand p { color: rgba(255,255,255,.4); font-size: .75rem; margin-top: .2rem; }
.admin-nav { padding: 1rem 0; }
.admin-nav a {
  display: flex; align-items: center; gap: .75rem;
  padding: .7rem 1.5rem;
  color: rgba(255,255,255,.65);
  font-size: .88rem; font-weight: 500;
  transition: var(--transition);
}
.admin-nav a:hover, .admin-nav a.active { color: var(--white); background: rgba(201,133,106,.15); border-right: 3px solid var(--rose); }
.admin-nav a svg { width: 18px; height: 18px; flex-shrink: 0; }
.admin-nav-footer { padding: 1rem 1.5rem; border-top: 1px solid rgba(255,255,255,.08); margin-top: auto; }
.admin-main { flex: 1; display: flex; flex-direction: column; }
.admin-topbar { background: var(--white); border-bottom: 1px solid var(--border); padding: 1rem 2rem; display: flex; align-items: center; justify-content: space-between; }
.admin-topbar h1 { font-size: 1.4rem; }
.admin-content { flex: 1; padding: 2rem; }
.admin-login-wrap { display: flex; align-items: center; justify-content: center; min-height: 100vh; background: linear-gradient(135deg, var(--cream), #F0E6DE); }
.admin-login-card { background: var(--white); border-radius: 20px; padding: 3rem; width: 100%; max-width: 400px; box-shadow: 0 20px 60px rgba(44,32,24,.12); }
.admin-login-card h1 { font-size: 1.8rem; margin-bottom: .5rem; }
.admin-login-card p { margin-bottom: 2rem; }

/* ---- Dashboard Cards ---- */
.stats-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 1.25rem; margin-bottom: 2rem; }
.stat-card { background: var(--white); border-radius: var(--radius); padding: 1.5rem; border: 1px solid var(--border); }
.stat-card-label { font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--warm-gray); margin-bottom: .5rem; }
.stat-card-value { font-family: var(--font-serif); font-size: 2.2rem; color: var(--dark); }
.stat-card-sub { font-size: .78rem; color: var(--warm-gray); margin-top: .25rem; }

/* ---- Table ---- */
.table-wrap { background: var(--white); border-radius: var(--radius); border: 1px solid var(--border); overflow: hidden; }
table { width: 100%; border-collapse: collapse; }
th { background: var(--cream); padding: .85rem 1.25rem; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--warm-gray); text-align: left; border-bottom: 1px solid var(--border); }
td { padding: .9rem 1.25rem; border-bottom: 1px solid var(--border); font-size: .88rem; vertical-align: middle; }
tr:last-child td { border-bottom: none; }
tr:hover td { background: var(--cream); }

/* ---- Badges ---- */
.badge { display: inline-block; padding: .25rem .75rem; border-radius: 50px; font-size: .72rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.badge-warning { background: #fef9c3; color: #854d0e; }
.badge-info    { background: #dbeafe; color: #1e40af; }
.badge-success { background: #dcfce7; color: #166534; }
.badge-danger  { background: #fee2e2; color: #991b1b; }
.badge-secondary { background: var(--border); color: var(--warm-gray); }

/* ---- Modal ---- */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,.5);
  display: none; place-items: center; z-index: 200; padding: 1rem;
}
.modal-overlay.open { display: grid; }
.modal { background: var(--white); border-radius: 20px; padding: 2rem; width: 100%; max-width: 540px; max-height: 90vh; overflow-y: auto; }
.modal h2 { font-size: 1.4rem; margin-bottom: 1.5rem; }
.modal-actions { display: flex; gap: 1rem; justify-content: flex-end; margin-top: 1.5rem; }

/* ---- Responsive ---- */
@media (max-width: 768px) {
  .hamburger { display: flex; }
  .main-nav {
    position: fixed; top: 70px; left: 0; right: 0;
    background: var(--white); border-top: 1px solid var(--border);
    flex-direction: column; align-items: stretch;
    padding: 1rem; gap: 0;
    transform: translateY(-100%); opacity: 0; pointer-events: none;
    transition: var(--transition);
  }
  .main-nav.open { transform: none; opacity: 1; pointer-events: auto; }
  .main-nav a { padding: .85rem 0; border-bottom: 1px solid var(--border); border-radius: 0; }
  .contact-grid, .footer-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .gallery-grid { columns: 2; }
  .admin-layout { flex-direction: column; }
  .admin-sidebar { width: 100%; height: auto; position: relative; }
}
@media (max-width: 480px) {
  .gallery-grid { columns: 1; }
  .steps-nav { overflow-x: auto; }
}

/* =========================================
   Admin Responsive Menu Fix
   ========================================= */
.admin-menu-toggle,
.admin-topbar-menu,
.admin-menu-close,
.admin-sidebar-backdrop {
  display: none;
}

.admin-sidebar-brand {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.admin-nav a {
  position: relative;
  border-right: 3px solid transparent;
}

.admin-nav a.active {
  background: rgba(201,133,106,.18);
}

.admin-nav a.active::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  bottom: 10px;
  width: 4px;
  border-radius: 0 999px 999px 0;
  background: var(--rose);
}

.admin-content .table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.admin-content table {
  min-width: 760px;
}

@media (max-width: 992px) {
  body.admin-menu-open {
    overflow: hidden;
  }

  .admin-layout {
    display: block;
    min-height: 100vh;
  }

  .admin-menu-toggle {
    display: inline-flex;
    position: fixed;
    left: 1rem;
    top: .85rem;
    z-index: 260;
    width: 44px;
    height: 44px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--white);
    box-shadow: var(--shadow);
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
  }

  .admin-menu-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    border-radius: 999px;
    background: var(--dark);
  }

  .admin-sidebar-backdrop {
    position: fixed;
    inset: 0;
    z-index: 230;
    background: rgba(44,32,24,.45);
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition);
  }

  body.admin-menu-open .admin-sidebar-backdrop {
    display: block;
    opacity: 1;
    pointer-events: auto;
  }

  .admin-sidebar {
    position: fixed !important;
    top: 0;
    left: 0;
    bottom: 0;
    width: min(84vw, 320px) !important;
    height: 100vh !important;
    z-index: 250;
    transform: translateX(-105%);
    transition: transform var(--transition);
    overflow-y: auto;
    box-shadow: 18px 0 50px rgba(44,32,24,.18);
  }

  body.admin-menu-open .admin-sidebar {
    transform: translateX(0);
  }

  .admin-menu-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 10px;
    background: rgba(255,255,255,.06);
    color: var(--white);
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
  }

  .admin-main {
    min-height: 100vh;
    width: 100%;
  }

  .admin-topbar {
    position: sticky;
    top: 0;
    z-index: 120;
    min-height: 64px;
    padding: .8rem 1rem .8rem 4.25rem;
    gap: .75rem;
  }

  .admin-topbar h1 {
    font-size: 1.15rem;
    min-width: 0;
  }

  .admin-topbar span {
    display: none;
  }

  .admin-content {
    padding: 1rem;
  }

  .stats-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .8rem;
  }

  .stat-card {
    padding: 1rem;
  }

  .stat-card-value {
    font-size: 1.7rem;
  }

  .modal {
    width: calc(100vw - 2rem);
    max-height: calc(100vh - 2rem);
    padding: 1.25rem;
  }
}

@media (max-width: 640px) {
  .admin-content {
    padding: .85rem;
  }

  .stats-cards,
  .services-grid,
  .staff-grid {
    grid-template-columns: 1fr;
  }

  .admin-topbar h1 {
    font-size: 1.05rem;
  }

  .admin-content .card-body,
  .booking-summary,
  .modal {
    padding: 1rem;
  }

  .modal-actions,
  .booking-nav {
    flex-direction: column;
  }

  .modal-actions .btn,
  .booking-nav .btn {
    width: 100%;
    justify-content: center;
  }

  .slots-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 992px) {
  .admin-topbar-menu {
    display: none;
  }
}
