/* ─── DGBooking Frontend — v1.0.0-beta ─────────────────────────────────────── */

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

:root {
  --f-bg:         #f4f8fb;
  --f-surface:    #ffffff;
  --f-primary:    #0069A7;
  --f-primary-h:  #4989BA;
  --f-accent:     #36A9E1;
  --f-accent-h:   #1a8fc7;
  --f-text:       #53575A;
  --f-muted:      #6b7280;
  --f-border:     #dce8f0;
  --f-earth:      #4989BA;
  --radius-sm:    4px;
  --radius:       8px;
  --radius-lg:    16px;
  --shadow-sm:    0 1px 4px rgba(0,0,0,.06);
  --shadow:       0 4px 20px rgba(0,0,0,.10);
  --shadow-lg:    0 12px 48px rgba(0,0,0,.14);
  --max-w:        1140px;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'Inter', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--f-bg);
  color: var(--f-text);
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

/* ── Layout ──────────────────────────────────────────────────────────────── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.section { padding: 72px 0; }
.section-sm { padding: 40px 0; }

/* ── Typography ──────────────────────────────────────────────────────────── */
.display { font-family: var(--font-display); font-weight: 700; line-height: 1.15; }
.h1 { font-family: var(--font-display); font-size: clamp(2rem,4vw,3.2rem); font-weight: 700; line-height: 1.15; }
.h2 { font-family: var(--font-display); font-size: clamp(1.5rem,3vw,2.2rem); font-weight: 600; line-height: 1.25; }
.h3 { font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; }
.eyebrow { font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--f-accent); }
.lead { font-size: 1.1rem; color: var(--f-muted); line-height: 1.75; }
.text-muted { color: var(--f-muted); }

/* ── Buttons ─────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  padding: 11px 24px; border-radius: var(--radius); font-weight: 600; font-size: 14px;
  cursor: pointer; border: none; text-decoration: none; transition: all .18s ease;
  font-family: var(--font-body); letter-spacing: .01em;
}
.btn-primary {
  background: var(--f-primary); color: #fff;
  box-shadow: 0 2px 8px rgba(26,58,46,.25);
}
.btn-primary:hover { background: var(--f-primary-h); transform: translateY(-1px); box-shadow: 0 4px 14px rgba(0,105,167,.3); }
.btn-accent {
  background: var(--f-accent); color: #fff;
  box-shadow: 0 2px 8px rgba(54,169,225,.3);
}
.btn-accent:hover { background: var(--f-accent-h); transform: translateY(-1px); }
.btn-outline {
  background: transparent; color: var(--f-primary);
  border: 1.5px solid var(--f-primary);
}
.btn-outline:hover { background: var(--f-primary); color: #fff; }
.btn-lg { padding: 14px 32px; font-size: 15px; }
.btn-full { width: 100%; }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none !important; }

/* ── Nav ─────────────────────────────────────────────────────────────────── */
.site-nav {
  position: sticky; top: 0; z-index: 100;
  background: var(--f-nav-bg, rgba(247,243,238,.95));
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--f-border);
}
.nav-inner {
  max-width: var(--max-w); margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between; height: 68px;
}
.nav-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.nav-brand img { height: 36px; width: auto; }
.nav-brand-name { font-family: var(--font-display); font-size: 1.2rem; font-weight: 700; color: var(--f-primary); }
.nav-links { display: flex; gap: 32px; align-items: center; list-style: none; }
.nav-links a { font-size: 14px; font-weight: 500; color: var(--f-muted); text-decoration: none; transition: color .15s; }
.nav-links a:hover, .nav-links a.active { color: var(--f-primary); }
.nav-actions { display: flex; gap: 10px; align-items: center; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 4px; }

