/* ========================================
   The New Hair Salon – Design System
   ======================================== */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Playfair+Display:wght@400;600;700&family=Inter:wght@300;400;500;600;700&display=swap');

/* ── CSS Variables ── */
:root {
  --gold: #C9A84C;
  --gold-light: #E8C97A;
  --gold-dark: #A07830;
  --dark: #0D0D0D;
  --dark-2: #141414;
  --dark-3: #1E1E1E;
  --dark-4: #282828;
  --dark-5: #333333;
  --surface: #1A1A1A;
  --surface-2: #222222;
  --border: rgba(201,168,76,0.2);
  --text: #F5F0E8;
  --text-muted: #9A9080;
  --text-faint: #5A5248;
  --success: #4CAF82;
  --danger: #E05555;
  --warning: #E8A94C;
  --info: #5590E0;
  --radius: 14px;
  --radius-sm: 8px;
  --radius-lg: 24px;
  --shadow: 0 8px 32px rgba(0,0,0,0.5);
  --shadow-gold: 0 4px 24px rgba(201,168,76,0.2);
  --transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Inter', -apple-system, sans-serif;
  --font-finance: 'Plus Jakarta Sans', 'Inter', -apple-system, sans-serif;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  background: var(--dark);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
body.landing-page {
  background-color: #0D0D0D;
  background-image: 
    linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.82)),
    url('../images/salon_hero.jpg');
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
  min-height: 100vh;
}
.landing-page section {
  background-color: transparent !important;
  background-image: none !important;
}
.landing-page .feature-card,
.landing-page .qr-card-container,
.landing-page .about-stat-box,
.landing-page .about-pill,
.landing-page .lookbook-card,
.landing-page .service-showcase-card,
.landing-page .stylist-card-lux,
.landing-page .booking-container-box {
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
a { text-decoration: none; color: inherit; }
button { font-family: var(--font-sans); cursor: pointer; border: none; outline: none; }
input, select, textarea { font-family: var(--font-sans); }
ul { list-style: none; }
img { max-width: 100%; }

/* ========================================
   UTILITIES
   ======================================== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.gold { color: var(--gold); }
.text-muted { color: var(--text-muted); }
.text-center { text-align: center; }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition);
  cursor: pointer;
  white-space: nowrap;
}
.btn-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--dark);
  box-shadow: var(--shadow-gold);
}
.btn-gold:hover {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(201,168,76,0.4);
}
.btn-outline {
  background: transparent;
  border: 1.5px solid var(--border);
  color: var(--text);
}
.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(201,168,76,0.05);
}
.btn-ghost {
  background: var(--dark-4);
  color: var(--text);
  border: 1.5px solid var(--dark-5);
}
.btn-ghost:hover { background: var(--dark-5); }
.btn-danger {
  background: var(--danger);
  color: #fff;
}
.btn-danger:hover { background: #c03333; transform: translateY(-1px); }
.btn-success {
  background: var(--success);
  color: #fff;
}
.btn-success:hover { background: #3a9166; transform: translateY(-1px); }
.btn-sm { padding: 8px 16px; font-size: 0.82rem; border-radius: var(--radius-sm); }

/* ── Form Controls ── */
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 6px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.form-control {
  width: 100%;
  background: var(--dark-4);
  border: 1.5px solid var(--dark-5);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  color: var(--text);
  font-size: 0.95rem;
  transition: var(--transition);
  -webkit-appearance: none;
}
.form-control:focus {
  outline: none;
  border-color: var(--gold);
  background: var(--dark-3);
  box-shadow: 0 0 0 3px rgba(201,168,76,0.1);
}
.form-control::placeholder { color: var(--text-faint); }
select.form-control { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='7'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23C9A84C' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }
select.form-control option,
select option {
  background: #1a1a24;
  color: #f1f5f9;
  padding: 8px 12px;
}
select.form-control optgroup,
select optgroup {
  background: #121218;
  color: var(--gold-light, #fce588);
  font-weight: 700;
  padding: 6px 10px;
}

/* Biểu đồ Doanh Thu - Bộ lọc tùy chỉnh */
.chart-filter-select {
  width: auto;
  padding: 5px 28px 5px 12px !important;
  font-size: 0.8rem !important;
  font-weight: 600 !important;
  background-color: #1a1a24 !important;
  color: #fce588 !important;
  border: 1px solid rgba(201, 168, 76, 0.45) !important;
  border-radius: 6px !important;
  cursor: pointer;
  background-position: right 10px center !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  transition: var(--transition);
}
.chart-filter-select:hover,
.chart-filter-select:focus {
  border-color: var(--gold) !important;
  box-shadow: 0 0 12px rgba(201, 168, 76, 0.3) !important;
  color: #ffffff !important;
  outline: none;
}
.chart-filter-select optgroup {
  background: #121218 !important;
  color: #fce588 !important;
  font-weight: 700 !important;
  font-size: 0.78rem;
  padding: 6px 8px;
}
.chart-filter-select option {
  background: #1a1a24 !important;
  color: #f1f5f9 !important;
  font-weight: 500 !important;
  font-size: 0.82rem;
  padding: 8px 12px;
}

/* ── Cards ── */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: var(--transition);
}
.card:hover { border-color: rgba(201,168,76,0.4); box-shadow: var(--shadow-gold); }

/* ── Badges ── */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
}
.badge-pending { background: rgba(232,169,76,0.15); color: var(--warning); border: 1px solid rgba(232,169,76,0.3); }
.badge-confirmed { background: rgba(76,175,130,0.15); color: var(--success); border: 1px solid rgba(76,175,130,0.3); }
.badge-cancelled { background: rgba(224,85,85,0.15); color: var(--danger); border: 1px solid rgba(224,85,85,0.3); }
.badge-done { background: rgba(85,144,224,0.15); color: var(--info); border: 1px solid rgba(85,144,224,0.3); }
.badge-urgent {
  background: rgba(239, 68, 68, 0.2);
  color: #fca5a5;
  border: 1px solid rgba(239, 68, 68, 0.5);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  animation: pulseBorderRed 2s infinite;
}
.badge-upcoming {
  background: rgba(245, 158, 11, 0.2);
  color: #fde68a;
  border: 1px solid rgba(245, 158, 11, 0.5);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  animation: pulseBorderAmber 2s infinite;
}
.badge-reminded {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.35);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.badge-future-tomorrow {
  background: rgba(16, 185, 129, 0.16);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.45);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.badge-future-near {
  background: rgba(6, 182, 212, 0.15);
  color: #67e8f9;
  border: 1px solid rgba(6, 182, 212, 0.4);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.badge-future-far {
  background: rgba(147, 197, 253, 0.12);
  color: #93c5fd;
  border: 1px solid rgba(147, 197, 253, 0.35);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.badge-today {
  background: rgba(85, 144, 224, 0.16);
  color: #60a5fa;
  border: 1px solid rgba(85, 144, 224, 0.4);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.badge-unassigned {
  background: rgba(245, 158, 11, 0.18);
  color: #fde68a;
  border: 1px dashed rgba(245, 158, 11, 0.6);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.pulse-dot-red {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ef4444;
  display: inline-block;
  box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);
  animation: pulseDotRed 1.6s infinite;
}
.pulse-dot-amber {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #f59e0b;
  display: inline-block;
  box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.7);
  animation: pulseDotAmber 1.6s infinite;
}
.pulse-dot-green {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
  display: inline-block;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
  animation: pulseDotGreen 1.6s infinite;
}
@keyframes pulseDotRed {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(239, 68, 68, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}
@keyframes pulseDotAmber {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(245, 158, 11, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(245, 158, 11, 0); }
}
@keyframes pulseDotGreen {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(34, 197, 94, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}
@keyframes pulseBorderRed {
  0%, 100% { border-color: rgba(239, 68, 68, 0.5); }
  50% { border-color: rgba(239, 68, 68, 0.95); box-shadow: 0 0 10px rgba(239, 68, 68, 0.4); }
}
@keyframes pulseBorderAmber {
  0%, 100% { border-color: rgba(245, 158, 11, 0.5); }
  50% { border-color: rgba(245, 158, 11, 0.95); box-shadow: 0 0 10px rgba(245, 158, 11, 0.4); }
}
.booking-preset-btn.active {
  background: var(--gold) !important;
  color: var(--dark) !important;
  font-weight: 600 !important;
  border-color: var(--gold) !important;
}
#btn-filter-future {
  color: #38bdf8;
  border-color: rgba(56, 189, 248, 0.35);
}
#btn-filter-future:hover {
  background: rgba(56, 189, 248, 0.12);
  border-color: rgba(56, 189, 248, 0.6);
}
#btn-filter-future.active {
  background: #0284c7 !important;
  color: #ffffff !important;
  border-color: #38bdf8 !important;
  box-shadow: 0 0 12px rgba(14, 165, 233, 0.4) !important;
}
#btn-filter-urgent.active {
  background: #f59e0b !important;
  color: #ffffff !important;
  border-color: #f59e0b !important;
  box-shadow: 0 0 12px rgba(245, 158, 11, 0.4) !important;
}
#btn-filter-overdue.active {
  background: #ef4444 !important;
  color: #ffffff !important;
  border-color: #ef4444 !important;
  box-shadow: 0 0 12px rgba(239, 68, 68, 0.4) !important;
}

