/* ============================================================
   ServeHub — Main Stylesheet
   Design: Clean marketplace (Airbnb × Uber Eats influenced)
   Font: Plus Jakarta Sans (headings) + DM Sans (body)
   Mode: Light only
   ============================================================ */

/* ── 1. CSS Custom Properties ─────────────────────────────── */
:root {
  /* Brand */
  --brand-blue:     #1D4ED8;
  --brand-blue-lt:  #2563EB;
  --brand-blue-bg:  #EFF6FF;
  --brand-amber:    #F59E0B;
  --brand-amber-dk: #D97706;
  --brand-amber-bg: #FFFBEB;

  /* Neutrals */
  --black:    #0F172A;
  --gray-900: #1E293B;
  --gray-700: #334155;
  --gray-500: #64748B;
  --gray-400: #94A3B8;
  --gray-300: #CBD5E1;
  --gray-200: #E2E8F0;
  --gray-100: #F1F5F9;
  --gray-50:  #F8FAFC;
  --white:    #FFFFFF;

  /* Status */
  --success:    #059669;
  --success-bg: #ECFDF5;
  --warning:    #D97706;
  --warning-bg: #FFFBEB;
  --danger:     #DC2626;
  --danger-bg:  #FEF2F2;
  --info:       #0891B2;
  --info-bg:    #ECFEFF;

  /* Category colours */
  --cat-plumbing: #2563EB;
  --cat-cleaning: #059669;
  --cat-tutoring: #7C3AED;
  --cat-digital:  #0891B2;
  --cat-beauty:   #DB2777;
  --cat-moving:   #D97706;

  /* Typography */
  --font-head: 'Plus Jakarta Sans', system-ui, sans-serif;
  --font-body: 'DM Sans', system-ui, sans-serif;

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;

  /* Radius */
  --radius-sm: 6px;
  --radius:    10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Shadow */
  --shadow-sm:  0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow:     0 4px 12px 0 rgb(0 0 0 / 0.08);
  --shadow-md:  0 8px 24px 0 rgb(0 0 0 / 0.1);
  --shadow-lg:  0 16px 48px 0 rgb(0 0 0 / 0.12);
  --shadow-xl:  0 24px 64px 0 rgb(0 0 0 / 0.15);

  /* Transition */
  --transition: 200ms ease;
  --transition-slow: 350ms ease;

  /* Navbar height */
  --navbar-h: 68px;

  /* Container */
  --container-max: 1280px;
  --container-pad: clamp(1rem, 4vw, 2rem);
}

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

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

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--gray-900);
  background-color: var(--gray-50);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a   { color: var(--brand-blue-lt); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--brand-blue); }
ul, ol { list-style: none; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.2;
  color: var(--black);
}

h1 { font-size: clamp(2rem, 4vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); }
h3 { font-size: 1.375rem; }
h4 { font-size: 1.125rem; }

p { color: var(--gray-700); }

/* ── 3. Layout ────────────────────────────────────────────── */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

.main-content { min-height: calc(100vh - var(--navbar-h) - 300px); }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-6); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-6); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-6); }

@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
}

/* ── 4. Navbar ────────────────────────────────────────────── */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--navbar-h);
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-200);
  transition: box-shadow var(--transition);
}
.navbar.scrolled { box-shadow: var(--shadow); }

.navbar-inner {
  display: flex;
  align-items: center;
  gap: var(--space-6);
  height: 100%;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  flex-shrink: 0;
  color: var(--black);
}
.navbar-brand:hover { color: var(--brand-blue-lt); }

.brand-icon {
  font-size: 1.6rem;
  color: var(--brand-blue-lt);
  line-height: 1;
}
.brand-text {
  font-family: var(--font-head);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.navbar-nav {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  flex: 1;
}
.nav-link {
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray-700);
  transition: background var(--transition), color var(--transition);
}
.nav-link:hover { background: var(--gray-100); color: var(--black); }
.nav-link.active { color: var(--brand-blue-lt); background: var(--brand-blue-bg); }

.navbar-actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-left: auto;
}

.icon-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border-radius: var(--radius-full);
  border: none;
  background: transparent;
  cursor: pointer;
  color: var(--gray-700);
  transition: background var(--transition), color var(--transition);
}
.icon-btn:hover { background: var(--gray-100); color: var(--black); }
.icon-btn svg { width: 20px; height: 20px; }

.badge-dot {
  position: absolute;
  top: 5px; right: 5px;
  min-width: 18px; height: 18px;
  background: var(--danger);
  color: var(--white);
  font-size: 0.65rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 3px;
  border: 2px solid var(--white);
}

.user-avatar-btn {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-1) var(--space-2);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-full);
  background: var(--white);
  cursor: pointer;
  transition: box-shadow var(--transition), border-color var(--transition);
}
.user-avatar-btn:hover { box-shadow: var(--shadow); border-color: var(--gray-300); }

.avatar-sm { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; }
.avatar-md { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.avatar-lg { width: 80px; height: 80px; border-radius: 50%; object-fit: cover; }
.avatar-xl { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; }

.avatar-name {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gray-900);
}
.avatar-chevron { width: 14px; height: 14px; color: var(--gray-500); }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-2);
}
.hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--gray-700);
  border-radius: 2px;
  transition: all var(--transition);
}