/* ── Hero ────────────────────────────────────────────────────────────────── */
.hero {
  position: relative; background: var(--f-primary);
  min-height: 520px; display: flex; align-items: flex-end; overflow: hidden;
}
.hero-img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: .55;
}
.hero-grad {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(26,58,46,.1) 0%, rgba(26,58,46,.65) 100%);
}
.hero-content { position: relative; z-index: 1; padding: 64px 0 80px; }
.hero-content .container { }
.hero h1 { color: #fff; margin-bottom: 14px; }
.hero p { color: rgba(255,255,255,.82); font-size: 1.1rem; max-width: 540px; }

/* ── Search / Filter bar ─────────────────────────────────────────────────── */
.search-bar {
  background: var(--f-surface); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); padding: 18px 24px;
  display: flex; gap: 12px; align-items: flex-end; flex-wrap: wrap;
  margin-top: -40px; position: relative; z-index: 2;
}
.search-field { display: flex; flex-direction: column; gap: 5px; flex: 1; min-width: 130px; }
.search-field label { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--f-muted); }
.search-field select,
.search-field input {
  border: 1.5px solid var(--f-border); border-radius: var(--radius-sm);
  padding: 9px 12px; font-size: 14px; font-family: var(--font-body);
  background: var(--f-bg); color: var(--f-text); outline: none; transition: border .15s;
}
.search-field select:focus,
.search-field input:focus { border-color: var(--f-primary); }
.search-divider { width: 1px; background: var(--f-border); align-self: stretch; margin: 4px 0; }

/* ── Property Card ───────────────────────────────────────────────────────── */
.properties-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 28px;
}
.prop-card {
  background: var(--f-surface); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-sm); transition: box-shadow .2s, transform .2s;
  text-decoration: none; color: var(--f-text); display: flex; flex-direction: column;
}
.prop-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.prop-thumb {
  position: relative; height: 220px; overflow: hidden; background: var(--f-border);
}
.prop-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.prop-card:hover .prop-thumb img { transform: scale(1.04); }
.prop-thumb-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 48px; background: #e8e3dc; }
.prop-badge {
  position: absolute; top: 14px; left: 14px;
  background: var(--f-primary); color: #fff;
  font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 20px;
}
.prop-price-tag {
  position: absolute; bottom: 14px; right: 14px;
  background: rgba(255,255,255,.95); border-radius: var(--radius-sm);
  padding: 5px 10px; font-size: 13px; font-weight: 700; color: var(--f-primary);
}
.prop-body { padding: 20px 22px; flex: 1; display: flex; flex-direction: column; gap: 10px; }
.prop-name { font-family: var(--font-display); font-size: 1.1rem; font-weight: 600; line-height: 1.3; }
.prop-location { font-size: 13px; color: var(--f-muted); display: flex; align-items: center; gap: 5px; }
.prop-meta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: auto; padding-top: 12px; border-top: 1px solid var(--f-border); }
.prop-meta-item { font-size: 12.5px; color: var(--f-muted); display: flex; align-items: center; gap: 5px; font-weight: 500; }

/* ── Property Detail ─────────────────────────────────────────────────────── */
.detail-hero { position: relative; height: 480px; overflow: hidden; }
.detail-hero img { width: 100%; height: 100%; object-fit: cover; }
.detail-hero-overlay { position: absolute; inset: 0; background: linear-gradient(to bottom, transparent 40%, rgba(26,58,46,.5)); }
.gallery-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3px; height: 480px; }
.gallery-grid .gallery-main { grid-row: 1/3; }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; cursor: pointer; transition: opacity .15s; }
.gallery-grid img:hover { opacity: .9; }
.gallery-more { position: relative; }
.gallery-more::after {
  content: attr(data-more); position: absolute; inset: 0;
  background: rgba(26,58,46,.65); color: #fff; display: flex;
  align-items: center; justify-content: center; font-size: 1.3rem; font-weight: 700;
  cursor: pointer;
}

