/* Booking Container */
.booking-container {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin: 2rem 0;
}

.booking-calendar {
    flex: 1;
    min-width: 320px;
}

.booking-form {
    flex: 1;
    min-width: 320px;
}

/* Calendar Styles */
.calendar-container {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    border: 1px solid rgba(0, 255, 255, 0.1);
}

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

.calendar-nav-btn {
    background: rgba(0, 255, 255, 0.1);
    border: none;
    color: var(--light);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.calendar-nav-btn:hover {
    background: rgba(0, 255, 255, 0.2);
    transform: translateY(-2px);
}

#currentMonth {
    font-size: 1.2rem;
    color: var(--light);
}

/* Calendar Grid */
.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
    margin-bottom: 1rem;
}

.calendar-day-header {
    text-align: center;
    padding: 0.5rem;
    font-weight: 600;
    color: var(--secondary);
}

.calendar-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    border: 1px solid transparent;
}

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

.calendar-day.unavailable {
    background-color: rgba(255, 100, 100, 0.1);
    border: 1px solid rgba(255, 100, 100, 0.3);
    cursor: not-allowed;
}

.calendar-day.available {
    background-color: rgba(0, 255, 240, 0.1);
    border: 1px solid rgba(0, 255, 240, 0.3);
    cursor: pointer;
    transition: all 0.2s ease;
}

.calendar-day.available:hover {
    background-color: rgba(0, 255, 240, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.calendar-day.selected {
    background-color: rgba(0, 255, 240, 0.3);
    border: 1px solid rgba(0, 255, 240, 0.7);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Calendar Legend */
.calendar-legend {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1rem;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.legend-color {
    width: 16px;
    height: 16px;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.legend-color.available {
    background-color: rgba(0, 255, 240, 0.2);
    border: 1px solid rgba(0, 255, 240, 0.4);
}

.legend-color.unavailable {
    background-color: rgba(255, 100, 100, 0.2);
    border: 1px solid rgba(255, 100, 100, 0.4);
}

/* Time Slots */
.time-slots-container {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    padding: 1.5rem;
    border: 1px solid rgba(0, 255, 255, 0.1);
}

.time-slots-container h4 {
    margin-bottom: 1rem;
    color: var(--light);
}

.time-slots {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 10px;
    max-height: 300px;
    overflow-y: auto;
}

.time-slot {
    padding: 10px 15px;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
}

.time-slot:hover {
    background-color: rgba(0, 255, 240, 0.1);
    border: 1px solid rgba(0, 255, 240, 0.3);
}

.time-slot.selected {
    background-color: rgba(0, 255, 240, 0.2);
    border: 1px solid rgba(0, 255, 240, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.time-slots p {
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    padding: 1rem 0;
}

/* Loading Style */
.loading {
    opacity: 0.7;
}

/* Form Styles */
.booking-form h3 {
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--light);
}

.form-control {
    width: 100%;
    padding: 0.8rem 1rem;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(0, 255, 255, 0.1);
    border-radius: 5px;
    color: var(--light);
    transition: all 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: rgba(0, 255, 255, 0.5);
    box-shadow: 0 0 0 2px rgba(0, 255, 255, 0.1);
}

.radio-group {
    display: flex;
    gap: 1.5rem;
}

.radio-group label {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.radio-group input[type="radio"] {
    margin-right: 0.5rem;
    accent-color: var(--secondary);
}

/* Booking Summary */
.booking-summary {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    padding: 1.5rem;
    margin: 1.5rem 0;
    border: 1px solid rgba(0, 255, 255, 0.1);
}

.booking-summary h4 {
    margin-bottom: 1rem;
    color: var(--secondary);
}

.booking-summary p {
    margin-bottom: 0.5rem;
}

.booking-summary strong {
    color: var(--light);
}

/* Submit Button */
.form-actions {
    margin-top: 2rem;
}

#confirmBookingBtn {
    width: 100%;
    padding: 1rem;
    background: var(--secondary);
    color: var(--dark);
    border: none;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

#confirmBookingBtn:hover {
    background: rgba(0, 255, 255, 0.8);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

#confirmBookingBtn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .booking-container {
        flex-direction: column;
    }

    .time-slots {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    }
}