@media (max-width: 768px) {
  .hamburger { display: flex; }
  .navbar-nav {
    position: fixed;
    top: var(--navbar-h); left: 0; right: 0; bottom: 0;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    padding: var(--space-6);
    gap: var(--space-2);
    transform: translateX(-100%);
    transition: transform var(--transition-slow);
    z-index: 999;
    overflow-y: auto;
  }
  .navbar-nav.open { transform: translateX(0); }
  .nav-link { font-size: 1.1rem; padding: var(--space-3) var(--space-4); width: 100%; }
  .avatar-name { display: none; }
  .mobile-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    z-index: 998;
    display: none;
  }
  .mobile-overlay.show { display: block; }
}

/* ── 5. Dropdown ──────────────────────────────────────────── */
.dropdown { position: relative; }

.dropdown-menu {
  position: absolute;
  top: calc(100% + var(--space-2));
  min-width: 240px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
}
.dropdown-menu.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown-menu-right { right: 0; left: auto; }

.dropdown-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-3) var(--space-4);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 1px solid var(--gray-100);
}
.dropdown-footer {
  padding: var(--space-3) var(--space-4);
  border-top: 1px solid var(--gray-100);
  text-align: center;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--brand-blue-lt);
}
.dropdown-divider { height: 1px; background: var(--gray-100); margin: var(--space-2) 0; }

.dropdown-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-4);
  font-size: 0.9rem;
  color: var(--gray-700);
  transition: background var(--transition);
}
.dropdown-item:hover { background: var(--gray-50); color: var(--black); }
.dropdown-item svg { width: 16px; height: 16px; }
.dropdown-item.text-danger { color: var(--danger); }
.dropdown-item.text-danger:hover { background: var(--danger-bg); }

.dropdown-user-info {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-4);
}
.dropdown-user-name { font-weight: 700; font-size: 0.95rem; color: var(--black); }
.dropdown-user-role { font-size: 0.8rem; color: var(--gray-500); text-transform: capitalize; }

.dropdown-loading {
  padding: var(--space-6);
  text-align: center;
  color: var(--gray-400);
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
}

/* ── 6. Buttons ───────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 0.65rem 1.4rem;
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
  text-decoration: none;
}
.btn:disabled { opacity: 0.55; cursor: not-allowed; }
.btn svg { width: 16px; height: 16px; }

.btn-primary {
  background: var(--brand-blue-lt);
  color: var(--white);
  border-color: var(--brand-blue-lt);
}
.btn-primary:hover { background: var(--brand-blue); border-color: var(--brand-blue); color: var(--white); transform: translateY(-1px); box-shadow: 0 4px 14px rgba(37,99,235,0.4); }

.btn-amber {
  background: var(--brand-amber);
  color: var(--white);
  border-color: var(--brand-amber);
}
.btn-amber:hover { background: var(--brand-amber-dk); border-color: var(--brand-amber-dk); color: var(--white); transform: translateY(-1px); }

.btn-outline {
  background: transparent;
  color: var(--brand-blue-lt);
  border-color: var(--brand-blue-lt);
}
.btn-outline:hover { background: var(--brand-blue-bg); color: var(--brand-blue); }

.btn-ghost {
  background: transparent;
  color: var(--gray-700);
  border-color: var(--gray-300);
}
.btn-ghost:hover { background: var(--gray-100); border-color: var(--gray-400); color: var(--black); }

.btn-danger { background: var(--danger); color: var(--white); border-color: var(--danger); }
.btn-danger:hover { background: #b91c1c; border-color: #b91c1c; color: var(--white); }

.btn-success { background: var(--success); color: var(--white); border-color: var(--success); }
.btn-success:hover { background: #047857; border-color: #047857; color: var(--white); }

.btn-sm  { padding: 0.45rem 1rem; font-size: 0.825rem; }
.btn-lg  { padding: 0.85rem 2rem; font-size: 1rem; }
.btn-xl  { padding: 1rem 2.5rem;  font-size: 1.05rem; }
.btn-block { width: 100%; }
.btn-icon { width: 40px; height: 40px; padding: 0; border-radius: var(--radius-full); }

/* ── 7. Forms ─────────────────────────────────────────────── */
.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin-bottom: var(--space-5);
}
.form-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gray-700);
}
.form-label .required { color: var(--danger); margin-left: 2px; }

.form-control {
  width: 100%;
  padding: 0.7rem 1rem;
  border: 1.5px solid var(--gray-300);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--gray-900);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  appearance: none;
}
.form-control::placeholder { color: var(--gray-400); }
.form-control:focus {
  outline: none;
  border-color: var(--brand-blue-lt);
  box-shadow: 0 0 0 3px rgba(37,99,235,0.12);
}
.form-control.is-invalid { border-color: var(--danger); }
.form-control.is-invalid:focus { box-shadow: 0 0 0 3px rgba(220,38,38,0.12); }