/* ── Customer Preset Filter Buttons ── */
.cust-preset-btn.active {
  background: var(--gold) !important;
  color: #070A12 !important;
  font-weight: 700 !important;
  border-color: var(--gold) !important;
}
#btn-cust-vip.active,
#btn-cust-preset-vip.active {
  background: linear-gradient(135deg, #F59E0B, #D97706) !important;
  color: #070A12 !important;
  border-color: #F59E0B !important;
  box-shadow: 0 0 12px rgba(245, 158, 11, 0.45) !important;
}
#btn-cust-regular.active,
#btn-cust-preset-regular.active {
  background: #0284C7 !important;
  color: #FFFFFF !important;
  border-color: #38BDF8 !important;
  box-shadow: 0 0 12px rgba(14, 165, 233, 0.45) !important;
}
#btn-cust-new.active,
#btn-cust-preset-new.active {
  background: #10B981 !important;
  color: #FFFFFF !important;
  border-color: #10B981 !important;
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.45) !important;
}


/* ── Toast ── */
#toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.toast {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--dark-3);
  border: 1px solid var(--border);
  border-left: 3px solid var(--gold);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  color: var(--text);
  font-size: 0.9rem;
  box-shadow: var(--shadow);
  animation: slideIn 0.3s ease;
  max-width: 320px;
}
.toast.success { border-left-color: var(--success); }
.toast.error { border-left-color: var(--danger); }
@keyframes slideIn { from { transform: translateX(100%); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes slideOut { to { transform: translateX(100%); opacity: 0; } }

/* ── Navigation Bar ── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(13, 13, 13, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}
.navbar .nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  padding: 0 24px;
  max-width: 1360px;
  margin: 0 auto;
  gap: 20px;
}
.navbar-brand {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  letter-spacing: 0.02em;
  white-space: nowrap;
  flex-shrink: 0;
  line-height: 1;
}
.navbar-brand .brand-icon {
  font-size: 1.35rem;
  color: var(--gold);
  line-height: 1;
}
.navbar-brand .gold-accent {
  color: var(--gold);
}
.navbar-menu {
  display: flex;
  align-items: center;
  gap: 20px;
  white-space: nowrap;
  flex-shrink: 0;
}
.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: var(--transition);
  position: relative;
  padding: 6px 2px;
  white-space: nowrap;
  flex-shrink: 0;
}
.nav-link:hover, .nav-link.active {
  color: var(--gold);
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: var(--transition);
}
.nav-link:hover::after {
  width: 100%;
}
.navbar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  white-space: nowrap;
}
.navbar-actions .btn {
  padding: 8px 16px;
  font-size: 0.84rem;
  white-space: nowrap;
  flex-shrink: 0;
}
.menu-toggle {
  display: none;
  background: transparent;
  color: var(--gold);
  font-size: 1.5rem;
  padding: 6px;
  line-height: 1;
}

/* ========================================
   LANDING PAGE
   ======================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  overflow: hidden;
  padding-top: 80px;
  background: transparent;
}
.hero-overlay {
  display: none;
}
.hero-content { position: relative; z-index: 1; padding: 24px; }
.hero-badge {
  display: inline-block;
  background: rgba(201,168,76,0.12);
  border: 1px solid rgba(201,168,76,0.4);
  color: var(--gold);
  padding: 6px 18px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 20px;
  animation: fadeInDown 0.6s ease;
}
.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 16px;
  animation: fadeInDown 0.8s ease 0.1s both;
}
.hero-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 40px;
  letter-spacing: 0.05em;
  animation: fadeInDown 0.8s ease 0.2s both;
}
.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInDown 0.8s ease 0.3s both;
}
.hero-actions .btn { padding: 16px 36px; font-size: 1rem; }
.hero-cards {
  position: relative; z-index: 1;
  display: flex;
  gap: 16px;
  margin-top: 64px;
  padding: 0 24px;
  flex-wrap: wrap;
  justify-content: center;
  animation: fadeInUp 0.8s ease 0.5s both;
}
.stat-card {
  background: rgba(20,20,20,0.7);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 32px;
  text-align: center;
  min-width: 120px;
}
.stat-icon { font-size: 1.6rem; margin-bottom: 6px; }
.stat-number { font-size: 1.8rem; font-weight: 700; color: var(--gold); font-family: var(--font-serif); }
.stat-label { font-size: 0.8rem; color: var(--text-muted); margin-top: 2px; }

/* Features Section */
.features { padding: 80px 0; background: transparent; }
.section-title {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  text-align: center;
  margin-bottom: 48px;
  position: relative;
}
.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  margin: 12px auto 0;
  border-radius: 2px;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: var(--transition);
}
.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(201,168,76,0.5);
  box-shadow: var(--shadow-gold);
}
.feature-icon { font-size: 2rem; margin-bottom: 12px; }
.feature-card h3 { font-size: 1.1rem; margin-bottom: 8px; font-weight: 600; }
.feature-card p { color: var(--text-muted); font-size: 0.9rem; line-height: 1.7; }

/* ── QR Code Section ── */
.qr-section {
  padding: 80px 0;
  background: transparent;
  position: relative;
  overflow: hidden;
}
.qr-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(201,168,76,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.qr-card-container {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 40px;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: 0 16px 40px rgba(0,0,0,0.6), var(--shadow-gold);
  align-items: center;
}
.qr-visual-box {
  background: linear-gradient(145deg, #1f1a10, #141414);
  border: 1.5px solid rgba(201,168,76,0.35);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
  position: relative;
}
.qr-badge-top {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(201,168,76,0.15);
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
  border: 1px solid rgba(201,168,76,0.3);
}
.qr-frame {
  background: #ffffff;
  padding: 16px;
  border-radius: 12px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
  margin-bottom: 16px;
  min-height: 212px;
  min-width: 212px;
}
.qr-frame canvas, .qr-frame img, .qr-frame svg {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: 4px;
}
.qr-hint {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.5;
}
.qr-info-content h3 {
  font-family: var(--font-serif);
  font-size: 2rem;
  margin-bottom: 12px;
  color: var(--text);
}
.qr-info-content p.qr-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 24px;
}
.qr-steps-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 28px;
}
.qr-step-item {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-sm);
  padding: 16px;
}
.qr-step-num {
  width: 28px;
  height: 28px;
  background: var(--gold);
  color: var(--dark);
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  margin-bottom: 10px;
}
.qr-step-title {
  font-weight: 600;
  font-size: 0.88rem;
  margin-bottom: 4px;
}
.qr-step-desc {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.5;
}
.qr-action-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* ── About Salon Section ── */
.about-section {
  padding: 80px 0;
  background: transparent;
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.about-text h2 {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  margin-bottom: 16px;
  line-height: 1.25;
}
.about-text p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 18px;
}
.about-features-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 24px;
}
.about-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 500;
}
.about-pill span {
  font-size: 1.2rem;
}
.about-stat-box {
  background: linear-gradient(135deg, var(--dark-2), var(--surface));
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.about-metric {
  text-align: center;
  padding: 16px;
  background: rgba(0,0,0,0.25);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255,255,255,0.04);
}
.about-metric-val {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 4px;
}
.about-metric-lbl {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ── Lookbook / Hairstyle Gallery ── */
.lookbook-section {
  padding: 80px 0;
  background: transparent;
  position: relative;
}
.lookbook-filter-tabs {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.lookbook-tab-btn {
  background: var(--dark-4);
  border: 1.5px solid var(--dark-5);
  color: var(--text-muted);
  padding: 10px 24px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}
.lookbook-tab-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
}
.lookbook-tab-btn.active {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--dark);
  box-shadow: var(--shadow-gold);
}
.lookbook-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 28px;
}
.lookbook-card {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.lookbook-card:hover {
  border-color: var(--gold);
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(0,0,0,0.6), var(--shadow-gold);
}
.lookbook-img-wrapper {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: #141414;
}
.lookbook-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  display: block;
}
.lookbook-card:hover .lookbook-img-wrapper img {
  transform: scale(1.06);
}
.lookbook-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(13, 13, 13, 0.82);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--gold);
  border: 1px solid rgba(201, 168, 76, 0.4);
  padding: 5px 14px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.lookbook-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.lookbook-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text);
}
.lookbook-desc {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 18px;
  flex: 1;
}
.lookbook-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.lookbook-price {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--gold);
}
.lookbook-time {
  font-size: 0.78rem;
  color: var(--text-muted);
}
.lookbook-card.hidden {
  display: none !important;
}

/* Service Card with Image support in showcase */
.service-img-thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--radius-sm);
  margin-bottom: 14px;
  border: 1px solid rgba(255,255,255,0.06);
}
.service-wizard-thumb {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: var(--radius-sm);
  margin-bottom: 10px;
  display: block;
  border: 1px solid rgba(255,255,255,0.06);
}

/* ── Services Showcase ── */
.services-showcase {
  padding: 80px 0;
  background: transparent;
}
.service-filter-tabs {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}
.service-tab-btn {
  background: var(--dark-4);
  border: 1.5px solid var(--dark-5);
  color: var(--text-muted);
  padding: 10px 22px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}
