/* ============================================
   Webüzemeltetés.hu — Booking calendar + flow
   Premium SaaS look (matches portal.css)
   ============================================ */

.booking-section {
    padding: 3rem 0 5rem;
    background: var(--bg-secondary);
    min-height: 60vh;
}

.booking-alert {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    font-size: 0.9375rem;
}
.booking-alert-error {
    background: rgba(220, 38, 38, 0.07);
    border: 1px solid rgba(220, 38, 38, 0.18);
    color: #b91c1c;
}
.booking-alert i { flex-shrink: 0; font-size: 1.125rem; }

.booking-muted { color: var(--text-dark-secondary); }

/* ============== Booking 2-column layout ============== */
.booking-layout {
    display: grid;
    grid-template-columns: 28rem 1fr;
    gap: 1.25rem;
    max-width: 60rem;
    margin: 0 auto;
    align-items: start;
}

/* ============== Calendar widget (premium SaaS, compact) ============== */
.calendar-container {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow:
        0 1px 3px rgba(15, 23, 42, 0.04),
        0 14px 40px -10px rgba(15, 23, 42, 0.1);
}

.calendar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.25rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #f1f5f9;
}

.calendar-header h2 {
    margin: 0;
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--text-dark);
    text-transform: capitalize;
    line-height: 1.25;
}

.calendar-header p {
    display: none;
}

.calendar-nav {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    flex-shrink: 0;
}

.calendar-nav-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    padding: 0;
    border-radius: 8px;
    background: transparent;
    color: var(--text-dark-secondary);
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 600;
    transition: all 0.15s ease;
    border: 1px solid transparent;
}

.calendar-nav-btn:hover {
    background: rgba(63, 112, 173, 0.08);
    color: var(--accent-blue);
}

.calendar-nav-btn:first-child,
.calendar-nav-btn:last-child {
    border: 1px solid #e2e8f0;
}

.calendar-nav-btn:nth-child(2) {
    width: auto;
    padding: 0 0.75rem;
    background: rgba(63, 112, 173, 0.08);
    color: var(--accent-blue);
    margin: 0 0.125rem;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0.25rem;
}

.calendar-weekdays {
    margin-bottom: 0.5rem;
    gap: 0.25rem;
}

.calendar-weekday {
    text-align: center;
    font-size: 0.6875rem;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.25rem 0;
}

.calendar-day {
    aspect-ratio: 1 / 1;
    background: transparent;
    border: none;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #94a3b8;
    font-weight: 500;
    transition: all 0.15s ease;
    padding: 0;
    position: relative;
    min-height: 2.5rem;
    font-size: 0.875rem;
}

.calendar-day-empty {
    background: transparent;
}

.calendar-day-num {
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1;
}

.calendar-day-count {
    display: none; /* hidden — green dot below indicates availability */
}

.calendar-day-past {
    color: #e2e8f0;
}

.calendar-day-today {
    color: var(--text-dark);
    font-weight: 700;
}

.calendar-day-today .calendar-day-num {
    font-weight: 700;
}

/* Blue dot under today's date (matches legend "Mai nap") */
.calendar-day-today::after {
    content: '';
    position: absolute;
    bottom: 0.3125rem;
    left: 50%;
    transform: translateX(-50%);
    width: 0.3125rem;
    height: 0.3125rem;
    border-radius: 50%;
    background: var(--accent-blue);
}

/* Available day — clearly distinct (green dot + bold text + interactive background) */
a.calendar-day-available {
    cursor: pointer;
    color: var(--text-dark);
    font-weight: 700;
    background: rgba(16, 185, 129, 0.08);
}

a.calendar-day-available::after {
    content: '';
    position: absolute;
    bottom: 0.3125rem;
    left: 50%;
    transform: translateX(-50%);
    width: 0.3125rem;
    height: 0.3125rem;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4);
    transition: box-shadow 0.2s ease;
}

