.theme-toggle { display:inline-flex; align-items:center; justify-content:center; width:44px; min-width:44px; height:44px; padding:0; flex:0 0 44px; border:1px solid rgba(255,255,255,.18); border-radius:8px; background:#1b1b1e; color:#fff; cursor:pointer; appearance:none; }
.theme-toggle svg { width:20px; height:20px; flex:none; }
.theme-toggle:hover { border-color:var(--accent,#d6b25e); }
.theme-toggle:focus-visible { outline:2px solid var(--accent,#d6b25e); outline-offset:3px; }
.theme-toolbar { display:flex; justify-content:flex-end; padding:12px; }
.home > .logo-big { max-width:100%; height:auto; }
.mb-lang a,.lang a { min-height:44px; height:44px; }
html[data-theme] .header .navbtn,html[data-theme] .actions > .btnlink,html[data-theme] .actions form .btnlink { min-height:44px; }
html[data-theme] .header .navbtn { transition-property:background-color,border-color,box-shadow,color; }
.header-actions { flex-wrap:wrap; }
html[data-theme] body .language-choice { display:inline-flex; align-items:center; justify-content:center; box-sizing:border-box; width:44px !important; min-width:44px !important; max-width:44px !important; height:44px !important; padding:0 !important; border-radius:8px !important; flex:0 0 44px; }
.language-choice img { display:block; width:28px; height:20px; object-fit:contain; border-radius:2px; filter:none; }
html[data-theme] body .language-choice.active { border-color:var(--accent) !important; box-shadow:inset 0 0 0 1px var(--accent); }
:root[data-theme="light"] { --bg:#f6f7f8; --card:rgba(255,255,255,.97); --line:rgba(32,35,40,.18); --accent:#826017; --text:#202328; --muted:#5a606a; --mb-bg:#f6f7f8; --mb-card:rgba(255,255,255,.97); --mb-line:rgba(32,35,40,.18); --mb-text:#202328; --mb-muted:#5a606a; --mb-accent:#826017; }
html[data-theme="light"] body { background:#f6f7f8 !important; color:#202328 !important; }
html[data-theme="light"] body::before,html[data-theme="light"] body > div[style*="position:fixed"] { background:linear-gradient(rgba(255,255,255,.82),rgba(255,255,255,.82)),url('/bookingA/images/geometria.webp') center/cover no-repeat !important; }
html[data-theme="light"] body h1,html[data-theme="light"] body h2,html[data-theme="light"] body h3,html[data-theme="light"] .title,html[data-theme="light"] .svc-title,html[data-theme="light"] .summary-title,html[data-theme="light"] .modal-title,html[data-theme="light"] .contact-title { color:#202328 !important; }
html[data-theme="light"] .sub,html[data-theme="light"] .meta,html[data-theme="light"] label,html[data-theme="light"] .notice,html[data-theme="light"] .footerhint,html[data-theme="light"] .contact-line,html[data-theme="light"] .home > p,html[data-theme="light"] .topbar .sub { color:#505761 !important; }
html[data-theme="light"] .card,html[data-theme="light"] .contact-box,html[data-theme="light"] .mb-auth-card,html[data-theme="light"] .modal-card,html[data-theme="light"] .confirm-modal__card { background:rgba(255,255,255,.97) !important; color:#202328 !important; border-color:rgba(32,35,40,.18) !important; box-shadow:0 6px 20px rgba(24,28,35,.08); }
html[data-theme="light"] .svc,html[data-theme="light"] .appt,html[data-theme="light"] .item,html[data-theme="light"] .fc { background:#fff !important; color:#202328 !important; border-color:var(--line) !important; }
html[data-theme="light"] .summary { background:rgba(255,255,255,.98); border-color:#c9ad71; box-shadow:0 4px 16px rgba(24,28,35,.10); }
html[data-theme="light"] .btn,html[data-theme="light"] .btnlink,html[data-theme="light"] .navbtn,html[data-theme="light"] .btn-main,html[data-theme="light"] .contact-actions a,html[data-theme="light"] .lang a,html[data-theme="light"] .mb-lang a,html[data-theme="light"] .calendar-arrow,html[data-theme="light"] .slot,html[data-theme="light"] .day,html[data-theme="light"] .tab,html[data-theme="light"] .theme-toggle { background:#fff !important; color:#202328 !important; border-color:rgba(32,35,40,.24) !important; }
html[data-theme="light"] .btn.primary,html[data-theme="light"] .tab.active,html[data-theme="light"] .navbtn.active,html[data-theme="light"] .lang a.active,html[data-theme="light"] .mb-lang a.active { background:#f3eddf !important; border-color:#92702a !important; }
html[data-theme="light"] .btn.danger,html[data-theme="light"] .btnlink.danger { color:#9f1239 !important; border-color:#e4a9b7 !important; background:#fff0f3 !important; }
html[data-theme="light"] input,html[data-theme="light"] select,html[data-theme="light"] textarea,html[data-theme="light"] .mb-auth-card input,html[data-theme="light"] .mb-auth-card textarea { background:#fff !important; color:#202328 !important; border-color:rgba(32,35,40,.28) !important; color-scheme:light; }
html[data-theme="light"] input::placeholder,html[data-theme="light"] textarea::placeholder { color:#626873; opacity:1; }
html[data-theme="light"] .pill,html[data-theme="light"] .badge { background:#f3f4f5; color:#505761; border-color:var(--line); }
html[data-theme="light"] #slotsInfo,html[data-theme="light"] #chosen,html[data-theme="light"] #result,html[data-theme="light"] #statusMsg { color:#303740 !important; }
html[data-theme="light"] #closedInfo { color:#9f1239 !important; }
html[data-theme="light"] .contact-line a,html[data-theme="light"] .barber a,html[data-theme="light"] .mb-auth-card a { color:#202328 !important; }
html[data-theme="light"] .mb-auth-card button { background:#fff !important; color:#202328 !important; border-color:var(--line) !important; }
html[data-theme="light"] .mb-auth-card button[type="submit"] { background:#f3eddf !important; border-color:#92702a !important; }
html[data-theme="light"] .calendar-date { color:#202328; }
html[data-theme="light"] .calendar-date:disabled { color:#8b9099; }
html[data-theme="light"] .calendar-date.is-available { background:#e6f5ec; color:#14532d; border-color:#7bbd96; }
html[data-theme="light"] .calendar-date.is-unavailable,html[data-theme="light"] .calendar-date.is-unavailable:disabled { background:#fff0f2; color:#9f1239; border-color:#dda2b0; }
html[data-theme="light"] .calendar-date.is-pending:disabled { color:#626873; }
html[data-theme="light"] .calendar-date.selected,html[data-theme="light"] .slot.selected { background:#292a2d !important; color:#fff !important; border-color:#826017 !important; }
html[data-theme="light"] .booking-progress span[aria-current="step"] { color:#202328; }
html[data-theme="light"] .calendar-date:focus-visible,html[data-theme="light"] .calendar-arrow:focus-visible { outline-color:#202328; }
html[data-theme="light"] .logo,html[data-theme="light"] .logo-big,html[data-theme="light"] img[src$="/logo.png"] { filter:invert(1); }
html[data-theme="light"] .fc .fc-col-header-cell,html[data-theme="light"] .fc .fc-scrollgrid-section-header > *,html[data-theme="light"] .fc .fc-col-header,html[data-theme="light"] .fc .fc-timegrid-axis { background:#f3f4f5 !important; }
html[data-theme="light"] .fc .fc-col-header-cell-cushion,html[data-theme="light"] .fc .fc-timegrid-axis-cushion,html[data-theme="light"] .fc .fc-button { color:#202328 !important; }
html[data-theme="light"] .fc .fc-button { background:#fff !important; border-color:var(--line) !important; }
html[data-theme="light"] .fc .fc-event-main { color:#202328 !important; }
html[data-theme="light"] .badge.booked { color:#14532d; border-color:#7bbd96; }
html[data-theme="light"] .badge.cancelled,html[data-theme="light"] .badge.canceled { color:#9f1239; border-color:#dda2b0; }
html[data-theme="light"] .badge.done { color:#14532d; }
html[data-theme="light"] .mb-auth-card .text-gray-600,html[data-theme="light"] .mb-auth-card .text-gray-500,html[data-theme="light"] .mb-auth-card .text-gray-400 { color:#505761 !important; }
html[data-theme="light"] .mb-auth-card .text-red-600 { color:#9f1239 !important; }
html[data-theme="light"] .bg-gray-100,html[data-theme="light"] .bg-white,html[data-theme="light"] .bg-gray-50 { background-color:#fff !important; color:#202328; }
html[data-theme="light"] .text-gray-900,html[data-theme="light"] .text-gray-800,html[data-theme="light"] .text-gray-700,html[data-theme="light"] .text-gray-100 { color:#202328 !important; }
html[data-theme="light"] input[type="checkbox"],html[data-theme="light"] input[type="radio"] { accent-color:#826017; color:#826017 !important; }
html[data-theme="light"] input[type="checkbox"]:checked,html[data-theme="light"] input[type="radio"]:checked { background-color:#826017 !important; border-color:#826017 !important; }
html[data-theme="dark"] .bg-gray-100,html[data-theme="dark"] .bg-white,html[data-theme="dark"] .bg-gray-50 { background-color:#1b1b1e !important; color:#fff; }
html[data-theme="dark"] .text-gray-900,html[data-theme="dark"] .text-gray-800,html[data-theme="dark"] .text-gray-700 { color:#e9eef5 !important; }
html[data-theme="dark"] .mb-auth-card .text-gray-600,html[data-theme="dark"] .mb-auth-card .text-gray-500,html[data-theme="dark"] .mb-auth-card .text-gray-400 { color:#bcc2ca !important; }
@media(max-width:640px) {
  html[data-theme] body[data-booking-step="2"] .header,html[data-theme] body[data-booking-step="3"] .header { flex-wrap:nowrap; }
  html[data-theme] body[data-booking-step="2"] .header .brand,html[data-theme] body[data-booking-step="3"] .header .brand { flex:1 1 0;min-width:0; }
  .mb-lang + .min-h-screen { padding-top:76px; }
  .theme-toggle { touch-action:manipulation; }
  body[data-booking-step="2"] #langIT,body[data-booking-step="2"] #langEN,body[data-booking-step="3"] #langIT,body[data-booking-step="3"] #langEN { width:34px; min-height:44px; padding:0; }
}
@media(max-width:380px) {
  html[data-theme] body[data-booking-step="2"] .header,html[data-theme] body[data-booking-step="3"] .header { column-gap:6px; }
  html[data-theme] body[data-booking-step="2"] .brand .logo-big,html[data-theme] body[data-booking-step="3"] .brand .logo-big { width:72px; height:32px; }
  body[data-booking-step="2"] .header > a,body[data-booking-step="3"] .header > a { padding:10px; font-size:13px; }
}
