/**
 * Trial Booking Form Styles
 *
 * @package Karate_Club_Manager
 * @since 1.0.61
 */

.kcm-trial-booking-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.kcm-message {
    padding: 15px 20px;
    margin-bottom: 20px;
    border-radius: 4px;
    font-size: 16px;
    line-height: 1.5;
}

.kcm-message-success {
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
}

.kcm-message-error {
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}

.kcm-trial-booking-form {
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 30px;
}

.kcm-form-section {
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid #D1D5DB;
}

.kcm-form-section:last-of-type {
    border-bottom: none;
}

.kcm-form-section h3 {
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 20px;
    color: #111827;
}

.kcm-form-group {
    margin-bottom: 20px;
}

.kcm-form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #111827;
    font-size: 14px;
}

.kcm-form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #D1D5DB;
    border-radius: 4px;
    font-size: 16px;
    transition: border-color 0.3s;
    box-sizing: border-box;
}

.kcm-form-control:focus {
    outline: none;
    border-color: #B11226;
    box-shadow: 0 0 0 3px rgba(177, 18, 38, 0.1);
}

.required {
    color: #dc3545;
    margin-left: 3px;
}

.kcm-checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-weight: normal !important;
    user-select: none;
}

.kcm-checkbox-label input[type="checkbox"] {
    margin-right: 10px;
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.kcm-classes-list {
    display: grid;
    gap: 15px;
}

.kcm-class-option {
    display: block;
    border: 2px solid #D1D5DB;
    border-radius: 8px;
    padding: 15px;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
}

.kcm-class-option:hover {
    border-color: #B11226;
    box-shadow: 0 2px 8px rgba(177, 18, 38, 0.2);
}

.kcm-class-option input[type="radio"] {
    position: absolute;
    opacity: 0;
}

.kcm-class-option input[type="radio"]:checked + .kcm-class-details {
    background-color: #fde8ea;
}

.kcm-class-option input[type="radio"]:checked ~ * {
    border-color: #B11226;
}

.kcm-class-option:has(input:checked) {
    border-color: #B11226;
    background-color: #fde8ea;
}

.kcm-class-details {
    padding-left: 30px;
}

.kcm-class-option input[type="radio"] {
    position: relative;
    opacity: 1;
    margin-right: 10px;
    width: 20px;
    height: 20px;
    vertical-align: middle;
}

.kcm-class-title {
    font-size: 18px;
    font-weight: 600;
    color: #111827;
    margin-bottom: 8px;
}

.kcm-class-schedule {
    display: flex;
    gap: 15px;
    margin-bottom: 5px;
    font-size: 14px;
    color: #6B7280;
}

.kcm-class-day {
    font-weight: 600;
}

.kcm-class-location {
    font-size: 14px;
    color: #6B7280;
    display: flex;
    align-items: center;
    gap: 5px;
}

.kcm-class-location .dashicons {
    font-size: 16px;
    width: 16px;
    height: 16px;
}

.kcm-no-classes {
    padding: 20px;
    text-align: center;
    color: #6B7280;
    background-color: #F4F4F2;
    border-radius: 4px;
}

.kcm-form-actions {
    margin-top: 30px;
    text-align: center;
}

.kcm-submit-button {
    background: linear-gradient(135deg, #B11226 0%, #8F0E1E 100%);
    color: #ffffff;
    border: none;
    padding: 15px 40px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.kcm-submit-button:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(177, 18, 38, 0.4);
}

.kcm-submit-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.kcm-form-note {
    margin-top: 15px;
    text-align: center;
    font-size: 14px;
    color: #6B7280;
}

/* Responsive */
@media (max-width: 768px) {
    .kcm-trial-booking-form {
        padding: 20px;
    }

    .kcm-class-schedule {
        flex-direction: column;
        gap: 5px;
    }

    .kcm-submit-button {
        width: 100%;
    }
}