a.calendar-day-available:hover {
    background: rgba(16, 185, 129, 0.18);
    transform: scale(1.05);
}

a.calendar-day-available:hover::after {
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.18);
}

a.calendar-day-today.calendar-day-available {
    background: rgba(63, 112, 173, 0.10);
}

a.calendar-day-today.calendar-day-available::after {
    background: var(--accent-blue);
}

a.calendar-day-today.calendar-day-available:hover {
    background: rgba(63, 112, 173, 0.2);
}

a.calendar-day-today.calendar-day-available:hover::after {
    box-shadow: 0 0 0 4px rgba(63, 112, 173, 0.18);
}

a.calendar-day-selected,
a.calendar-day-selected:hover {
    background: linear-gradient(135deg, #3F70AD 0%, #2D5C95 100%);
    color: #fff;
    box-shadow: 0 8px 18px -4px rgba(45, 92, 149, 0.45);
    transform: scale(1.05);
}

a.calendar-day-selected::after,
a.calendar-day-selected:hover::after {
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.25);
}

.calendar-legend {
    display: flex;
    gap: 1rem;
    margin-top: 1.25rem;
    padding-top: 1rem;
    border-top: 1px solid #f1f5f9;
    font-size: 0.75rem;
    color: var(--text-dark-secondary);
    flex-wrap: wrap;
    justify-content: center;
}

.calendar-legend > div {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.legend-dot {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    display: inline-block;
}

.legend-dot-available {
    background: #10b981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.15);
}

.legend-dot-today {
    background: var(--accent-blue);
    box-shadow: 0 0 0 3px rgba(63, 112, 173, 0.15);
}

/* ============== Day slots panel (right column) ============== */
.day-slots {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow:
        0 1px 3px rgba(15, 23, 42, 0.04),
        0 14px 40px -10px rgba(15, 23, 42, 0.1);
    min-height: 100%;
    display: flex;
    flex-direction: column;
}

.day-slots h3 {
    margin: 0 0 1.25rem;
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--text-dark);
    text-transform: capitalize;
    padding-bottom: 0.875rem;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    line-height: 1.3;
}

.day-slots h3 span {
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-dark-secondary);
}

/* Empty state inside the right panel */
.day-slots-empty {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 1.5rem 1rem;
    color: var(--text-dark-secondary);
}

.day-slots-empty i {
    font-size: 1.75rem;
    color: #cbd5e1;
    margin-bottom: 0.75rem;
}

.day-slots-empty h3 {
    margin: 0 0 0.5rem;
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-dark);
    border: none;
    padding: 0;
    text-transform: none;
    display: block;
}

.day-slots-empty p {
    margin: 0;
    font-size: 0.8125rem;
    line-height: 1.5;
    max-width: 16rem;
}

.day-slots-empty-initial i {
    color: var(--accent-blue);
    opacity: 0.7;
}

.slot-pills {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(8.5rem, 1fr));
    gap: 0.75rem;
}

.slot-pill {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 1rem;
    background: rgba(63, 112, 173, 0.06);
    border: 1px solid rgba(63, 112, 173, 0.18);
    border-radius: 12px;
    text-decoration: none;
    color: var(--text-dark);
    transition: all 0.15s ease;
    text-align: center;
}

.slot-pill strong {
    font-size: 1.125rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 0.25rem;
}

.slot-pill span {
    font-size: 0.75rem;
    color: var(--text-dark-secondary);
}

.slot-pill:hover {
    background: var(--accent-blue);
    border-color: var(--accent-blue);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(45, 92, 149, 0.25);
}

.slot-pill:hover span {
    color: rgba(255, 255, 255, 0.85);
}

/* ============== Booking form (after slot picked) ============== */
.booking-grid {
    display: grid;
    grid-template-columns: 22rem 1fr;
    gap: 2rem;
    max-width: 56rem;
    margin: 0 auto;
    align-items: start;
}