.service-tab-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
}
.service-tab-btn.active {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--dark);
  box-shadow: var(--shadow-gold);
}
.service-showcase-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.service-showcase-card {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition);
  position: relative;
}
.service-showcase-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
  box-shadow: var(--shadow-gold);
}
.svc-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 12px;
}
.svc-title {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 700;
}
.svc-tag {
  font-size: 0.7rem;
  padding: 3px 8px;
  background: rgba(201,168,76,0.12);
  color: var(--gold);
  border-radius: 999px;
  font-weight: 600;
  white-space: nowrap;
}
.svc-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 18px;
  flex: 1;
}
.svc-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.svc-price {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--gold);
}
.svc-time {
  font-size: 0.78rem;
  color: var(--text-muted);
}
.svc-book-btn {
  background: rgba(201,168,76,0.1);
  border: 1px solid var(--gold);
  color: var(--gold);
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 600;
  transition: var(--transition);
}
.svc-book-btn:hover {
  background: var(--gold);
  color: var(--dark);
}

/* ── Stylists Section ── */
.stylists-section {
  padding: 80px 0;
  background: transparent;
}
.stylists-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}
.stylist-card-lux {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: center;
  transition: var(--transition);
}
.stylist-card-lux:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
  box-shadow: var(--shadow-gold);
}
.stylist-avatar-lux {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold-light));
  color: var(--dark);
  font-size: 1.8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  box-shadow: 0 4px 20px rgba(201,168,76,0.3);
}
.stylist-name-lux {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 4px;
}
.stylist-role-lux {
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}
.stylist-bio-lux {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 18px;
}
.stylist-tags-lux {
  display: flex;
  gap: 6px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.stylist-tags-lux span {
  font-size: 0.72rem;
  background: var(--dark-4);
  color: var(--text-muted);
  padding: 3px 10px;
  border-radius: 999px;
}

/* ── Unified Booking Section ── */
.unified-booking-section {
  padding: 90px 0;
  background: transparent;
  position: relative;
}
.booking-container-box {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.6), var(--shadow-gold);
  max-width: 980px;
  margin: 0 auto;
}
.booking-section-header {
  text-align: center;
  margin-bottom: 32px;
}
.booking-badge {
  display: inline-block;
  background: rgba(201,168,76,0.12);
  color: var(--gold);
  border: 1px solid rgba(201,168,76,0.3);
  padding: 4px 16px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

/* Landing Footer */
.landing-footer {
  text-align: center;
  padding: 32px;
  background: rgba(13, 13, 13, 0.75);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.88rem;
}
.footer-sub { color: var(--text-faint); margin-top: 4px; font-size: 0.8rem; }

/* ========================================
   BOOKING PAGE
   ======================================== */
.booking-page { background: var(--dark); min-height: 100vh; }
.booking-header {
  background: var(--dark-2);
  border-bottom: 1px solid var(--border);
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.booking-header .logo {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
}
.booking-header .logo span { color: var(--gold); }
.booking-steps {
  display: flex;
  align-items: center;
  gap: 0;
  font-size: 0.8rem;
}
.step {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 16px;
  position: relative;
}
.step::after {
  content: '→';
  color: var(--text-faint);
  margin-left: 16px;
}
.step:last-child::after { display: none; }
.step-num {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--dark-4);
  border: 1.5px solid var(--dark-5);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.72rem;
  font-weight: 700;
  flex-shrink: 0;
}
.step.active .step-num { background: var(--gold); border-color: var(--gold); color: var(--dark); }
.step.done .step-num { background: var(--success); border-color: var(--success); }
.step.active .step-label { color: var(--gold); font-weight: 600; }
.step-label { color: var(--text-muted); }

.booking-main { max-width: 900px; margin: 0 auto; padding: 32px 24px; }
.booking-section { display: none; }
.booking-section.active { display: block; animation: fadeIn 0.4s ease; }

.services-title {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  margin-bottom: 8px;
}
.services-subtitle { color: var(--text-muted); margin-bottom: 28px; font-size: 0.95rem; }

.service-group { margin-bottom: 32px; }
.service-group-title {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold);
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}
.services-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.service-item {
  background: var(--surface);
  border: 1.5px solid var(--dark-5);
  border-radius: var(--radius);
  padding: 16px;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
}
.service-item:hover { border-color: rgba(201,168,76,0.4); background: var(--surface-2); }
.service-item.selected { border-color: var(--gold); background: rgba(201,168,76,0.06); }
.service-item.selected::after {
  content: '✓';
  position: absolute; top: 8px; right: 10px;
  font-size: 0.8rem;
  color: var(--gold);
  font-weight: 700;
}
.service-name { font-weight: 600; font-size: 0.92rem; margin-bottom: 4px; }
.service-duration { font-size: 0.78rem; color: var(--text-muted); margin-bottom: 6px; }
.service-price { color: var(--gold); font-weight: 700; font-size: 1rem; }

.booking-summary-bar {
  background: var(--dark-3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
  position: sticky;
  bottom: 16px;
}
.summary-info { font-size: 0.9rem; color: var(--text-muted); }
.summary-info strong { color: var(--gold); font-size: 1.05rem; }

/* Calendar */
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
  margin: 20px 0;
}
.cal-header { text-align: center; font-size: 0.75rem; font-weight: 600; color: var(--text-muted); padding: 6px 0; }
.cal-day {
  aspect-ratio: 1;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid transparent;
}
.cal-day:hover:not(.disabled):not(.empty) { background: rgba(201,168,76,0.1); border-color: rgba(201,168,76,0.4); }
.cal-day.selected { background: var(--gold); color: var(--dark); font-weight: 700; }
.cal-day.today { border-color: rgba(201,168,76,0.3); color: var(--gold); }
.cal-day.disabled { opacity: 0.3; cursor: not-allowed; }
.cal-day.empty { cursor: default; }
.cal-nav { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.cal-nav-btn {
  background: var(--dark-4);
  border: 1px solid var(--dark-5);
  color: var(--text);
  width: 36px; height: 36px;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
}
.cal-nav-btn:hover { border-color: var(--gold); color: var(--gold); }
.cal-month { font-weight: 600; font-size: 1rem; }

.time-slots-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(90px, 1fr)); gap: 10px; margin: 20px 0; }
.time-slot {
  padding: 10px;
  text-align: center;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--dark-5);
  background: var(--surface);
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
}
.time-slot:hover:not(.taken) { border-color: rgba(201,168,76,0.4); background: rgba(201,168,76,0.06); }
.time-slot.selected { border-color: var(--gold); background: rgba(201,168,76,0.15); color: var(--gold); font-weight: 700; }
.time-slot.taken { border-color: var(--dark-5); background: var(--dark-3); color: var(--text-faint); cursor: not-allowed; text-decoration: line-through; }

.staff-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; margin: 20px 0; }
.staff-card {
  background: var(--surface);
  border: 1.5px solid var(--dark-5);
  border-radius: var(--radius);
  padding: 20px 16px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
}
.staff-card:hover { border-color: rgba(201,168,76,0.4); }
.staff-card.selected { border-color: var(--gold); background: rgba(201,168,76,0.06); }
.staff-avatar {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  margin: 0 auto 10px;
  font-weight: 700;
  color: var(--dark);
}
.staff-name { font-weight: 600; font-size: 0.92rem; margin-bottom: 2px; }
.staff-role { font-size: 0.75rem; color: var(--text-muted); }

/* Confirm Section */
.confirm-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  max-width: 560px;
  margin: 0 auto;
}
.confirm-title { font-family: var(--font-serif); font-size: 1.5rem; margin-bottom: 24px; text-align: center; }
.confirm-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  gap: 12px;
}
.confirm-row:last-of-type { border-bottom: none; }
.confirm-label { font-size: 0.82rem; color: var(--text-muted); font-weight: 500; text-transform: uppercase; letter-spacing: 0.05em; }
.confirm-value { font-weight: 600; text-align: right; max-width: 60%; }
.confirm-total {
  background: rgba(201,168,76,0.08);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px;
  margin-top: 16px;
  display: flex;
  justify-content: space-between;
  font-size: 1.1rem;
  font-weight: 700;
}
.confirm-total .price { color: var(--gold); }

/* Success Screen */
.success-screen { text-align: center; padding: 48px 24px; }
.success-icon { font-size: 4rem; margin-bottom: 16px; animation: bounceIn 0.6s ease; }
.success-title { font-family: var(--font-serif); font-size: 2rem; margin-bottom: 8px; }
.success-sub { color: var(--text-muted); margin-bottom: 32px; }
.booking-code {
  display: inline-block;
  background: rgba(201,168,76,0.1);
  border: 1.5px solid var(--gold);
  border-radius: var(--radius);
  padding: 12px 32px;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.1em;
  margin-bottom: 24px;
  font-family: monospace;
}

/* ========================================
   ADMIN PAGE - LAYERING HIERARCHY (4-LAYER SYSTEM)
   ======================================== */
