/**
 * Simple Booking Form - Public Stylesheet
 * Version 2.1.5
 */

.sb-booking-form-wrapper {
    max-width: 700px;
    margin: 40px auto;
    padding: 35px;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.09);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: #333;
}

.sb-form-header { text-align: center; margin-bottom: 30px; }
.sb-form-header h2 { font-size: 26px; margin-bottom: 8px; font-weight: 600; }
.sb-form-header p { font-size: 16px; color: #555; margin: 0; }

.sb-form-field { margin-bottom: 22px; }
.sb-form-field label { display: block; font-weight: 600; margin-bottom: 8px; font-size: 14px; }

.sb-form-field input[type="text"],
.sb-form-field input[type="email"],
.sb-form-field input[type="tel"],
.sb-form-field input[type="date"],
.sb-form-field select {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 16px;
    box-sizing: border-box;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.sb-form-field input:focus,
.sb-form-field select:focus {
    outline: none;
    border-color: #0073e6;
    box-shadow: 0 0 0 3px rgba(0, 115, 230, 0.15);
}

/* --- Phone Field --- */
.sb-phone-field-wrapper { position: relative; }
.sb-phone-field-group { display: flex; }
.sb-phone-field-group .sb-country-code-search { flex: 0 1 220px; border-top-right-radius: 0; border-bottom-right-radius: 0; border-right: none; }
.sb-phone-field-group .sb-phone-number-input { flex: 1 1 auto; border-top-left-radius: 0; border-bottom-left-radius: 0; }
.sb-country-dropdown { position: absolute; top: 100%; left: 0; right: 0; max-height: 200px; overflow-y: auto; background: #fff; border: 1px solid #ccc; border-top: none; border-radius: 0 0 6px 6px; z-index: 1000; display: none; }
.sb-country-dropdown-item { padding: 10px 14px; cursor: pointer; }
.sb-country-dropdown-item:hover { background-color: #f2f8ff; }
.sb-country-dropdown-item.hidden { display: none; }

/* --- Radio Cards --- */
.sb-license-category-group { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 15px; }
.sb-radio-card input[type="radio"] { position: absolute; opacity: 0; }
.sb-radio-card label { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 15px; border: 2px solid #ddd; border-radius: 6px; cursor: pointer; transition: all 0.2s ease-in-out; text-align: center; height: 100%; box-sizing: border-box; }
.sb-radio-card .sb-icon { width: 40px; height: 40px; margin-bottom: 10px; color: #555; transition: color 0.2s; }
.sb-radio-card .sb-icon svg, .sb-radio-card .sb-icon img { width: 100%; height: 100%; object-fit: contain; }
.sb-radio-card .sb-label-text { font-weight: 500; color: #444; }
.sb-radio-card input[type="radio"]:checked + label { border-color: #0073e6; background-color: #f2f8ff; }
.sb-radio-card input[type="radio"]:focus + label { box-shadow: 0 0 0 3px rgba(0, 115, 230, 0.15); }
.sb-radio-card input[type="radio"]:checked + label .sb-icon { color: #0073e6; }

/* --- Category Description Display --- */
.sb-category-description-display {
    display: none; /* Hidden by default */
    margin-top: 20px;
    padding: 15px;
    background-color: #f8f9fa;
    border-left: 4px solid #0073e6;
    border-radius: 4px;
    color: #444;
    font-size: 15px;
}
.sb-category-description-display p:last-child {
    margin-bottom: 0;
}

/* --- Checkbox & Submit --- */
.sb-checkbox-field { display: flex; align-items: center; gap: 10px; }
.sb-checkbox-field label { margin-bottom: 0; font-weight: 500; }
.sb-checkbox-field input[type="checkbox"] { width: 18px; height: 18px; flex-shrink: 0; }
.sb-submit-button { width: 100%; padding: 15px; font-size: 16px; font-weight: bold; color: #fff; background-color: #0073e6; border: none; border-radius: 6px; cursor: pointer; transition: background-color 0.2s, transform 0.1s; }
.sb-submit-button:hover { background-color: #005bb7; }
.sb-submit-button:active { transform: translateY(1px); }
.sb-form-footer { text-align: center; font-size: 13px; color: #777; margin-top: 30px; }