/* ============== Premium booking slot card ============== */
.booking-slot-card {
    position: sticky;
    top: 6rem;
    background:
        radial-gradient(circle at top right, rgba(255,255,255,0.14), transparent 60%),
        linear-gradient(135deg, #3F70AD 0%, #2D5C95 100%);
    color: #fff;
    border-radius: 20px;
    padding: 1.5rem 1.5rem 1.25rem;
    box-shadow:
        0 1px 0 rgba(255,255,255,0.06) inset,
        0 14px 38px -6px rgba(45, 92, 149, 0.45);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* --- Step indicator at top --- */
.booking-slot-steps {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    margin-bottom: 1.5rem;
}
.booking-slot-step {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
}
.booking-slot-step-done { color: rgba(255, 255, 255, 0.95); }
.booking-slot-step-current { color: #fff; }
.booking-slot-step-dot {
    width: 1.375rem;
    height: 1.375rem;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.6875rem;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.20);
    color: rgba(255, 255, 255, 0.95);
}
.booking-slot-step-done .booking-slot-step-dot {
    background: #ffffff;
    color: #2D5C95;
    border-color: transparent;
    font-size: 0.625rem;
}
.booking-slot-step-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(to right, rgba(255,255,255,0.25), rgba(255,255,255,0.08));
}

/* --- Big date "leaf" --- */
.booking-slot-datebox {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 14px;
    padding: 1rem 1.25rem 1.125rem;
    text-align: center;
    margin-bottom: 1rem;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    position: relative;
    overflow: hidden;
}
.booking-slot-datebox::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255,255,255,0.06) 0%, transparent 40%);
    pointer-events: none;
}
.booking-slot-datebox-year {
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    color: rgba(255, 255, 255, 0.7);
    font-variant-numeric: tabular-nums;
    position: relative;
    margin-bottom: 0.0625rem;
}
.booking-slot-datebox-month {
    font-size: 0.8125rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    color: rgba(255, 255, 255, 0.92);
    margin-bottom: 0.25rem;
    position: relative;
}
.booking-slot-datebox-day {
    font-size: 3rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
    letter-spacing: -0.03em;
    font-variant-numeric: tabular-nums;
    margin-bottom: 0.25rem;
    position: relative;
}
.booking-slot-datebox-weekday {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.82);
    font-weight: 500;
    position: relative;
}

/* --- Huge time display --- */
.booking-slot-time {
    text-align: center;
    margin-bottom: 1.125rem;
}
.booking-slot-time-label {
    display: block;
    font-size: 0.625rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 0.375rem;
    text-transform: uppercase;
}
.booking-slot-time-display {
    display: inline-flex;
    align-items: baseline;
    gap: 0.625rem;
}
.booking-slot-time-display strong,
.booking-slot-time-sep {
    font-size: 2.25rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #fff;
    font-variant-numeric: tabular-nums;
    line-height: 1;
}
.booking-slot-time-sep {
    color: rgba(255, 255, 255, 0.7);
}

/* --- Info chips (Hossz / Díj) --- */
.booking-slot-chips {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    margin-bottom: 1rem;
}
.booking-slot-chip {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.6875rem 0.75rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    transition: background 0.2s ease, border-color 0.2s ease;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}
.booking-slot-chip:hover {
    background: rgba(255, 255, 255, 0.10);
    border-color: rgba(255, 255, 255, 0.22);
}
.booking-slot-chip-icon {
    width: 1.875rem;
    height: 1.875rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    flex-shrink: 0;
    border: 1px solid rgba(255, 255, 255, 0.10);
}
.booking-slot-chip-body {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
    min-width: 0;
}
.booking-slot-chip-label {
    font-size: 0.6125rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
}
.booking-slot-chip-value {
    font-size: 0.875rem;
    font-weight: 700;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* --- "Másik időpont választása" link --- */
.booking-change-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    padding: 0.75rem 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    margin-top: auto;
    transition: color 0.15s ease, background 0.15s ease;
    border-radius: 0 0 12px 12px;
    margin-left: -1.5rem;
    margin-right: -1.5rem;
    margin-bottom: -1.25rem;
    padding-bottom: 1.125rem;
}
.booking-change-link i {
    font-size: 0.75rem;
    transition: transform 0.2s ease;
}
.booking-change-link:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.06);
}
.booking-change-link:hover i {
    transform: translateX(-3px);
}

