/* ================================
   BarberShop — Main Stylesheet
   ================================ */

:root {
  --navy:        #1E1E2E;
  --navy-light:  #2A2A3E;
  --gold:        #C9A84C;
  --gold-light:  #F0D080;
  --cream:       #F5F0E8;
  --white:       #FFFFFF;
  --text:        #1E1E2E;
  --text-muted:  #6B7280;
  --border:      #E0D8CC;
  --success:     #2E7D52;
  --danger:      #C0392B;
  --warning:     #D97706;
  --radius:      8px;
  --radius-lg:   14px;
  --shadow:      0 2px 12px rgba(30,30,46,.08);
  --shadow-lg:   0 6px 28px rgba(30,30,46,.14);
  --transition:  .18s ease;
}

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

body {
  font-family: 'Inter', sans-serif;
  background: var(--cream);
  color: var(--text);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

h1, h2, h3, h4, h5 {
  font-family: 'Playfair Display', serif;
}

/* ── Nav ── */
.site-nav {
  background: var(--navy);
  padding: .75rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 12px rgba(0,0,0,.25);
}

.site-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--gold) !important;
  letter-spacing: .02em;
}

.site-logo i { margin-right: .35rem; }

.site-nav .nav-link {
  color: rgba(255,255,255,.85) !important;
  font-size: .9rem;
  font-weight: 500;
  padding: .4rem .75rem;
  border-radius: var(--radius);
  transition: color var(--transition), background var(--transition);
}

.site-nav .nav-link:hover,
.site-nav .nav-link.active {
  color: var(--gold) !important;
  background: rgba(201,168,76,.08);
}

.btn-accent {
  background: var(--gold);
  color: var(--navy) !important;
  font-weight: 600;
  border: none;
  border-radius: var(--radius);
  transition: background var(--transition), transform var(--transition);
}

.btn-accent:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
}

/* ── Main ── */
.main-content { flex: 1; }

/* ── Hero ── */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, #2D2D42 100%);
  color: var(--white);
  padding: 5rem 0 4rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23C9A84C' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-title {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--white);
}

.hero-title span { color: var(--gold); }

.hero-subtitle {
  font-size: 1.1rem;
  color: rgba(255,255,255,.72);
  margin: 1rem 0 2rem;
  font-weight: 300;
}

.btn-hero {
  background: var(--gold);
  color: var(--navy);
  font-weight: 700;
  font-size: 1.05rem;
  padding: .85rem 2.2rem;
  border-radius: var(--radius);
  border: none;
  text-decoration: none;
  display: inline-block;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 4px 18px rgba(201,168,76,.35);
}

.btn-hero:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(201,168,76,.45);
  color: var(--navy);
  text-decoration: none;
}

/* ── Section ── */
.section { padding: 4rem 0; }
.section-alt { background: var(--white); }

.section-title {
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: .4rem;
}

.section-subtitle {
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  font-size: .95rem;
}

/* ── Cards ── */
.card-base {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
  overflow: hidden;
}

.card-base:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

/* ── Barber Card ── */
.barber-card {
  text-align: center;
  padding: 1.75rem 1.25rem;
}

.barber-avatar {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--gold);
  margin-bottom: 1rem;
}

.barber-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: .25rem;
}

.barber-specialty {
  font-size: .82rem;
  color: var(--gold);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .07em;
  margin-bottom: .75rem;
}

.barber-bio {
  font-size: .85rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ── Service Card ── */
.service-card {
  padding: 1.4rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.service-icon {
  width: 42px;
  height: 42px;
  background: rgba(201,168,76,.12);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--gold);
  font-size: 1.15rem;
}

.service-name {
  font-weight: 600;
  font-size: .95rem;
  color: var(--navy);
  margin-bottom: .2rem;
}

.service-meta {
  font-size: .8rem;
  color: var(--text-muted);
}

.service-price {
  font-weight: 700;
  color: var(--gold);
  font-size: 1rem;
  margin-left: auto;
  white-space: nowrap;
}

/* ── Widget ── */
.widget-card {
  padding: 1.5rem;
  margin-bottom: 1rem;
}

.widget-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  color: var(--navy);
  margin-bottom: .6rem;
  border-bottom: 2px solid var(--gold);
  padding-bottom: .4rem;
  display: inline-block;
}