/* Floating booking card */
.detail-layout { display: grid; grid-template-columns: 1fr 380px; gap: 48px; align-items: start; }
.booking-card {
  position: sticky; top: 88px;
  background: var(--f-surface); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); overflow: hidden;
}
.booking-card-head {
  background: var(--f-primary); padding: 20px 24px; color: #fff;
}
.booking-card-head .price { font-family: var(--font-display); font-size: 1.8rem; font-weight: 700; }
.booking-card-head .price-unit { font-size: 13px; opacity: .75; }
.booking-card-body { padding: 20px 24px; display: flex; flex-direction: column; gap: 14px; }
.booking-field { display: flex; flex-direction: column; gap: 5px; }
.booking-field label { font-size: 11.5px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--f-muted); }
.booking-field input,
.booking-field select {
  border: 1.5px solid var(--f-border); border-radius: var(--radius-sm);
  padding: 10px 13px; font-size: 14px; font-family: var(--font-body);
  background: var(--f-bg); outline: none; transition: border .15s; width: 100%;
}
.booking-field input:focus,
.booking-field select:focus { border-color: var(--f-primary); background: #fff; }
.booking-dates { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.booking-summary {
  background: var(--f-bg); border-radius: var(--radius-sm);
  padding: 14px; font-size: 13.5px;
}
.booking-summary-row { display: flex; justify-content: space-between; margin-bottom: 6px; }
.booking-summary-row:last-child { margin-bottom: 0; border-top: 1px solid var(--f-border); padding-top: 8px; font-weight: 700; }
.booking-avail { padding: 10px 13px; border-radius: var(--radius-sm); font-size: 13px; font-weight: 600; text-align: center; }
.booking-avail.ok   { background: #d4edda; color: #155724; }
.booking-avail.warn { background: #fff3cd; color: #856404; }
.booking-avail.err  { background: #f8d7da; color: #721c24; }
.booking-gdpr { display: flex; gap: 10px; align-items: flex-start; font-size: 12.5px; color: var(--f-muted); line-height: 1.5; }
.booking-gdpr input { margin-top: 2px; flex-shrink: 0; }

/* Amenity & rule chips */
.amenity-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.amenity-chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px; border-radius: 20px;
  background: var(--f-bg); border: 1px solid var(--f-border);
  font-size: 13px; font-weight: 500;
}
.rules-list { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.rules-list li { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.rules-list li::before { content: '—'; color: var(--f-accent); font-weight: 700; }

/* Specs table */
.specs-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 1px; background: var(--f-border); border: 1px solid var(--f-border); border-radius: var(--radius); overflow: hidden; }
.spec-item { background: var(--f-surface); padding: 16px 18px; }
.spec-label { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--f-muted); font-weight: 600; margin-bottom: 4px; }
.spec-value { font-size: 1.05rem; font-weight: 700; color: var(--f-primary); font-family: var(--font-display); }

/* ── Auth Modal ──────────────────────────────────────────────────────────── */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,.5);
  z-index: 500; display: flex; align-items: center; justify-content: center;
  padding: 20px; opacity: 0; pointer-events: none; transition: opacity .2s;
}
.modal-overlay.open { opacity: 1; pointer-events: all; }
.modal-box {
  background: var(--f-surface); border-radius: var(--radius-lg);
  width: 100%; max-width: 420px; box-shadow: var(--shadow-lg);
  overflow: hidden; transform: translateY(12px); transition: transform .2s;
}
.modal-overlay.open .modal-box { transform: translateY(0); }
.modal-head { background: var(--f-primary); padding: 24px 28px; color: #fff; }
.modal-head h2 { font-family: var(--font-display); font-size: 1.3rem; }
.modal-head p { font-size: 13px; opacity: .75; margin-top: 4px; }
.modal-body { padding: 24px 28px; display: flex; flex-direction: column; gap: 16px; }
.modal-field { display: flex; flex-direction: column; gap: 5px; }
.modal-field label { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--f-muted); }
.modal-field input {
  border: 1.5px solid var(--f-border); border-radius: var(--radius-sm);
  padding: 10px 13px; font-size: 14px; width: 100%; outline: none; transition: border .15s;
  font-family: var(--font-body);
}
.modal-field input:focus { border-color: var(--f-primary); }
.modal-footer { padding: 0 28px 24px; display: flex; flex-direction: column; gap: 10px; }
.modal-switch { font-size: 13px; color: var(--f-muted); text-align: center; }
.modal-switch a { color: var(--f-primary); font-weight: 600; cursor: pointer; }
.user-chip { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--f-primary); }
.user-avatar {
  width: 32px; height: 32px; border-radius: 50%; background: var(--f-primary);
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700; flex-shrink: 0;
}

/* ── Contact page ────────────────────────────────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.contact-info { display: flex; flex-direction: column; gap: 28px; }
.contact-item { display: flex; gap: 14px; }
.contact-icon { width: 44px; height: 44px; border-radius: var(--radius); background: var(--f-primary); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0; }
.contact-item-text h4 { font-weight: 600; margin-bottom: 3px; }
.contact-item-text p, .contact-item-text a { color: var(--f-muted); text-decoration: none; font-size: 14px; }
.contact-item-text a:hover { color: var(--f-primary); }
.contact-form { background: var(--f-surface); border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 16px; }
.contact-form input,
.contact-form textarea {
  border: 1.5px solid var(--f-border); border-radius: var(--radius-sm);
  padding: 10px 13px; font-size: 14px; width: 100%; outline: none;
  transition: border .15s; font-family: var(--font-body); resize: vertical;
}
.contact-form input:focus,
.contact-form textarea:focus { border-color: var(--f-primary); }
.contact-form label { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--f-muted); display: block; margin-bottom: 5px; }
.map-embed { border-radius: var(--radius-lg); overflow: hidden; height: 280px; background: var(--f-border); margin-top: 24px; }
.map-embed iframe { width: 100%; height: 100%; border: none; }

/* ── Conditions page ─────────────────────────────────────────────────────── */
.conditions-content { max-width: 740px; margin: 0 auto; }
.conditions-content p { margin-bottom: 14px; line-height: 1.8; }
.conditions-content h2 { margin: 32px 0 12px; }
.conditions-content h3 { margin: 24px 0 8px; }
.conditions-content ul, .conditions-content ol { padding-left: 22px; margin-bottom: 14px; }
.conditions-content li { margin-bottom: 6px; line-height: 1.7; }

/* ── Footer ──────────────────────────────────────────────────────────────── */
.site-footer { background: var(--f-primary); color: rgba(255,255,255,.8); padding: 56px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; margin-bottom: 40px; }
.footer-brand img { height: 36px; margin-bottom: 14px; filter: brightness(10); }
.footer-brand-name { font-family: var(--font-display); color: #fff; font-size: 1.1rem; font-weight: 700; margin-bottom: 10px; }
.footer-desc { font-size: 13.5px; line-height: 1.7; max-width: 280px; }
.footer-col h4 { color: #fff; font-weight: 600; font-size: 13px; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 14px; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-links a { font-size: 13.5px; text-decoration: none; color: rgba(255,255,255,.7); transition: color .15s; }
.footer-links a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding-top: 24px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; font-size: 12.5px; color: rgba(255,255,255,.5); }
.footer-bottom a { color: rgba(255,255,255,.6); }

/* ── Flash messages ──────────────────────────────────────────────────────── */
.f-flash { padding: 12px 18px; border-radius: var(--radius-sm); font-size: 14px; font-weight: 500; margin-bottom: 16px; }
.f-flash-success { background: #d4edda; color: #155724; border-left: 4px solid #28a745; }
.f-flash-error   { background: #f8d7da; color: #721c24; border-left: 4px solid #dc3545; }

/* ── Breadcrumb ──────────────────────────────────────────────────────────── */
.breadcrumb { display: flex; gap: 8px; align-items: center; font-size: 13px; color: var(--f-muted); flex-wrap: wrap; }
.breadcrumb a { color: var(--f-muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--f-primary); }
.breadcrumb-sep { opacity: .4; }

/* ── Lightbox ────────────────────────────────────────────────────────────── */
.lightbox {
  position: fixed; inset: 0; background: rgba(0,0,0,.92);
  z-index: 600; display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity .2s;
}
.lightbox.open { opacity: 1; pointer-events: all; }
.lightbox-img { max-width: 90vw; max-height: 85vh; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.lightbox-close { position: absolute; top: 20px; right: 24px; background: none; border: none; color: #fff; font-size: 28px; cursor: pointer; opacity: .7; }
.lightbox-close:hover { opacity: 1; }
.lightbox-nav { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,.15); border: none; color: #fff; font-size: 24px; padding: 12px 18px; cursor: pointer; border-radius: var(--radius-sm); transition: background .15s; }
.lightbox-nav:hover { background: rgba(255,255,255,.25); }
.lightbox-prev { left: 16px; }
.lightbox-next { right: 16px; }

/* ── Loading spinner ─────────────────────────────────────────────────────── */
.spinner { width: 22px; height: 22px; border: 2.5px solid rgba(255,255,255,.3); border-top-color: #fff; border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ── Responsive ──────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .detail-layout { grid-template-columns: 1fr; }
  .booking-card { position: static; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid { height: 300px; }
}
/* Mobile-only nav items hidden on desktop */
.nav-mobile-only { display: none !important; }

@media (max-width: 768px) {
  /* Show hamburger, hide desktop nav links */
  .nav-links { display: none; }
  .nav-toggle { display: flex !important; }

  /* Hide desktop auth buttons and lang switcher from nav-actions bar */
  .nav-auth-desktop { display: none !important; }
  /* Hide the desktop lang switcher (the div before nav-toggle) */
  .nav-actions > div:not(:last-child) { display: none !important; }

  /* Show mobile-only items when nav is open */
  .nav-links.open .nav-mobile-only { display: flex !important; }
}

@media (max-width: 640px) {
  .properties-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero { min-height: 380px; }
  .booking-dates { grid-template-columns: 1fr; }
  .specs-grid { grid-template-columns: 1fr 1fr; }

  /* Search bar: stack vertically with full-width fields */
  .search-bar {
    flex-direction: column;
    padding: 16px;
    gap: 12px;
    margin-top: -24px;
  }
  .search-field {
    width: 100%;
    flex: none;
    min-width: unset;
  }
  .search-field select,
  .search-field input {
    width: 100%;
    font-size: 15px;
    padding: 11px 14px;
  }
  .search-divider { display: none; }
  .search-bar .btn {
    width: 100%;
    padding: 12px;
    font-size: 15px;
    margin-top: 4px;
  }
}

/* ── Availability Calendar ───────────────────────────────────────────────── */
/* Flatpickr booked-date colour overrides */
.flatpickr-day.flatpickr-disabled[style*="ffe8cc"],
.flatpickr-day[style*="ffe8cc"]:hover { opacity: .85 !important; cursor: not-allowed !important; }
.flatpickr-day[style*="d4edda"]:hover { filter: brightness(.95); }
.avail-cal {
  background: var(--f-surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
  margin-top: 20px;
}
.avail-cal-head {
  background: var(--f-primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
}
.avail-cal-head h3 { font-family: var(--font-display); font-size: 1rem; font-weight: 600; margin: 0; }
.avail-cal-nav {
  background: rgba(255,255,255,.15);
  border: none; color: #fff; cursor: pointer;
  width: 30px; height: 30px; border-radius: 50%;
  font-size: 16px; display: flex; align-items: center; justify-content: center;
  transition: background .15s;
}
.avail-cal-nav:hover { background: rgba(255,255,255,.28); }
.avail-cal-grid {
  padding: 14px 16px 18px;
}
.avail-cal-dow {
  display: grid; grid-template-columns: repeat(7,1fr);
  margin-bottom: 6px;
}
.avail-cal-dow span {
  text-align: center; font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .05em;
  color: var(--f-muted); padding: 4px 0;
}
.avail-cal-days {
  display: grid; grid-template-columns: repeat(7,1fr); gap: 3px;
}
.avail-cal-day {
  aspect-ratio: 1; display: flex; align-items: center; justify-content: center;
  border-radius: 6px; font-size: 13px; font-weight: 500;
  position: relative;
}
.avail-cal-day.empty       { background: transparent; }
.avail-cal-day.available   { background: #d4edda; color: #155724; }
.avail-cal-day.booked      { background: #ffe8cc; color: #7c4a00; }
.avail-cal-day.blocked     { background: #ffe8cc; color: #7c4a00; opacity: .7; }
.avail-cal-day.past        { background: #f3f4f6; color: #bbb; }
.avail-cal-day.today       { outline: 2px solid var(--f-primary); }
.avail-cal-legend {
  display: flex; gap: 14px; padding: 0 16px 14px; flex-wrap: wrap;
}
.avail-cal-legend-item {
  display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--f-muted);
}
.avail-cal-legend-dot {
  width: 12px; height: 12px; border-radius: 3px; flex-shrink: 0;
}
.avail-cal-loading {
  text-align: center; padding: 32px; color: var(--f-muted); font-size: 14px;
}