textarea.form-control { resize: vertical; min-height: 100px; }
select.form-control { cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2364748B' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.5rem; }

.form-hint { font-size: 0.8rem; color: var(--gray-500); }
.form-error { font-size: 0.8rem; color: var(--danger); font-weight: 500; }

.input-with-icon { position: relative; }
.input-with-icon .form-control { padding-left: 2.75rem; }
.input-icon {
  position: absolute;
  left: 0.9rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gray-400);
  pointer-events: none;
}
.input-icon svg { width: 18px; height: 18px; }

.input-group { display: flex; }
.input-group .form-control { border-radius: var(--radius) 0 0 var(--radius); }
.input-group .btn { border-radius: 0 var(--radius) var(--radius) 0; }

/* ── 8. Cards ─────────────────────────────────────────────── */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }

.card-img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}
.card-body { padding: var(--space-5); }
.card-title { font-size: 1.05rem; font-weight: 700; color: var(--black); margin-bottom: var(--space-2); }
.card-text  { font-size: 0.875rem; color: var(--gray-500); }
.card-footer { padding: var(--space-4) var(--space-5); border-top: 1px solid var(--gray-100); background: var(--gray-50); }

/* Provider card */
.provider-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  padding: var(--space-6);
  transition: transform var(--transition), box-shadow var(--transition);
  cursor: pointer;
}
.provider-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--gray-300); }

.provider-card-header { display: flex; align-items: flex-start; gap: var(--space-4); margin-bottom: var(--space-4); }
.provider-card-avatar { flex-shrink: 0; position: relative; }
.provider-card-avatar img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; border: 3px solid var(--gray-100); }
.provider-availability {
  position: absolute; bottom: 2px; right: 2px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--success);
  border: 2px solid var(--white);
}
.provider-availability.offline { background: var(--gray-400); }

.provider-card-info { flex: 1; min-width: 0; }
.provider-name { font-weight: 700; font-size: 1rem; color: var(--black); margin-bottom: 2px; }
.provider-category { font-size: 0.8rem; color: var(--brand-blue-lt); font-weight: 600; }

.provider-card-meta { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-bottom: var(--space-4); }
.meta-item { display: flex; align-items: center; gap: 4px; font-size: 0.82rem; color: var(--gray-600); }
.meta-item svg { width: 14px; height: 14px; color: var(--gray-400); }

.provider-card-services { margin-bottom: var(--space-4); }
.service-tag {
  display: inline-block;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  background: var(--gray-100);
  color: var(--gray-700);
  font-size: 0.75rem;
  font-weight: 500;
  margin: 2px;
}

.provider-card-footer { display: flex; align-items: center; justify-content: space-between; }
.provider-price { font-size: 1.1rem; font-weight: 800; color: var(--black); }
.provider-price span { font-size: 0.8rem; font-weight: 400; color: var(--gray-500); }

/* Service card */
.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  padding: var(--space-5);
  transition: transform var(--transition), box-shadow var(--transition);
}
.service-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.service-card-cat { display: inline-flex; align-items: center; gap: var(--space-2); margin-bottom: var(--space-3); }
.service-card-title { font-size: 1.05rem; font-weight: 700; color: var(--black); margin-bottom: var(--space-2); }
.service-card-desc { font-size: 0.875rem; color: var(--gray-500); margin-bottom: var(--space-4); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.service-card-footer { display: flex; align-items: center; justify-content: space-between; }
.service-price { font-weight: 800; font-size: 1.15rem; color: var(--black); }
.service-price-type { font-size: 0.8rem; color: var(--gray-500); font-weight: 400; }

/* ── 9. Badges & Stars ────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
}
.badge-primary { background: var(--brand-blue-bg); color: var(--brand-blue); }
.badge-success { background: var(--success-bg); color: var(--success); }
.badge-warning { background: var(--warning-bg); color: var(--warning); }
.badge-danger  { background: var(--danger-bg);  color: var(--danger); }
.badge-info    { background: var(--info-bg);    color: var(--info); }
.badge-secondary{ background: var(--gray-100); color: var(--gray-600); }

.stars { display: inline-flex; gap: 1px; }
.star  { font-style: normal; font-size: 1em; line-height: 1; }
.star-full { color: var(--brand-amber); }
.star-half { color: var(--brand-amber); opacity: 0.6; }
.star-empty{ color: var(--gray-300); }
.rating-number { font-size: 0.875rem; font-weight: 700; color: var(--gray-700); margin-left: 4px; }

/* ── 10. Alerts ───────────────────────────────────────────── */
.flash-container { position: fixed; top: calc(var(--navbar-h) + 1rem); right: 1rem; z-index: 2000; display: flex; flex-direction: column; gap: var(--space-3); pointer-events: none; }

.alert {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-4) var(--space-5);
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-size: 0.9rem;
  font-weight: 500;
  box-shadow: var(--shadow-md);
  pointer-events: all;
  animation: slideIn 0.3s ease;
  max-width: 380px;
}
@keyframes slideIn { from { opacity:0; transform: translateX(20px); } to { opacity:1; transform: translateX(0); } }

.alert-success { background: var(--success-bg); border-color: var(--success); color: var(--success); }
.alert-danger   { background: var(--danger-bg);  border-color: var(--danger);  color: var(--danger);  }
.alert-warning  { background: var(--warning-bg); border-color: var(--warning); color: var(--warning); }
.alert-info     { background: var(--info-bg);    border-color: var(--info);    color: var(--info);    }