/* ── Auth Forms ── */
.auth-wrap {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
}

.auth-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 2.5rem;
  width: 100%;
  max-width: 460px;
}

.auth-title {
  font-size: 1.6rem;
  color: var(--navy);
  margin-bottom: .3rem;
}

.auth-subtitle {
  color: var(--text-muted);
  font-size: .9rem;
  margin-bottom: 1.75rem;
}

.form-label { font-size: .85rem; font-weight: 600; color: var(--navy); }

.form-control, .form-select {
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: .6rem .9rem;
  font-size: .92rem;
  background: var(--cream);
  color: var(--text);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-control:focus, .form-select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,168,76,.18);
  background: var(--white);
  outline: none;
}

.btn-primary-custom {
  background: var(--navy);
  color: var(--white);
  border: none;
  border-radius: var(--radius);
  padding: .7rem 1.5rem;
  font-weight: 600;
  font-size: .95rem;
  width: 100%;
  transition: background var(--transition);
}

.btn-primary-custom:hover { background: var(--navy-light); color: var(--white); }

.btn-outline-custom {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--navy);
  border-radius: var(--radius);
  padding: .6rem 1.2rem;
  font-weight: 600;
  font-size: .9rem;
  transition: all var(--transition);
}

.btn-outline-custom:hover {
  background: var(--navy);
  color: var(--white);
}

/* ── Booking Flow ── */
.booking-wrap { max-width: 860px; margin: 0 auto; padding: 2rem 1rem 4rem; }

.step-indicator {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 2.5rem;
}

.step-indicator .step {
  display: flex;
  align-items: center;
  gap: .5rem;
  flex: 1;
}

.step-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--border);
  color: var(--text-muted);
  font-weight: 700;
  font-size: .85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all var(--transition);
}

.step-num.active { background: var(--gold); color: var(--navy); }
.step-num.done { background: var(--success); color: var(--white); }

.step-label {
  font-size: .82rem;
  font-weight: 600;
  color: var(--text-muted);
}

.step-label.active { color: var(--navy); }

.step-line {
  flex: 1;
  height: 2px;
  background: var(--border);
  margin: 0 .5rem;
}

.booking-panel {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 2rem;
}

.booking-panel-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 1.5rem;
  padding-bottom: .75rem;
  border-bottom: 1px solid var(--border);
}

/* Barber select cards */
.barber-select-card {
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  cursor: pointer;
  text-align: center;
  transition: all var(--transition);
  background: var(--white);
}

/* Shared hover/selected state for booking selection cards */
.barber-select-card:hover,
.service-select-item:hover     { border-color: var(--gold); background: rgba(201,168,76,.04); }

.barber-select-card.selected,
.service-select-item.selected  { border-color: var(--gold); background: rgba(201,168,76,.09); }

.barber-select-card.selected .barber-name { color: var(--gold); }

/* Service select */
.service-select-item {
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: .9rem 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: .5rem;
  transition: all var(--transition);
  background: var(--white);
}

/* ── Slot Picker (superdoc-style) ── */
.slot-picker { user-select: none; }

.slot-days-nav {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-bottom: 1rem;
}

.slot-nav-btn {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--navy);
  transition: all var(--transition);
  flex-shrink: 0;
}

.slot-nav-btn:hover:not(:disabled) {
  border-color: var(--gold);
  color: var(--gold);
}

.slot-nav-btn:disabled { opacity: .35; cursor: not-allowed; }

.slot-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .75rem;
}

.slot-col-head {
  text-align: center;
  padding-bottom: .6rem;
  border-bottom: 2px solid var(--border);
  margin-bottom: .6rem;
}

