/* BOOKING PAGE STYLES - Glassmorphic Aesthetic */

:root {
    --glass-bg: rgba(31, 31, 31, 0.45);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.8);
    --glass-blur: blur(15px);
}

body.booking-page {
    background: #000;
    color: var(--color-text);
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    justify-content: flex-start !important; /* Ensure content starts at the top */
    align-items: center;
    overflow-y: auto !important; /* Explicitly allow scrolling */
    overflow-x: hidden;
    font-family: var(--font-body);
}

button, input, textarea {
    font-family: inherit;
}

.booking-container {
    padding: 40px 25px 60px; /* Reduced top padding to move button higher */
    max-width: 800px;
    margin: 0 auto;
    width: 100%;
    z-index: 10;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--color-text-muted);
    text-decoration: none;
    font-weight: 600;
    margin-bottom: 40px;
    transition: color 0.3s;
}

.back-link:hover {
    color: var(--color-primary);
}

.booking-header {
    margin-bottom: 50px;
    text-align: center;
}

.booking-header h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 12px;
}

.booking-header p {
    color: var(--color-text-muted);
    font-size: 1rem;
}

/* Glass Card */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--glass-shadow);
    padding: 40px;
    margin-bottom: 40px;
    position: relative;
    overflow: hidden;
}

/* Steps Indicator */
.steps-indicator {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
}

.step-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    transition: all 0.4s ease;
}

.step-dot.active {
    background: var(--color-primary);
    width: 35px;
    border-radius: 6px;
}

/* Calendar Implementation */
.calendar-wrapper {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

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

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

.calendar-day-name {
    text-align: center;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--color-text-muted);
    padding-bottom: 10px;
}

.calendar-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.2s;
    border: 1px solid transparent;
}

.calendar-day:hover:not(.disabled) {
    background: rgba(255, 140, 0, 0.1);
    color: var(--color-primary);
    border-color: rgba(255, 140, 0, 0.3);
}

.calendar-day.selected {
    background: var(--color-primary);
    color: white;
    box-shadow: 0 0 20px rgba(255, 140, 0, 0.4);
}

.calendar-day.disabled {
    opacity: 0.2;
    cursor: default;
}

.calendar-day.today {
    color: var(--color-primary);
    text-decoration: underline;
    text-underline-offset: 4px;
}

/* Time Grid */
.time-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.time-slot {
    padding: 15px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    text-align: center;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.2s;
}

.time-slot:hover {
    border-color: var(--color-primary);
    background: rgba(255, 140, 0, 0.05);
}

.time-slot.selected {
    background: var(--color-primary);
    color: white;
    border-color: var(--color-primary);
}

/* Form Styles */
.booking-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--color-text-muted);
    text-transform: uppercase;
}

.form-group input, .form-group textarea {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--glass-border);
    padding: 18px;
    border-radius: 15px;
    color: white;
    font-family: inherit;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s;
}

.form-group input:focus {
    border-color: var(--color-primary);
}

/* Success State */
.success-card {
    text-align: center;
    padding: 60px 20px;
}

.success-icon {
    width: 80px;
    height: 80px;
    background: rgba(0, 255, 100, 0.1);
    color: #00ff64;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
}

.meet-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 100px;
    margin-top: 30px;
    font-weight: 600;
    color: var(--color-text-muted);
}

/* Mobile Responsive */
@media (max-width: 440px) {
    .booking-page {
        overflow-y: auto;
    }
    .booking-container {
        padding-top: 60px;
    }
    .booking-header h1 {
        font-size: 1.8rem;
    }
    .glass-card {
        padding: 25px;
        border-radius: var(--radius-md);
    }
    .calendar-grid {
        gap: 5px;
    }
    .time-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
