/* === Booking Page === */

.booking-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 40px;
    align-items: start;
}

/* Calendar Panel */
.booking-calendar-panel {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 30px;
    box-shadow: var(--shadow);
}

.booking-calendar-panel h2 {
    font-size: 1.4rem;
    margin-bottom: 20px;
}

.calendar-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
}

.cal-nav-btn {
    background: none;
    border: 1px solid #ddd;
    border-radius: var(--radius);
    width: 36px;
    height: 36px;
    font-size: 1.3rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text);
    transition: all var(--transition);
}
.cal-nav-btn:hover { border-color: var(--emerald); color: var(--emerald); }

.cal-month-label {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 600;
}

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

.cal-header {
    text-align: center;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-light);
    padding: 8px 0;
    text-transform: uppercase;
}

.cal-day {
    text-align: center;
    padding: 10px 4px;
    border-radius: var(--radius);
    cursor: pointer;
    font-size: 0.95rem;
    transition: all var(--transition);
    position: relative;
}

.cal-day:hover:not(.unavailable):not(.empty) {
    background: #e8f5e9;
}

.cal-day.unavailable {
    color: #ccc;
    cursor: not-allowed;
    text-decoration: line-through;
}

.cal-day.empty {
    cursor: default;
}

.cal-day.today {
    font-weight: 700;
}
.cal-day.today::after {
    content: '';
    position: absolute;
    bottom: 3px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--emerald);
}

.cal-day.selected {
    background: var(--emerald);
    color: var(--white);
    font-weight: 600;
}

.cal-day.in-range {
    background: #c8e6c9;
    color: var(--text);
}

.calendar-legend {
    display: flex;
    gap: 20px;
    margin-top: 15px;
    justify-content: center;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    color: var(--text-light);
}

.legend-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
}
.legend-dot.available { background: #e8f5e9; border: 1px solid #a5d6a7; }
.legend-dot.unavailable { background: #eee; border: 1px solid #ccc; }
.legend-dot.selected { background: var(--emerald); }

/* Details Panel */
.booking-details-panel {
    position: sticky;
    top: 84px;
}

.selected-dates, .guest-count, .quote-panel, .booking-cta {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 20px;
    box-shadow: var(--shadow);
    margin-bottom: 15px;
}

.selected-dates h3, .quote-panel h3 {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: var(--emerald-dark);
}

.date-display {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 10px;
}

.date-item { text-align: center; }
.date-label { display: block; font-size: 0.8rem; color: var(--text-light); text-transform: uppercase; }
.date-value { display: block; font-size: 1rem; font-weight: 600; margin-top: 4px; }

.guest-count label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
}
.guest-count select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: var(--radius);
    font-size: 1rem;
    font-family: var(--font-body);
}

.quote-line {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 0.95rem;
}
.quote-total {
    font-weight: 700;
    font-size: 1.1rem;
    border-top: 2px solid var(--emerald);
    margin-top: 8px;
    padding-top: 12px;
}

.quote-savings {
    background: #e8f5e9;
    color: var(--emerald-dark);
    padding: 10px;
    border-radius: var(--radius);
    font-size: 0.9rem;
    text-align: center;
    margin-top: 12px;
    font-weight: 500;
}

.quote-loading {
    text-align: center;
    color: var(--text-light);
    padding: 20px;
}

.booking-cta .cta-note {
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-light);
    margin-top: 8px;
}

.booking-placeholder {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 30px;
    box-shadow: var(--shadow);
    text-align: center;
    color: var(--text-light);
}

/* Responsive */
@media (max-width: 768px) {
    .booking-layout {
        grid-template-columns: 1fr;
    }
    .booking-details-panel {
        position: static;
    }
}