.slot-col-day {
  font-weight: 600;
  font-size: .88rem;
  color: var(--navy);
  text-transform: capitalize;
}

.slot-col-date {
  font-size: .78rem;
  color: var(--text-muted);
}

.slot-list { display: flex; flex-direction: column; gap: .35rem; }

.slot-btn {
  padding: .45rem .2rem;
  border-radius: var(--radius);
  font-size: .88rem;
  font-weight: 600;
  text-align: center;
  border: 1.5px solid var(--border);
  background: var(--white);
  color: var(--text);
  cursor: pointer;
  transition: all var(--transition);
  width: 100%;
}

.slot-btn:hover { border-color: var(--gold); background: rgba(201,168,76,.08); color: var(--navy); }
.slot-btn.selected { border-color: var(--gold); background: var(--gold); color: var(--navy); }

.slot-unavailable {
  background: repeating-linear-gradient(
    -45deg,
    #F0EDE8,
    #F0EDE8 4px,
    #E8E4DC 4px,
    #E8E4DC 8px
  );
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  height: 34px;
  opacity: .5;
}

.slot-loading {
  text-align: center;
  padding: 2rem;
  color: var(--text-muted);
  font-size: .9rem;
}

.slot-empty {
  text-align: center;
  padding: 1rem .5rem;
  color: var(--text-muted);
  font-size: .82rem;
}

/* Booking summary */
.booking-summary {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  margin-bottom: 1.5rem;
}

.booking-summary-row {
  display: flex;
  justify-content: space-between;
  font-size: .9rem;
  padding: .3rem 0;
  border-bottom: 1px solid var(--border);
}

.booking-summary-row:last-child { border-bottom: none; }

.summary-label { color: var(--text-muted); }
.summary-value { font-weight: 600; color: var(--navy); }

/* ── Dashboard ── */
.dashboard-wrap { max-width: 900px; margin: 0 auto; padding: 2rem 1rem 4rem; }

.page-header {
  padding: 2rem 0 1.5rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 2rem;
}

.page-header h1 {
  font-size: 1.8rem;
  color: var(--navy);
  margin-bottom: .15rem;
}

.page-header p { color: var(--text-muted); margin: 0; }

/* Appointment card */
.appt-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
  margin-bottom: .85rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  box-shadow: var(--shadow);
  transition: transform var(--transition);
}

.appt-card:hover { transform: translateY(-1px); }

.appt-date-box {
  text-align: center;
  width: 56px;
  flex-shrink: 0;
}

.appt-date-day {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
}

.appt-date-month {
  font-size: .72rem;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
  letter-spacing: .08em;
}

.appt-divider {
  width: 1px;
  height: 48px;
  background: var(--border);
  flex-shrink: 0;
}

.appt-info { flex: 1; min-width: 0; }
.appt-service { font-weight: 600; font-size: .97rem; color: var(--navy); }
.appt-meta { font-size: .83rem; color: var(--text-muted); margin-top: .15rem; }

.appt-actions { display: flex; gap: .5rem; align-items: center; flex-shrink: 0; }