.admin-page { 
  display: flex; 
  min-height: 100vh; 
  background: #070A12; /* Nền đáy FinTech Obsidian #070A12 */
  color: #FFFFFF;      /* Tiêu đề & nội dung chính trắng sáng */
  --bg-main: #070A12;
  --bg-surface: #131926;      /* Khối bảng/biểu đồ FinTech Deep Slate #131926 */
  --bg-surface-hover: #1C2436;/* Hover nhẵn mượt */
  --border-subtle: rgba(255, 255, 255, 0.08); /* Viền mỏng */
  --primary-accent: #38BDF8;  /* Ice Tech Blue #38BDF8 */
  --text-main: #FFFFFF;       /* text-white */
  --text-muted: #CBD5E1;      /* text-slate-300 rõ nét */
  --text-faint: #94A3B8;      /* text-slate-400 */
  --text: #FFFFFF;
  --surface: #131926;
  --surface-2: #0D121D;
  --dark: #070A12;
  --dark-2: #131926;
  --dark-3: #1C2436;
  --dark-4: #263047;
  --border: rgba(255, 255, 255, 0.08);
}

/* KHUNG ĐIỀU HƯỚNG: Sidebar (Deep Navy-Black với Gold Accent Hoàng Gia) */
.admin-sidebar {
  width: 240px;
  background: #0B0F19; /* Khung điều hướng Deep Navy-Black #0B0F19 */
  border-right: 1px solid rgba(245, 158, 11, 0.25); /* Dải viền mạ vàng phân cách sắc sảo */
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0; left: 0; bottom: 0;
  z-index: 100;
  transition: var(--transition);
  box-shadow: 4px 0 25px rgba(0, 0, 0, 0.75), 1px 0 15px rgba(245, 158, 11, 0.08); /* Phản quang vàng nhẹ */
}
.sidebar-logo {
  padding: 22px 20px;
  border-bottom: 1px solid rgba(245, 158, 11, 0.18);
  background: #070A12;
  position: relative;
  overflow: hidden;
}
.sidebar-logo::before {
  content: '';
  position: absolute;
  top: -20px;
  left: -20px;
  width: 140px;
  height: 140px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.16) 0%, rgba(245, 158, 11, 0.02) 65%, transparent 80%);
  pointer-events: none;
  z-index: 0;
}
.sidebar-logo .name { 
  font-family: var(--font-serif); 
  font-size: 1.25rem; 
  font-weight: 700; 
  color: #FFFFFF; 
  position: relative;
  z-index: 1;
}
.sidebar-logo .name span { 
  color: #F59E0B; 
  text-shadow: 0 0 16px rgba(245, 158, 11, 0.45); 
} /* Điểm nhấn vàng kim rực rỡ */
.sidebar-logo .sub { 
  font-size: 0.72rem; 
  color: #94A3B8; 
  margin-top: 3px; 
  letter-spacing: 0.03em;
  position: relative;
  z-index: 1;
}
.sidebar-nav { flex: 1; padding: 14px 0; overflow-y: auto; }
.nav-section {
  padding: 8px 16px 4px;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(245, 158, 11, 0.75); /* Tiêu đề phân mục màu vàng kim thanh lịch */
  margin-top: 10px;
  margin-bottom: 4px;
}
.nav-item {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 10px 16px;
  border-radius: 10px;
  margin: 3px 10px;
  cursor: pointer;
  transition: var(--transition);
  font-size: 0.9rem;
  font-weight: 500;
  color: #CBD5E1; /* text-slate-300 rõ nét */
}
.nav-item:hover { 
  background: rgba(245, 158, 11, 0.08); 
  color: #FDE68A; 
  transform: translateX(3px);
}
.nav-item:hover .nav-icon {
  transform: scale(1.1);
  color: #F59E0B;
}
.nav-item.active { 
  background: linear-gradient(90deg, rgba(245, 158, 11, 0.18) 0%, rgba(245, 158, 11, 0.04) 100%); 
  color: #FBBF24; 
  border-left: 3.5px solid #F59E0B; 
  margin-left: 10px; 
  padding-left: 14px; 
  font-weight: 700;
  box-shadow: 0 2px 14px rgba(245, 158, 11, 0.22), inset 0 0 14px rgba(245, 158, 11, 0.06);
}
.nav-item .nav-icon { 
  font-size: 1.05rem; 
  width: 22px; 
  text-align: center; 
  flex-shrink: 0; 
  transition: transform 0.2s ease;
}
.nav-item.active .nav-icon {
  color: #F59E0B;
  text-shadow: 0 0 10px rgba(245, 158, 11, 0.5);
}
.sidebar-footer {
  padding: 14px 16px;
  border-top: 1px solid rgba(245, 158, 11, 0.18);
  background: linear-gradient(180deg, rgba(15, 22, 34, 0.9) 0%, #070A12 100%);
}
.user-info { 
  display: flex; 
  align-items: center; 
  gap: 12px; 
  padding: 8px 10px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.user-avatar {
  width: 38px; height: 38px; border-radius: 50%;
  background: linear-gradient(135deg, #3D2610 0%, #F59E0B 100%);
  border: 2px solid #F59E0B;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 0.9rem; color: #070A12;
  box-shadow: 0 0 12px rgba(245, 158, 11, 0.4);
  flex-shrink: 0;
}
.user-name { font-size: 0.88rem; font-weight: 700; color: #FFFFFF; line-height: 1.2; }
.user-role { 
  display: inline-block;
  margin-top: 3px;
  font-size: 0.72rem; 
  color: #FDE68A; 
  font-weight: 600; 
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.35);
  border-radius: 12px;
  padding: 1px 8px;
}

/* KHUNG ĐIỀU HƯỚNG: Topbar & VÙNG NỘI DUNG TỔNG THỂ */
.admin-main {
  flex: 1;
  margin-left: 240px;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background: #070A12; /* Nền đáy Obsidian #070A12 */
}
.admin-topbar {
  background: rgba(22, 31, 50, 0.88); /* Nền kính FinTech sáng hơn rõ rệt */
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(245, 158, 11, 0.3); /* Đường viền mạ vàng hổ phách nổi bật */
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  position: sticky; top: 0; z-index: 50;
  box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.7), 0 2px 16px rgba(245, 158, 11, 0.08); /* Ánh vàng phản quang nhẹ */
}
.topbar-title { 
  font-weight: 800; 
  font-size: 1.18rem; 
  color: #FFFFFF; 
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  gap: 8px;
}
.topbar-title::before {
  content: '✦';
  color: #F59E0B;
  font-size: 0.95rem;
  text-shadow: 0 0 10px rgba(245, 158, 11, 0.5);
}
.topbar-right { display: flex; align-items: center; gap: 12px; }
.topbar-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #1E2638;
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 0.82rem;
  color: #CBD5E1;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}
.topbar-date { font-size: 0.82rem; color: #CBD5E1; font-weight: 600; }
.live-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #10B981; /* Emerald Green */
  box-shadow: 0 0 8px #10B981;
  display: inline-block;
  animation: pulse 2s infinite;
}
@keyframes pulse { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.4; transform: scale(0.85); } }

/* Vùng Nội Dung với Quầng Sáng FinTech Ambient Glow */
.admin-content { 
  padding: 28px 24px; 
  flex: 1; 
  background: #070A12; 
  position: relative;
  overflow-x: hidden;
}
.admin-content::before {
  content: '';
  position: absolute;
  top: -160px;
  right: 12%;
  width: 620px;
  height: 620px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.06) 0%, rgba(245, 158, 11, 0.03) 45%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* Admin Views */
@keyframes viewFadeIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.admin-view { 
  position: relative; 
  z-index: 1; 
  display: none; 
}
.admin-view.active { 
  display: block; 
  animation: viewFadeIn 0.22s cubic-bezier(0.16, 1, 0.3, 1); 
}

/* Dashboard */
/* Dashboard KPI Grid & Cards - Chuẩn hóa thanh thoát & đồng bộ */
.kpi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 12px;
  margin-bottom: 20px;
}

.kpi-card {
  border-radius: 13px;
  padding: 13px 16px;
  min-height: 128px;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  background: linear-gradient(145deg, #182232 0%, #0F1622 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-top: 3px solid rgba(201, 168, 76, 0.6);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.06), 0 10px 24px -4px rgba(0, 0, 0, 0.7);
}

.kpi-card:hover {
  transform: translateY(-3px);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.1), 0 16px 32px -4px rgba(0, 0, 0, 0.8);
}

.kpi-card::before {
  display: none;
}

/* Icon badge cao cấp trên góc thẻ KPI */
.kpi-icon-badge {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
  transition: transform 0.22s ease;
}
.kpi-card:hover .kpi-icon-badge,
.kpi-summary-card:hover .kpi-icon-badge {
  transform: scale(1.08);
}
.kpi-icon-badge.blue {
  background: rgba(56, 189, 248, 0.16);
  border: 1px solid rgba(56, 189, 248, 0.4);
  color: #38BDF8;
}
.kpi-icon-badge.gold {
  background: rgba(245, 158, 11, 0.16);
  border: 1px solid rgba(245, 158, 11, 0.4);
  color: #F59E0B;
}
.kpi-icon-badge.green {
  background: rgba(16, 185, 129, 0.16);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #10B981;
}
.kpi-icon-badge.purple {
  background: rgba(168, 85, 247, 0.16);
  border: 1px solid rgba(168, 85, 247, 0.4);
  color: #C084FC;
}
.kpi-icon-badge.orange {
  background: rgba(249, 115, 22, 0.16);
  border: 1px solid rgba(249, 115, 22, 0.4);
  color: #FB923C;
}
.kpi-icon-badge.red {
  background: rgba(239, 68, 68, 0.16);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #F87171;
}

