/* ============================================================
   SANAT BARBER — Luxury Black & Gold Theme (Poppins Edition)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Poppins:wght@300;400;500;600;700&display=swap');

/* ---------- CSS Variables ---------- */
:root {
  --black:       #0A0A0A;
  --dark:        #1A1A1A;
  --card:        #141414;
  --card-hover:  #1C1C1C;
  --gold:        #D4A843;
  --gold-light:  #E8C97A;
  --gold-dark:   #B8912E;
  --gold-muted:  rgba(212,168,67,0.15);
  --gold-border: rgba(212,168,67,0.2);
  --white:       #F5F5F5;
  --gray:        #888888;
  --light-gray:  #aaaaaa;
  --danger:      #c0392b;
  --success:     #1a7a3f;
  --radius:      15px;
  --radius-pill: 30px;
  --shadow:      0 5px 25px rgba(0,0,0,0.5);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background:  var(--black);
  color:       var(--white);
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  min-height:  100vh;
  line-height: 1.6;
}

body.rtl { direction: rtl; text-align: right; }

h1, h2, h3 {
  font-family: 'Playfair Display', serif;
  color: var(--gold);
}

a { color: var(--gold); text-decoration: none; transition: color 0.3s; }
a:hover { color: var(--gold-light); }

.hidden { display: none !important; }

/* ---------- Scrollbar ---------- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--dark); }
::-webkit-scrollbar-thumb { background: var(--gold-dark); border-radius: 3px; }

/* ============================================================
   LANGUAGE SELECTION OVERLAY
   ============================================================ */
.lang-overlay {
  position:        fixed;
  inset:           0;
  background:      var(--black);
  display:         flex;
  align-items:     center;
  justify-content: center;
  z-index:         1000;
}

