/* =====================================================
   BeautyBook — Main Stylesheet
   ===================================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary:      #4F46E5;
  --primary-dark: #4338CA;
  --primary-lt:   rgba(79,70,229,0.08);
  --accent:       #FFC107;
  --pink:         #EC4899;
  --success:      #10B981;
  --danger:       #EF4444;
  --warning:      #F59E0B;
  --dark:         #1A1A1A;
  --text:         #1A1A1A;
  --medium:       #4A4A4A;
  --light:        #6B7280;
  --border:       #E5E7EB;
  --bg:           #F9FAFB;
  --white:        #FFFFFF;
  --topbar-bg:    #D4F5F5;
  --radius:       8px;
  --shadow-sm:    0 1px 3px rgba(0,0,0,0.08);
  --shadow-md:    0 4px 12px rgba(0,0,0,0.1);
  --shadow-lg:    0 10px 30px rgba(0,0,0,0.12);
  --transition:   all 0.2s ease;
}

html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--white);
  color: var(--dark);
  font-size: 16px;
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
input, select, textarea, button { font-family: inherit; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section { padding: 56px 0; }

/* ── TOPBAR ── */
.topbar {
  background: var(--topbar-bg);
  padding: 10px 0;
  text-align: center;
  font-size: 0.8125rem;
  font-weight: 500;
}
.topbar a { color: var(--primary); font-weight: 700; }
.topbar a:hover { text-decoration: underline; }

/* ── NAVBAR ── */
.navbar {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 500;
  box-shadow: var(--shadow-sm);
}
.navbar-inner {
  display: flex; align-items: center;
  height: 64px; gap: 20px;
}
.navbar-logo {
  flex-shrink: 0; white-space: nowrap; display:flex; align-items:center;
}
.navbar-logo span { color: var(--pink); }
.navbar-logo-img { height: 44px; width: auto; max-width: 180px; display:block; object-fit:contain; }
.navbar-cats {
  display: flex; gap: 2px; list-style: none; flex: 1;
  overflow-x: auto; scrollbar-width: none;
}
.navbar-cats::-webkit-scrollbar { display: none; }
.navbar-cats a {
  display: flex; align-items: center; gap: 5px;
  padding: 6px 11px; border-radius: 6px;
  color: var(--medium); font-size: 0.82rem; font-weight: 500;
  white-space: nowrap; transition: var(--transition);
}
.navbar-cats a:hover,
.navbar-cats a.active { background: var(--primary-lt); color: var(--primary); }
.navbar-auth { display: flex; gap: 8px; align-items: center; flex-shrink: 0; }
.navbar-user { display: flex; align-items: center; gap: 10px; }
.navbar-user-name { font-size: 0.82rem; font-weight: 500; color: var(--dark); }

