/* ============================================================
   TWENTYONE BARBERSHOP — Design System
   ============================================================ */

/* === GOOGLE FONTS === */
@import url('https://fonts.googleapis.com/css2?family=Sacramento&family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400&family=Inter:wght@300;400;500;600&display=swap');

/* === RESET & BASE === */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; }
ul, ol { list-style: none; }

/* === CSS VARIABLES === */
:root {
  /* Colori principali */
  --bg:            #000000;
  --bg-card:       #282424;
  --bg-card-2:     #494444;
  --bg-input:      #494444;
  --border:        #2e2e2e;
  --border-light:  #424242;

  /* Testo */
  --text:          #f0ede8;
  --text-muted:    #8a8a8a;
  --text-dim:      #6b6b6b;

  /* Accento oro */
  --gold:          #c9a96e;
  --gold-light:    #dfc08a;
  --gold-dark:     #a8884d;
  --gold-bg:       rgba(201, 169, 110, 0.08);
  --gold-bg-hover: rgba(201, 169, 110, 0.14);

  /* Utilità */
  --white:         #ffffff;
  --danger:        #d94f4f;
  --danger-bg:     rgba(217, 79, 79, 0.1);
  --success:       #4caf7d;
  --success-bg:    rgba(76, 175, 125, 0.1);

  /* Tipografia */
  --font-brand:   'Sacramento', cursive;
  --font-heading: 'Cormorant Garamond', serif;
  --font-body:    'Inter', sans-serif;

  /* Spaziature */
  --space-xs:  4px;
  --space-sm:  8px;
  --space-md:  16px;
  --space-lg:  24px;
  --space-xl:  40px;
  --space-2xl: 64px;
  --space-3xl: 96px;

  /* Bordi e ombre */
  --radius:    8px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --transition: 0.25s ease;
  --shadow:    0 4px 24px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 8px 48px rgba(0, 0, 0, 0.7);

  /* Layout */
  --nav-height: 72px;
  --max-width:  1200px;
}

/* === SCROLLBAR === */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border-light); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold-dark); }

/* === SELECTION === */
::selection { background: var(--gold); color: var(--bg); }


/* ============================================================
   COMPONENTI CONDIVISI
   ============================================================ */

/* Container */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

@media (max-width: 768px) {
  .container { padding: 0 var(--space-md); }
}

/* Sezioni */
.section {
  padding: var(--space-3xl) 0;
}

.section--alt {
  background: var(--bg-card);
}

/* Titoli sezione */
.section-label {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--space-sm);
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  line-height: 1.15;
  color: var(--text);
  margin-bottom: var(--space-lg);
}

.section-subtitle {
  font-size: 15px;
  color: var(--text-muted);
  max-width: 540px;
  line-height: 1.7;
}

.section-header {
  margin-bottom: var(--space-2xl);
}

.section-header--center {
  text-align: center;
}

.section-header--center .section-subtitle {
  margin: 0 auto;
}

/* Divider */
.divider {
  width: 40px;
  height: 1px;
  background: var(--gold);
  margin: var(--space-lg) 0;
}

.divider--center { margin: var(--space-lg) auto; }

/* Bottoni */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 14px 32px;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn--primary {
  background: var(--gold);
  color: var(--bg);
}

.btn--primary:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(201, 169, 110, 0.3);
}

.btn--primary:active { transform: translateY(0); }

.btn--outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-light);
}

.btn--outline:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.btn--ghost {
  background: var(--gold-bg);
  color: var(--gold);
  border: 1px solid transparent;
}

.btn--ghost:hover {
  background: var(--gold-bg-hover);
  border-color: var(--gold-dark);
}

.btn--danger {
  background: var(--danger-bg);
  color: var(--danger);
  border: 1px solid transparent;
}

.btn--lg { padding: 18px 44px; font-size: 13px; }
.btn--sm { padding: 10px 20px; font-size: 12px; }
.btn--full { width: 100%; }
.btn:disabled { opacity: 0.4; pointer-events: none; }