.alert-icon { font-weight: 700; }
.alert-close { margin-left: auto; background: none; border: none; cursor: pointer; font-size: 1.2rem; line-height: 1; opacity: 0.6; color: inherit; }
.alert-close:hover { opacity: 1; }

/* ── 11. Category Chips ───────────────────────────────────── */
.category-chip {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
  border: 1.5px solid var(--gray-200);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gray-700);
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}
.category-chip:hover, .category-chip.active {
  border-color: var(--brand-blue-lt);
  color: var(--brand-blue-lt);
  background: var(--brand-blue-bg);
}
.category-chip svg { width: 16px; height: 16px; }

/* ── 12. Section Styles ───────────────────────────────────── */
.section { padding: var(--space-16) 0; }
.section-sm { padding: var(--space-10) 0; }
.section-header { text-align: center; margin-bottom: var(--space-12); }
.section-header h2 { margin-bottom: var(--space-3); }
.section-header p  { font-size: 1.1rem; color: var(--gray-500); max-width: 600px; margin: 0 auto; }
.section-header-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: var(--space-8); gap: var(--space-4); }

/* ── 13. Hero ─────────────────────────────────────────────── */
.hero {
  background: linear-gradient(135deg, #0F172A 0%, #1E3A8A 50%, #1D4ED8 100%);
  padding: var(--space-20) 0 var(--space-16);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Ccircle cx='30' cy='30' r='4'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}
.hero-inner { position: relative; text-align: center; }
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 6px 16px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-full);
  color: rgba(255,255,255,0.85);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: var(--space-6);
}
.hero h1 { color: var(--white); margin-bottom: var(--space-5); }
.hero h1 span { color: var(--brand-amber); }
.hero-sub {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.75);
  margin-bottom: var(--space-10);
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.hero-search-box {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: var(--space-3);
  display: flex;
  align-items: center;
  gap: var(--space-3);
  max-width: 700px;
  margin: 0 auto var(--space-8);
  box-shadow: var(--shadow-xl);
}
.hero-search-field { flex: 1; display: flex; align-items: center; gap: var(--space-3); padding: 0 var(--space-3); }
.hero-search-field svg { width: 20px; height: 20px; color: var(--gray-400); flex-shrink: 0; }
.hero-search-field input {
  flex: 1;
  border: none;
  outline: none;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--gray-900);
  background: transparent;
}
.hero-search-field input::placeholder { color: var(--gray-400); }
.hero-search-divider { width: 1px; height: 32px; background: var(--gray-200); }

.hero-stats { display: flex; justify-content: center; gap: var(--space-10); }
.hero-stat-value { font-family: var(--font-head); font-size: 1.75rem; font-weight: 800; color: var(--white); }
.hero-stat-label { font-size: 0.82rem; color: rgba(255,255,255,0.65); margin-top: 2px; }

@media (max-width: 640px) {
  .hero-search-box { flex-direction: column; border-radius: var(--radius-lg); }
  .hero-search-field { width: 100%; }
  .hero-search-divider { display: none; }
  .hero-stats { gap: var(--space-6); flex-wrap: wrap; }
}

/* ── 14. Category Grid ────────────────────────────────────── */
.category-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: var(--space-4);
}
.category-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-6) var(--space-4);
  border-radius: var(--radius-lg);
  border: 1.5px solid var(--gray-200);
  background: var(--white);
  text-decoration: none;
  cursor: pointer;
  transition: all var(--transition);
  text-align: center;
}
.category-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.category-icon {
  width: 56px; height: 56px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}
.category-icon svg { width: 26px; height: 26px; color: var(--white); }
.category-name { font-family: var(--font-head); font-size: 0.82rem; font-weight: 700; color: var(--gray-900); line-height: 1.3; }

@media (max-width: 1024px) { .category-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 480px)  { .category-grid { grid-template-columns: repeat(2, 1fr); } }

/* ── 15. How It Works ─────────────────────────────────────── */
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-8); position: relative; }
.steps-grid::before {
  content: '';
  position: absolute;
  top: 32px; left: calc(100%/3/2); right: calc(100%/3/2);
  height: 2px;
  background: linear-gradient(to right, var(--brand-blue-bg), var(--brand-blue-lt), var(--brand-blue-bg));
}
.step-card { text-align: center; padding: var(--space-6); }
.step-number {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--brand-blue-lt);
  color: var(--white);
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-5);
  position: relative;
  z-index: 1;
  box-shadow: 0 4px 14px rgba(37,99,235,0.35);
}
.step-title { font-size: 1.1rem; margin-bottom: var(--space-2); }

@media (max-width: 768px) {
  .steps-grid { grid-template-columns: 1fr; }
  .steps-grid::before { display: none; }
}

/* ── 16. Dashboard ────────────────────────────────────────── */
.dashboard-layout { display: grid; grid-template-columns: 260px 1fr; gap: var(--space-8); padding: var(--space-8) 0; }