/* 1. Thẻ Lịch Hôm Nay (Ice Tech Blue) */
.kpi-card.kpi-today {
  background: linear-gradient(145deg, #13243C 0%, #0B1524 100%);
  border: 1px solid rgba(56, 189, 248, 0.28);
  border-top: 3.5px solid #38BDF8;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.1), 0 14px 30px -4px rgba(0, 0, 0, 0.75), 0 0 22px rgba(56, 189, 248, 0.12);
}
.kpi-card.kpi-today::before {
  background: radial-gradient(ellipse at 50% 0%, rgba(56, 189, 248, 0.32) 0%, rgba(56, 189, 248, 0.05) 60%, transparent 80%);
}
.kpi-card.kpi-today:hover {
  background: linear-gradient(145deg, #1A3254 0%, #0F1D32 100%);
  border-color: rgba(56, 189, 248, 0.6);
  transform: translateY(-4px);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.15), 0 20px 40px -6px rgba(0, 0, 0, 0.85), 0 0 30px rgba(56, 189, 248, 0.32);
}

/* 2. Thẻ Doanh Thu (Amber Gold Luxury) */
.kpi-card.kpi-revenue {
  background: linear-gradient(145deg, #2B200E 0%, #171107 100%);
  border: 1px solid rgba(245, 158, 11, 0.32);
  border-top: 3.5px solid #F59E0B;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.1), 0 14px 30px -4px rgba(0, 0, 0, 0.75), 0 0 22px rgba(245, 158, 11, 0.14);
}
.kpi-card.kpi-revenue::before {
  background: radial-gradient(ellipse at 50% 0%, rgba(245, 158, 11, 0.35) 0%, rgba(245, 158, 11, 0.06) 60%, transparent 80%);
}
.kpi-card.kpi-revenue:hover {
  background: linear-gradient(145deg, #3B2B12 0%, #201709 100%);
  border-color: rgba(245, 158, 11, 0.65);
  transform: translateY(-4px);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.15), 0 20px 40px -6px rgba(0, 0, 0, 0.85), 0 0 32px rgba(245, 158, 11, 0.35);
}

/* 3. Thẻ Tiền Tip (Emerald Profit Green) */
.kpi-card.kpi-tips {
  background: linear-gradient(145deg, #10291F 0%, #091913 100%);
  border: 1px solid rgba(16, 185, 129, 0.28);
  border-top: 3.5px solid #10B981;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.1), 0 14px 30px -4px rgba(0, 0, 0, 0.75), 0 0 22px rgba(16, 185, 129, 0.12);
}
.kpi-card.kpi-tips::before {
  background: radial-gradient(ellipse at 50% 0%, rgba(16, 185, 129, 0.32) 0%, rgba(16, 185, 129, 0.05) 60%, transparent 80%);
}
.kpi-card.kpi-tips:hover {
  background: linear-gradient(145deg, #173B2C 0%, #0E251C 100%);
  border-color: rgba(16, 185, 129, 0.6);
  transform: translateY(-4px);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.15), 0 20px 40px -6px rgba(0, 0, 0, 0.85), 0 0 30px rgba(16, 185, 129, 0.32);
}

/* 4. Thẻ Chi Phí (Warm Coral Orange - Phân biệt rõ rệt với Lỗ) */
.kpi-card.kpi-expenses {
  background: linear-gradient(145deg, #2B170E 0%, #160D07 100%);
  border: 1px solid rgba(249, 115, 22, 0.32);
  border-top: 3.5px solid #F97316;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.1), 0 14px 30px -4px rgba(0, 0, 0, 0.75), 0 0 22px rgba(249, 115, 22, 0.14);
}
.kpi-card.kpi-expenses::before {
  background: radial-gradient(ellipse at 50% 0%, rgba(249, 115, 22, 0.32) 0%, rgba(249, 115, 22, 0.05) 60%, transparent 80%);
}
.kpi-card.kpi-expenses:hover {
  background: linear-gradient(145deg, #3C2013 0%, #1F1109 100%);
  border-color: rgba(249, 115, 22, 0.65);
  transform: translateY(-4px);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.15), 0 20px 40px -6px rgba(0, 0, 0, 0.85), 0 0 32px rgba(249, 115, 22, 0.35);
}

/* 5. Thẻ Lợi Nhuận (Emerald/Gold Luxury) */
.kpi-card.kpi-profit {
  background: linear-gradient(145deg, #10291F 0%, #091913 100%);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-top: 3.5px solid #10B981;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.1), 0 14px 30px -4px rgba(0, 0, 0, 0.75), 0 0 22px rgba(16, 185, 129, 0.14);
}
.kpi-card.kpi-profit::before {
  background: radial-gradient(ellipse at 50% 0%, rgba(16, 185, 129, 0.32) 0%, rgba(16, 185, 129, 0.05) 60%, transparent 80%);
}
.kpi-card.kpi-profit:hover {
  background: linear-gradient(145deg, #173B2C 0%, #0E251C 100%);
  border-color: rgba(16, 185, 129, 0.65);
  transform: translateY(-4px);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.15), 0 20px 40px -6px rgba(0, 0, 0, 0.85), 0 0 32px rgba(16, 185, 129, 0.35);
}
.kpi-card.kpi-profit.negative {
  background: linear-gradient(145deg, #2D1418 0%, #170A0C 100%);
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-top: 3.5px solid #EF4444;
}
.kpi-card.kpi-profit.negative::before {
  background: radial-gradient(ellipse at 50% 0%, rgba(239, 68, 68, 0.32) 0%, rgba(239, 68, 68, 0.05) 60%, transparent 80%);
}
.kpi-card.kpi-profit.negative:hover {
  background: linear-gradient(145deg, #3D1A20 0%, #200E11 100%);
  border-color: rgba(239, 68, 68, 0.65);
}

/* 6. Thẻ Khách Hàng (Royal Velvet Purple) */
.kpi-card.kpi-customers {
  background: linear-gradient(145deg, #25173B 0%, #150C22 100%);
  border: 1px solid rgba(168, 85, 247, 0.28);
  border-top: 3.5px solid #A855F7;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.1), 0 14px 30px -4px rgba(0, 0, 0, 0.75), 0 0 22px rgba(168, 85, 247, 0.12);
}
.kpi-card.kpi-customers::before {
  background: radial-gradient(ellipse at 50% 0%, rgba(168, 85, 247, 0.32) 0%, rgba(168, 85, 247, 0.05) 60%, transparent 80%);
}
.kpi-card.kpi-customers:hover {
  background: linear-gradient(145deg, #332050 0%, #1E1231 100%);
  border-color: rgba(168, 85, 247, 0.6);
  transform: translateY(-4px);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.15), 0 20px 40px -6px rgba(0, 0, 0, 0.85), 0 0 30px rgba(168, 85, 247, 0.32);
}

/* ── HỆ THỐNG THẺ TÓM TẮT ĐỒNG BỘ (KPI SUMMARY CARDS) ── */
.kpi-summary-card {
  border-radius: 14px;
  padding: 14px 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  background: linear-gradient(145deg, #182232 0%, #0F1622 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-top: 3px solid rgba(148, 163, 184, 0.6);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.06), 0 8px 20px -3px rgba(0, 0, 0, 0.6);
}
.kpi-summary-card:hover {
  transform: translateY(-3px);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.12), 0 14px 28px -4px rgba(0, 0, 0, 0.75);
}
.kpi-summary-card.gold {
  background: linear-gradient(145deg, #241B0E 0%, #140E06 100%);
  border: 1px solid rgba(245, 158, 11, 0.28);
  border-top: 3px solid #F59E0B;
}
.kpi-summary-card.gold:hover {
  border-color: rgba(245, 158, 11, 0.55);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.12), 0 14px 28px -4px rgba(0, 0, 0, 0.75), 0 0 20px rgba(245, 158, 11, 0.18);
}
.kpi-summary-card.blue {
  background: linear-gradient(145deg, #122138 0%, #0A1320 100%);
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-top: 3px solid #38BDF8;
}
.kpi-summary-card.blue:hover {
  border-color: rgba(56, 189, 248, 0.55);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.12), 0 14px 28px -4px rgba(0, 0, 0, 0.75), 0 0 20px rgba(56, 189, 248, 0.18);
}
.kpi-summary-card.green {
  background: linear-gradient(145deg, #0F251C 0%, #081611 100%);
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-top: 3px solid #10B981;
}
.kpi-summary-card.green:hover {
  border-color: rgba(16, 185, 129, 0.55);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.12), 0 14px 28px -4px rgba(0, 0, 0, 0.75), 0 0 20px rgba(16, 185, 129, 0.18);
}
.kpi-summary-card.purple {
  background: linear-gradient(145deg, #201333 0%, #11091C 100%);
  border: 1px solid rgba(168, 85, 247, 0.25);
  border-top: 3px solid #A855F7;
}
.kpi-summary-card.purple:hover {
  border-color: rgba(168, 85, 247, 0.55);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.12), 0 14px 28px -4px rgba(0, 0, 0, 0.75), 0 0 20px rgba(168, 85, 247, 0.18);
}
.kpi-summary-card.red {
  background: linear-gradient(145deg, #271115 0%, #14070A 100%);
  border: 1px solid rgba(239, 68, 68, 0.28);
  border-top: 3px solid #EF4444;
}
.kpi-summary-card.red:hover {
  border-color: rgba(239, 68, 68, 0.55);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.12), 0 14px 28px -4px rgba(0, 0, 0, 0.75), 0 0 20px rgba(239, 68, 68, 0.18);
}
.kpi-summary-card.default {
  background: linear-gradient(145deg, #1C2534 0%, #101621 100%);
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-top: 3px solid #94A3B8;
}

.kpi-label {
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #CBD5E1; /* text-slate-300 rõ nét */
  margin: 0;
}

/* Financial Number Styling: Chuẩn Số Liệu Tài Chính Siêu Nét */
.kpi-value {
  font-size: 2.15rem;
  font-weight: 800;
  font-family: var(--font-finance);
  font-variant-numeric: tabular-nums lining-nums;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin: 6px 0;
  color: #FFFFFF;
  text-shadow: none !important;
}

.kpi-value.gold {
  color: #F59E0B; /* Vàng hổ phách tài chính */
  text-shadow: 0 0 18px rgba(245, 158, 11, 0.25) !important;
}

.kpi-value.blue {
  color: #38BDF8; /* Ice Tech Blue */
  text-shadow: 0 0 18px rgba(56, 189, 248, 0.22) !important;
}

.kpi-value.green {
  color: #10B981; /* Emerald Green */
  text-shadow: 0 0 18px rgba(16, 185, 129, 0.22) !important;
}

.kpi-value.purple {
  color: #C084FC; /* Purple Light */
  text-shadow: 0 0 18px rgba(192, 132, 252, 0.22) !important;
}

.kpi-value.orange {
  color: #FB923C; /* Cam san hô ấm áp cho chi phí */
  text-shadow: 0 0 18px rgba(249, 115, 22, 0.25) !important;
}

.kpi-value.red {
  color: #F87171; /* Đỏ ruby cảnh báo cho lỗ */
  text-shadow: 0 0 18px rgba(239, 68, 68, 0.25) !important;
}

.kpi-sub {
  font-size: 0.82rem;
  color: #CBD5E1; /* text-slate-300 rõ ràng, dễ đọc hơn */
  font-weight: 500;
  margin-top: 3px;
}

.kpi-trend {
  font-size: 0.78rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  border-radius: 999px;
  margin-top: 3px;
}

.kpi-trend.up { 
  color: #34D399; 
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
}
.kpi-trend.down { 
  color: #FB7185; 
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.3);
}

/* ── Custom Sleek Scrollbar in Admin ── */
.admin-page *::-webkit-scrollbar {
  width: 5px;
  height: 5px;
}
.admin-page *::-webkit-scrollbar-track {
  background: rgba(11, 15, 25, 0.3);
  border-radius: 999px;
}
.admin-page *::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  transition: all 0.2s ease;
}
.admin-page *::-webkit-scrollbar-thumb:hover {
  background: rgba(245, 158, 11, 0.5);
}
#today-staff-performance::-webkit-scrollbar {
  width: 4px;
}
#today-staff-performance::-webkit-scrollbar-track {
  background: transparent;
}
#today-staff-performance::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.14);
  border-radius: 999px;
}
#today-staff-performance::-webkit-scrollbar-thumb:hover {
  background: rgba(245, 158, 11, 0.45);
}

/* Dashboard Grid & Panels */
.dashboard-grid {
  display: grid;
  grid-template-columns: 2fr 1.25fr;
  gap: 22px;
  margin-bottom: 26px;
}

.panel {
  background: #101622; /* Khối Bảng biểu & Biểu đồ chuẩn Dark Obsidian cao cấp */
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 24px -4px rgba(0, 0, 0, 0.65);
}

.dashboard-grid > .panel {
  display: flex;
  flex-direction: column;
  min-height: 340px;
}
.dashboard-grid > .panel .panel-body {
  flex: 1;
}

.panel-header {
  padding: 18px 24px;
  background: linear-gradient(90deg, #172130 0%, #0F1622 100%); /* Titanium Obsidian kim loại trầm sâu */
  border-bottom: 2px solid rgba(201, 168, 76, 0.6); /* Đường chỉ viền vàng hoàng gia sang trọng */
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

.panel-title {
  font-weight: 700;
  font-size: 1.04rem;
  letter-spacing: -0.01em;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  gap: 8px;
}

.panel-header .btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #E2E8F0;
  border-radius: 8px;
  padding: 6px 14px;
  font-weight: 600;
  transition: all 0.2s ease;
}
.panel-header .btn-ghost:hover {
  background: rgba(201, 168, 76, 0.14);
  border-color: rgba(201, 168, 76, 0.5);
  color: #FBBF24;
  box-shadow: 0 2px 10px rgba(201, 168, 76, 0.25);
}

.panel-body {
  padding: 24px;
}

/* Revenue Chart Styling (Financial Analytics Chart) */
.chart-wrapper {
  position: relative;
  background: #090D15; /* Nền đen sâu tĩnh lặng làm nổi bật cột vàng phát sáng */
  border-radius: 12px;
  padding: 24px 18px 14px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.chart-grid-lines {
  position: absolute;
  top: 24px;
  left: 18px;
  right: 18px;
  bottom: 46px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  pointer-events: none;
}

.chart-grid-line {
  border-bottom: 1px dashed rgba(255, 255, 255, 0.08);
  width: 100%;
}

.chart-grid-line:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.chart-placeholder {
  height: 185px;
  display: flex;
  align-items: flex-end;
  gap: 12px;
  position: relative;
  z-index: 1;
}

.chart-bar-group {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  position: relative;
  min-width: 0;
}

.chart-bar-wrap {
  width: 100%;
  height: 145px;
  display: flex;
  align-items: flex-end;
  position: relative;
}

.chart-bar {
  width: 100%;
  background: linear-gradient(180deg, #FDE68A 0%, #F59E0B 50%, #B45309 100%);
  border-radius: 6px 6px 2px 2px;
  transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  min-height: 6px;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.chart-bar:hover {
  background: linear-gradient(180deg, #FFFBEB 0%, #FDE68A 50%, #F59E0B 100%);
  box-shadow: 0 4px 18px rgba(245, 158, 11, 0.45);
  transform: translateY(-2px);
}

.chart-tooltip {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  background: #090D16;
  border: 1px solid #F59E0B;
  color: #FFFFFF;
  padding: 5px 10px;
  border-radius: 6px;
  font-family: var(--font-finance);
  font-variant-numeric: tabular-nums;
  font-size: 0.74rem;
  font-weight: 700;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s ease;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.7), 0 0 12px rgba(245, 158, 11, 0.2);
  z-index: 10;
  text-align: center;
}

.chart-tooltip::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border-width: 4px;
  border-style: solid;
  border-color: #090D16 transparent transparent transparent;
}

.chart-bar-group:hover .chart-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.chart-label {
  font-family: var(--font-finance);
  font-variant-numeric: tabular-nums;
  font-size: 0.76rem;
  color: #CBD5E1;
  font-weight: 600;
}

.chart-date-sub {
  font-size: 0.68rem;
  color: #94A3B8;
  margin-top: -2px;
}

/* Data Tables (Financial Data Style) */
.data-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
}

.data-table thead {
  position: sticky;
  top: 0;
  z-index: 10;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.45);
}

.data-table th {
  position: sticky;
  top: 0;
  z-index: 10;
  text-align: left;
  padding: 12px 16px;
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #E2E8F0; /* Bạc sáng khói sắc nét */
  background: linear-gradient(180deg, #222D3E 0%, #16202E 100%); /* Raised Header Ribbon nổi bật hơn thân bảng 25% */
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 2.5px solid rgba(201, 168, 76, 0.75); /* Đường chỉ viền vàng kim sắc sảo */
}

.data-table td {
  padding: 14px 18px;
  font-size: 0.88rem;
  color: #F8FAFC;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  vertical-align: middle;
}

.data-table tbody tr:nth-child(even) td {
  background: rgba(255, 255, 255, 0.015); /* Zebra striping mờ nhẹ tinh tế */
}

.data-table tr:hover td {
  background: rgba(201, 168, 76, 0.07) !important; /* Hover sáng nhẹ ánh kim */
}

.data-table tr:last-child td {
  border-bottom: none;
}

.data-table .actions {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.data-table code {
  font-family: var(--font-finance), monospace;
  font-variant-numeric: tabular-nums;
  background: rgba(56, 189, 248, 0.15);
  border: 1px solid rgba(56, 189, 248, 0.35);
  color: #38BDF8;
  padding: 2px 7px;
  border-radius: 6px;
  font-size: 0.78rem;
  font-weight: 700;
}

.data-table td strong {
  font-family: var(--font-finance);
  font-variant-numeric: tabular-nums lining-nums;
  color: #FFFFFF;
}

/* ── Stylist Performance Rows in Dashboard ── */
.staff-perf-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  background: #090D15;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  transition: all 0.22s ease;
}

.staff-perf-item:hover {
  background: #131B28;
  border-color: rgba(201, 168, 76, 0.4);
  transform: translateX(2px);
}

.staff-perf-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(201, 168, 76, 0.14);
  border: 1.5px solid #F59E0B;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #F59E0B;
  font-weight: 700;
  font-size: 0.84rem;
  flex-shrink: 0;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.4);
}

.staff-perf-rev {
  font-family: var(--font-finance);
  font-variant-numeric: tabular-nums lining-nums;
  font-weight: 700;
  font-size: 0.95rem;
  color: #F59E0B;
}

/* Section Header in Admin */
.admin-page .section-header h2 {
  color: #FFFFFF;
}

/* Controls in Admin */
.admin-page .form-control {
  background: #151C2B;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  color: #F8FAFC;
}
.admin-page .form-control:focus {
  border-color: #38BDF8;
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.2);
}
.admin-page select.form-control option {
  background: #151C2B;
  color: #F8FAFC;
}
.admin-page .chart-filter-select {
  background-color: #151C2B !important;
  color: #FBBF24 !important;
  border: 1px solid rgba(245, 158, 11, 0.45) !important;
  border-radius: 8px !important;
  font-weight: 600 !important;
}
.admin-page .chart-filter-select optgroup {
  background: #090D16 !important;
  color: #FBBF24 !important;
}
.admin-page .chart-filter-select option {
  background: #151C2B !important;
  color: #F8FAFC !important;
}

/* ── BỘ LỌC CHUẨN HÓA (STANDARDIZED FILTER TOOLBAR) ── */
.filter-toolbar {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  padding: 10px 16px;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.filter-toolbar .form-control {
  height: 34px;
  padding: 5px 12px;
  font-size: 0.84rem;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  color: #F8FAFC;
  width: auto;
}
.filter-toolbar .form-control:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 2px rgba(201, 168, 76, 0.2);
}
.filter-toolbar-date-range {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 3px 8px;
  border-radius: 8px;
}
.filter-toolbar-actions {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* ── BẢNG DỮ LIỆU CUỘN VỚI STICKY HEADER ── */
.table-scroll-container,
.panel-body.table-scroll {
  max-height: 640px;
  overflow: auto;
}

/* ── EMPTY STATE THỐNG NHẤT ── */
.empty-state-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 38px 20px;
  text-align: center;
}
.empty-state-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
}
.empty-state-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: #E2E8F0;
  margin-bottom: 4px;
}
.empty-state-sub {
  font-size: 0.8rem;
  color: var(--text-muted);
  max-width: 380px;
  line-height: 1.4;
}