/* Badge */
.badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.5px;
  background: var(--gold-bg);
  color: var(--gold);
  border: 1px solid rgba(201, 169, 110, 0.2);
}


/* ============================================================
   NAVIGAZIONE
   ============================================================ */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 900;
  height: var(--nav-height);
  transition: background var(--transition), box-shadow var(--transition);
}

.nav.scrolled {
  background: rgba(13, 13, 13, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 var(--border);
}

.nav__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo {
  display: flex;
  align-items: center;
  line-height: 1;
}

.nav__logo-img {
  height: clamp(2.8rem, 5vw, 4rem);
  width: auto;
  display: block;
  transition: opacity var(--transition), filter var(--transition);
}

.nav__logo:hover .nav__logo-img {
  opacity: 0.85;
  filter: brightness(1.1) drop-shadow(0 0 6px rgba(201, 169, 110, 0.45));
}

.footer__logo-img {
  height: clamp(2.4rem, 4.5vw, 3.6rem);
  width: auto;
  display: block;
  margin-bottom: var(--space-md);
  opacity: 0.9;
  transition: opacity var(--transition);
}

.footer__logo-img:hover { opacity: 1; }

.nav__links {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}

.nav__link {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color var(--transition);
  position: relative;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width var(--transition);
}

.nav__link:hover,
.nav__link.active {
  color: var(--text);
}

.nav__link:hover::after,
.nav__link.active::after {
  width: 100%;
}

.nav__cta {
  margin-left: var(--space-md);
}

/* Hamburger mobile */
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 24px;
  padding: 4px 0;
}

.nav__toggle span {
  display: block;
  height: 1.5px;
  background: var(--text);
  transition: all var(--transition);
  transform-origin: left center;
}

.nav__toggle.open span:nth-child(1) { transform: rotate(40deg); }
.nav__toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav__toggle.open span:nth-child(3) { transform: rotate(-40deg); }

/* Mobile nav drawer */
.nav__mobile {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(13, 13, 13, 0.98);
  backdrop-filter: blur(20px);
  z-index: 899;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-xl);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}

.nav__mobile.open {
  display: flex;
  opacity: 1;
  pointer-events: all;
}

.nav__mobile .nav__link {
  font-size: 14px;
  letter-spacing: 3px;
}

@media (max-width: 768px) {
  .nav__links { display: none; }
  .nav__toggle { display: flex; }
}


/* ============================================================
   HERO
   ============================================================ */

.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 40%, rgba(201, 169, 110, 0.04) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 80% 80%, rgba(201, 169, 110, 0.03) 0%, transparent 60%);
}

/* Linee decorative di sfondo */
.hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 100%;
  background: linear-gradient(to bottom, transparent, var(--border) 30%, var(--border) 70%, transparent);
  opacity: 0.4;
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: var(--space-xl);
}

.hero__brand {
  font-family: var(--font-brand);
  font-size: clamp(5rem, 14vw, 11rem);
  color: var(--white);
  line-height: 0.9;
  margin-bottom: var(--space-xl);
  letter-spacing: -1px;
}

.hero__brand-img {
  height: clamp(6rem, 20vw, 16rem);
  width: auto;
  display: block;
  margin: 0 auto var(--space-xl);
}

.hero__tagline {
  font-family: var(--font-heading);
  font-size: clamp(1rem, 2.5vw, 1.4rem);
  font-weight: 300;
  font-style: italic;
  color: var(--text-muted);
  margin-bottom: var(--space-sm);
  letter-spacing: 1px;
}

.hero__sub {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--space-2xl);
}

.hero__actions {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  flex-wrap: wrap;
}

.hero__scroll {
  position: absolute;
  bottom: var(--space-xl);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  color: var(--text-dim);
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  animation: heroScrollBounce 2s ease-in-out infinite;
}

.hero__scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--gold), transparent);
}

@keyframes heroScrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}


/* ============================================================
   SERVIZI
   ============================================================ */

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