.sidebar {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  padding: var(--space-6);
  height: fit-content;
  position: sticky;
  top: calc(var(--navbar-h) + 1.5rem);
}
.sidebar-user { display: flex; flex-direction: column; align-items: center; text-align: center; padding-bottom: var(--space-5); border-bottom: 1px solid var(--gray-100); margin-bottom: var(--space-5); }
.sidebar-user img { width: 80px; height: 80px; border-radius: 50%; object-fit: cover; margin-bottom: var(--space-3); border: 3px solid var(--gray-100); }
.sidebar-user-name { font-weight: 700; font-size: 1rem; color: var(--black); }
.sidebar-user-role { font-size: 0.8rem; color: var(--gray-500); }

.sidebar-nav { display: flex; flex-direction: column; gap: 2px; }
.sidebar-link {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray-700);
  transition: all var(--transition);
}
.sidebar-link:hover { background: var(--gray-100); color: var(--black); }
.sidebar-link.active { background: var(--brand-blue-bg); color: var(--brand-blue-lt); font-weight: 700; }
.sidebar-link svg { width: 18px; height: 18px; }
.sidebar-link .badge { margin-left: auto; }

.dashboard-main { min-width: 0; }

.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-5); margin-bottom: var(--space-8); }
.stat-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  padding: var(--space-6);
}
.stat-card-inner { display: flex; align-items: flex-start; justify-content: space-between; }
.stat-label { font-size: 0.8rem; font-weight: 600; color: var(--gray-500); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: var(--space-2); }
.stat-value { font-family: var(--font-head); font-size: 2rem; font-weight: 800; color: var(--black); line-height: 1; }
.stat-delta { font-size: 0.8rem; font-weight: 600; color: var(--success); margin-top: var(--space-2); }
.stat-icon {
  width: 48px; height: 48px;
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.stat-icon svg { width: 22px; height: 22px; }
.stat-icon-blue   { background: var(--brand-blue-bg); color: var(--brand-blue-lt); }
.stat-icon-green  { background: var(--success-bg); color: var(--success); }
.stat-icon-amber  { background: var(--brand-amber-bg); color: var(--brand-amber-dk); }
.stat-icon-purple { background: #F5F3FF; color: #7C3AED; }

@media (max-width: 1024px) { .stats-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  { .stats-grid { grid-template-columns: 1fr; } }
@media (max-width: 900px) {
  .dashboard-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; }
}

/* ── 17. Table ────────────────────────────────────────────── */
.table-container {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  overflow: hidden;
}
.table-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-5) var(--space-6);
  border-bottom: 1px solid var(--gray-100);
}
.table-head h3 { font-size: 1rem; margin: 0; }

table { width: 100%; border-collapse: collapse; }
th {
  padding: var(--space-3) var(--space-5);
  text-align: left;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gray-500);
  background: var(--gray-50);
  border-bottom: 1px solid var(--gray-200);
}
td {
  padding: var(--space-4) var(--space-5);
  font-size: 0.875rem;
  color: var(--gray-700);
  border-bottom: 1px solid var(--gray-100);
  vertical-align: middle;
}
tr:last-child td { border-bottom: none; }
tr:hover td { background: var(--gray-50); }

@media (max-width: 768px) {
  .table-scroll { overflow-x: auto; }
  table { min-width: 600px; }
}

/* ── 18. Modal ────────────────────────────────────────────── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5000;
  padding: var(--space-5);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
}
.modal-overlay.show { opacity: 1; visibility: visible; }

.modal {
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  width: 100%;
  max-width: 540px;
  max-height: 90vh;
  overflow-y: auto;
  transform: scale(0.95) translateY(10px);
  transition: transform var(--transition);
}
.modal-overlay.show .modal { transform: scale(1) translateY(0); }

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-6);
  border-bottom: 1px solid var(--gray-100);
}
.modal-title { font-size: 1.2rem; font-weight: 800; }
.modal-close {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: none;
  background: var(--gray-100);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  color: var(--gray-500);
  transition: all var(--transition);
}
.modal-close:hover { background: var(--gray-200); color: var(--black); }

.modal-body   { padding: var(--space-6); }
.modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: var(--space-3);
  padding: var(--space-5) var(--space-6);
  border-top: 1px solid var(--gray-100);
}

/* ── 19. Auth Pages ───────────────────────────────────────── */
.auth-page {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.auth-visual {
  background: linear-gradient(135deg, #0F172A 0%, #1E3A8A 50%, #2563EB 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: var(--space-12);
  color: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.auth-visual::after {
  content: '';
  position: absolute;
  bottom: -60px; right: -60px;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: rgba(245,158,11,0.15);
}
.auth-visual-brand { display: flex; align-items: center; gap: var(--space-3); margin-bottom: var(--space-12); font-size: 1.8rem; font-weight: 800; }
.auth-visual h2 { font-size: 2rem; margin-bottom: var(--space-4); }
.auth-visual p { opacity: 0.75; font-size: 1.05rem; max-width: 380px; }

.auth-features { margin-top: var(--space-10); display: flex; flex-direction: column; gap: var(--space-4); text-align: left; }
.auth-feature { display: flex; align-items: center; gap: var(--space-3); }
.auth-feature-icon { width: 36px; height: 36px; border-radius: var(--radius); background: rgba(255,255,255,0.15); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.auth-feature-icon svg { width: 18px; height: 18px; }

.auth-form-area {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--space-12);
  max-width: 500px;
  width: 100%;
  margin: 0 auto;
}
.auth-form-area h1 { font-size: 1.75rem; margin-bottom: var(--space-2); }
.auth-form-area > p { color: var(--gray-500); margin-bottom: var(--space-8); }

.auth-divider {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  margin: var(--space-6) 0;
  color: var(--gray-400);
  font-size: 0.85rem;
}
.auth-divider::before, .auth-divider::after { content: ''; flex: 1; height: 1px; background: var(--gray-200); }

.auth-footer-text { text-align: center; font-size: 0.9rem; color: var(--gray-500); margin-top: var(--space-6); }
.text-link { color: var(--brand-blue-lt); font-weight: 600; }
.text-link:hover { color: var(--brand-blue); }

@media (max-width: 768px) {
  .auth-page { grid-template-columns: 1fr; }
  .auth-visual { display: none; }
  .auth-form-area { padding: var(--space-8) var(--space-5); min-height: 100vh; justify-content: center; }
}

/* Role picker */
.role-picker { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); margin-bottom: var(--space-6); }
.role-option { position: relative; }
.role-option input[type="radio"] { position: absolute; opacity: 0; pointer-events: none; }
.role-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-5);
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-lg);
  cursor: pointer;
  text-align: center;
  transition: all var(--transition);
}
.role-label:hover { border-color: var(--brand-blue-lt); background: var(--brand-blue-bg); }
.role-option input:checked + .role-label { border-color: var(--brand-blue-lt); background: var(--brand-blue-bg); }
.role-icon { width: 48px; height: 48px; border-radius: var(--radius); background: var(--gray-100); display: flex; align-items: center; justify-content: center; }
.role-icon svg { width: 24px; height: 24px; color: var(--gray-600); }
.role-option input:checked + .role-label .role-icon { background: var(--brand-blue-lt); }
.role-option input:checked + .role-label .role-icon svg { color: var(--white); }
.role-name { font-weight: 700; font-size: 0.95rem; color: var(--black); }
.role-desc { font-size: 0.78rem; color: var(--gray-500); }