/* User dropdown */
.user-dropdown { position: relative; }
.user-dropdown-btn { display: flex; align-items: center; gap: 8px; background: none; border: 1.5px solid var(--border); border-radius: 999px; padding: 6px 14px 6px 6px; cursor: pointer; font-size: 0.85rem; font-weight: 500; color: var(--dark); list-style: none; }
.user-dropdown-btn::-webkit-details-marker { display: none; }
.user-dropdown-btn::marker { display: none; }
.user-dropdown-btn:hover { border-color: var(--primary); }
.user-avatar-sm { width: 28px; height: 28px; background: var(--primary); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.75rem; font-weight: 700; flex-shrink: 0; }
.user-avatar-photo { object-fit: cover; background: none; }
.user-dropdown-menu { position: absolute; right: 0; top: calc(100% + 8px); background: #fff; border-radius: 18px; box-shadow: 0 24px 70px rgba(24,24,27,.16); width: 300px; padding: 16px 0 12px; z-index: 999; display: none; border: 1px solid rgba(228,228,231,.9); overflow: hidden; }
.user-dropdown-menu a { display: block; padding: 10px 18px; font-size: 0.88rem; font-weight: 500; color: var(--text); text-decoration: none; transition: background .12s; }
.user-dropdown-menu a:hover { background: var(--bg); color: var(--primary); }
.dropdown-divider { height: 1px; background: var(--border); margin: 12px 0; }
.udm-item { display: flex !important; align-items: center; gap: 16px; padding: 14px 24px !important; font-size: 1rem !important; font-weight: 500; color: #27272A !important; transition: background .16s ease !important; }
.udm-item:hover { background: #F0FDF4 !important; color: #111827 !important; }
.udm-icon { width: 24px; height: 24px; flex: 0 0 24px; color: #16A34A; }
.udm-special { color: #6D5BFF !important; font-weight: 700 !important; }
.udm-special:hover { background: #F5F3FF !important; color: #6D5BFF !important; }
.udm-special .udm-icon { color: #6D5BFF; }
.udm-logout { color: #DC2626 !important; font-weight: 600 !important; }
.udm-logout:hover { background: #FEF2F2 !important; color: #DC2626 !important; }
.udm-logout .udm-icon { color: #DC2626; }
details.user-dropdown[open] .user-dropdown-menu { display: block; }
details.user-dropdown[open] > .user-dropdown-btn { border-color: var(--primary); }
.mobile-menu-btn {
  display: none; background: none; border: none;
  font-size: 1.5rem; cursor: pointer; padding: 6px;
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 10px 22px; border-radius: var(--radius);
  font-size: 0.875rem; font-weight: 600; cursor: pointer;
  border: none; transition: var(--transition); white-space: nowrap;
  font-family: inherit;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); box-shadow: var(--shadow-md); }
.btn-outline { background: transparent; border: 1.5px solid var(--border); color: var(--dark); }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }
.btn-danger { background: var(--danger); color: #fff; }
.btn-success { background: var(--success); color: #fff; }
.btn-sm { padding: 7px 14px; font-size: 0.8rem; }
.btn-lg { padding: 13px 30px; font-size: 1rem; }
.btn-block { width: 100%; justify-content: center; }

/* ── HERO ── */
.hero {
  position: relative;
  background-image: url('../images/hero-bg.png');
  background-size: cover;
  background-position: center 25%;
  background-color: #EDE9FE;
  min-height: 560px;
  display: flex; align-items: center;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: rgba(255,255,255,0.18);
  z-index: 1;
}
.hero .container { position: relative; z-index: 2; width: 100%; padding: 60px 20px; }
.hero .hs-wrap { margin-left: 0; margin-right: auto; max-width: 881px; }
.hero-badge {
  display: inline-block;
  background: var(--primary-lt); color: var(--primary);
  padding: 7px 16px; border-radius: 20px;
  font-size: 0.82rem; font-weight: 600; margin-bottom: 20px;
}
.hero h1 {
  font-size: 2.75rem; font-weight: 700; line-height: 1.2;
  color: var(--dark); margin-bottom: 16px; max-width: 520px;
}
.hero p {
  font-size: 1.125rem; color: var(--medium);
  margin-bottom: 32px; max-width: 480px; line-height: 1.65;
}

/* ── SEARCH BOX ── */
.search-box {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  box-shadow: var(--shadow-sm);
  width: 100%;
}
.search-form {
  display: grid;
  grid-template-columns: 1.2fr 1.2fr 0.9fr 0.7fr;
  gap: 12px;
  align-items: end;
}
.form-group { display: flex; flex-direction: column; }
.form-label {
  font-weight: 600; font-size: 0.875rem;
  color: var(--dark); margin-bottom: 8px;
}
.form-label-sm { font-size: 0.78rem; color: var(--light); margin-bottom: 6px; font-weight: 500; }
.form-control {
  height: 48px; padding: 0 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.9375rem; background: var(--white);
  color: var(--dark); outline: none;
  transition: border-color .18s, box-shadow .18s;
  width: 100%;
}
.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0,102,255,0.1);
}
.form-control::placeholder { color: #B0BAC4; }
select.form-control { cursor: pointer; }
textarea.form-control { height: auto; padding: 12px 14px; resize: vertical; }
.btn-search {
  height: 48px; background: var(--primary); color: #fff;
  border: none; border-radius: var(--radius);
  font-size: 0.9375rem; font-weight: 600; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  gap: 8px; transition: var(--transition); width: 100%;
  font-family: inherit;
}
.btn-search:hover { background: var(--primary-dark); box-shadow: var(--shadow-md); }
.hero-trust {
  display: flex; gap: 20px; margin-top: 14px; flex-wrap: wrap;
}
.trust-item { font-size: 0.78rem; color: var(--light); }

/* ── SECTION HEADER ── */
.sec-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  margin-bottom: 24px;
}
.sec-head h2 { font-size: 1.75rem; font-weight: 700; color: var(--dark); letter-spacing: -0.03em; }
.sec-head p { font-size: 0.82rem; color: var(--light); margin-top: 3px; }
.see-all { font-size: 0.82rem; color: var(--primary); font-weight: 500; white-space: nowrap; }
.see-all:hover { text-decoration: underline; }

/* ── CATEGORY ROW (app-style) ── */
.cats-scroll {
  display: flex; flex-direction: row;
  justify-content: space-between;
  gap: 0; padding-bottom: 4px;
}
.cat-pill {
  display: flex; flex-direction: column; align-items: center;
  flex: 1; min-width: 0;
  text-decoration: none; cursor: pointer;
}
.cat-pill-icon {
  width: 90px; height: 90px; border-radius: 24px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 10px; transition: transform 0.18s, box-shadow 0.18s;
  box-shadow: 0 4px 14px rgba(0,0,0,0.10);
}
.cat-pill:hover .cat-pill-icon,
.cat-pill.active .cat-pill-icon { transform: translateY(-4px); box-shadow: 0 10px 24px rgba(0,0,0,0.16); }
.cat-pill-emoji { font-size: 2.6rem; line-height: 1; }
.cat-pill-name {
  font-size: 0.8rem; font-weight: 600; color: #4B5563;
  text-align: center; line-height: 1.3; transition: color 0.18s;
}
.cat-pill.active .cat-pill-name,
.cat-pill:hover .cat-pill-name { color: var(--primary); }

/* Mobile: horizontal scroll */
@media (max-width: 768px) {
  .cats-scroll {
    justify-content: flex-start; overflow-x: auto;
    -webkit-overflow-scrolling: touch; scrollbar-width: none;
  }
  .cats-scroll::-webkit-scrollbar { display: none; }
  .cat-pill { flex: 0 0 auto; width: 90px; margin-right: 12px; }
  .cat-pill-icon { width: 72px; height: 72px; }
  .cat-pill-emoji { font-size: 2rem; }
}

/* ── TRENDING CARDS ── */
.trending-scroll {
  display: flex; flex-wrap: nowrap;
  gap: 16px; justify-content: flex-start;
  overflow-x: auto; -webkit-overflow-scrolling: touch;
  scrollbar-width: none; padding-bottom: 8px; scroll-snap-type: x proximity;
}
.trending-scroll::-webkit-scrollbar { display: none; }
.trending-card { scroll-snap-align: start; }
.trending-card {
  flex: 0 0 320px; height: 400px;
  border-radius: 20px; overflow: hidden; position: relative;
  display: block; text-decoration: none;
  box-shadow: 0 6px 20px rgba(0,0,0,0.14);
  transition: transform 0.2s, box-shadow 0.2s;
}
.trending-card:hover { transform: translateY(-5px); box-shadow: 0 14px 32px rgba(0,0,0,0.22); }
.trending-card-img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.trending-card-fallback {
  position: absolute; inset: 0; display: flex; align-items: center;
  justify-content: center; font-size: 5rem;
}
.trending-card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, transparent 25%, rgba(0,0,0,0.78) 100%);
}
.trending-card-body {
  position: absolute; bottom: 0; left: 0; right: 0; padding: 18px;
}
.trending-badge {
  display: inline-block; background: #EC4899; color: #fff;
  font-size: 0.82rem; font-weight: 700; border-radius: 20px;
  padding: 6px 16px; margin-bottom: 10px;
  box-shadow: 0 2px 8px rgba(236,72,153,0.4);
}
.trending-name {
  font-size: 1.4rem; font-weight: 700; color: #fff;
  line-height: 1.3; margin-bottom: 5px; letter-spacing: -0.02em;
}
.trending-meta { font-size: 0.9rem; color: rgba(255,255,255,0.82); }

@media (max-width: 640px) {
  .trending-scroll {
    flex-wrap: nowrap; overflow-x: auto;
    -webkit-overflow-scrolling: touch; scrollbar-width: none; padding-bottom: 8px;
  }
  .trending-scroll::-webkit-scrollbar { display: none; }
  .trending-card { flex: 0 0 200px; height: 260px; }
}

/* ── POPULAR SERVICES LIST ── */
.proc-list {
  border-radius: 16px; overflow: hidden;
  border: 1px solid var(--border);
  background: #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.proc-row {
  display: flex; align-items: center;
  padding: 14px 18px; border-bottom: 1px solid #F8FAFC;
  text-decoration: none; transition: background 0.15s;
}
.proc-row:last-child { border-bottom: none; }
.proc-row:hover { background: var(--bg); }
.proc-row-body { flex: 1; }
.proc-row-name { font-size: 1rem; font-weight: 600; color: #1E293B; margin-bottom: 3px; }
.proc-row-cat  { font-size: 0.78rem; color: #94A3B8; }
.proc-row-right { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.proc-row-price { font-size: 0.88rem; font-weight: 700; color: var(--primary); }
.proc-row-arrow { font-size: 1.3rem; color: #CBD5E1; font-weight: 300; }

/* ── LAST MINUTE BANNER ── */
.lm-banner {
  display: block; position: relative; border-radius: 24px; overflow: hidden;
  height: 260px; text-decoration: none;
  box-shadow: 0 8px 32px rgba(0,0,0,0.22);
  transition: transform 0.2s, box-shadow 0.2s;
  background: #1a1a1a;
}
.lm-banner:hover { transform: translateY(-3px); box-shadow: 0 14px 40px rgba(0,0,0,0.28); }
.lm-banner-bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center;
}
.lm-banner-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.72) 0%, rgba(0,0,0,0.45) 50%, rgba(0,0,0,0.65) 100%);
}
.lm-banner-content {
  position: absolute; inset: 0; z-index: 1;
  display: flex; flex-direction: column;
  justify-content: space-evenly;
  padding: 20px 28px;
}
.lm-badge {
  display: block; color: #FF4D8D;
  font-size: 0.78rem; font-weight: 700;
}
.lm-title {
  font-size: 1.65rem; font-weight: 700; color: #fff;
  line-height: 1.2; letter-spacing: -0.02em;
}
.lm-timer { display: flex; align-items: flex-end; gap: 2px; }
.lm-timer-block { display: flex; flex-direction: column; align-items: center; min-width: 44px; }
.lm-timer-num {
  font-size: 2rem; font-weight: 700; color: #fff;
  letter-spacing: 0.05em; line-height: 1;
}
.lm-timer-lbl { font-size: 0.65rem; color: rgba(255,255,255,0.45); margin-top: 3px; }
.lm-timer-sep { font-size: 1.7rem; font-weight: 700; color: rgba(255,255,255,0.4); margin-bottom: 16px; padding: 0 3px; }
.lm-btn-wrap { display: flex; justify-content: flex-end; }
.lm-btn {
  display: inline-block; background: #FF4D8D; color: #fff;
  font-size: 0.92rem; font-weight: 700;
  border-radius: 50px; padding: 11px 28px;
  white-space: nowrap; box-shadow: 0 4px 14px rgba(255,77,141,0.45);
}

@media (max-width: 640px) {
  .sec-head h2 { font-size: 1.06rem; font-weight: 600; letter-spacing: -0.01em; }
  .proc-row-name { font-size: 0.875rem; }
  .proc-row-cat  { font-size: 0.75rem; }
  .proc-row-price { font-size: 0.82rem; }
  .proc-row { padding: 12px 14px; }
  .trending-badge { font-size: 0.69rem; padding: 4px 10px; margin-bottom: 8px; }
  .trending-name { font-size: 0.94rem; }
  .trending-meta { font-size: 0.75rem; }
  .lm-banner { height: 200px; }
  .lm-banner-content { padding: 16px 22px; }
  .lm-title { font-size: 1.2rem; }
  .lm-timer-num { font-size: 1.3rem; }
  .lm-timer-block { min-width: 36px; }
}

/* ── SALON CARDS ── */
.salons-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.salon-card {
  background: var(--white); border-radius: 12px;
  border: 1px solid var(--border); overflow: hidden;
  transition: transform .2s, box-shadow .2s; display: block;
}
.salon-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.salon-img {
  height: 180px; position: relative;
  display: flex; align-items: center; justify-content: center; font-size: 4.5rem;
  overflow: hidden;
}
.salon-img img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.salon-img-emoji { position: relative; z-index: 1; }
.salon-open {
  position: absolute; top: 10px; left: 10px; z-index: 2;
  background: var(--white); border-radius: 20px;
  padding: 3px 10px; font-size: 0.68rem; font-weight: 600;
  display: flex; align-items: center; gap: 4px;
  box-shadow: var(--shadow-sm);
}
.open-dot { width: 6px; height: 6px; background: var(--success); border-radius: 50%; }
.closed-dot { width: 6px; height: 6px; background: var(--danger); border-radius: 50%; }
.salon-fav {
  position: absolute; top: 10px; right: 10px; z-index: 2;
  background: var(--white); width: 30px; height: 30px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem; box-shadow: var(--shadow-sm); cursor: pointer; border: none;
  transition: var(--transition);
}
.salon-fav.active { color: var(--danger); }
.salon-body { padding: 14px 16px; }
.salon-name { font-size: 1.05rem; font-weight: 700; color: var(--dark); margin-bottom: 4px; letter-spacing: -0.01em; }
.salon-addr { font-size: 0.75rem; color: var(--light); margin-bottom: 10px; }
.salon-chips { display: flex; gap: 5px; flex-wrap: wrap; margin-bottom: 10px; }
.chip { background: var(--primary-lt); color: var(--primary); font-size: 0.67rem; font-weight: 500; padding: 2px 9px; border-radius: 20px; }
.chip-voucher { background: #F3E8FF; color: #7C3AED; }
.salon-voucher-row { font-size: 0.75rem; color: #6B7280; margin-bottom: 8px; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.salon-footer { display: flex; align-items: center; justify-content: space-between; }
.rating { display: flex; align-items: center; gap: 4px; font-size: 0.78rem; }
.stars { color: var(--accent); }
.rating-val { font-weight: 700; color: var(--dark); }
.rating-cnt { color: var(--light); }

/* ── TREATMENT CARDS ── */
.scroll-row { display: flex; gap: 14px; overflow-x: auto; padding-bottom: 8px; scrollbar-width: none; }
.scroll-row::-webkit-scrollbar { display: none; }
.treat-card {
  flex: 0 0 200px; background: var(--bg); border: 1px solid var(--border);
  border-radius: 12px; overflow: hidden; cursor: pointer;
  transition: transform .2s, box-shadow .2s;
}
.treat-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.treat-img { height: 130px; display: flex; align-items: center; justify-content: center; font-size: 3rem; position: relative; }
.treat-badge { position: absolute; top: 8px; right: 8px; background: var(--white); font-size: 0.62rem; font-weight: 700; padding: 2px 7px; border-radius: 20px; color: var(--primary); border: 1px solid var(--border); }
.treat-body { padding: 12px 13px; }
.treat-name { font-size: 0.82rem; font-weight: 600; color: var(--dark); margin-bottom: 2px; }
.treat-sub { font-size: 0.72rem; color: var(--light); margin-bottom: 8px; }
.treat-meta { display: flex; align-items: center; justify-content: space-between; }
.treat-price { font-size: 0.88rem; font-weight: 700; color: var(--primary); }

/* ── HOW IT WORKS ── */
.steps-row { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; max-width: 860px; margin: 0 auto; position: relative; }
.steps-row::before { content: ''; position: absolute; top: 27px; left: 14%; right: 14%; height: 1px; background: var(--border); z-index: 0; }
.step { text-align: center; position: relative; z-index: 1; }
.step-icon { width: 54px; height: 54px; border-radius: 50%; background: var(--white); border: 2px solid var(--border); display: flex; align-items: center; justify-content: center; font-size: 1.3rem; margin: 0 auto 14px; transition: var(--transition); }
.step:hover .step-icon { background: var(--primary); border-color: var(--primary); }
.step h3 { font-size: 0.85rem; font-weight: 700; color: var(--dark); margin-bottom: 6px; }
.step p { font-size: 0.76rem; color: var(--light); line-height: 1.6; }

/* ── PROMO BANNER ── */
.promo-banner { border-radius: 16px; background: linear-gradient(135deg, var(--primary), #0044CC); padding: 48px 52px; display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.promo-banner h2 { font-size: 1.6rem; font-weight: 700; color: #fff; margin-bottom: 10px; }
.promo-banner p { color: rgba(255,255,255,0.75); font-size: 0.9rem; line-height: 1.65; max-width: 440px; }
.btn-white { background: #fff; color: var(--primary); border: none; padding: 13px 30px; border-radius: var(--radius); font-size: 0.9rem; font-weight: 700; cursor: pointer; white-space: nowrap; transition: opacity .18s; font-family: inherit; }
.btn-white:hover { opacity: 0.9; }
.promo-sub { color: rgba(255,255,255,0.55); font-size: 0.72rem; margin-top: 8px; text-align: center; }

/* ── BEAUTY POINTS BANNER ── */
.bp-banner {
  display: flex; align-items: center; gap: 40px;
  background: linear-gradient(135deg, #F5F3FF 0%, #EDE9FE 60%, #DDD6FE 100%);
  border-radius: 24px; padding: 44px 52px;
  text-decoration: none; transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 24px rgba(79,70,229,0.12);
  overflow: hidden; position: relative;
}
.bp-banner:hover { transform: translateY(-3px); box-shadow: 0 10px 36px rgba(79,70,229,0.18); }
.bp-banner::before {
  content: ''; position: absolute; right: -60px; top: -60px;
  width: 280px; height: 280px; border-radius: 50%;
  background: rgba(167,139,250,0.18);
}
.bp-left { flex: 1; }
.bp-tag {
  display: inline-flex; align-items: center;
  background: #fff; border-radius: 50px;
  padding: 6px 16px; margin-bottom: 16px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08); font-size: 0.82rem; font-weight: 700; color: #4F46E5;
}
.bp-title {
  font-size: 2rem; font-weight: 800; color: #1A1A1A;
  line-height: 1.2; margin-bottom: 10px; letter-spacing: -0.04em;
}
.bp-title-accent { color: #4F46E5; }
.bp-desc { font-size: 0.9rem; color: #6B7280; line-height: 1.6; margin-bottom: 24px; max-width: 400px; }
.bp-steps {
  display: flex; align-items: center; gap: 8px;
  margin-bottom: 28px; flex-wrap: wrap;
}
.bp-step { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.bp-step-icon {
  width: 48px; height: 48px; background: #fff; border-radius: 14px;
  display: flex; align-items: center; justify-content: center; font-size: 1.4rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.bp-step span { font-size: 0.68rem; color: #6B7280; font-weight: 500; text-align: center; line-height: 1.3; }
.bp-arrow { font-size: 1.1rem; color: #A78BFA; font-weight: 700; padding: 0 2px; margin-bottom: 20px; }
.bp-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.bp-btn-primary {
  background: #4F46E5; color: #fff; border-radius: 50px;
  padding: 13px 28px; font-size: 0.9rem; font-weight: 700;
  box-shadow: 0 4px 14px rgba(79,70,229,0.35);
}
.bp-btn-outline {
  border: 2px solid #4F46E5; color: #4F46E5; border-radius: 50px;
  padding: 12px 24px; font-size: 0.9rem; font-weight: 600;
}
.bp-right { flex-shrink: 0; display: flex; flex-direction: column; gap: 12px; align-items: flex-end; }
.bp-balance-card {
  background: #fff; border-radius: 18px; padding: 18px 22px;
  text-align: center; min-width: 150px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.10);
}
.bp-balance-icon { font-size: 1.3rem; color: #4F46E5; display: block; margin-bottom: 4px; }
.bp-balance-label { font-size: 0.6rem; color: #9CA3AF; font-weight: 700; letter-spacing: 0.08em; display: block; margin-bottom: 6px; }
.bp-balance-num { font-size: 2.4rem; font-weight: 800; color: #1A1A1A; letter-spacing: -0.04em; display: block; }
.bp-balance-sub { font-size: 0.78rem; color: #4F46E5; font-weight: 600; display: block; margin-top: 4px; }
.bp-coupon-card {
  background: #fff; border-radius: 14px; padding: 14px 20px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.08);
}

@media (max-width: 900px) {
  .bp-banner { padding: 32px 28px; gap: 24px; }
  .bp-title { font-size: 1.5rem; }
  .bp-right { display: none; }
}
@media (max-width: 640px) {
  .bp-banner { flex-direction: column; padding: 24px 20px; gap: 20px; }
  .bp-title { font-size: 1.25rem; }
  .bp-steps { gap: 4px; }
  .bp-step-icon { width: 38px; height: 38px; font-size: 1rem; border-radius: 10px; }
  .bp-step span { font-size: 0.62rem; }
  .bp-arrow { font-size: 0.9rem; margin-bottom: 16px; }
  .bp-btn-primary, .bp-btn-outline { padding: 10px 18px; font-size: 0.82rem; }
}

/* ── BIZ SECTION ── */
.biz-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.biz-left h2 { font-size: 1.5rem; font-weight: 700; margin-bottom: 12px; }
.biz-left > p { color: var(--light); font-size: 0.9rem; line-height: 1.7; margin-bottom: 24px; }
.biz-checks { display: flex; flex-direction: column; gap: 14px; margin-bottom: 28px; }
.biz-check { display: flex; align-items: flex-start; gap: 12px; }
.check-dot { flex-shrink: 0; width: 22px; height: 22px; background: var(--primary); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 12px; font-weight: 700; margin-top: 1px; }
.check-text strong { display: block; font-size: 0.88rem; }
.check-text span { font-size: 0.78rem; color: var(--light); }
.biz-stats { background: var(--bg); border-radius: 14px; padding: 28px; border: 1px solid var(--border); }
.stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.stat-box { background: var(--white); border-radius: 10px; padding: 18px; border: 1px solid var(--border); text-align: center; }
.stat-num { font-size: 1.75rem; font-weight: 800; color: var(--primary); }
.stat-lbl { font-size: 0.73rem; color: var(--light); margin-top: 4px; }
.biz-benefits-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.biz-benefit-card { background: var(--bg); border: 1px solid var(--border); border-radius: 14px; padding: 24px 20px; text-align: center; transition: box-shadow .2s, transform .2s; }
.biz-benefit-card:hover { box-shadow: 0 6px 24px rgba(0,0,0,.08); transform: translateY(-2px); }
.biz-benefit-icon { font-size: 2rem; margin-bottom: 12px; }
.biz-benefit-card h4 { font-size: 0.95rem; font-weight: 700; margin-bottom: 8px; color: var(--dark); }
.biz-benefit-card p { font-size: 0.82rem; color: var(--light); line-height: 1.6; margin: 0; }
/* biz v2 */
.biz-v2-section { background: linear-gradient(135deg, #F5F0FF 0%, #FFF0F8 100%); }
.biz-v2-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 64px; align-items: center; }
.biz-v2-badge { display: inline-block; background: var(--primary); color: #fff; font-size: 0.72rem; font-weight: 700; letter-spacing: .8px; text-transform: uppercase; padding: 5px 12px; border-radius: 20px; margin-bottom: 16px; }
.biz-v2-left h2 { font-size: 2rem; font-weight: 800; line-height: 1.2; margin-bottom: 14px; }
.biz-v2-highlight { color: var(--primary); }
.biz-v2-left > p { color: var(--light); font-size: 0.95rem; line-height: 1.7; }
.biz-v2-note { margin-top: 14px; font-size: 0.78rem; color: var(--light); }
.biz-v2-right { background: #fff; border-radius: 20px; padding: 28px; box-shadow: 0 8px 40px rgba(139,92,246,.1); display: grid; grid-template-columns: 1fr 1fr; gap: 6px 16px; }
.biz-v2-feature { display: flex; align-items: center; gap: 14px; padding: 10px 8px; border-radius: 10px; transition: background .15s; }
.biz-v2-feature:hover { background: var(--bg); }
.biz-v2-icon { width: 42px; height: 42px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; flex-shrink: 0; }
.biz-v2-feature strong { display: block; font-size: 0.88rem; font-weight: 700; color: var(--dark); }
.biz-v2-feature span { display: block; font-size: 0.78rem; color: var(--light); margin-top: 1px; }

/* ── REVIEWS ── */
.reviews-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; }
.review-card { background: var(--white); border-radius: 12px; padding: 22px; border: 1px solid var(--border); }
.review-head { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.review-av { width: 40px; height: 40px; border-radius: 50%; background: var(--primary-lt); display: flex; align-items: center; justify-content: center; font-size: 1.1rem; flex-shrink: 0; overflow: hidden; }
.review-av img { width: 100%; height: 100%; object-fit: cover; }
.review-meta strong { display: block; font-size: 0.83rem; }
.review-meta span { font-size: 0.72rem; color: var(--light); }
.review-stars { color: var(--accent); font-size: 0.8rem; margin-bottom: 8px; }
.review-text { font-size: 0.82rem; color: var(--medium); line-height: 1.65; }

/* ── FORMS (AUTH) ── */
.auth-page { min-height: 100vh; background: var(--bg); display: flex; align-items: center; justify-content: center; padding: 40px 20px; }
.auth-card { background: var(--white); border-radius: 16px; padding: 40px; width: 100%; max-width: 460px; box-shadow: var(--shadow-lg); border: 1px solid var(--border); }
.auth-card h1 { font-size: 1.6rem; font-weight: 700; margin-bottom: 6px; }
.auth-card .subtitle { color: var(--light); font-size: 0.9rem; margin-bottom: 28px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-group-full { margin-bottom: 16px; }
.form-hint { font-size: 0.75rem; color: var(--light); margin-top: 4px; }
.divider { text-align: center; color: var(--light); font-size: 0.82rem; margin: 20px 0; position: relative; }
.divider::before { content: ''; position: absolute; top: 50%; left: 0; right: 0; height: 1px; background: var(--border); }
.divider span { background: var(--white); padding: 0 12px; position: relative; }
.auth-switch { text-align: center; margin-top: 20px; font-size: 0.85rem; color: var(--light); }
.auth-switch a { color: var(--primary); font-weight: 600; }

/* ── ALERTS ── */
.alert { padding: 12px 16px; border-radius: var(--radius); font-size: 0.875rem; margin-bottom: 16px; display: flex; align-items: center; gap: 8px; }
.alert-error { background: #FEF2F2; color: #DC2626; border: 1px solid #FECACA; }
.alert-success { background: #F0FDF4; color: #16A34A; border: 1px solid #BBF7D0; }
.alert-info { background: #EFF6FF; color: var(--primary); border: 1px solid #BFDBFE; }

/* ── SALON DETAIL ── */
.salon-header { background: var(--white); border-bottom: 1px solid var(--border); padding: 32px 0; }
.salon-header-inner { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: start; }
.salon-cover { width: 100%; height: 320px; border-radius: 14px; overflow: hidden; background: linear-gradient(135deg,#DBEAFE,#BFDBFE); display: flex; align-items: center; justify-content: center; font-size: 6rem; margin-bottom: 24px; position: relative; }
.salon-cover img { width: 100%; height: 100%; object-fit: cover; }
.salon-title { font-size: 1.8rem; font-weight: 700; margin-bottom: 6px; }
.salon-meta-row { display: flex; gap: 20px; flex-wrap: wrap; margin-bottom: 14px; }
.salon-meta-item { display: flex; align-items: center; gap: 6px; font-size: 0.85rem; color: var(--light); }
.salon-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* ── SERVICES LIST ── */
.services-list { display: flex; flex-direction: column; gap: 12px; }
.service-item { background: var(--white); border: 1px solid var(--border); border-radius: 10px; padding: 16px 18px; display: flex; align-items: center; justify-content: space-between; gap: 16px; transition: var(--transition); }
.service-item:hover { border-color: var(--primary); box-shadow: var(--shadow-sm); }
.service-info h4 { font-size: 0.92rem; font-weight: 600; margin-bottom: 3px; }
.service-info p { font-size: 0.78rem; color: var(--light); }
.service-duration { font-size: 0.75rem; color: var(--light); margin-top: 2px; }
.service-right { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.service-price { font-size: 1rem; font-weight: 700; color: var(--primary); white-space: nowrap; }

/* ── BOOKING PAGE ── */
.booking-layout { display: grid; grid-template-columns: 1fr 380px; gap: 28px; align-items: start; }
.booking-card { background: var(--white); border: 1px solid var(--border); border-radius: 14px; padding: 28px; }
.booking-card h2 { font-size: 1.1rem; font-weight: 700; margin-bottom: 20px; padding-bottom: 14px; border-bottom: 1px solid var(--border); }
.time-slots { display: grid; grid-template-columns: repeat(4,1fr); gap: 8px; }
.time-slot { padding: 9px; border: 1.5px solid var(--border); border-radius: 8px; text-align: center; font-size: 0.82rem; font-weight: 600; cursor: pointer; transition: var(--transition); background: var(--white); }
.time-slot:hover:not(.disabled) { border-color: var(--primary); color: var(--primary); }
.time-slot.selected { background: var(--primary); border-color: var(--primary); color: #fff; }
.time-slot.disabled { background: var(--bg); color: #ccc; cursor: not-allowed; text-decoration: line-through; }
.summary-row { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--border); font-size: 0.875rem; }
.summary-row:last-child { border-bottom: none; font-weight: 700; font-size: 1rem; }

/* ── DASHBOARD ── */
.dashboard-layout { display: grid; grid-template-columns: 240px 1fr; gap: 28px; min-height: calc(100vh - 130px); }
.sidebar { background: var(--white); border: 1px solid var(--border); border-radius: 12px; padding: 20px 0; align-self: start; position: sticky; top: 80px; }
.sidebar-menu { list-style: none; }
.sidebar-menu li a { display: flex; align-items: center; gap: 10px; padding: 10px 20px; font-size: 0.875rem; font-weight: 500; color: var(--medium); transition: var(--transition); }
.sidebar-menu li a:hover, .sidebar-menu li a.active { background: var(--primary-lt); color: var(--primary); }
.sidebar-menu li a .ico { width: 20px; text-align: center; }
.dashboard-content { background: var(--white); border: 1px solid var(--border); border-radius: 12px; padding: 28px; }
.dashboard-content h1 { font-size: 1.4rem; font-weight: 700; margin-bottom: 24px; }
.stats-row { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; margin-bottom: 28px; }
.stat-card { background: var(--bg); border: 1px solid var(--border); border-radius: 10px; padding: 20px; }
.stat-card .num { font-size: 1.8rem; font-weight: 800; color: var(--primary); }
.stat-card .lbl { font-size: 0.75rem; color: var(--light); margin-top: 4px; }

/* ── TABLES ── */
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 0.875rem; }
th { background: var(--bg); font-weight: 600; padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--border); font-size: 0.78rem; color: var(--light); text-transform: uppercase; letter-spacing: 0.5px; }
td { padding: 13px 14px; border-bottom: 1px solid var(--border); }
tr:last-child td { border-bottom: none; }
tr:hover td { background: var(--bg); }

/* ── BADGES ── */
.badge { display: inline-flex; align-items: center; padding: 3px 10px; border-radius: 20px; font-size: 0.72rem; font-weight: 600; }
.badge-pending   { background: #FEF3C7; color: #92400E; }
.badge-confirmed { background: #D1FAE5; color: #065F46; }
.badge-completed { background: #DBEAFE; color: #1E40AF; }
.badge-cancelled { background: #FEE2E2; color: #991B1B; }

/* ── FOOTER ── */
.site-footer { background: #1A1A2E; padding: 52px 0 24px; margin-top: 60px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 44px; padding-bottom: 36px; border-bottom: 1px solid rgba(255,255,255,0.08); margin-bottom: 24px; }
.footer-logo { font-size: 1.4rem; font-weight: 800; color: #fff; display: block; margin-bottom: 12px; }
.footer-logo span { color: var(--pink); }
.footer-desc { color: rgba(255,255,255,0.4); font-size: 0.8rem; line-height: 1.7; max-width: 220px; margin-bottom: 18px; }
.footer-socials { display: flex; gap: 8px; }
.footer-soc { width: 33px; height: 33px; border-radius: 7px; border: 1px solid rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center; font-size: 0.82rem; cursor: pointer; transition: var(--transition); color: rgba(255,255,255,0.6); }
.footer-soc:hover { border-color: var(--primary); color: #fff; }
.footer-soc svg { display: block; }
.footer-col h4 { color: rgba(255,255,255,0.55); font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 15px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.footer-col ul a { color: rgba(255,255,255,0.38); font-size: 0.8rem; transition: color .18s; }
.footer-col ul a:hover { color: rgba(255,255,255,0.8); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.footer-bottom p { color: rgba(255,255,255,0.22); font-size: 0.75rem; }
.footer-legal { display: flex; gap: 16px; }
.footer-legal a { color: rgba(255,255,255,0.22); font-size: 0.75rem; }
.footer-legal a:hover { color: rgba(255,255,255,0.6); }

/* ── SEARCH RESULTS ── */
.search-results-header { background: var(--bg); border-bottom: 1px solid var(--border); padding: 20px 0; }
.filters-bar { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.filter-btn { padding: 7px 16px; border: 1.5px solid var(--border); border-radius: 20px; font-size: 0.82rem; font-weight: 500; background: var(--white); cursor: pointer; transition: var(--transition); font-family: inherit; }
.filter-btn:hover, .filter-btn.active { border-color: var(--primary); color: var(--primary); background: var(--primary-lt); }
.results-count { font-size: 0.82rem; color: var(--light); }

/* ── PROFILE PAGE ── */
.profile-header { display: flex; align-items: center; gap: 20px; padding: 28px; background: var(--white); border: 1px solid var(--border); border-radius: 12px; margin-bottom: 20px; }
.profile-avatar { width: 80px; height: 80px; border-radius: 50%; background: var(--primary-lt); display: flex; align-items: center; justify-content: center; font-size: 2rem; overflow: hidden; flex-shrink: 0; }
.profile-avatar img { width: 100%; height: 100%; object-fit: cover; }
.profile-info h2 { font-size: 1.2rem; font-weight: 700; }
.profile-info p { color: var(--light); font-size: 0.85rem; }

/* ── PAGINATION ── */
.pagination { display: flex; gap: 6px; justify-content: center; margin-top: 36px; }
.page-btn { width: 36px; height: 36px; border-radius: 8px; border: 1.5px solid var(--border); display: flex; align-items: center; justify-content: center; font-size: 0.85rem; font-weight: 600; cursor: pointer; transition: var(--transition); background: var(--white); font-family: inherit; }
.page-btn:hover, .page-btn.active { background: var(--primary); border-color: var(--primary); color: #fff; }

/* ── MOBILE MENU ── */
.mobile-nav {
  display: none; position: fixed; inset: 0; z-index: 999;
  background: rgba(0,0,0,0.5);
}
.mobile-nav.open { display: flex; }
.mobile-nav-panel {
  background: var(--white); width: 280px; height: 100%;
  overflow-y: auto; padding: 20px;
}
.mobile-nav-close { float: right; background: none; border: none; font-size: 1.4rem; cursor: pointer; }
.mobile-nav-logo { font-size: 1.4rem; font-weight: 800; color: var(--primary); margin-bottom: 24px; display: block; }
.mobile-nav-logo span { color: var(--pink); }
.mobile-nav-links { list-style: none; }
.mobile-nav-links li { border-bottom: 1px solid var(--border); }
.mobile-nav-links a { display: block; padding: 13px 0; font-size: 0.95rem; font-weight: 500; color: var(--dark); }
.mobile-nav-auth { display: flex; flex-direction: column; gap: 10px; margin-top: 20px; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .salons-grid { grid-template-columns: repeat(2,1fr); }
  .biz-grid { grid-template-columns: 1fr; gap: 36px; }
  .biz-benefits-grid { grid-template-columns: repeat(2, 1fr); }
  .biz-v2-grid { grid-template-columns: 1fr; gap: 36px; }
  .biz-v2-left h2 { font-size: 1.6rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .promo-banner { flex-direction: column; text-align: center; }
  .promo-banner p { margin: 0 auto; }
  .booking-layout { grid-template-columns: 1fr; }
  .dashboard-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .stats-row { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 768px) {
  .navbar-cats { display: none; }
  .navbar-auth { display: flex; margin-left: auto; }
  .navbar-auth .btn { display: none; }
  .navbar-user-name { display: inline; max-width: 60px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .udm-item { padding: 11px 18px !important; font-size: 0.9rem !important; }
  .udm-icon { width: 20px; height: 20px; flex: 0 0 20px; }
  .navbar-inner { gap: 8px; }
  .navbar-logo-img { height: 34px; }
  .user-dropdown-btn { padding: 4px 10px 4px 4px; }
  .nb-bell-btn { padding: 6px; }
  .mobile-menu-btn { padding: 4px 6px; }
  details.user-dropdown[open] .user-dropdown-menu { display: block; position: fixed; left: 10px; right: 10px; width: auto; top: 68px; }
  .mobile-menu-btn { display: flex; }
  .hero { background-position: 70% top; background-size: cover; }
  .hero::before { background: rgba(255,255,255,0.72); }
  .hero .container { padding: 32px 20px; }
  .hero h1 { font-size: 1.75rem; margin-bottom: 10px; }
  .hero p { font-size: 0.95rem; margin-bottom: 20px; }
  .hero-badge { margin-bottom: 12px; padding: 5px 12px; font-size: 0.75rem; }
  .hero-trust { gap: 10px; margin-top: 10px; }
  .trust-item { font-size: 0.72rem; }
  .search-form { grid-template-columns: 1fr; }
  .salons-grid { grid-template-columns: 1fr; }
  .reviews-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .steps-row { grid-template-columns: 1fr 1fr; }
  .steps-row::before { display: none; }
  .time-slots { grid-template-columns: repeat(3,1fr); }
  .stats-row { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .section { padding: 28px 0; }
  .auth-card { padding: 28px 20px; }
  .promo-banner { padding: 32px 24px; }
  .hw-header { margin-bottom: 24px; }
  .hw-title { font-size: 1.5rem; }
  .hw-badge { margin-bottom: 10px; }
  .biz-v2-right { padding: 18px 14px; gap: 2px; grid-template-columns: 1fr; }
  .biz-v2-left h2 { font-size: 1.45rem; }
  .biz-v2-icon { width: 36px; height: 36px; font-size: 1rem; border-radius: 10px; }
  .biz-v2-feature { padding: 8px 6px; gap: 10px; }
  .btn-lg { padding: 11px 22px; font-size: 0.92rem; }
}

@media (max-width: 480px) {
  .time-slots { grid-template-columns: repeat(3,1fr); }
  .stats-row { grid-template-columns: 1fr; }
}

/* ===== SEARCH PAGE ===== */
.search-layout { display: grid; grid-template-columns: 220px 1fr; gap: 24px; }
.search-sidebar { }
.filter-box { background: #fff; border-radius: 12px; padding: 18px; box-shadow: 0 2px 8px rgba(0,0,0,.06); }
.filter-title { font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--light); margin-bottom: 10px; }
.filter-list { list-style: none; padding: 0; margin: 0; }
.filter-link { display: block; padding: 7px 10px; border-radius: 8px; font-size: 0.85rem; font-weight: 500; color: var(--text); text-decoration: none; transition: all .15s; }
.filter-link:hover, .filter-link.active { background: var(--primary-lt); color: var(--primary); font-weight: 600; }
.search-results-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; flex-wrap: wrap; gap: 10px; }
.results-count { font-size: 0.9rem; color: var(--light); }
.results-sort { display: flex; align-items: center; gap: 8px; font-size: 0.85rem; }
.results-sort select { padding: 6px 10px; border: 1.5px solid var(--border); border-radius: 8px; font-size: 0.85rem; outline: none; }
.empty-state { text-align: center; padding: 64px 24px; background: #fff; border-radius: 12px; }
.empty-icon { font-size: 3rem; margin-bottom: 12px; }
.pagination { display: flex; gap: 6px; justify-content: center; margin-top: 28px; flex-wrap: wrap; }
.page-btn { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 8px; font-weight: 600; font-size: 0.85rem; text-decoration: none; color: var(--text); border: 1.5px solid var(--border); transition: all .15s; }
.page-btn:hover, .page-btn.active { background: var(--primary); color: #fff; border-color: var(--primary); }

/* ===== ALERT ===== */
.alert { padding: 12px 16px; border-radius: 10px; font-size: 0.9rem; font-weight: 500; margin-bottom: 16px; }
.alert-success { background: #D1FAE5; color: #065f46; }
.alert-error { background: #FEE2E2; color: #991b1b; }
.alert-info { background: #DBEAFE; color: #1e40af; }

@media (max-width: 900px) {
  .search-layout { grid-template-columns: 1fr; }
  .search-sidebar { order: 2; }
}