@media (max-width: 900px) {
  .services-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  transition: all var(--transition);
  cursor: default;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0;
  transition: opacity var(--transition);
}

.service-card:hover {
  border-color: var(--gold-dark);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.service-card:hover::before { opacity: 1; }

.service-card__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius);
  background: var(--gold-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-lg);
  color: var(--gold);
  font-size: 22px;
}

.service-card__name {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 500;
  margin-bottom: var(--space-sm);
}

.service-card__desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: var(--space-lg);
}

.service-card__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--space-lg);
  border-top: 1px solid var(--border);
}

.service-card__price {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--gold);
}

.service-card__duration {
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 1px;
}


/* ============================================================
   TEAM
   ============================================================ */

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: var(--space-lg);
}

.team-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
}

.team-card:hover {
  border-color: var(--gold-dark);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.team-card__photo {
  aspect-ratio: 3 / 4;
  background: var(--bg-card-2);
  position: relative;
  overflow: hidden;
}

.team-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.team-card:hover .team-card__photo img {
  transform: scale(1.04);
}

.team-card__photo-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: var(--text-dim);
}

.team-card__info {
  padding: var(--space-lg);
}

.team-card__name {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  margin-bottom: 4px;
}

.team-card__role {
  font-size: 12px;
  color: var(--gold);
  letter-spacing: 1.5px;
  text-transform: uppercase;
}


/* ============================================================
   CHI SIAMO
   ============================================================ */

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

@media (max-width: 768px) {
  .about-grid { grid-template-columns: 1fr; gap: var(--space-2xl); }
}

.about__text p {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: var(--space-md);
}

.about__image {
  aspect-ratio: 4 / 5;
  background: var(--bg-card-2);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  position: relative;
}

.about__image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  color: var(--text-dim);
}

.about__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
  margin-top: var(--space-2xl);
  padding-top: var(--space-xl);
  border-top: 1px solid var(--border);
}

.about__stat-number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--gold);
  line-height: 1;
}

.about__stat-label {
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 1px;
  margin-top: 4px;
}


/* ============================================================
   ORARI & CONTATTI
   ============================================================ */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
}

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

.hours-table {
  width: 100%;
  border-collapse: collapse;
}

.hours-table tr {
  border-bottom: 1px solid var(--border);
}

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

.hours-table td {
  padding: 12px 0;
  font-size: 14px;
}

.hours-table td:first-child { color: var(--text-muted); }
.hours-table td:last-child { text-align: right; color: var(--text); }

.hours-table .closed { color: var(--text-dim); font-style: italic; }
.hours-table .today td { color: var(--gold); font-weight: 500; }

.contact-info {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.contact-item {
  display: flex;
  gap: var(--space-md);
  align-items: flex-start;
}

.contact-item__icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius);
  background: var(--gold-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  flex-shrink: 0;
  font-size: 16px;
}

.contact-item__label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-dim);
  margin-bottom: 2px;
}

.contact-item__value {
  font-size: 15px;
  color: var(--text);
}

.contact-item__value a:hover { color: var(--gold); }


/* ============================================================
   FOOTER
   ============================================================ */

.footer {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  padding: var(--space-2xl) 0 var(--space-xl);
}

.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--space-2xl);
  margin-bottom: var(--space-2xl);
}

@media (max-width: 768px) {
  .footer__inner { grid-template-columns: 1fr; gap: var(--space-xl); }
}

.footer__brand-name {
  font-family: var(--font-brand);
  font-size: 2.5rem;
  color: var(--white);
  margin-bottom: var(--space-md);
}

.footer__brand-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 280px;
}

.footer__col-title {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: var(--space-lg);
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer__link {
  font-size: 14px;
  color: var(--text-muted);
  transition: color var(--transition);
}

.footer__link:hover { color: var(--gold); }

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--space-xl);
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
  gap: var(--space-md);
}

.footer__copy {
  font-size: 12px;
  color: var(--text-dim);
}