/* Panel Header Badges */
#chart-7days-total {
  background: rgba(245, 158, 11, 0.2) !important;
  color: #FDE68A !important;
  border: 1px solid #F59E0B !important;
  font-weight: 700 !important;
  font-family: var(--font-finance) !important;
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.25) !important;
}
#staff-perf-badge {
  background: rgba(56, 189, 248, 0.18) !important;
  color: #7DD3FC !important;
  border: 1px solid #38BDF8 !important;
  font-weight: 700 !important;
  box-shadow: 0 2px 8px rgba(56, 189, 248, 0.2) !important;
}
.badge-pending {
  background: rgba(245, 158, 11, 0.22) !important;
  color: #FBBF24 !important;
  border: 1px solid #F59E0B !important;
  font-weight: 800 !important;
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.3) !important;
}

/* ── LỚP 4: Màu Điểm Nhấn & Nút Bấm Thao Tác (Action Buttons) ── */
.admin-page .btn-gold {
  background: linear-gradient(135deg, #FBBF24 0%, #F59E0B 100%);
  color: #0E0C0A;
  font-weight: 700;
  border: 1px solid #FBBF24;
  border-radius: 8px;
  box-shadow: 0 3px 12px rgba(245, 158, 11, 0.35);
  transition: all 0.22s ease;
}
.admin-page .btn-gold:hover {
  background: linear-gradient(135deg, #FDE68A 0%, #FBBF24 100%);
  border-color: #FDE68A;
  color: #000000;
  transform: translateY(-1px);
  box-shadow: 0 5px 18px rgba(245, 158, 11, 0.55);
}

.admin-page .btn-outline {
  background: #151C2B;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #F8FAFC;
  border-radius: 8px;
  transition: all 0.2s ease;
}
.admin-page .btn-outline:hover {
  background: #252F44;
  border-color: rgba(56, 189, 248, 0.45);
  color: #FFFFFF;
}

.admin-page .btn-success {
  background: rgba(52, 211, 153, 0.15); /* emerald-400 mờ */
  border: 1px solid #34D399; /* emerald-400 */
  color: #34D399;
  border-radius: 8px;
  font-weight: 600;
}
.admin-page .btn-success:hover {
  background: #10B981;
  color: #FFFFFF;
  box-shadow: 0 4px 12px rgba(52, 211, 153, 0.4);
}

.admin-page .btn-danger {
  background: rgba(251, 113, 133, 0.15); /* rose-400 mờ */
  border: 1px solid #FB7185; /* rose-400 */
  color: #FB7185;
  border-radius: 8px;
  font-weight: 600;
}
.admin-page .btn-danger:hover {
  background: #F43F5E;
  color: #FFFFFF;
  box-shadow: 0 4px 12px rgba(251, 113, 133, 0.4);
}

/* Section header */
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 12px;
}
.section-header h2 { font-size: 1.3rem; font-weight: 600; }

/* Filters */
.filter-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 16px;
  align-items: center;
}
.filter-row .form-control { width: auto; min-width: 160px; }
.search-box { position: relative; }
.search-box input { padding-left: 36px; }
.search-box::before {
  content: '🔍';
  position: absolute; left: 12px; top: 50%; transform: translateY(-50%);
  font-size: 0.85rem; z-index: 1;
}