/* ── Badge overrides ── */
.badge { padding: .35em .65em; font-size: .75em; font-weight: 600; border-radius: 50px; }
.badge-warning  { background: #FEF3C7; color: #92400E; }
.badge-success  { background: #D1FAE5; color: #065F46; }
.badge-danger   { background: #FEE2E2; color: #991B1B; }
.badge-secondary { background: #F3F4F6; color: #374151; }

/* ── Admin Panel ── */
.admin-layout { display: flex; min-height: calc(100vh - 62px); }

.admin-sidebar {
  width: 230px;
  background: var(--navy);
  flex-shrink: 0;
  padding: 1.5rem 0;
  position: sticky;
  top: 62px;
  height: calc(100vh - 62px);
  overflow-y: auto;
}

.sidebar-label {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.35);
  padding: 1rem 1.25rem .4rem;
}

.sidebar-link {
  display: flex;
  align-items: center;
  gap: .65rem;
  padding: .6rem 1.25rem;
  color: rgba(255,255,255,.72);
  text-decoration: none;
  font-size: .88rem;
  font-weight: 500;
  transition: all var(--transition);
  border-left: 3px solid transparent;
}

.sidebar-link:hover,
.sidebar-link.active {
  background: rgba(201,168,76,.1);
  color: var(--gold);
  border-left-color: var(--gold);
}

.sidebar-link i { font-size: 1rem; width: 18px; }

.admin-content { flex: 1; padding: 2rem; overflow-x: hidden; }

.admin-content .page-title {
  font-size: 1.5rem;
  color: var(--navy);
  margin-bottom: 1.5rem;
}

/* ── Schedule Grid ── */
.schedule-grid { display: flex; flex-direction: column; gap: .6rem; }

.schedule-day-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: .75rem 1rem;
}

.schedule-day-name {
  width: 100px;
  font-weight: 600;
  font-size: .9rem;
  color: var(--navy);
  flex-shrink: 0;
}

.schedule-toggle { flex-shrink: 0; }

.schedule-times {
  display: flex;
  align-items: center;
  gap: .5rem;
  flex: 1;
}

.schedule-times.disabled { opacity: .4; pointer-events: none; }

/* ── Stats ── */
.stat-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.4rem;
  box-shadow: var(--shadow);
}

.stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
}

.stat-label {
  font-size: .8rem;
  color: var(--text-muted);
  margin-top: .25rem;
}

.stat-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  background: rgba(201,168,76,.12);
  color: var(--gold);
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ── Table ── */
.table-custom {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.table-custom th {
  background: var(--navy);
  color: rgba(255,255,255,.8);
  font-size: .78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  padding: .85rem 1rem;
  border: none;
}

.table-custom td {
  padding: .8rem 1rem;
  font-size: .88rem;
  vertical-align: middle;
  border-bottom: 1px solid var(--border);
}

.table-custom tr:last-child td { border-bottom: none; }
.table-custom tr:hover td { background: rgba(201,168,76,.04); }

/* ── Footer ── */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,.7);
  padding: 3rem 0 1.5rem;
  margin-top: auto;
}

.footer-brand {
  font-family: 'Playfair Display', serif;
  color: var(--gold);
  font-size: 1.2rem;
  margin-bottom: .5rem;
}

.footer-tagline { font-size: .85rem; color: rgba(255,255,255,.5); }

.footer-links a {
  color: rgba(255,255,255,.6);
  text-decoration: none;
  font-size: .88rem;
  display: block;
  margin-bottom: .3rem;
  transition: color var(--transition);
}

.footer-links a:hover { color: var(--gold); }

.site-footer h6 {
  color: var(--gold);
  font-size: .82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: .75rem;
}

.site-footer hr { border-color: rgba(255,255,255,.1); }

/* ── Alert/Flash ── */
.alert-flash {
  border-radius: var(--radius);
  font-size: .9rem;
  padding: .75rem 1rem;
  margin-bottom: 1rem;
}

/* ── Utility ── */
.text-gold { color: var(--gold) !important; }
.fw-600 { font-weight: 600 !important; }

@keyframes spin {
  to { transform: rotate(360deg); }
}
.spin { display: inline-block; animation: spin .8s linear infinite; }
.bg-navy { background: var(--navy) !important; }
.btn-danger-sm {
  background: transparent;
  border: 1px solid var(--danger);
  color: var(--danger);
  font-size: .78rem;
  padding: .25rem .65rem;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--transition);
}
.btn-danger-sm:hover { background: var(--danger); color: var(--white); }

.btn-sm-custom {
  background: var(--navy);
  color: var(--white);
  border: none;
  font-size: .8rem;
  padding: .3rem .75rem;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background var(--transition);
}

.btn-sm-custom:hover { background: var(--navy-light); }