.footer__legal {
  display: flex;
  gap: var(--space-lg);
}

.footer__legal a {
  font-size: 12px;
  color: var(--text-dim);
  transition: color var(--transition);
}

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


/* ============================================================
   COOKIE BANNER
   ============================================================ */

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  padding: var(--space-lg) var(--space-xl);
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 -8px 32px rgba(0,0,0,0.4);
}

.cookie-banner.visible {
  transform: translateY(0);
}

.cookie-banner__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: var(--space-xl);
  flex-wrap: wrap;
}

.cookie-banner__text {
  flex: 1;
  min-width: 280px;
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}

.cookie-banner__text a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cookie-banner__actions {
  display: flex;
  gap: var(--space-sm);
  flex-shrink: 0;
  flex-wrap: wrap;
}

@media (max-width: 600px) {
  .cookie-banner { padding: var(--space-md); }
  .cookie-banner__inner { flex-direction: column; align-items: stretch; }
  .cookie-banner__actions { justify-content: stretch; }
  .cookie-banner__actions .btn { flex: 1; text-align: center; }
}


/* ============================================================
   PAGINA PRENOTAZIONE
   ============================================================ */

.booking-page {
  min-height: 100dvh;
  padding-top: var(--nav-height);
  background: var(--bg);
}

.booking-hero {
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
  padding: var(--space-2xl) 0 var(--space-xl);
  text-align: center;
}

.booking-hero__title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 400;
  margin-bottom: var(--space-sm);
}

.booking-hero__sub {
  color: var(--text-muted);
  font-size: 14px;
}

/* Stepper */
.stepper {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-xl) 0;
  gap: 0;
}

.step {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  position: relative;
}

.step__num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-dim);
  background: var(--bg-card);
  flex-shrink: 0;
  transition: all var(--transition);
  position: relative;
  z-index: 1;
}

.step__label {
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-dim);
  white-space: nowrap;
  transition: color var(--transition);
}

.step.active .step__num {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--bg);
  font-weight: 600;
}

.step.active .step__label { color: var(--text); }

.step.completed .step__num {
  background: var(--gold-bg);
  border-color: var(--gold-dark);
  color: var(--gold);
}

.step.completed .step__label { color: var(--text-muted); }

.step-line {
  width: 60px;
  height: 1px;
  background: var(--border);
  flex-shrink: 0;
  position: relative;
}

.step-line.completed {
  background: var(--gold-dark);
}

@media (max-width: 600px) {
  .step__label { display: none; }
  .step-line { width: 30px; }
}

/* Booking main area */
.booking-content {
  padding: var(--space-2xl) 0 var(--space-3xl);
}

.booking-step {
  display: none;
  animation: fadeInUp 0.3s ease;
}

.booking-step.active { display: block; }

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Step 1 — Servizi */
.service-select-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
  margin-bottom: var(--space-xl);
}

@media (max-width: 900px) {
  .service-select-grid { grid-template-columns: 1fr; max-width: 480px; margin-left: auto; margin-right: auto; }
}

.service-option {
  background: var(--bg-card);
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  cursor: pointer;
  transition: all var(--transition);
  text-align: left;
  position: relative;
}

.service-option:hover {
  border-color: var(--gold-dark);
  background: var(--bg-card-2);
}

.service-option.selected {
  border-color: var(--gold);
  background: var(--gold-bg);
}

.service-option.selected::after {
  content: '✓';
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
}

.service-option__icon {
  font-size: 28px;
  margin-bottom: var(--space-md);
}

.service-option__name {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  margin-bottom: 6px;
  color: white;
}

.service-option__desc {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: var(--space-md);
  line-height: 1.6;
}

.service-option__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--space-md);
  border-top: 1px solid var(--border);
}

.service-option__price {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: var(--gold);
}

.service-option__duration {
  font-size: 12px;
  color: var(--text-muted);
}

/* Step 2 — Barbiere + Data + Orario */
.booking-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
}

@media (max-width: 900px) {
  .booking-cols { grid-template-columns: 1fr; }
}