/* ── 20. Search & Filter ──────────────────────────────────── */
.search-bar {
  background: var(--white);
  border-radius: var(--radius-xl);
  border: 1px solid var(--gray-200);
  padding: var(--space-3) var(--space-5);
  display: flex;
  align-items: center;
  gap: var(--space-4);
  box-shadow: var(--shadow-sm);
}
.search-bar input { flex: 1; border: none; outline: none; font-family: var(--font-body); font-size: 1rem; color: var(--gray-900); }
.search-bar svg { color: var(--gray-400); flex-shrink: 0; }

.filter-row { display: flex; flex-wrap: wrap; gap: var(--space-3); align-items: center; }
.filter-select { padding: 0.5rem 1rem; border: 1.5px solid var(--gray-200); border-radius: var(--radius-full); font-family: var(--font-body); font-size: 0.875rem; color: var(--gray-700); background: var(--white); cursor: pointer; appearance: none; transition: border-color var(--transition); }
.filter-select:focus { outline: none; border-color: var(--brand-blue-lt); }

.results-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: var(--space-5); }
.results-count { font-size: 0.875rem; color: var(--gray-500); }
.results-sort { display: flex; align-items: center; gap: var(--space-2); font-size: 0.875rem; }

/* ── 21. Messaging ────────────────────────────────────────── */
.chat-layout { display: grid; grid-template-columns: 320px 1fr; gap: 0; background: var(--white); border-radius: var(--radius-lg); border: 1px solid var(--gray-200); overflow: hidden; height: calc(100vh - var(--navbar-h) - 8rem); }