/* Mobile: tighter padding, stacked chips on very small screens */
@media (max-width: 360px) {
    .booking-slot-chips {
        grid-template-columns: 1fr;
    }
}

.booking-form {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    padding: 2rem;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

.booking-form h2 {
    margin: 0 0 0.375rem;
    font-size: 1.375rem;
    font-weight: 800;
}

.booking-form-hint {
    margin: 0 0 1.5rem;
    color: var(--text-dark-secondary);
    font-size: 0.875rem;
}

.booking-field {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.booking-field > span {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-dark-secondary);
}

.booking-field em {
    color: #dc2626;
    font-style: normal;
}

.booking-field input,
.booking-field textarea {
    width: 100%;
    padding: 0.75rem 0.875rem;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    font-size: 0.9375rem;
    font-family: inherit;
    background: #fff;
    color: var(--text-dark);
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
    box-sizing: border-box;
}

.booking-field input:focus,
.booking-field textarea:focus {
    outline: none;
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 4px rgba(45, 92, 149, 0.12);
}

.booking-field textarea {
    resize: vertical;
    min-height: 6rem;
}

.booking-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    margin-top: 0.5rem;
    padding: 0.95rem 1.25rem;
    background: linear-gradient(135deg, #3F70AD 0%, #2D5C95 100%);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 0.9375rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 8px 22px rgba(45, 92, 149, 0.25);
    font-family: inherit;
}

.booking-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(45, 92, 149, 0.35);
}

.booking-submit i {
    transition: transform 0.2s ease;
}

.booking-submit:hover i {
    transform: translateX(3px);
}

.booking-form-disclaimer {
    margin-top: 1rem;
    font-size: 0.75rem;
    color: var(--text-dark-secondary);
    text-align: center;
}

.booking-form-disclaimer a {
    color: var(--accent-blue);
    text-decoration: none;
    font-weight: 600;
}

/* ============== Success view ============== */
.booking-success {
    max-width: 36rem;
    margin: 0 auto;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    padding: 2.5rem 2rem;
    text-align: center;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

.booking-success-icon {
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    background: rgba(22, 163, 74, 0.12);
    color: #15803d;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 1.25rem;
}

.booking-success h2 {
    margin: 0 0 0.625rem;
    font-size: 1.625rem;
    font-weight: 800;
}

.booking-success p {
    margin: 0 0 1rem;
    color: var(--text-dark-secondary);
}

.booking-success-hint {
    font-size: 0.8125rem;
    color: var(--text-dark-secondary);
    margin: 1.25rem 0 1.5rem !important;
}

.booking-summary {
    background: #f8fafc;
    border-radius: 12px;
    padding: 1rem 1.25rem;
    margin: 1.5rem 0;
    text-align: left;
}

.booking-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 1rem;
    padding: 0.625rem 0;
    border-bottom: 1px solid #e2e8f0;
}

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

.booking-summary-row span {
    font-size: 0.8125rem;
    color: var(--text-dark-secondary);
}

.booking-summary-row strong {
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--text-dark);
    text-align: right;
    text-transform: capitalize;
}

/* ============== Empty state ============== */
.booking-empty {
    max-width: 32rem;
    margin: 2rem auto 0;
    text-align: center;
    padding: 2.5rem 1.5rem;
    background: #fff;
    border-radius: 18px;
    border: 1px dashed #cbd5e1;
}