.booking-panel {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
}

.booking-panel__title {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-md);
  border-bottom: 1px solid var(--border);
}

/* Barbiere cards */
.barber-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.barber-option {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-md);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: all var(--transition);
  background: transparent;
  text-align: left;
  width: 100%;

}

.barber-option:hover {
  border-color: var(--gold-dark);
  background: var(--gold-bg);
}

.barber-option.selected {
  border-color: var(--gold);
  background: var(--gold-bg);
}

.barber-option__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-card-2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
  overflow: hidden;
}

.barber-option__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.barber-option__name {
  font-weight: 500;
  font-size: 14px;
  color: white;
}

.barber-option__role {
  font-size: 12px;
  color: var(--text-muted);
}

/* Calendario */
.calendar {
  user-select: none;
}

.calendar__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-md);
}

.calendar__month {
  font-family: var(--font-heading);
  font-size: 1.1rem;
}

.calendar__nav {
  width: 32px;
  height: 32px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition);
  color: var(--text-muted);
  font-size: 14px;
  background: transparent;
}

.calendar__nav:hover:not(:disabled) {
  border-color: var(--gold);
  color: var(--gold);
}

.calendar__nav:disabled { opacity: 0.3; cursor: not-allowed; }

.calendar__grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}

.calendar__weekday {
  text-align: center;
  font-size: 11px;
  letter-spacing: 1px;
  color: var(--text-dim);
  padding: 6px 0;
  text-transform: uppercase;
}

.calendar__day {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  font-size: 13px;
  cursor: pointer;
  transition: all var(--transition);
  border: 1px solid transparent;
  background: transparent;
  color: var(--text);
}

.calendar__day:hover:not(.disabled):not(.empty) {
  background: var(--gold-bg);
  border-color: var(--gold-dark);
}

.calendar__day.today {
  color: var(--gold);
  font-weight: 600;
}

.calendar__day.selected {
  background: var(--gold);
  color: var(--bg);
  font-weight: 600;
  border-color: var(--gold);
}

.calendar__day.disabled {
  color: var(--text-dim);
  cursor: not-allowed;
  opacity: 0.4;
}

.calendar__day.empty { cursor: default; }

/* Slot orari */
.slots-section {
  margin-top: var(--space-xl);
}

.slots-section__title {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--space-md);
  padding-top: var(--space-md);
  border-top: 1px solid var(--border);
}

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

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

.slot {
  padding: 10px 4px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  font-size: 13px;
  font-weight: 500;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition);
  background: transparent;
  color: var(--text);
}

.slot:hover:not(.unavailable) {
  border-color: var(--gold-dark);
  color: var(--gold);
  background: var(--gold-bg);
}

.slot.selected {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--bg);
  font-weight: 600;
}

.slot.unavailable {
  opacity: 0.25;
  cursor: not-allowed;
  text-decoration: line-through;
}

.slots-empty {
  text-align: center;
  color: var(--text-muted);
  font-size: 14px;
  padding: var(--space-xl);
}

/* Step 3 — Dati personali */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}

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

.form-grid--full { grid-template-columns: 1fr; }

.field {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.field--full { grid-column: 1 / -1; }

.field__label {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-muted);
}

.field__required { color: var(--gold); margin-left: 2px; }

.field__input {
  background: var(--bg-input);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 14px var(--space-md);
  font-size: 15px;
  color: var(--text);
  outline: none;
  transition: all var(--transition);
  width: 100%;
}

.field__input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 169, 110, 0.1);
}

.field__input::placeholder { color: var(--text-dim); }

.field__input.error { border-color: var(--danger); }
.field__input.error:focus { box-shadow: 0 0 0 3px var(--danger-bg); }

textarea.field__input {
  resize: vertical;
  min-height: 100px;
}

.field__hint {
  font-size: 12px;
  color: var(--text-dim);
  line-height: 1.5;
}

.field__error {
  font-size: 12px;
  color: var(--danger);
  display: none;
}

