/* =============================================
   LOTLY BOOKING PAGE — demo.css
   ============================================= */

.demo-page {
    font-family: 'Outfit', sans-serif;
}

/* Booking Widget Container */
.booking-widget {
    background: #fff;
    border: 1px solid #E5E7EB;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

/* Step containers */
.booking-step {
    min-height: 420px;
}

/* =============================================
   CALENDAR COLUMN
   ============================================= */

.booking-calendar-col {
    padding: 24px;
    border-right: 1px solid #F0F0F0;
}

.booking-section-header {
    padding-bottom: 16px;
}

.booking-month-title {
    font-weight: 700;
    color: #1A1A2E;
    font-size: 1rem;
    font-family: 'Outfit', sans-serif;
}

.booking-nav-btn {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    border: 1px solid #E5E7EB;
    color: #6B7280;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: all 0.15s;
    background: #fff;
}

.booking-nav-btn:hover {
    border-color: #FEA327;
    color: #FEA327;
    background: #FFF8ED;
}

/* Calendar Grid */
.booking-calendar {
    user-select: none;
}

.booking-cal-header {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    margin-bottom: 4px;
}

.booking-cal-header span {
    text-align: center;
    font-size: 0.6875rem;
    font-weight: 600;
    color: #9CA3AF;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 8px 0;
}

.booking-cal-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 2px;
}

.booking-cal-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8125rem;
    font-weight: 500;
    border-radius: 10px;
    cursor: default;
    color: #D1D5DB;
    transition: all 0.12s;
}

.booking-cal-day.available {
    color: #1A1A2E;
    cursor: pointer;
    font-weight: 600;
}

.booking-cal-day.available:hover {
    background: #FFF8ED;
    color: #FEA327;
}

.booking-cal-day.selected {
    background: #FEA327;
    color: #fff;
    font-weight: 700;
}

.booking-cal-day.today {
    position: relative;
}

.booking-cal-day.today::after {
    content: '';
    position: absolute;
    bottom: 4px;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #FEA327;
}

.booking-cal-day.today.selected::after {
    background: #fff;
}

/* Timezone Picker */
.booking-timezone {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 16px;
    padding-top: 12px;
    border-top: 1px solid #F5F5F5;
}

.booking-tz-select {
    border: none;
    background: transparent;
    font-size: 0.75rem;
    color: #9CA3AF;
    cursor: pointer;
    outline: none;
    font-family: 'Outfit', sans-serif;
}

/* =============================================
   TIME SLOTS COLUMN
   ============================================= */

.booking-slots-col {
    padding: 24px;
    background: #FAFBFC;
}

.booking-slots-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 300px;
    text-align: center;
}

.booking-slots {
    max-height: 360px;
    overflow-y: auto;
    padding-right: 4px;
}

.booking-slots::-webkit-scrollbar {
    width: 4px;
}

.booking-slots::-webkit-scrollbar-thumb {
    background: #E5E7EB;
    border-radius: 4px;
}

.booking-slot-btn {
    display: block;
    width: 100%;
    padding: 10px 16px;
    margin-bottom: 6px;
    border: 1px solid #E5E7EB;
    border-radius: 10px;
    background: #fff;
    color: #1A1A2E;
    font-size: 0.875rem;
    font-weight: 500;
    font-family: 'Outfit', sans-serif;
    cursor: pointer;
    text-align: center;
    transition: all 0.12s;
}

.booking-slot-btn:hover {
    border-color: #FEA327;
    background: #FFF8ED;
    color: #FEA327;
}

.booking-slot-btn.selected {
    border-color: #FEA327;
    background: #FEA327;
    color: #fff;
    font-weight: 600;
}

.booking-slots-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 200px;
    color: #FEA327;
}

.booking-no-slots {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 200px;
    text-align: center;
    color: #9CA3AF;
    font-size: 0.8125rem;
}

/* =============================================
   BOOKING FORM
   ============================================= */

.booking-form-header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 32px;
    border-bottom: 1px solid #F0F0F0;
    background: #FAFBFC;
    flex-wrap: wrap;
}

.booking-back-btn {
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    color: #6B7280;
    font-size: 0.8125rem;
    padding: 6px 12px;
    background: #fff;
    transition: all 0.15s;
}

.booking-back-btn:hover {
    border-color: #FEA327;
    color: #FEA327;
}

.booking-selected-info {
    font-size: 0.875rem;
    color: #1A1A2E;
    font-weight: 500;
    flex: 1;
    min-width: 0;
}

.booking-form {
    padding: 28px 32px;
}

.booking-label {
    font-size: 0.8125rem;
    font-weight: 600;
    color: #3C3C3C;
    margin-bottom: 4px;
    display: block;
    font-family: 'Outfit', sans-serif;
}

.booking-input {
    border: 1px solid #E5E7EB;
    border-radius: 10px;
    padding: 10px 14px;
    font-size: 0.875rem;
    color: #1A1A2E;
    font-family: 'Outfit', sans-serif;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.booking-input:focus {
    border-color: #FEA327;
    box-shadow: 0 0 0 3px rgba(254, 163, 39, 0.15);
    outline: none;
}

.booking-input::placeholder {
    color: #C0C0C0;
}

.booking-submit-btn {
    background: #FEA327;
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 12px 24px;
    font-size: 0.9375rem;
    font-weight: 600;
    font-family: 'Outfit', sans-serif;
    transition: background 0.15s, transform 0.1s;
}

.booking-submit-btn:hover {
    background: #E89216;
    color: #fff;
}

.booking-submit-btn:active {
    transform: scale(0.98);
}

.booking-submit-btn:disabled {
    background: #D1D5DB;
    cursor: not-allowed;
}

/* =============================================
   CONFIRMATION
   ============================================= */

.booking-success-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #D1FAE5;
    color: #065F46;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.booking-confirm-card {
    background: #F9FAFB;
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    padding: 20px 24px;
    margin: 20px auto 0;
    max-width: 400px;
    text-align: left;
}

.booking-confirm-row {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
    font-size: 0.8125rem;
}

.booking-confirm-label {
    color: #6B7280;
}

.booking-confirm-value {
    color: #1A1A2E;
    font-weight: 600;
}

.booking-another-btn {
    border: 1px solid #FEA327;
    color: #FEA327;
    border-radius: 10px;
    font-size: 0.875rem;
    font-weight: 500;
    padding: 8px 20px;
    transition: all 0.15s;
}

.booking-another-btn:hover {
    background: #FEA327;
    color: #fff;
}

/* =============================================
   RESPONSIVE
   ============================================= */

@media (max-width: 768px) {
    .booking-calendar-col {
        border-right: none;
        border-bottom: 1px solid #F0F0F0;
    }

    .booking-slots-col {
        padding: 16px;
    }

    .booking-form {
        padding: 20px 16px;
    }

    .booking-form-header {
        padding: 16px;
    }
}