/* ── Profile picture upload ── */
.avatar-upload-wrap {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.avatar-preview {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--gold);
}

/* ── Schedule time inputs ── */
.schedule-time-input { width: 108px; }

/* ── Language switcher ── */
.lang-btn {
  color: rgba(255,255,255,.6);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-decoration: none;
  padding: .15rem .35rem;
  border-radius: 4px;
  transition: color var(--transition), background var(--transition);
}
.lang-btn:hover  { color: var(--gold); }
.lang-btn-active { color: var(--gold) !important; background: rgba(201,168,76,.12); }

/* ══════════════════════════════
   Responsive — tablets (≤ 768px)
   ══════════════════════════════ */
@media (max-width: 768px) {
  /* Hero */
  .hero { padding: 3rem 0 2.5rem; }

  /* Admin layout: stack sidebar above content */
  .admin-layout { flex-direction: column; }

  .admin-sidebar {
    width: 100%;
    height: auto;
    position: static;
    display: flex;
    flex-wrap: wrap;
    gap: .25rem;
    padding: .5rem .75rem;
  }

  .sidebar-label { display: none; } /* Too noisy in horizontal bar */

  .sidebar-link {
    border-left: none;
    border-radius: var(--radius);
    padding: .35rem .7rem;
    font-size: .8rem;
    flex-shrink: 0;
  }

  .admin-content { padding: 1.25rem 1rem; }

  /* Slot picker: 1 column per day stacked */
  .slot-cols { grid-template-columns: 1fr; }

  /* Slot buttons a bit taller for touch */
  .slot-btn { padding: .55rem; font-size: .9rem; }

  /* Booking panel */
  .booking-panel { padding: 1.5rem 1.25rem; }
  .booking-wrap  { padding: 1.25rem 1rem 3rem; }

  /* Schedule time inputs: allow natural wrap */
  .schedule-times { flex-wrap: wrap; }
  .schedule-time-input { width: 100%; min-width: 0; }

  /* Appointment cards */
  .appt-card { flex-wrap: wrap; gap: .75rem; }

  /* Stats grid: 2 up on tablet */
  .stat-card { padding: 1rem; }
  .stat-num  { font-size: 1.6rem; }
}

/* ══════════════════════════════
   Responsive — phones (≤ 576px)
   ══════════════════════════════ */
@media (max-width: 576px) {
  /* Step indicator: hide labels, show numbers only */
  .step-label { display: none; }
  .step-line  { flex: none; width: 18px; }
  .step       { flex: none; }
  .step-indicator { justify-content: center; gap: .35rem; }

  /* Booking */
  .booking-panel { padding: 1.1rem 1rem; }
  .booking-wrap  { padding: 1rem .75rem 2.5rem; }

  /* Appointment cards: full column on small phone */
  .appt-card       { flex-direction: column; align-items: flex-start; gap: .6rem; }
  .appt-divider    { display: none; }
  .appt-date-box   { display: flex; align-items: baseline; gap: .35rem; }
  .appt-date-day   { font-size: 1.2rem; }
  .appt-actions    { width: 100%; justify-content: flex-start; }

  /* Hero */
  .hero { padding: 2.5rem 0 2rem; }
  .btn-hero { font-size: .95rem; padding: .75rem 1.75rem; }

  /* Auth card */
  .auth-card { padding: 1.75rem 1.25rem; }

  /* Admin filter form: stack inputs */
  .admin-filter-form .form-select,
  .admin-filter-form input[type="date"] { width: 100% !important; }
  .admin-filter-form { flex-direction: column; gap: .5rem !important; }

  /* Service card: price on new row when tight */
  .service-card { flex-wrap: wrap; }

  /* Table: smaller text on phone */
  .table-custom td,
  .table-custom th { padding: .6rem .65rem; font-size: .8rem; }

  /* Admin content */
  .admin-content { padding: 1rem .75rem; }

  /* Sidebar: even more compact */
  .sidebar-link { padding: .3rem .6rem; font-size: .78rem; }
}