.field__error.visible { display: block; }

/* Account opzionale */
.account-toggle {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-md) var(--space-lg);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--transition);
  width: 100%;
  text-align: left;
  margin-bottom: var(--space-md);
}

.account-toggle:hover {
  border-color: var(--gold-dark);
  background: var(--gold-bg);
}

.account-toggle__text strong {
  display: block;
  font-size: 14px;
  color: var(--text);
  margin-bottom: 2px;
}

.account-toggle__text span {
  font-size: 12px;
  color: var(--text-muted);
}

.account-toggle__arrow {
  margin-left: auto;
  color: var(--text-muted);
  transition: transform var(--transition);
  font-size: 12px;
}

.account-toggle.open .account-toggle__arrow {
  transform: rotate(180deg);
}

.account-fields {
  display: none;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-top: none;
  border-radius: 0 0 var(--radius) var(--radius);
  padding: var(--space-lg);
  margin-top: -4px;
  margin-bottom: var(--space-md);
}

.account-fields.open { display: block; }

/* Consensi privacy */
.privacy-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  margin-top: var(--space-xl);
}

.privacy-box__title {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--space-lg);
}

.privacy-info {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-lg);
  border-bottom: 1px solid var(--border);
}

.privacy-info a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Checkbox */
.checkbox-field {
  display: flex;
  gap: var(--space-md);
  align-items: flex-start;
  cursor: pointer;
  margin-bottom: var(--space-md);
}

.checkbox-field:last-child { margin-bottom: 0; }

.checkbox-field input[type="checkbox"] {
  display: none;
}

.checkbox-box {
  width: 20px;
  height: 20px;
  border-radius: 4px;
  border: 1.5px solid var(--border-light);
  background: var(--bg-input);
  flex-shrink: 0;
  margin-top: 1px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  font-size: 11px;
  color: transparent;
}

.checkbox-field input:checked + .checkbox-box {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--bg);
}

.checkbox-label {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}

.checkbox-label a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.checkbox-label .required-badge {
  font-size: 10px;
  color: var(--gold);
  background: var(--gold-bg);
  padding: 1px 6px;
  border-radius: 10px;
  margin-left: 6px;
  letter-spacing: 0.5px;
  font-weight: 500;
  vertical-align: middle;
}

.checkbox-label .optional-badge {
  font-size: 10px;
  color: var(--text-dim);
  background: var(--bg-card-2);
  padding: 1px 6px;
  border-radius: 10px;
  margin-left: 6px;
  letter-spacing: 0.5px;
  vertical-align: middle;
}

/* Step 4 — Riepilogo */
.summary-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  max-width: 600px;
  margin: 0 auto;
}

.summary-card__header {
  padding: var(--space-xl);
  border-bottom: 1px solid var(--border);
  background: var(--gold-bg);
}

.summary-card__title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--gold);
}

.summary-card__body {
  padding: var(--space-xl);
}

.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  gap: var(--space-md);
}

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

.summary-row__label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-dim);
  flex-shrink: 0;
}

.summary-row__value {
  font-size: 14px;
  color: var(--text);
  text-align: right;
}

.summary-card__footer {
  padding: var(--space-xl);
  background: var(--bg-card-2);
  border-top: 1px solid var(--border);
}

/* Stato successo */
.booking-success {
  display: none;
  text-align: center;
  padding: var(--space-3xl) var(--space-xl);
}

.booking-success.visible { display: block; animation: fadeInUp 0.5s ease; }

.booking-success__icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--success-bg);
  border: 2px solid var(--success);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: var(--success);
  margin: 0 auto var(--space-xl);
}

.booking-success__title {
  font-family: var(--font-heading);
  font-size: 2rem;
  margin-bottom: var(--space-md);
}

.booking-success__text {
  color: var(--text-muted);
  font-size: 15px;
  max-width: 420px;
  margin: 0 auto var(--space-xl);
  line-height: 1.7;
}