.chat-sidebar { border-right: 1px solid var(--gray-200); overflow-y: auto; }
.chat-sidebar-head { padding: var(--space-5); border-bottom: 1px solid var(--gray-100); }
.chat-list-item { display: flex; align-items: center; gap: var(--space-3); padding: var(--space-4) var(--space-5); cursor: pointer; transition: background var(--transition); }
.chat-list-item:hover { background: var(--gray-50); }
.chat-list-item.active { background: var(--brand-blue-bg); }
.chat-list-info { flex: 1; min-width: 0; }
.chat-list-name { font-weight: 700; font-size: 0.9rem; color: var(--black); }
.chat-list-last { font-size: 0.8rem; color: var(--gray-500); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.chat-list-time { font-size: 0.75rem; color: var(--gray-400); }

.chat-area { display: flex; flex-direction: column; }
.chat-header { padding: var(--space-5); border-bottom: 1px solid var(--gray-100); display: flex; align-items: center; gap: var(--space-3); }
.chat-messages { flex: 1; overflow-y: auto; padding: var(--space-6); display: flex; flex-direction: column; gap: var(--space-4); }

.message { display: flex; gap: var(--space-3); max-width: 75%; }
.message.sent { align-self: flex-end; flex-direction: row-reverse; }
.message-avatar { flex-shrink: 0; }
.message-bubble { padding: var(--space-3) var(--space-4); border-radius: var(--radius-lg); font-size: 0.9rem; }
.message.received .message-bubble { background: var(--gray-100); color: var(--gray-900); border-bottom-left-radius: 4px; }
.message.sent .message-bubble { background: var(--brand-blue-lt); color: var(--white); border-bottom-right-radius: 4px; }
.message-time { font-size: 0.7rem; color: var(--gray-400); margin-top: 4px; text-align: right; }

.chat-input-area { padding: var(--space-4) var(--space-5); border-top: 1px solid var(--gray-100); display: flex; gap: var(--space-3); align-items: flex-end; }
.chat-input { flex: 1; border: 1.5px solid var(--gray-200); border-radius: var(--radius-lg); padding: var(--space-3) var(--space-4); font-family: var(--font-body); font-size: 0.9rem; resize: none; max-height: 120px; transition: border-color var(--transition); }
.chat-input:focus { outline: none; border-color: var(--brand-blue-lt); }

@media (max-width: 768px) { .chat-layout { grid-template-columns: 1fr; } .chat-sidebar { display: none; } }

/* ── 22. Notification list ────────────────────────────────── */
.notif-item { display: flex; gap: var(--space-3); padding: var(--space-4); border-bottom: 1px solid var(--gray-50); transition: background var(--transition); }
.notif-item:hover { background: var(--gray-50); }
.notif-item.unread { background: var(--brand-blue-bg); }
.notif-icon { width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.notif-icon svg { width: 16px; height: 16px; }
.notif-body { flex: 1; min-width: 0; }
.notif-title { font-size: 0.85rem; font-weight: 600; color: var(--black); }
.notif-text  { font-size: 0.8rem; color: var(--gray-500); }
.notif-time  { font-size: 0.75rem; color: var(--gray-400); margin-top: 2px; }

/* ── 23. Footer ───────────────────────────────────────────── */
.site-footer {
  background: var(--black);
  color: rgba(255,255,255,0.7);
  padding: var(--space-16) 0 0;
  margin-top: var(--space-20);
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: var(--space-8); margin-bottom: var(--space-10); }
.footer-brand { display: flex; align-items: center; gap: var(--space-2); margin-bottom: var(--space-4); }
.footer-brand .brand-text { color: var(--white); font-size: 1.4rem; }
.footer-brand .brand-icon { color: var(--brand-amber); font-size: 1.6rem; }
.footer-tagline { font-size: 0.9rem; color: rgba(255,255,255,0.5); margin-bottom: var(--space-5); }
.footer-socials { display: flex; gap: var(--space-3); }
.social-icon { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,0.08); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.6); transition: all var(--transition); }
.social-icon:hover { background: var(--brand-blue-lt); color: var(--white); }
.social-icon svg { width: 16px; height: 16px; }

.footer-heading { font-family: var(--font-head); font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--white); margin-bottom: var(--space-5); }
.footer-links { display: flex; flex-direction: column; gap: var(--space-3); }
.footer-links a { color: rgba(255,255,255,0.55); font-size: 0.875rem; transition: color var(--transition); }
.footer-links a:hover { color: var(--white); }
.footer-contact { margin-top: var(--space-5); display: flex; flex-direction: column; gap: var(--space-2); }
.footer-contact p { display: flex; align-items: center; gap: var(--space-2); font-size: 0.82rem; color: rgba(255,255,255,0.5); }
.footer-contact svg { width: 14px; height: 14px; }

.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding: var(--space-5) 0; display: flex; justify-content: space-between; align-items: center; font-size: 0.8rem; }
.footer-made { color: rgba(255,255,255,0.35); }

@media (max-width: 1024px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand-col { grid-column: 1/-1; } }
@media (max-width: 640px)  { .footer-grid { grid-template-columns: 1fr; } .footer-bottom { flex-direction: column; gap: var(--space-2); text-align: center; } }

/* ── 24. Booking Card ─────────────────────────────────────── */
.booking-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  padding: var(--space-5);
  transition: box-shadow var(--transition);
}
.booking-card:hover { box-shadow: var(--shadow); }
.booking-card-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: var(--space-4); }
.booking-ref { font-size: 0.78rem; font-family: monospace; color: var(--gray-400); font-weight: 600; }
.booking-card-body { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); margin-bottom: var(--space-5); }
.booking-info-item { display: flex; flex-direction: column; gap: 2px; }
.booking-info-label { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--gray-400); font-weight: 600; }
.booking-info-value { font-size: 0.9rem; font-weight: 600; color: var(--gray-900); }
.booking-card-footer { display: flex; gap: var(--space-3); justify-content: flex-end; border-top: 1px solid var(--gray-100); padding-top: var(--space-4); }

/* ── 25. Empty State ──────────────────────────────────────── */
.empty-state {
  text-align: center;
  padding: var(--space-16) var(--space-8);
  color: var(--gray-500);
}
.empty-state-icon { width: 80px; height: 80px; border-radius: 50%; background: var(--gray-100); display: flex; align-items: center; justify-content: center; margin: 0 auto var(--space-5); }
.empty-state-icon svg { width: 36px; height: 36px; color: var(--gray-400); }
.empty-state h3 { font-size: 1.2rem; color: var(--gray-700); margin-bottom: var(--space-2); }
.empty-state p { font-size: 0.9rem; margin-bottom: var(--space-6); }