/* Modal */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(4px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal-overlay.open { display: flex; animation: fadeIn 0.2s ease; }
.modal {
  background: var(--dark-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 520px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 24px 64px rgba(0,0,0,0.7);
  animation: slideUp 0.3s ease;
}
.modal-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  position: sticky; top: 0; background: var(--dark-3); z-index: 1;
}
.modal-title { font-weight: 600; font-size: 1.05rem; }
.modal-close {
  background: var(--dark-4); border: 1px solid var(--dark-5);
  color: var(--text-muted); width: 32px; height: 32px;
  border-radius: var(--radius-sm); cursor: pointer; font-size: 1rem;
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
}
.modal-close:hover { background: var(--danger); color: #fff; border-color: var(--danger); }
.modal-body { padding: 24px; }
.modal-footer {
  padding: 16px 24px;
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex; gap: 10px; justify-content: flex-end;
}

/* Admin Scoped Modal Style (FinTech Elevated Surface: #1E2638) */
.admin-page .modal {
  background: #1E2638;
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #FFFFFF;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.85);
  border-radius: 16px;
}
.admin-page .modal-header {
  background: #151C2B;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: #FFFFFF;
}
.admin-page .modal-close {
  background: #252F44;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #CBD5E1;
}
.admin-page .modal-close:hover {
  background: #FB7185;
  color: #FFFFFF;
  border-color: #FB7185;
}
.admin-page .modal-footer {
  background: #151C2B;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Login */
.login-page {
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  background: var(--dark);
  padding: 24px;
}
.login-card {
  background: var(--dark-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  width: 100%;
  max-width: 400px;
  box-shadow: var(--shadow);
  text-align: center;
}
.login-logo { font-family: var(--font-serif); font-size: 1.8rem; font-weight: 700; margin-bottom: 4px; }
.login-logo span { color: var(--gold); }
.login-subtitle { color: var(--text-muted); font-size: 0.88rem; margin-bottom: 32px; }
.role-tabs { display: flex; gap: 8px; background: var(--dark-4); border-radius: var(--radius-sm); padding: 4px; margin-bottom: 24px; }
.role-tab {
  flex: 1; padding: 8px 16px; border-radius: 6px; font-size: 0.85rem; font-weight: 500;
  cursor: pointer; transition: var(--transition); color: var(--text-muted); text-align: center;
}
.role-tab.active { background: var(--gold); color: var(--dark); font-weight: 600; }

/* Divider */
.divider { display: flex; align-items: center; gap: 12px; margin: 20px 0; color: var(--text-faint); font-size: 0.8rem; }
.divider::before, .divider::after { content: ''; flex: 1; height: 1px; background: rgba(255,255,255,0.06); }

/* ========================================
   ANIMATIONS
   ======================================== */
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes fadeInDown { from { opacity: 0; transform: translateY(-16px); } to { opacity: 1; transform: none; } }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes slideUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
@keyframes bounceIn { 0% { transform: scale(0.5); opacity: 0; } 70% { transform: scale(1.1); } 100% { transform: scale(1); opacity: 1; } }

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1120px) {
  .menu-toggle { display: block; }
  .navbar-menu {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(18, 18, 18, 0.98);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 24px;
    gap: 16px;
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
  }
  .navbar-menu.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }
  .qr-card-container {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 32px 24px;
  }
  .qr-action-btns { justify-content: center; }
  .qr-steps-list { grid-template-columns: 1fr; text-align: left; }
  .about-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .admin-sidebar { transform: translateX(-100%); }
  .admin-sidebar.open { transform: none; }
  .admin-main { margin-left: 0; }
  .dashboard-grid { grid-template-columns: 1fr; }
  .booking-steps { display: none; }
  .hero-title { font-size: 2.5rem; }
  .confirm-card { padding: 20px; }
  .modal { max-width: 100%; border-radius: var(--radius); }
  .kpi-grid { grid-template-columns: repeat(2, 1fr); }
  .booking-container-box { padding: 24px 16px; }
  .about-stat-box { grid-template-columns: 1fr 1fr; padding: 20px; }
}

@media (max-width: 580px) {
  .about-features-list { grid-template-columns: 1fr; }
  .about-stat-box { grid-template-columns: 1fr; }
  .navbar-brand { font-size: 1.2rem; }
}

@media (max-width: 480px) {
  .kpi-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .time-slots-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ========================================
   OWNER MANAGEMENT TOOLBAR & MODALS
   ======================================== */
.owner-admin-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 42px;
  background: linear-gradient(90deg, #18140c 0%, #201a0e 50%, #15120a 100%);
  border-bottom: 1.5px solid rgba(201,168,76,0.4);
  box-shadow: 0 4px 16px rgba(0,0,0,0.6);
  z-index: 1001;
  font-size: 0.82rem;
}
.owner-bar-container {
  max-width: 1360px;
  height: 100%;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.owner-bar-left {
  display: flex;
  align-items: center;
  gap: 14px;
}
.owner-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--gold-light);
  font-weight: 600;
  letter-spacing: 0.02em;
}
.owner-pulse {
  width: 8px;
  height: 8px;
  background: #4CAF82;
  border-radius: 50%;
  box-shadow: 0 0 8px #4CAF82;
  animation: pulseGreen 2s infinite;
}
@keyframes pulseGreen {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.2); opacity: 1; box-shadow: 0 0 12px #4CAF82; }
  100% { transform: scale(0.95); opacity: 0.8; }
}
.owner-today-pill {
  background: rgba(201,168,76,0.12);
  border: 1px solid rgba(201,168,76,0.3);
  color: var(--text);
  padding: 2px 10px;
  border-radius: 20px;
  cursor: pointer;
  transition: var(--transition);
}
.owner-today-pill:hover {
  background: rgba(201,168,76,0.25);
  border-color: var(--gold);
}
.owner-bar-right {
  display: flex;
  align-items: center;
  gap: 8px;
}
.owner-bar-btn {
  font-size: 0.78rem;
  font-weight: 500;
  padding: 5px 12px;
  border-radius: 6px;
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  text-decoration: none;
  border: 1px solid transparent;
}
.owner-btn-dash {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: var(--dark);
  font-weight: 600;
}
.owner-btn-dash:hover {
  filter: brightness(1.15);
  box-shadow: 0 2px 10px rgba(201,168,76,0.4);
}
.owner-btn-edit {
  background: rgba(255,255,255,0.06);
  border-color: rgba(201,168,76,0.3);
  color: var(--gold-light);
}
.owner-btn-edit:hover {
  background: rgba(201,168,76,0.15);
  border-color: var(--gold);
}
.owner-btn-logout {
  background: transparent;
  color: var(--text-muted);
  border-color: rgba(255,255,255,0.1);
}
.owner-btn-logout:hover {
  background: rgba(224,85,85,0.15);
  color: #ff7777;
  border-color: rgba(224,85,85,0.3);
}

body.has-owner-bar .navbar {
  top: 42px;
}
body.has-owner-bar .hero {
  padding-top: 122px;
}
@media (max-width: 900px) {
  body.has-owner-bar .navbar-menu {
    top: 114px;
  }
  .owner-bar-container {
    padding: 0 12px;
    gap: 8px;
  }
  .owner-today-pill {
    display: none;
  }
}
@media (max-width: 600px) {
  .owner-admin-bar {
    height: auto;
    padding: 6px 0;
  }
  .owner-bar-container {
    flex-direction: column;
    gap: 6px;
  }
  body.has-owner-bar .navbar {
    top: 68px;
  }
}

/* Quick Edit Modal Tabs & Forms */
.quick-edit-tab-bar {
  display: flex;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  padding: 0 24px;
  gap: 16px;
  background: rgba(0,0,0,0.2);
}
.quick-tab-btn {
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.92rem;
  padding: 12px 6px;
  cursor: pointer;
  transition: var(--transition);
}
.quick-tab-btn:hover {
  color: var(--gold);
}
.quick-tab-btn.active {
  color: var(--gold);
  border-bottom-color: var(--gold);
  font-weight: 600;
}
.quick-services-box {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.quick-services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}
.quick-svc-row {
  display: grid;
  grid-template-columns: 2fr 1.2fr 1fr;
  gap: 12px;
  align-items: center;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.06);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}