.lang-overlay::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(212,168,67,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.lang-container {
  text-align: center;
  padding:    40px 20px;
  max-width:  480px;
  width:      100%;
  position:   relative;
  z-index:    1;
}

.barber-logo {
  font-size:     56px;
  color:         var(--gold);
  margin-bottom: 16px;
  display:       block;
  animation:     glow 3s ease-in-out infinite alternate;
  filter:        drop-shadow(0 0 20px rgba(212,168,67,0.3));
}

@keyframes glow {
  from { text-shadow: 0 0 10px var(--gold-dark); }
  to   { text-shadow: 0 0 30px var(--gold), 0 0 60px var(--gold-dark); }
}

.lang-container h1 {
  font-size:       2.8rem;
  letter-spacing:  4px;
  margin-bottom:   8px;
  background:      linear-gradient(135deg, var(--gold-light), var(--gold), var(--gold-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.lang-container .subtitle {
  color:          var(--gray);
  font-size:      0.85rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom:  50px;
  font-weight:    300;
}

.lang-divider {
  color:          var(--gold);
  font-size:      0.8rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-bottom:  28px;
  opacity:        0.7;
}

.lang-buttons {
  display:         flex;
  gap:             16px;
  justify-content: center;
}

.lang-btn {
  padding:        14px 44px;
  border:         2px solid var(--gold);
  background:     transparent;
  color:          var(--gold);
  font-family:    'Poppins', sans-serif;
  font-size:      1rem;
  font-weight:    500;
  letter-spacing: 2px;
  cursor:         pointer;
  border-radius:  var(--radius-pill);
  transition:     all 0.3s;
}

.lang-btn:hover {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color:      var(--black);
  transform:  translateY(-2px);
  box-shadow: 0 5px 20px rgba(212,168,67,0.4);
}

/* ============================================================
   HEADER
   ============================================================ */
header {
  border-bottom:   1px solid var(--gold-border);
  background:      rgba(10, 10, 10, 0.95);
  backdrop-filter:  blur(10px);
  position:        sticky;
  top:             0;
  z-index:         100;
}

.header-content {
  max-width:   900px;
  margin:      0 auto;
  padding:     16px 24px;
  display:     flex;
  align-items: center;
  justify-content: space-between;
}

.header-left {
  display:     flex;
  align-items: center;
  gap:         14px;
}

.header-icon {
  font-size: 28px;
  color:     var(--gold);
}

.header-left h1 {
  font-size:      1.4rem;
  letter-spacing: 2px;
  margin-bottom:  0;
}

.header-left .tagline {
  font-size:      0.7rem;
  color:          var(--gray);
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight:    300;
}

.header-right {
  display:     flex;
  align-items: center;
  gap:         16px;
}

.lang-toggle {
  background:     transparent;
  border:         2px solid var(--gold-border);
  color:          var(--gold);
  padding:        6px 14px;
  font-size:      0.75rem;
  font-family:    'Poppins', sans-serif;
  font-weight:    600;
  letter-spacing: 1px;
  cursor:         pointer;
  border-radius:  var(--radius-pill);
  transition:     all 0.3s;
}
.lang-toggle:hover { background: var(--gold-muted); }

.admin-link {
  font-size:      0.75rem;
  letter-spacing: 1px;
  color:          var(--gray);
  text-transform: uppercase;
}
.admin-link:hover { color: var(--gold); }

/* ============================================================
   MAIN CONTENT
   ============================================================ */
main {
  max-width: 780px;
  margin:    0 auto;
  padding:   40px 24px 80px;
}

/* ---------- Progress Indicator ---------- */
.progress-wrap {
  display:         flex;
  align-items:     center;
  justify-content: center;
  margin-bottom:   48px;
}

.progress-steps {
  display:     flex;
  align-items: center;
  gap:         0;
}

.p-step {
  width:           38px;
  height:          38px;
  border-radius:   50%;
  border:          2px solid var(--gold-border);
  background:      var(--dark);
  color:           var(--gray);
  display:         flex;
  align-items:     center;
  justify-content: center;
  font-size:       0.8rem;
  font-weight:     600;
  transition:      all 0.3s;
  position:        relative;
}

.p-step.active {
  border-color: var(--gold);
  background:   linear-gradient(135deg, var(--gold), var(--gold-dark));
  color:        var(--black);
  box-shadow:   0 0 15px rgba(212,168,67,0.3);
}

.p-step.done {
  border-color: var(--gold);
  color:        var(--gold);
  background:   var(--gold-muted);
}

.p-line {
  width:      60px;
  height:     2px;
  background: var(--gold-border);
}

/* ---------- Step Title ---------- */
.step-title {
  font-size:      1.6rem;
  margin-bottom:  32px;
  text-align:     center;
  letter-spacing: 1px;
}

/* ---------- Service Cards ---------- */
.services-grid {
  display:               grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap:                   20px;
}

.service-card {
  border:        1px solid var(--gold-border);
  border-radius: var(--radius);
  padding:       32px 24px;
  background:    var(--card);
  cursor:        pointer;
  text-align:    center;
  transition:    all 0.4s ease;
  position:      relative;
  overflow:      hidden;
}

.service-card::before {
  content:    '';
  position:   absolute;
  top: 0; left: -100%;
  width:      100%;
  height:     100%;
  background: linear-gradient(90deg, transparent, rgba(212,168,67,0.05), transparent);
  transition: left 0.6s;
}

.service-card:hover::before { left: 100%; }

.service-card:hover {
  border-color: var(--gold);
  background:   var(--card-hover);
  transform:    translateY(-5px);
  box-shadow:   0 10px 30px rgba(212,168,67,0.1);
}

.service-card.selected {
  border-color: var(--gold);
  background:   var(--gold-muted);
  box-shadow:   0 0 0 2px var(--gold), 0 10px 30px rgba(212,168,67,0.2);
}

.service-icon {
  font-size:     36px;
  margin-bottom: 14px;
  display:       block;
}

.service-card h3 {
  font-size:     1.1rem;
  margin-bottom: 8px;
}

.service-duration {
  font-size:      0.8rem;
  color:          var(--gray);
  margin-bottom:  14px;
  letter-spacing: 0.5px;
  font-weight:    300;
}

.service-price {
  font-size:   1.4rem;
  font-weight: 600;
  color:       var(--gold-light);
}

.service-currency {
  font-size:   0.75rem;
  color:       var(--gray);
  margin-left: 3px;
}

/* ---------- Date & Time ---------- */
.datetime-grid {
  display:               grid;
  grid-template-columns: 1fr 1fr;
  gap:                   24px;
}

@media (max-width: 600px) {
  .datetime-grid { grid-template-columns: 1fr; }
}

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

.form-group label {
  display:        block;
  font-size:      0.8rem;
  font-weight:    500;
  color:          var(--gold);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom:  10px;
}

.luxury-input {
  width:         100%;
  background:    var(--card);
  border:        1px solid var(--gold-border);
  border-radius: 10px;
  padding:       14px 18px;
  color:         var(--white);
  font-family:   'Poppins', sans-serif;
  font-size:     0.95rem;
  transition:    border-color 0.3s;
  outline:       none;
}

.luxury-input:focus { border-color: var(--gold); }
.luxury-input::placeholder { color: var(--gray); }

/* native date picker dark fix */
.luxury-input[type="date"]::-webkit-calendar-picker-indicator {
  filter: invert(70%) sepia(50%) saturate(500%) hue-rotate(10deg);
  cursor: pointer;
}
.luxury-input[type="date"] { color-scheme: dark; }

/* ---------- Time Slots ---------- */
.slots-grid {
  display:               grid;
  grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
  gap:                   10px;
  margin-top:            4px;
}

.slot-btn {
  padding:       10px 6px;
  border:        1px solid var(--gold-border);
  background:    var(--card);
  color:         var(--white);
  font-family:   'Poppins', sans-serif;
  font-size:     0.82rem;
  font-weight:   500;
  border-radius: 10px;
  cursor:        pointer;
  transition:    all 0.3s;
  text-align:    center;
}

.slot-btn:hover        { border-color: var(--gold); color: var(--gold); background: var(--gold-muted); }
.slot-btn.selected     { background: linear-gradient(135deg, var(--gold), var(--gold-dark)); color: var(--black); border-color: var(--gold); font-weight: 600; }

.slot-empty {
  color:      var(--gray);
  font-size:  0.85rem;
  padding:    16px 0;
  text-align: center;
}

/* ---------- Upload ---------- */
.upload-area {
  border:          2px dashed var(--gold-border);
  border-radius:   var(--radius);
  padding:         40px 20px;
  text-align:      center;
  cursor:          pointer;
  transition:      all 0.3s;
  background:      var(--card);
}

.upload-area:hover, .upload-area.dragover {
  border-color: var(--gold);
  background:   var(--gold-muted);
}

.upload-icon { font-size: 40px; margin-bottom: 12px; display: block; }

.upload-area p {
  color:         var(--light-gray);
  font-size:     0.9rem;
  margin-bottom: 6px;
}

.upload-hint { font-size: 0.75rem !important; color: var(--gray) !important; }

#receipt-preview {
  max-width:     100%;
  max-height:    220px;
  border-radius: 10px;
  border:        1px solid var(--gold-border);
  margin-top:    16px;
  object-fit:    contain;
}

/* ---------- Booking Summary ---------- */
.booking-summary {
  background:    var(--card);
  border:        1px solid var(--gold-border);
  border-radius: var(--radius);
  padding:       24px;
  margin-bottom: 28px;
}

.summary-row {
  display:         flex;
  justify-content: space-between;
  padding:         8px 0;
  font-size:       0.9rem;
  border-bottom:   1px solid rgba(255,255,255,0.05);
}

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

.summary-label { color: var(--gray); }
.summary-value { color: var(--white); font-weight: 500; }
.summary-price { color: var(--gold-light); font-weight: 600; font-size: 1.05rem; }

/* ---------- Buttons ---------- */
.btn-primary {
  background:     linear-gradient(135deg, var(--gold), var(--gold-dark));
  color:          var(--black);
  border:         none;
  padding:        14px 40px;
  font-family:    'Poppins', sans-serif;
  font-size:      0.95rem;
  font-weight:    600;
  letter-spacing: 0.5px;
  border-radius:  var(--radius-pill);
  cursor:         pointer;
  transition:     all 0.3s;
}

.btn-primary:hover    { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(212,168,67,0.4); }
.btn-primary:disabled { background: var(--gold-dark); opacity: 0.5; cursor: not-allowed; transform: none; box-shadow: none; }

.btn-secondary {
  background:     transparent;
  color:          var(--gold);
  border:         2px solid var(--gold);
  padding:        12px 35px;
  font-family:    'Poppins', sans-serif;
  font-size:      0.95rem;
  font-weight:    500;
  border-radius:  var(--radius-pill);
  cursor:         pointer;
  transition:     all 0.3s;
}

.btn-secondary:hover { background: var(--gold); color: var(--black); }

.step-nav {
  display:         flex;
  justify-content: space-between;
  align-items:     center;
  margin-top:      36px;
  gap:             12px;
}

/* ---------- Success Screen ---------- */
.success-wrap {
  text-align:      center;
  padding:         60px 20px;
  display:         flex;
  flex-direction:  column;
  align-items:     center;
}

.success-icon {
  width:           80px;
  height:          80px;
  border-radius:   50%;
  background:      var(--gold-muted);
  border:          2px solid var(--gold);
  display:         flex;
  align-items:     center;
  justify-content: center;
  font-size:       36px;
  color:           var(--gold);
  margin-bottom:   28px;
  animation:       pop 0.5s cubic-bezier(0.175,0.885,0.32,1.275);
}

@keyframes pop {
  from { transform: scale(0); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}

.success-wrap h2 { font-size: 2rem; margin-bottom: 14px; }
.success-wrap p  { color: var(--gray); margin-bottom: 12px; max-width: 400px; }

.booking-ref {
  font-size:      0.8rem;
  color:          var(--gray);
  margin:         16px 0 32px;
  letter-spacing: 1px;
}

/* ---------- Loading ---------- */
.spinner {
  display:         flex;
  align-items:     center;
  justify-content: center;
  padding:         40px;
  color:           var(--gray);
  font-size:       0.85rem;
  gap:             10px;
}

.spin-ring {
  width:  22px;
  height: 22px;
  border: 2px solid var(--gold-border);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Error / Info Messages ---------- */
.msg {
  padding:       12px 18px;
  border-radius: 10px;
  font-size:     0.85rem;
  margin-bottom: 12px;
}
.msg-error { background: rgba(192,57,43,0.15); border: 1px solid rgba(192,57,43,0.5); color: #e74c3c; }
.msg-info  { background: var(--gold-muted); border: 1px solid var(--gold-border); color: var(--gold); }

/* ============================================================
   ADMIN DASHBOARD
   ============================================================ */

/* --- Login screen --- */
.login-wrap {
  min-height:      100vh;
  display:         flex;
  align-items:     center;
  justify-content: center;
  background:      var(--black);
  padding:         20px;
  position:        relative;
}

.login-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(212,168,67,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.login-card {
  width:         100%;
  max-width:     420px;
  background:    var(--card);
  border:        1px solid var(--gold-border);
  border-radius: 20px;
  padding:       48px 40px;
  box-shadow:    var(--shadow);
  position:      relative;
  z-index:       1;
}

.login-card h2 { text-align: center; font-size: 1.8rem; margin-bottom: 6px; }
.login-subtitle { text-align: center; color: var(--gray); font-size: 0.8rem; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 36px; font-weight: 300; }

.login-error {
  background:    rgba(192,57,43,0.15);
  border:        1px solid rgba(192,57,43,0.4);
  color:         #e74c3c;
  padding:       12px 16px;
  border-radius: 10px;
  font-size:     0.83rem;
  margin-bottom: 16px;
  text-align:    center;
}

/* --- Dashboard Layout --- */
.dash-header {
  background:      rgba(10, 10, 10, 0.95);
  backdrop-filter:  blur(10px);
  border-bottom:   1px solid var(--gold-border);
  position:        sticky;
  top:             0;
  z-index:         100;
}

.dash-header-inner {
  max-width:       1200px;
  margin:          0 auto;
  padding:         15px 24px;
  display:         flex;
  align-items:     center;
  justify-content: space-between;
}

.dash-brand {
  display:     flex;
  align-items: center;
  gap:         12px;
}
.dash-brand span { font-size: 22px; color: var(--gold); }
.dash-brand h1   { font-size: 1.3rem; letter-spacing: 1px; }

.dash-user {
  display:     flex;
  align-items: center;
  gap:         16px;
  font-size:   0.85rem;
  color:       var(--gray);
}

.dash-user strong { color: var(--gold); }

.btn-logout {
  background:     transparent;
  border:         2px solid rgba(192,57,43,0.5);
  color:          #e74c3c;
  padding:        6px 18px;
  font-family:    'Poppins', sans-serif;
  font-size:      0.78rem;
  font-weight:    500;
  border-radius:  var(--radius-pill);
  cursor:         pointer;
  transition:     all 0.3s;
  letter-spacing: 0.5px;
}
.btn-logout:hover { background: rgba(192,57,43,0.15); }

/* --- Stats Row --- */
.dash-main { max-width: 1200px; margin: 0 auto; padding: 32px 24px; }

.stats-row {
  display:               grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap:                   20px;
  margin-bottom:         40px;
}

.stat-card {
  background:    var(--card);
  border:        1px solid var(--gold-border);
  border-radius: var(--radius);
  padding:       28px 24px;
  position:      relative;
  overflow:      hidden;
  transition:    all 0.3s;
}

.stat-card:hover {
  border-color: var(--gold);
  transform:    translateY(-3px);
  box-shadow:   0 8px 25px rgba(212,168,67,0.1);
}

.stat-card::after {
  content:    '';
  position:   absolute;
  bottom:     0; left: 0;
  width:      100%;
  height:     2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.stat-icon  { font-size: 28px; margin-bottom: 12px; display: block; }
.stat-value {
  font-family: 'Playfair Display', serif;
  font-size:   2rem;
  color:       var(--gold);
  line-height: 1;
  margin-bottom: 6px;
}
.stat-label { font-size: 0.75rem; color: var(--gray); letter-spacing: 1px; text-transform: uppercase; font-weight: 300; }

/* --- Tabs --- */
.dash-tabs {
  display:       flex;
  gap:           4px;
  border-bottom: 1px solid var(--gold-border);
  margin-bottom: 28px;
}

.dash-tab {
  padding:        12px 24px;
  background:     transparent;
  border:         none;
  color:          var(--gray);
  font-family:    'Poppins', sans-serif;
  font-size:      0.85rem;
  font-weight:    500;
  cursor:         pointer;
  border-bottom:  2px solid transparent;
  transition:     all 0.3s;
  letter-spacing: 0.5px;
  position:       relative;
}

.dash-tab:hover   { color: var(--white); }
.dash-tab.active  { color: var(--gold); border-bottom-color: var(--gold); }

.pending-badge {
  display:         inline-flex;
  align-items:     center;
  justify-content: center;
  width:           20px;
  height:          20px;
  background:      linear-gradient(135deg, var(--gold), var(--gold-dark));
  color:           var(--black);
  border-radius:   50%;
  font-size:       0.65rem;
  font-weight:     700;
  margin-left:     6px;
}

/* --- Filter Row --- */
.filter-row {
  display:       flex;
  gap:           8px;
  margin-bottom: 20px;
  flex-wrap:     wrap;
}

.filter-btn {
  padding:       8px 20px;
  border:        1px solid var(--gold-border);
  background:    transparent;
  color:         var(--gray);
  font-family:   'Poppins', sans-serif;
  font-size:     0.78rem;
  font-weight:   500;
  border-radius: var(--radius-pill);
  cursor:        pointer;
  transition:    all 0.3s;
  letter-spacing: 0.5px;
}
.filter-btn:hover         { color: var(--white); border-color: var(--white); }
.filter-btn.active        { background: linear-gradient(135deg, var(--gold), var(--gold-dark)); color: var(--black); border-color: var(--gold); }
.filter-btn.active-pending  { background: #c8900a; color: #fff; border-color: #c8900a; }
.filter-btn.active-confirmed { background: var(--success); color: #fff; border-color: var(--success); }
.filter-btn.active-rejected  { background: var(--danger); color: #fff; border-color: var(--danger); }

/* --- Booking Cards --- */
.bookings-list { display: flex; flex-direction: column; gap: 16px; }

.booking-card {
  background:    var(--card);
  border:        1px solid var(--gold-border);
  border-radius: var(--radius);
  padding:       24px;
  transition:    all 0.3s;
}
.booking-card:hover { border-color: rgba(212,168,67,0.5); transform: translateY(-2px); box-shadow: 0 5px 20px rgba(0,0,0,0.3); }

.booking-card.status-pending   { border-left: 3px solid #c8900a; }
.booking-card.status-confirmed { border-left: 3px solid var(--success); }
.booking-card.status-rejected  { border-left: 3px solid var(--danger); }

.booking-card-top {
  display:         flex;
  align-items:     flex-start;
  justify-content: space-between;
  margin-bottom:   16px;
  flex-wrap:       wrap;
  gap:             12px;
}

.booking-client h3 { font-family: 'Poppins',sans-serif; font-size: 1rem; font-weight: 600; color: var(--white); margin-bottom: 4px; }
.booking-meta      { font-size: 0.78rem; color: var(--gray); display: flex; flex-wrap: wrap; gap: 12px; }
.booking-meta span { display: flex; align-items: center; gap: 4px; }

.status-badge {
  padding:        5px 14px;
  border-radius:  var(--radius-pill);
  font-size:      0.7rem;
  font-weight:    600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  white-space:    nowrap;
}
.status-badge.pending   { background: rgba(200,144,10,0.2); color: #f0a500; border: 1px solid rgba(200,144,10,0.4); }
.status-badge.confirmed { background: rgba(26,122,63,0.2);  color: #2ecc71; border: 1px solid rgba(26,122,63,0.4); }
.status-badge.rejected  { background: rgba(192,57,43,0.2);  color: #e74c3c; border: 1px solid rgba(192,57,43,0.4); }

.booking-service {
  display:       flex;
  align-items:   center;
  gap:           24px;
  padding:       14px 0;
  border-top:    1px solid rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  margin-bottom: 16px;
  flex-wrap:     wrap;
  font-size:     0.85rem;
}
.booking-service .svc-name  { color: var(--gold); font-weight: 600; }
.booking-service .svc-info  { color: var(--light-gray); }
.booking-service .svc-price { color: var(--white); font-weight: 600; margin-left: auto; }

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

.btn-receipt {
  background:     transparent;
  border:         1px solid var(--gold-border);
  color:          var(--gold);
  padding:        8px 18px;
  font-family:    'Poppins', sans-serif;
  font-size:      0.78rem;
  font-weight:    500;
  border-radius:  var(--radius-pill);
  cursor:         pointer;
  transition:     all 0.3s;
}
.btn-receipt:hover { background: var(--gold-muted); }

.btn-confirm {
  background:     var(--success);
  color:          #fff;
  border:         none;
  padding:        8px 22px;
  font-family:    'Poppins', sans-serif;
  font-size:      0.78rem;
  font-weight:    600;
  border-radius:  var(--radius-pill);
  cursor:         pointer;
  transition:     all 0.3s;
}
.btn-confirm:hover { opacity: 0.85; transform: translateY(-1px); }

.btn-reject {
  background:     var(--danger);
  color:          #fff;
  border:         none;
  padding:        8px 22px;
  font-family:    'Poppins', sans-serif;
  font-size:      0.78rem;
  font-weight:    600;
  border-radius:  var(--radius-pill);
  cursor:         pointer;
  transition:     all 0.3s;
}
.btn-reject:hover { opacity: 0.85; transform: translateY(-1px); }

.booking-note {
  font-size:  0.8rem;
  color:      var(--light-gray);
  font-style: italic;
  margin-top: 8px;
}

/* --- Date Group Headers --- */
.date-group-header {
  display:        flex;
  align-items:    center;
  gap:            10px;
  font-family:    'Poppins', sans-serif;
  font-size:      0.9rem;
  font-weight:    600;
  color:          var(--gold);
  padding:        14px 0 8px;
  margin-top:     8px;
  border-bottom:  1px solid var(--gold-border);
  letter-spacing: 0.5px;
}

.date-group-header:first-child { margin-top: 0; }

.date-group-count {
  font-size:   0.75rem;
  font-weight: 400;
  color:       var(--gray);
}

/* --- Booking Card Layout with Date Column --- */
.booking-card-layout {
  display: flex;
  gap:     20px;
}

.booking-date-col {
  display:         flex;
  flex-direction:  column;
  align-items:     center;
  justify-content: center;
  min-width:       68px;
  padding:         12px 8px;
  background:      var(--dark);
  border:          1px solid var(--gold-border);
  border-radius:   12px;
  flex-shrink:     0;
}

.bdc-day {
  font-size:      0.65rem;
  font-weight:    500;
  color:          var(--gray);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.bdc-num {
  font-family: 'Playfair Display', serif;
  font-size:   1.8rem;
  font-weight: 700;
  color:       var(--gold);
  line-height: 1.1;
}

.bdc-month {
  font-size:      0.7rem;
  font-weight:    500;
  color:          var(--light-gray);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom:  6px;
}

.bdc-time {
  font-size:     0.78rem;
  font-weight:   600;
  color:         var(--white);
  background:    rgba(212,168,67,0.15);
  border:        1px solid var(--gold-border);
  padding:       3px 10px;
  border-radius: 8px;
  white-space:   nowrap;
}

.booking-main-col {
  flex:      1;
  min-width: 0;
}

.booking-card.is-past         { opacity: 0.65; }
.booking-card.is-past:hover   { opacity: 1; }

/* --- Client History Badges --- */
.client-visits-badge {
  display:        inline-block;
  font-family:    'Poppins', sans-serif;
  font-size:      0.65rem;
  font-weight:    600;
  padding:        2px 10px;
  border-radius:  var(--radius-pill);
  background:     rgba(212,168,67,0.15);
  color:          var(--gold);
  border:         1px solid var(--gold-border);
  margin-left:    8px;
  vertical-align: middle;
}

.client-visits-badge.new-client {
  background:   rgba(46,204,113,0.12);
  color:        #2ecc71;
  border-color: rgba(46,204,113,0.3);
}

.client-rating-badge {
  display:        inline-block;
  font-family:    'Poppins', sans-serif;
  font-size:      0.65rem;
  font-weight:    600;
  padding:        2px 10px;
  border-radius:  var(--radius-pill);
  background:     rgba(241,196,15,0.12);
  color:          #f1c40f;
  border:         1px solid rgba(241,196,15,0.3);
  margin-left:    4px;
  vertical-align: middle;
}

/* --- Bookings Toolbar --- */
.bookings-toolbar {
  display:         flex;
  align-items:     center;
  justify-content: space-between;
  margin-bottom:   20px;
  flex-wrap:       wrap;
  gap:             12px;
}

.btn-manual-book {
  background:     linear-gradient(135deg, var(--gold), var(--gold-dark));
  color:          var(--black);
  border:         none;
  padding:        10px 22px;
  font-family:    'Poppins', sans-serif;
  font-size:      0.82rem;
  font-weight:    600;
  border-radius:  var(--radius-pill);
  cursor:         pointer;
  transition:     all 0.3s;
  white-space:    nowrap;
}
.btn-manual-book:hover { transform: translateY(-2px); box-shadow: 0 5px 20px rgba(212,168,67,0.4); }

/* --- Delete Booking Button --- */
.btn-delete-booking {
  background:    transparent;
  border:        1px solid rgba(192,57,43,0.3);
  color:         #888;
  padding:       7px 16px;
  font-family:   'Poppins', sans-serif;
  font-size:     0.72rem;
  font-weight:   500;
  border-radius: var(--radius-pill);
  cursor:        pointer;
  transition:    all 0.3s;
}
.btn-delete-booking:hover {
  color:        #e74c3c;
  border-color: rgba(192,57,43,0.6);
  background:   rgba(192,57,43,0.08);
}

/* --- Modal textarea --- */
.modal-box textarea.luxury-input {
  resize:     vertical;
  min-height: 70px;
}

/* --- Payment Method Toggle --- */
.payment-toggle {
  display:       flex;
  gap:           0;
  border:        1px solid var(--gold-border);
  border-radius: var(--radius-pill);
  overflow:      hidden;
  margin-bottom: 12px;
}

.pay-btn {
  flex:        1;
  padding:     12px 16px;
  background:  transparent;
  border:      none;
  color:       var(--gray);
  font-family: 'Poppins', sans-serif;
  font-size:   0.82rem;
  font-weight: 500;
  cursor:      pointer;
  transition:  all 0.3s;
  text-align:  center;
}

.pay-btn:first-child { border-right: 1px solid var(--gold-border); }

.pay-btn.active {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color:      var(--black);
}

.pay-btn:not(.active):hover {
  background: var(--gold-muted);
  color:      var(--gold);
}

/* --- Payment Method Badge (Dashboard) --- */
.pay-method-badge {
  display:        inline-block;
  font-size:      0.68rem;
  font-weight:    600;
  padding:        3px 10px;
  border-radius:  var(--radius-pill);
  letter-spacing: 0.3px;
  white-space:    nowrap;
}

.pay-method-badge.transfer {
  background: rgba(52,152,219,0.12);
  color:      #3498db;
  border:     1px solid rgba(52,152,219,0.3);
}

.pay-method-badge.cash {
  background: rgba(46,204,113,0.12);
  color:      #2ecc71;
  border:     1px solid rgba(46,204,113,0.3);
}

/* --- Barber Rating Stars --- */
.barber-rating-row {
  display:     flex;
  align-items: center;
  gap:         10px;
  margin-top:  12px;
  padding-top: 12px;
  border-top:  1px solid rgba(255,255,255,0.05);
}

.rating-label {
  font-size:   0.78rem;
  color:       var(--gray);
  font-weight: 500;
  white-space: nowrap;
}

.star-rating {
  display: flex;
  gap:     2px;
}

.star {
  font-size:    1.3rem;
  color:        #333;
  cursor:       pointer;
  transition:   color 0.15s, transform 0.15s;
  user-select:  none;
  line-height:  1;
}

.star:hover       { transform: scale(1.2); }
.star.filled      { color: #f1c40f; }

.rating-value {
  font-size:   0.78rem;
  color:       var(--gold);
  font-weight: 600;
}

/* --- Team / Barbers Management --- */
.team-add-card {
  background:    var(--card);
  border:        1px solid var(--gold-border);
  border-radius: var(--radius);
  padding:       28px;
  margin-bottom: 28px;
}

.team-add-card h3 {
  font-family:   'Poppins', sans-serif;
  font-size:     1rem;
  font-weight:   600;
  color:         var(--gold);
  margin-bottom: 20px;
}

.team-add-form {
  display:               grid;
  grid-template-columns: 1fr 1fr auto;
  gap:                   16px;
  align-items:           end;
}

.team-add-form .form-group { margin-bottom: 0; }

.team-toast {
  font-size:  0.78rem;
  margin-top: 10px;
  height:     18px;
}

.team-list-wrap h3 {
  font-family:   'Poppins', sans-serif;
  font-size:     1rem;
  font-weight:   600;
  color:         var(--gold);
  margin-bottom: 16px;
}

.team-list {
  display:        flex;
  flex-direction: column;
  gap:            12px;
}

.team-member-card {
  display:         flex;
  align-items:     center;
  justify-content: space-between;
  background:      var(--card);
  border:          1px solid var(--gold-border);
  border-radius:   var(--radius);
  padding:         18px 24px;
  transition:      all 0.3s;
}
.team-member-card:hover { border-color: rgba(212,168,67,0.5); transform: translateY(-2px); box-shadow: 0 5px 20px rgba(0,0,0,0.3); }

.team-member-info {
  display:     flex;
  align-items: center;
  gap:         14px;
}

.team-avatar {
  width:           44px;
  height:          44px;
  border-radius:   50%;
  background:      var(--gold-muted);
  border:          2px solid var(--gold-border);
  display:         flex;
  align-items:     center;
  justify-content: center;
  font-family:     'Playfair Display', serif;
  font-size:       1.1rem;
  font-weight:     700;
  color:           var(--gold);
  flex-shrink:     0;
}

.team-member-info h4 {
  font-family:   'Poppins', sans-serif;
  font-size:     0.9rem;
  font-weight:   600;
  color:         var(--white);
  margin-bottom: 2px;
}

.you-badge {
  display:        inline-block;
  font-size:      0.6rem;
  font-weight:    600;
  padding:        2px 8px;
  border-radius:  var(--radius-pill);
  background:     rgba(212,168,67,0.15);
  color:          var(--gold);
  border:         1px solid var(--gold-border);
  margin-left:    6px;
  vertical-align: middle;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.team-joined {
  font-size:   0.72rem;
  color:       var(--gray);
  font-weight: 300;
}

.btn-delete-member {
  background:     transparent;
  border:         2px solid rgba(192,57,43,0.4);
  color:          #e74c3c;
  padding:        7px 18px;
  font-family:    'Poppins', sans-serif;
  font-size:      0.72rem;
  font-weight:    500;
  border-radius:  var(--radius-pill);
  cursor:         pointer;
  transition:     all 0.3s;
  white-space:    nowrap;
}
.btn-delete-member:hover {
  background: rgba(192,57,43,0.15);
}

@media (max-width: 600px) {
  .team-add-form { grid-template-columns: 1fr; }
  .team-add-form .btn-primary { width: 100%; }
  .team-member-card { flex-direction: column; gap: 12px; align-items: flex-start; }
  .btn-delete-member { width: 100%; text-align: center; }
}

/* --- Price Management --- */
.price-grid {
  display:               grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap:                   20px;
}

.price-card {
  background:    var(--card);
  border:        1px solid var(--gold-border);
  border-radius: var(--radius);
  padding:       28px;
  transition:    all 0.3s;
}
.price-card:hover { border-color: var(--gold); transform: translateY(-3px); box-shadow: 0 8px 25px rgba(212,168,67,0.1); }

.price-card h3 {
  font-family:   'Poppins', sans-serif;
  font-size:     0.95rem;
  font-weight:   600;
  color:         var(--white);
  margin-bottom: 6px;
}
.price-duration { font-size: 0.75rem; color: var(--gray); margin-bottom: 18px; font-weight: 300; }

.price-input-wrap {
  display:     flex;
  align-items: center;
  gap:         10px;
}

.price-input {
  flex:          1;
  background:    var(--dark);
  border:        1px solid var(--gold-border);
  border-radius: 10px;
  padding:       12px 16px;
  color:         var(--gold);
  font-family:   'Poppins', sans-serif;
  font-size:     1.1rem;
  font-weight:   600;
  outline:       none;
  transition:    border-color 0.3s;
  width:         100%;
}
.price-input:focus { border-color: var(--gold); }

.currency-label {
  font-size:   0.75rem;
  color:       var(--gray);
  white-space: nowrap;
}

.btn-save-price {
  margin-top:     14px;
  width:          100%;
  background:     var(--gold-muted);
  border:         1px solid var(--gold-border);
  color:          var(--gold);
  padding:        10px;
  font-family:    'Poppins', sans-serif;
  font-size:      0.82rem;
  font-weight:    600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  border-radius:  var(--radius-pill);
  cursor:         pointer;
  transition:     all 0.3s;
}
.btn-save-price:hover { background: linear-gradient(135deg, var(--gold), var(--gold-dark)); color: var(--black); }

.save-toast {
  font-size:  0.75rem;
  color:      #2ecc71;
  margin-top: 6px;
  text-align: center;
  height:     16px;
}

/* --- Image Modal --- */
.modal-overlay {
  position:        fixed;
  inset:           0;
  background:      rgba(0,0,0,0.92);
  display:         flex;
  align-items:     center;
  justify-content: center;
  z-index:         500;
  padding:         20px;
}

.modal-box {
  background:    var(--card);
  border:        1px solid var(--gold-border);
  border-radius: 20px;
  padding:       28px;
  max-width:     90vw;
  max-height:    90vh;
  overflow:      auto;
  position:      relative;
}

.modal-close {
  position:    absolute;
  top:         14px; right: 16px;
  background:  transparent;
  border:      none;
  color:       var(--gray);
  font-size:   1.4rem;
  cursor:      pointer;
  line-height: 1;
  transition:  color 0.3s;
}
.modal-close:hover { color: var(--white); }

.modal-box img {
  max-width:     100%;
  max-height:    75vh;
  display:       block;
  margin:        0 auto;
  border-radius: 10px;
}

.modal-title {
  font-size:      0.8rem;
  color:          var(--gray);
  text-align:     center;
  margin-top:     12px;
  letter-spacing: 0.5px;
}

/* ============================================================
   USER AUTH
   ============================================================ */
.auth-switch {
  text-align: center;
  margin-top: 20px;
  font-size:  0.85rem;
  color:      var(--gray);
}
.auth-switch a {
  color:       var(--gold);
  font-weight: 600;
  margin-left: 4px;
}
.auth-switch a:hover { color: var(--gold-light); }

/* --- Guest Login --- */
.guest-divider {
  display:        flex;
  align-items:    center;
  gap:            12px;
  margin:         20px 0 16px;
  color:          var(--gray);
  font-size:      0.75rem;
  text-transform: uppercase;
  letter-spacing: 2px;
}
.guest-divider::before,
.guest-divider::after {
  content:    '';
  flex:       1;
  height:     1px;
  background: var(--gold-border);
}

.btn-guest {
  width:          100%;
  padding:        12px;
  background:     transparent;
  border:         2px solid var(--gold-border);
  color:          var(--gold);
  font-family:    'Poppins', sans-serif;
  font-size:      0.85rem;
  font-weight:    500;
  letter-spacing: 1px;
  border-radius:  var(--radius-pill);
  cursor:         pointer;
  transition:     all 0.3s;
}
.btn-guest:hover {
  background:   var(--gold);
  color:        var(--black);
  border-color: var(--gold);
}

/* ============================================================
   USER GREETING & LOGOUT
   ============================================================ */
.user-greeting {
  font-size:   0.85rem;
  color:       var(--gold);
  font-weight: 500;
}

.btn-logout-user {
  background:     transparent;
  border:         2px solid rgba(192,57,43,0.5);
  color:          #e74c3c;
  padding:        5px 16px;
  font-family:    'Poppins', sans-serif;
  font-size:      0.72rem;
  font-weight:    500;
  border-radius:  var(--radius-pill);
  cursor:         pointer;
  transition:     all 0.3s;
  letter-spacing: 0.5px;
}
.btn-logout-user:hover { background: rgba(192,57,43,0.15); }

/* ============================================================
   NOTIFICATION BELL & PANEL
   ============================================================ */
.notif-wrapper {
  position: relative;
}

.notif-bell {
  background:    transparent;
  border:        1px solid var(--gold-border);
  color:         var(--gold);
  font-size:     1.1rem;
  padding:       7px 12px;
  border-radius: 10px;
  cursor:        pointer;
  position:      relative;
  transition:    all 0.3s;
}
.notif-bell:hover { background: var(--gold-muted); }

.notif-count {
  position:        absolute;
  top:             -6px;
  right:           -6px;
  background:      #e74c3c;
  color:           #fff;
  font-size:       0.6rem;
  font-weight:     700;
  width:           18px;
  height:          18px;
  border-radius:   50%;
  display:         flex;
  align-items:     center;
  justify-content: center;
  font-family:     'Poppins', sans-serif;
}

.notif-panel {
  position:       fixed;
  top:            60px;
  left:           50%;
  transform:      translateX(-50%);
  width:          min(380px, calc(100vw - 24px));
  max-height:     420px;
  background:     var(--card);
  border:         1px solid var(--gold-border);
  border-radius:  var(--radius);
  box-shadow:     0 8px 40px rgba(0,0,0,0.7);
  z-index:        999;
  overflow:       hidden;
  display:        flex;
  flex-direction: column;
}

.notif-panel-header {
  display:         flex;
  justify-content: space-between;
  align-items:     center;
  padding:         14px 18px;
  border-bottom:   1px solid var(--gold-border);
  font-size:       0.85rem;
  font-weight:     600;
  color:           var(--gold);
}

.notif-panel-header a {
  font-size:   0.72rem;
  font-weight: 400;
  color:       var(--gray);
}
.notif-panel-header a:hover { color: var(--gold); }

.notif-list {
  overflow-y: auto;
  flex:       1;
}

.notif-empty {
  text-align: center;
  color:      var(--gray);
  font-size:  0.85rem;
  padding:    30px 16px;
}

.notif-item {
  display:       flex;
  gap:           12px;
  padding:       14px 18px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  cursor:        pointer;
  transition:    background 0.2s;
}
.notif-item:hover  { background: rgba(255,255,255,0.03); }
.notif-item.unread { background: rgba(212,168,67,0.06); border-left: 3px solid var(--gold); }

.notif-icon {
  font-size:   1.3rem;
  flex-shrink: 0;
  margin-top:  2px;
}

.notif-body {
  flex:      1;
  min-width: 0;
}

.notif-title {
  font-size:     0.8rem;
  font-weight:   600;
  display:       block;
  margin-bottom: 2px;
}
.notif-title.confirmed { color: #2ecc71; }
.notif-title.rejected  { color: #e74c3c; }

.notif-detail {
  font-size:     0.75rem;
  color:         var(--light-gray);
  margin-bottom: 2px;
}

.notif-time {
  font-size: 0.68rem;
  color:     var(--gray);
}

/* ============================================================
   ROLE TOGGLE (Login Page)
   ============================================================ */
.role-toggle {
  display:       flex;
  gap:           0;
  margin-bottom: 24px;
  border:        1px solid var(--gold-border);
  border-radius: var(--radius-pill);
  overflow:      hidden;
}

.role-btn {
  flex:           1;
  padding:        11px 16px;
  background:     transparent;
  border:         none;
  color:          var(--gray);
  font-family:    'Poppins', sans-serif;
  font-size:      0.8rem;
  font-weight:    500;
  cursor:         pointer;
  transition:     all 0.3s;
  letter-spacing: 0.5px;
}

.role-btn:first-child { border-right: 1px solid var(--gold-border); }

.role-btn.active {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color:      var(--black);
}

.role-btn:not(.active):hover {
  background: var(--gold-muted);
  color:      var(--gold);
}

/* ============================================================
   APP TABS (Book / My Appointments)
   ============================================================ */
.app-tabs {
  display:         flex;
  justify-content: center;
  gap:             0;
  background:      rgba(26, 26, 26, 0.95);
  backdrop-filter:  blur(10px);
  border-bottom:   1px solid var(--gold-border);
  position:        sticky;
  top:             58px;
  z-index:         90;
}

.app-tab {
  padding:        13px 32px;
  background:     transparent;
  border:         none;
  border-bottom:  2px solid transparent;
  color:          var(--gray);
  font-family:    'Poppins', sans-serif;
  font-size:      0.85rem;
  font-weight:    500;
  cursor:         pointer;
  transition:     all 0.3s;
  letter-spacing: 0.5px;
}

.app-tab:hover  { color: var(--white); }
.app-tab.active { color: var(--gold); border-bottom-color: var(--gold); }

/* ============================================================
   MY APPOINTMENTS
   ============================================================ */
.appointments-container {
  max-width: 780px;
  margin:    0 auto;
  padding:   32px 24px 80px;
}

.appt-section {
  margin-bottom: 40px;
}

.appt-section-title {
  font-size:      1.3rem;
  margin-bottom:  20px;
  padding-bottom: 10px;
  border-bottom:  1px solid var(--gold-border);
}

.appt-list {
  display:        flex;
  flex-direction: column;
  gap:            16px;
}

.appt-empty {
  text-align:    center;
  color:         var(--gray);
  font-size:     0.9rem;
  padding:       32px 16px;
  background:    var(--card);
  border:        1px solid var(--gold-border);
  border-radius: var(--radius);
}

.appt-card {
  background:    var(--card);
  border:        1px solid var(--gold-border);
  border-radius: var(--radius);
  padding:       24px;
  transition:    all 0.3s;
}
.appt-card:hover { border-color: rgba(212,168,67,0.5); transform: translateY(-2px); box-shadow: 0 5px 20px rgba(0,0,0,0.3); }

.appt-card.status-pending   { border-left: 3px solid #c8900a; }
.appt-card.status-confirmed { border-left: 3px solid var(--success); }
.appt-card.status-rejected  { border-left: 3px solid var(--danger); }

.appt-card-header {
  display:         flex;
  justify-content: space-between;
  align-items:     flex-start;
  margin-bottom:   16px;
  flex-wrap:       wrap;
  gap:             10px;
}

.appt-service {
  font-family:   'Poppins', sans-serif;
  font-size:     1rem;
  font-weight:   600;
  color:         var(--gold);
  margin-bottom: 2px;
}

.appt-duration {
  font-size:   0.75rem;
  color:       var(--gray);
  font-weight: 300;
}

.appt-details {
  display:               grid;
  grid-template-columns: 1fr 1fr;
  gap:                   10px 24px;
  padding:               14px 0;
  border-top:            1px solid rgba(255,255,255,0.05);
}

.appt-detail-row {
  display:     flex;
  align-items: center;
  gap:         8px;
  font-size:   0.84rem;
  color:       var(--light-gray);
}

.appt-detail-icon {
  font-size:   1rem;
  flex-shrink: 0;
}

.appt-note {
  margin-top:  12px;
  padding-top: 12px;
  border-top:  1px solid rgba(255,255,255,0.05);
  font-size:   0.8rem;
  color:       var(--light-gray);
  font-style:  italic;
}

/* ---------- Responsive — Tablets ---------- */
@media (max-width: 768px) {
  .header-content { padding: 12px 16px; }
  .header-left h1  { font-size: 1.15rem; letter-spacing: 1px; }
  .header-left .tagline { display: none; }
  main { padding: 28px 16px 60px; }
  .dash-main { padding: 24px 16px; }
  .stats-row { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .booking-service { flex-direction: column; align-items: flex-start; gap: 8px; }
  .booking-service .svc-price { margin-left: 0; }
  .appointments-container { padding: 24px 16px 60px; }
}

/* ---------- Responsive — Mobile ---------- */
@media (max-width: 480px) {

  /* --- Language selection --- */
  .lang-container h1 { font-size: 1.8rem; letter-spacing: 2px; }
  .lang-container .subtitle { font-size: 0.7rem; margin-bottom: 30px; }
  .lang-divider { font-size: 0.65rem; letter-spacing: 2px; margin-bottom: 20px; }
  .barber-logo { font-size: 40px; }
  .lang-buttons { flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 10px; }
  .lang-btn { padding: 12px 20px; font-size: 0.85rem; flex: 1; min-width: 80px; text-align: center; }

  /* --- Header --- */
  .header-content {
    flex-direction: column;
    gap:            10px;
    padding:        10px 14px;
    align-items:    center;
  }
  .header-left { gap: 8px; }
  .header-left h1 { font-size: 1rem; }
  .header-icon { font-size: 22px; }
  .header-right {
    display:         flex;
    flex-wrap:       wrap;
    gap:             8px;
    justify-content: center;
    width:           100%;
  }
  .user-greeting { font-size: 0.72rem; }
  .lang-toggle   { padding: 4px 12px; font-size: 0.7rem; }
  .btn-logout-user { padding: 4px 12px; font-size: 0.65rem; }
  .notif-bell { padding: 5px 9px; font-size: 0.95rem; }

  /* --- App tabs --- */
  .app-tabs { top: auto; position: relative; }
  .app-tab  { padding: 10px 16px; font-size: 0.78rem; }

  /* --- Login / Auth card --- */
  .login-card { padding: 32px 24px; border-radius: var(--radius); }
  .login-card h2 { font-size: 1.4rem; }
  .login-subtitle { font-size: 0.7rem; margin-bottom: 24px; }
  .role-toggle { margin-bottom: 18px; }
  .role-btn { padding: 9px 10px; font-size: 0.72rem; }

  /* --- Main content --- */
  main { padding: 20px 14px 60px; }

  /* --- Progress bar --- */
  .progress-wrap { margin-bottom: 28px; }
  .p-step { width: 30px; height: 30px; font-size: 0.72rem; }
  .p-line { width: 36px; }

  /* --- Service cards --- */
  .services-grid { grid-template-columns: 1fr; gap: 14px; }
  .service-card { padding: 24px 18px; }
  .service-icon { font-size: 28px; margin-bottom: 8px; }
  .service-card h3 { font-size: 0.95rem; }
  .service-price { font-size: 1.1rem; }

  /* --- Step title --- */
  .step-title { font-size: 1.2rem; margin-bottom: 20px; }

  /* --- Date & time --- */
  .datetime-grid { grid-template-columns: 1fr; gap: 16px; }
  .slots-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .slot-btn { padding: 10px 4px; font-size: 0.75rem; }

  /* --- Step nav buttons --- */
  .step-nav { flex-direction: column-reverse; gap: 10px; }
  .btn-primary, .btn-secondary { width: 100%; text-align: center; padding: 14px 20px; }

  /* --- Upload area --- */
  .upload-area { padding: 28px 16px; }
  .upload-icon { font-size: 32px; }

  /* --- Booking summary --- */
  .booking-summary { padding: 18px; }
  .summary-row { font-size: 0.82rem; }

  /* --- Success screen --- */
  .success-wrap { padding: 40px 16px; }
  .success-wrap h2 { font-size: 1.4rem; }
  .success-icon { width: 60px; height: 60px; font-size: 28px; }

  /* --- Notifications panel --- */
  .notif-panel { max-height: 360px; }
  .notif-item { padding: 10px 12px; }
  .notif-icon { font-size: 1.1rem; }
  .notif-title { font-size: 0.75rem; }
  .notif-detail { font-size: 0.7rem; }

  /* --- My Appointments --- */
  .appointments-container { padding: 20px 14px 60px; }
  .appt-section-title { font-size: 1.1rem; }
  .appt-details { grid-template-columns: 1fr; gap: 8px; }
  .appt-card { padding: 18px; }
  .appt-card-header { gap: 8px; }

  /* ===== ADMIN DASHBOARD MOBILE ===== */
  .dash-header-inner {
    flex-direction: column;
    gap:            8px;
    align-items:    flex-start;
    padding:        10px 14px;
  }
  .dash-brand h1 { font-size: 1rem; }
  .dash-user { font-size: 0.75rem; gap: 10px; }

  .stats-row { grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 24px; }
  .stat-card { padding: 18px 16px; }
  .stat-value { font-size: 1.4rem; }
  .stat-label { font-size: 0.65rem; }

  .dash-tabs { margin-bottom: 20px; overflow-x: auto; }
  .dash-tab { padding: 8px 16px; font-size: 0.78rem; white-space: nowrap; }

  .filter-row { gap: 6px; }
  .filter-btn { padding: 6px 14px; font-size: 0.7rem; }

  .booking-card { padding: 16px 14px; }
  .booking-card-layout { flex-direction: column; gap: 10px; }
  .booking-date-col {
    flex-direction:  row;
    gap:             10px;
    min-width:       auto;
    padding:         8px 14px;
    justify-content: flex-start;
    align-items:     center;
  }
  .bdc-num { font-size: 1.2rem; }
  .bdc-day, .bdc-month { font-size: 0.6rem; }
  .bdc-time { font-size: 0.72rem; }

  .booking-client h3 { font-size: 0.9rem; }
  .booking-meta { font-size: 0.7rem; gap: 8px; }
  .booking-card-top { flex-direction: column; gap: 8px; }
  .booking-service { font-size: 0.78rem; }
  .booking-actions { flex-direction: column; gap: 8px; }
  .booking-actions button { width: 100%; text-align: center; }
  .bookings-toolbar { flex-direction: column; align-items: stretch; }
  .btn-manual-book { width: 100%; text-align: center; }
  .modal-box { margin: 16px; border-radius: var(--radius); }

  .price-grid { grid-template-columns: 1fr; }
  .price-card { padding: 20px 18px; }

  /* --- Rating stars --- */
  .barber-rating-row { flex-wrap: wrap; gap: 8px; }
  .star { font-size: 1.5rem; }

  /* --- Client badges --- */
  .client-visits-badge, .client-rating-badge { font-size: 0.6rem; padding: 2px 8px; }
}