/* ── 26. Loading spinner ──────────────────────────────────── */
.spinner { width: 40px; height: 40px; border: 3px solid var(--gray-200); border-top-color: var(--brand-blue-lt); border-radius: 50%; animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.loading-center { display: flex; justify-content: center; align-items: center; padding: var(--space-12); }

/* ── 27. Tabs ─────────────────────────────────────────────── */
.tabs { display: flex; gap: 0; border-bottom: 2px solid var(--gray-200); margin-bottom: var(--space-6); overflow-x: auto; }
.tab-btn {
  padding: var(--space-3) var(--space-5);
  border: none;
  background: none;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gray-500);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  white-space: nowrap;
  transition: all var(--transition);
}
.tab-btn:hover  { color: var(--gray-900); }
.tab-btn.active { color: var(--brand-blue-lt); border-bottom-color: var(--brand-blue-lt); }
.tab-content { display: none; }
.tab-content.active { display: block; }

/* ── 28. Star Rating Input ────────────────────────────────── */
.star-rating-input { display: flex; flex-direction: row-reverse; gap: 4px; }
.star-rating-input input { display: none; }
.star-rating-input label { font-size: 2rem; color: var(--gray-300); cursor: pointer; transition: color var(--transition); }
.star-rating-input label:hover,
.star-rating-input label:hover ~ label,
.star-rating-input input:checked ~ label { color: var(--brand-amber); }

/* ── 29. Provider Profile Page ────────────────────────────── */
.provider-profile-hero {
  background: var(--white);
  border-radius: var(--radius-xl);
  border: 1px solid var(--gray-200);
  padding: var(--space-8);
  margin-bottom: var(--space-6);
  display: flex;
  gap: var(--space-8);
  align-items: flex-start;
}
@media (max-width: 640px) { .provider-profile-hero { flex-direction: column; align-items: center; text-align: center; } }

/* ── 30. Utility ──────────────────────────────────────────── */
.text-center { text-align: center; }
.text-right  { text-align: right;  }
.text-muted  { color: var(--gray-500); }
.text-sm     { font-size: 0.875rem; }
.text-xs     { font-size: 0.75rem;  }
.text-danger { color: var(--danger); }
.text-success{ color: var(--success); }
.fw-bold     { font-weight: 700; }
.fw-medium   { font-weight: 500; }
.d-flex      { display: flex; }
.align-center{ align-items: center; }
.justify-between { justify-content: space-between; }
.gap-2 { gap: var(--space-2); }
.gap-3 { gap: var(--space-3); }
.gap-4 { gap: var(--space-4); }
.mb-4 { margin-bottom: var(--space-4); }
.mb-6 { margin-bottom: var(--space-6); }
.mb-8 { margin-bottom: var(--space-8); }
.mt-4 { margin-top: var(--space-4); }
.mt-6 { margin-top: var(--space-6); }
.w-100{ width: 100%; }

.bg-white  { background: var(--white); }
.rounded-lg{ border-radius: var(--radius-lg); }
.border    { border: 1px solid var(--gray-200); }
.p-5       { padding: var(--space-5); }
.p-6       { padding: var(--space-6); }

.divider   { height: 1px; background: var(--gray-100); margin: var(--space-5) 0; }
.sr-only   { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* Approvals */
.approval-badge-pending  { background: var(--warning-bg); color: var(--warning); padding: 4px 12px; border-radius: var(--radius-full); font-size: 0.78rem; font-weight: 700; }
.approval-badge-approved { background: var(--success-bg); color: var(--success); padding: 4px 12px; border-radius: var(--radius-full); font-size: 0.78rem; font-weight: 700; }
.approval-badge-rejected { background: var(--danger-bg);  color: var(--danger);  padding: 4px 12px; border-radius: var(--radius-full); font-size: 0.78rem; font-weight: 700; }

/* Price range slider */
.range-track { -webkit-appearance: none; appearance: none; width: 100%; height: 4px; border-radius: 2px; background: var(--gray-200); outline: none; }
.range-track::-webkit-slider-thumb { -webkit-appearance: none; width: 18px; height: 18px; border-radius: 50%; background: var(--brand-blue-lt); cursor: pointer; box-shadow: 0 2px 6px rgba(37,99,235,0.4); }

/* Review card */
.review-card { border-bottom: 1px solid var(--gray-100); padding: var(--space-5) 0; }
.review-card:last-child { border-bottom: none; }
.review-header { display: flex; align-items: center; gap: var(--space-3); margin-bottom: var(--space-3); }
.review-author { font-weight: 700; font-size: 0.9rem; color: var(--black); }
.review-date { font-size: 0.78rem; color: var(--gray-400); }
.review-comment { font-size: 0.9rem; color: var(--gray-700); }

/* ── Admin ────────────────────────────────────────────────── */
.admin-sidebar { background: var(--black); min-height: 100vh; }
.admin-sidebar .sidebar-link { color: rgba(255,255,255,0.65); }
.admin-sidebar .sidebar-link:hover { background: rgba(255,255,255,0.08); color: var(--white); }
.admin-sidebar .sidebar-link.active { background: var(--brand-blue-lt); color: var(--white); }
.admin-sidebar .brand-text { color: var(--white); }
.admin-sidebar .brand-icon { color: var(--brand-amber); }
