/* ==========================================
   BOOKING PAGE STYLES
   ========================================== */

.booking-section {
    min-height: 100vh;
    padding: 140px 0 80px;
    background: var(--bg-primary);
}

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

.booking-title {
    font-family: var(--font-heading);
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 16px;
    background: linear-gradient(135deg, #FFFFFF 0%, var(--accent-blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.booking-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
}

.booking-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    max-width: 1200px;
    margin: 0 auto;
}

/* ==========================================
   CALENDAR SECTION
   ========================================== */

.calendar-section {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 16px;
    padding: 32px;
}

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

.current-month {
    font-family: var(--font-subheading);
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
}

.month-nav {
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 8px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--accent-blue);
    transition: all 0.3s ease;
}

.month-nav:hover {
    background: rgba(0, 212, 255, 0.2);
    border-color: var(--accent-blue);
}

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

.calendar-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 500;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-secondary);
}

.calendar-day.header {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
    cursor: default;
    background: transparent;
    border: none;
}

.calendar-day.disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.calendar-day.today {
    border-color: var(--accent-blue);
    color: var(--accent-blue);
}

.calendar-day:not(.disabled):not(.header):hover {
    background: rgba(0, 212, 255, 0.1);
    border-color: var(--accent-blue);
    color: var(--text-primary);
}

.calendar-day.selected {
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
    border-color: transparent;
    color: var(--text-primary);
    font-weight: 600;
}

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

.time-slots-section {
    margin-top: 32px;
    padding-top: 32px;
    border-top: 1px solid rgba(0, 212, 255, 0.1);
}

.time-slots-title {
    font-family: var(--font-subheading);
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 16px;
}

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

.time-slot {
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s ease;
}

.time-slot:hover {
    background: rgba(0, 212, 255, 0.1);
    border-color: var(--accent-blue);
    color: var(--text-primary);
}

.time-slot.selected {
    background: rgba(0, 212, 255, 0.2);
    border-color: var(--accent-blue);
    color: var(--accent-blue);
    font-weight: 600;
}

.time-slot.disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

/* ==========================================
   FORM SECTION
   ========================================== */

.form-section {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(124, 58, 237, 0.2);
    border-radius: 16px;
    padding: 32px;
}

.booking-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

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

.form-group label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: 0.3px;
}

.form-group input,
.form-group select {
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 15px;
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--accent-purple);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.1);
}

.form-group input::placeholder {
    color: var(--text-muted);
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%2300D4FF' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 48px;
}

.form-group select option {
    background: var(--bg-secondary);
    color: var(--text-primary);
    padding: 12px;
}

.selected-datetime {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 8px;
    color: var(--accent-blue);
    font-size: 14px;
    font-weight: 500;
}

.selected-datetime svg {
    flex-shrink: 0;
}

.booking-submit {
    width: 100%;
    margin-top: 8px;
}

/* ==========================================
   SUCCESS MODAL
   ========================================== */

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: var(--bg-secondary);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 16px;
    padding: 48px;
    max-width: 500px;
    text-align: center;
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 212, 255, 0.1);
    border-radius: 50%;
    color: var(--accent-blue);
}

.modal-title {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.modal-message {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 32px;
}

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

@media (max-width: 1024px) {
    .booking-container {
        grid-template-columns: 1fr;
    }

    .time-slots-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .booking-title {
        font-size: 36px;
    }

    .calendar-section,
    .form-section {
        padding: 24px;
    }

    .time-slots-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .modal-content {
        margin: 20px;
        padding: 32px;
    }
}

@media (max-width: 480px) {
    .booking-title {
        font-size: 28px;
    }

    .calendar-grid {
        gap: 4px;
    }

    .calendar-day {
        font-size: 12px;
    }

    .time-slots-grid {
        grid-template-columns: 1fr;
    }
}