.quick-svc-row:hover {
  background: rgba(201,168,76,0.04);
  border-color: rgba(201,168,76,0.25);
}
@media (max-width: 600px) {
  .quick-svc-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

/* KPI Detail Table - Tối ưu chống thanh cuộn ngang */
.kpi-detail-table {
  width: 100% !important;
  table-layout: fixed !important;
  border-collapse: collapse;
}
.kpi-detail-table th {
  padding: 10px 8px !important;
  font-size: 0.74rem !important;
  letter-spacing: 0.08em;
  white-space: nowrap;
  background: linear-gradient(180deg, #222D3E 0%, #16202E 100%) !important;
  color: #E2E8F0 !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-bottom: 2.5px solid rgba(201, 168, 76, 0.75) !important;
}
.kpi-detail-table td {
  padding: 8px 8px !important;
  font-size: 0.82rem !important;
  vertical-align: middle;
}
.kpi-detail-table th:last-child,
.kpi-detail-table td:last-child {
  padding-right: 16px !important;
  text-align: center;
}

/* Báo Cáo Tài Chính - Thẻ KPI đồng bộ màu sắc chuẩn trang quản trị */
#finance-kpis {
  gap: 12px;
  margin-bottom: 20px;
}
#finance-kpis .kpi-card {
  padding: 13px 16px;
  border-radius: 13px;
  min-height: 128px;
  background: linear-gradient(145deg, #182232 0%, #0F1622 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.06), 0 10px 24px -4px rgba(0, 0, 0, 0.7) !important;
}
#finance-kpis .kpi-card:hover {
  background: linear-gradient(145deg, #1F2D42 0%, #121A28 100%) !important;
  transform: translateY(-3px);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.1), 0 16px 32px -4px rgba(0, 0, 0, 0.8) !important;
}
#finance-kpis .kpi-card::before {
  display: none !important;
}
#finance-kpis .kpi-card.kpi-revenue {
  border-top: 3px solid #F59E0B !important;
}
#finance-kpis .kpi-card.kpi-tips {
  border-top: 3px solid #10B981 !important;
}
#finance-kpis .kpi-card.kpi-expenses {
  border-top: 3px solid #38BDF8 !important;
}
#finance-kpis .kpi-card.kpi-profit {
  border-top: 3px solid #10B981 !important;
}
#finance-kpis .kpi-card.kpi-profit.negative {
  border-top: 3px solid #EF4444 !important;
}
#finance-kpis .kpi-icon-badge {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  font-size: 0.95rem;
}
#finance-kpis .kpi-label {
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  color: #CBD5E1 !important;
}
#finance-kpis .kpi-value {
  font-size: 1.45rem;
  line-height: 1.2;
  margin: 3px 0 5px 0;
}

/* Báo Cáo Tài Chính - Bảng Tổng Hợp Kết Quả Kinh Doanh Theo Tháng */
#finance-summary-table thead {
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.45);
}
#finance-summary-table th {
  padding: 13px 14px;
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #E2E8F0;
  background: linear-gradient(180deg, #222D3E 0%, #16202E 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 2.5px solid rgba(201, 168, 76, 0.75);
}
#finance-summary-table td {
  padding: 14px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  vertical-align: middle;
}
/* Báo Cáo Tài Chính, Chi Phí, Lương - Hàng Tổng Hợp Tfoot */
.data-table tfoot td,
#finance-summary-tfoot td,
#expenses-tfoot td,
#staff-tfoot td {
  padding: 14px 18px;
  font-weight: 800;
  border-top: 2.5px solid rgba(201, 168, 76, 0.6) !important;
  background: rgba(201, 168, 76, 0.06) !important;
  color: #FFFFFF;
}
.data-table tfoot td strong,
#finance-summary-tfoot td strong,
#expenses-tfoot td strong,
#staff-tfoot td strong {
  color: #FBBF24;
}

.finance-summary-row {
  cursor: pointer;
  transition: all 0.2s ease;
}
.finance-summary-row:hover td {
  background: rgba(201, 168, 76, 0.08) !important;
}

/* Service Group Title - Khối Tiêu Đề Dịch Vụ Vàng Hoàng Gia (Royal Gold) */
#services-admin-list .service-group-title {
  padding: 13px 20px;
  background: linear-gradient(90deg, rgba(201, 168, 76, 0.18) 0%, rgba(26, 36, 52, 0.95) 45%, #0F1622 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-left: 4.5px solid #F59E0B;
  border-bottom: 2px solid rgba(201, 168, 76, 0.55);
  border-radius: 12px 12px 0 0;
  color: #FDE68A;
  font-weight: 800;
  font-size: 0.98rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-shadow: 0 0 16px rgba(245, 158, 11, 0.35);
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
}

#step-1 .service-group-title {
  font-size: 0.84rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold);
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
  background: none;
  border-left: none;
  border-radius: 0;
  box-shadow: none;
}

/* ── RBAC Security: Ẩn triệt để toàn bộ thành phần Chủ Salon đối với Nhân Viên ── */
body.role-staff .owner-only {
  display: none !important;
}