.booking-empty i {
    font-size: 2.5rem;
    color: #cbd5e1;
    margin-bottom: 1rem;
}

.booking-empty h3 {
    margin: 0 0 0.5rem;
    font-size: 1.125rem;
}

.booking-empty p {
    margin: 0;
    color: var(--text-dark-secondary);
}

.booking-empty a {
    color: var(--accent-blue);
    font-weight: 600;
}

/* ============== Cancellation page additions ============== */
.portal-card-wide {
    max-width: 32rem;
    text-align: center;
}

.cancel-icon {
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 1.25rem;
}

.cancel-icon-success { background: rgba(22, 163, 74, 0.12); color: #15803d; }
.cancel-icon-warning { background: rgba(217, 119, 6, 0.12); color: #b45309; }
.cancel-icon-error   { background: rgba(220, 38, 38, 0.12); color: #b91c1c; }
.cancel-icon-muted   { background: #f1f5f9; color: #64748b; }

.portal-card-wide h1 {
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0 0 0.75rem;
}

.cancel-text {
    color: var(--text-dark-secondary);
    font-size: 0.9375rem;
    line-height: 1.6;
    margin: 0 0 1.5rem;
}

.cancel-actions {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
    margin-top: 1.5rem;
}

.portal-btn-danger {
    background: #dc2626;
    color: #fff;
    box-shadow: 0 6px 16px rgba(220, 38, 38, 0.25);
}

.portal-btn-danger:hover:not(:disabled) {
    background: #b91c1c;
    transform: translateY(-1px);
    box-shadow: 0 10px 22px rgba(220, 38, 38, 0.35);
}

/* ============== Admin section title (used in admin/consultations) ============== */
.admin-section-title {
    font-size: 1rem;
    font-weight: 700;
    margin: 2rem 0 1rem;
    color: #334155;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.admin-pill {
    display: inline-flex;
    align-items: center;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}
.admin-pill-success { background: rgba(22, 163, 74, 0.12); color: #15803d; }
.admin-pill-info    { background: rgba(45, 92, 149, 0.12); color: #1f4a7e; }
.admin-pill-muted   { background: #f1f5f9; color: #64748b; }

/* ============== Mobile ============== */
@media (max-width: 800px) {
    .booking-layout {
        grid-template-columns: 1fr;
        gap: 1rem;
        max-width: 30rem;
    }
    .booking-grid {
        grid-template-columns: 1fr;
    }
    .booking-slot-card {
        position: static;
    }
    .calendar-container,
    .day-slots {
        padding: 1.25rem;
        max-width: 100%;
    }
    .day-slots {
        min-height: auto;
    }
    .calendar-header h2 {
        font-size: 1rem;
    }
    .calendar-day {
        min-height: 2.25rem;
    }
    .calendar-day-num {
        font-size: 0.8125rem;
    }
    a.calendar-day-available::after {
        bottom: 0.25rem;
        width: 0.25rem;
        height: 0.25rem;
    }
    /* On mobile, no point showing the "select a day" empty state — slots appear below calendar */
    .day-slots-empty-initial {
        padding: 0.75rem;
    }
    .day-slots-empty-initial i {
        font-size: 1.25rem;
        margin-bottom: 0.5rem;
    }
}

@media (max-width: 480px) {
    .booking-section {
        padding: 2rem 0 3rem;
    }
    .calendar-container {
        padding: 1rem;
        border-radius: 16px;
    }
    .calendar-grid {
        gap: 0.125rem;
    }
    .calendar-day {
        min-height: 2.25rem;
        padding: 0;
    }
    .calendar-day-num {
        font-size: 0.8125rem;
    }
    .booking-form {
        padding: 1.25rem;
    }
    .slot-pills {
        grid-template-columns: repeat(auto-fill, minmax(7rem, 1fr));
        gap: 0.5rem;
    }
}
