/**
 * Custom Course Booking Frontend Styles
 */

.course-booking-form {
    margin-bottom: 2em;
}

/* Course Type Selector */
.course-type-selector {
/*     display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap; */
    background-color: #062360;
    padding: 5px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.course-type-label {
    display: block;
    text-align: center;
    font-weight: bold;
    margin-bottom: 10px;
    color: #fff;
}

.course-type-option {
    display: block;
    margin: 0px;
}

.option-text {
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 5px;
    text-align: center;
    color: white;
}

.option-price {
    font-size: 12px;
    color: white;
    text-align: center;
}

/* .course-type-radio {
    display: none;
} */

.course-type-indicator {
    display: inline-block;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid #ccc;
    background-color: white;
    cursor: pointer;
    transition: background 0.3s, border-color 0.3s, color 0.3s;
}

.course-type-radio:checked + .course-type-indicator {
    background-color: #fb8400;
    border-color: white;
    color: white;
}

/* Date Selector */
.date-selector {
    margin-top: 20px;
    padding: 15px;
    background-color: #f8f8f8;
    border-radius: 5px;
}

.date-label {
    display: block;
    font-weight: bold;
    margin-bottom: 10px;
}

.date-picker-wrapper {
    margin-bottom: 15px;
}

.date-picker {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

/* Booking Summary */
.booking-summary {
    margin-top: 15px;
}

.booking-price {
    margin-top: 15px;
    font-size: 18px;
    font-weight: bold;
    text-align: right;
    margin-bottom: 15px;
}

.booking-submit-btn {
    display: block;
    width: 100%;
    min-width: 100% !important;
    padding: 12px;
    background-color: #062360;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
}

.booking-submit-btn:hover {
    background-color: #0a3180;
}

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

/* Error Messages */
.error-message {
    color: #cc0000;
    margin-top: 10px;
    display: none;
}

/* Datepicker Customizations */
.ui-datepicker {
    padding: 10px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.date-available a {
    background-color: #e0f7ff !important;
}

/* Additional Layout */
.date-selection {
    margin-bottom: 20px;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .course-type-selector {
        /* flex-direction: column;
        align-items: center; */
    }

    .course-type-option {
        width: 100%;
        max-width: 200px;
    }
}

form.booking-form {
    color: #fff !important;
}