/* Booking nav buttons */
.booking-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: var(--space-xl);
  padding-top: var(--space-xl);
  border-top: 1px solid var(--border);
}

.booking-nav--end {
  justify-content: flex-end;
}

/* Step 2 full layout */
.step2-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
}

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

/* ============================================================
   PRIVACY PAGE
   ============================================================ */

.legal-page {
  min-height: 100dvh;
  padding-top: calc(var(--nav-height) + var(--space-2xl));
  padding-bottom: var(--space-3xl);
}

.legal-content {
  max-width: 780px;
  margin: 0 auto;
}

.legal-content h1 {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 400;
  margin-bottom: var(--space-sm);
}

.legal-content .last-update {
  font-size: 13px;
  color: var(--text-dim);
  margin-bottom: var(--space-2xl);
}

.legal-content h2 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--gold);
  margin: var(--space-xl) 0 var(--space-md);
}

.legal-content p,
.legal-content li {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: var(--space-md);
}

.legal-content ul {
  list-style: disc;
  padding-left: var(--space-xl);
}

.legal-content a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-content .info-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: var(--space-xl);
  font-size: 14px;
}

.legal-content .info-table th,
.legal-content .info-table td {
  padding: 12px 16px;
  border: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
}

.legal-content .info-table th {
  background: var(--bg-card);
  color: var(--text-muted);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.legal-content .info-table td {
  color: var(--text-muted);
}


/* ============================================================
   UTILITIES
   ============================================================ */

.text-center { text-align: center; }
.text-gold    { color: var(--gold); }
.text-muted   { color: var(--text-muted); }
.mt-sm   { margin-top: var(--space-sm); }
.mt-md   { margin-top: var(--space-md); }
.mt-lg   { margin-top: var(--space-lg); }
.mt-xl   { margin-top: var(--space-xl); }
.mt-2xl  { margin-top: var(--space-2xl); }
.mb-sm   { margin-bottom: var(--space-sm); }
.mb-md   { margin-bottom: var(--space-md); }
.mb-lg   { margin-bottom: var(--space-lg); }
.mb-xl   { margin-bottom: var(--space-xl); }
.hidden  { display: none !important; }
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

/* Loading spinner */
.spinner {
  width: 20px;
  height: 20px;
  border: 2px solid rgba(201,169,110,0.2);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  display: inline-block;
}

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

/* Alert */
.alert {
  padding: var(--space-md) var(--space-lg);
  border-radius: var(--radius);
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: var(--space-md);
}

.alert--error {
  background: var(--danger-bg);
  border: 1px solid rgba(217,79,79,0.3);
  color: var(--danger);
}

.alert--success {
  background: var(--success-bg);
  border: 1px solid rgba(76,175,125,0.3);
  color: var(--success);
}

.alert--info {
  background: var(--gold-bg);
  border: 1px solid rgba(201,169,110,0.2);
  color: var(--gold);
}

.alert--warning {
  background: rgba(230, 180, 60, 0.12);
  border: 1px solid rgba(230, 180, 60, 0.35);
  color: #e6b43c;
}


/* ============================================================
   AUTH (login / registrazione)
   ============================================================ */

.auth-wrap {
  min-height: calc(100dvh - var(--nav-height));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-2xl) var(--space-md);
}

.auth-card {
  width: 100%;
  max-width: 460px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl) var(--space-xl);
}

.auth-card__title {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 400;
  text-align: center;
  margin-bottom: var(--space-xl);
}

.auth-card__links {
  margin-top: var(--space-xl);
  padding-top: var(--space-lg);
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  font-size: 13px;
  color: var(--text-muted);
  text-align: center;
}

.auth-card__links a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }


/* ============================================================
   APP (area personale / gestionale)
   ============================================================ */

.app-main {
  padding: var(--space-xl) 0 var(--space-3xl);
}

.app-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: var(--space-md);
  margin: var(--space-xl) 0;
}

.app-title {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 400;
}

/* Tab bar */
.tabbar {
  display: flex;
  gap: var(--space-xs);
  border-bottom: 1px solid var(--border);
  margin-bottom: var(--space-xl);
  overflow-x: auto;
  scrollbar-width: none;
}
.tabbar::-webkit-scrollbar { display: none; }

.tabbar__tab {
  padding: 12px 18px;
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-muted);
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  transition: all var(--transition);
  background: none;
}

.tabbar__tab:hover { color: var(--text); }
.tabbar__tab.active { color: var(--gold); border-bottom-color: var(--gold); }

.tab-panel { display: none; }
.tab-panel.active { display: block; animation: fadeInUp 0.25s ease; }

/* Stat cards */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
}

.stat-card__value {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 600;
  color: var(--gold);
  line-height: 1;
}

.stat-card__value.danger  { color: var(--danger); }
.stat-card__value.warning { color: #e6b43c; }
.stat-card__value.success { color: var(--success); }

.stat-card__label {
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: var(--space-sm);
}

/* Data table */
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius-lg); }

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  min-width: 640px;
}

.data-table th {
  text-align: left;
  padding: 12px 16px;
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-dim);
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}

.data-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  color: var(--text-muted);
  vertical-align: middle;
}

.data-table tr:last-child td { border-bottom: none; }
.data-table tr:hover td { background: rgba(255,255,255,0.02); }
.data-table td:first-child { color: var(--text); }

/* Status badges */
.status-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.5px;
  white-space: nowrap;
}
.status-badge--confirmed { background: var(--success-bg); color: var(--success); border: 1px solid rgba(76,175,125,0.3); }
.status-badge--pending   { background: rgba(230,180,60,0.12); color: #e6b43c; border: 1px solid rgba(230,180,60,0.3); }
.status-badge--cancelled { background: var(--bg-card-2); color: var(--text-muted); border: 1px solid var(--border-light); }
.status-badge--completed { background: var(--gold-bg); color: var(--gold); border: 1px solid rgba(201,169,110,0.3); }
.status-badge--no_show   { background: var(--danger-bg); color: var(--danger); border: 1px solid rgba(217,79,79,0.3); }
.status-badge--expired   { background: var(--bg-card-2); color: var(--text-dim); border: 1px solid var(--border); }
.status-badge--waiting   { background: rgba(230,180,60,0.12); color: #e6b43c; border: 1px solid rgba(230,180,60,0.3); }
.status-badge--notified  { background: var(--success-bg); color: var(--success); border: 1px solid rgba(76,175,125,0.3); }

/* Appointment cards (area personale) */
.appt-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-md);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  margin-bottom: var(--space-md);
  flex-wrap: wrap;
}

.appt-card__main { display: flex; gap: var(--space-md); align-items: center; min-width: 240px; }

.appt-card__icon {
  width: 48px; height: 48px;
  border-radius: var(--radius);
  background: var(--gold-bg);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; flex-shrink: 0;
}

.appt-card__title { font-size: 15px; font-weight: 500; color: var(--text); }
.appt-card__sub   { font-size: 13px; color: var(--text-muted); }
.appt-card__actions { display: flex; gap: var(--space-sm); align-items: center; flex-wrap: wrap; }

/* Countdown offerta waiting list */
.offer-banner {
  background: var(--success-bg);
  border: 1px solid rgba(76,175,125,0.4);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  margin-bottom: var(--space-md);
}

.offer-banner__countdown {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  color: var(--success);
}

/* Sezioni pannello */
.panel-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  margin-bottom: var(--space-xl);
}

.panel-box__title {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-md);
  border-bottom: 1px solid var(--border);
}

/* Mini form inline */
.inline-form {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
  align-items: flex-end;
}

.inline-form .field { flex: 1; min-width: 130px; }

/* Empty state */
.empty-state {
  text-align: center;
  padding: var(--space-2xl);
  color: var(--text-muted);
  font-size: 14px;
}

.empty-state__icon { font-size: 2rem; margin-bottom: var(--space-md); opacity: 0.5; }
