/* File: assets/css/padel-levels-form.css


/* Existing styles plus Section 5 specific styles */
.padel-levels-form-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}
.padel-levels-title {
    color: #2c5aa0;
    text-align: center;
    margin-bottom: 30px;
    border-bottom: 2px solid #2c5aa0;
    padding-bottom: 10px;
    font-size: 2em;
}
/* Section Navigation Styles */
.padel-sections-nav {
    background: #fff;
    border: 1px solid #ccd0d4;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.section-progress {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}
.progress-bar {
    flex: 1;
    height: 8px;
    background: #e0e0e0;
    border-radius: 4px;
    overflow: hidden;
}
.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #2c5aa0, #4a90e2);
    transition: width 0.3s ease;
}
.progress-text {
    font-weight: 600;
    color: #2c5aa0;
    white-space: nowrap;
    font-size: 14px;
}
.sections-list {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
}
.section-item {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    background: #f9f9f9;
    cursor: not-allowed;
    transition: all 0.3s ease;
    min-width: 120px;
    font-size: 12px;
}
.section-item.active {
    border-color: #2c5aa0;
    background: #e8f4fd;
    cursor: default;
}
.section-item.completed {
    border-color: #28a745;
    background: #d4edda;
}
.section-item.locked {
    opacity: 0.6;
}
.section-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #2c5aa0;
    color: white;
    font-size: 10px;
    font-weight: bold;
}
.section-item.completed .section-number {
    background: #28a745;
}
.section-item.locked .section-number {
    background: #ccc;
}
.section-title {
    font-weight: 500;
    flex: 1;
}
.section-status {
    font-size: 12px;
}
/* Assessment Progress Navigation */
.assessment-progress-nav {
    background: #fff;
    border: 1px solid #ccd0d4;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.assessment-progress {
    display: flex;
    align-items: center;
    gap: 15px;
}
.assessment-progress .progress-bar {
    flex: 1;
    height: 8px;
    background: #e0e0e0;
    border-radius: 4px;
    overflow: hidden;
}
.assessment-progress .progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #28a745, #20c997);
    transition: width 0.3s ease;
}
.assessment-progress .progress-text {
    font-weight: 600;
    color: #28a745;
    white-space: nowrap;
    font-size: 14px;
    min-width: 200px;
}
/* Section Content Styles */
.padel-sections-content {
    background: #fff;
    border: 1px solid #ccd0d4;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.section-content {
    display: none;
    padding: 20px;
}
.section-content.active {
    display: block;
}
.section-header {
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 15px;
    margin-bottom: 20px;
}
.section-header h3 {
    color: #2c5aa0;
    margin: 0 0 5px 0;
    font-size: 1.4em;
}
.section-description {
    color: #666;
    margin: 0;
    font-style: italic;
    font-size: 14px;
}
.section-placeholder {
    text-align: center;
    padding: 40px 20px;
    color: #999;
    font-style: italic;
}
/* Section 2 Specific Styles */
.section2-content {
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    margin-bottom: 20px;
}
.section2-text {
    margin-bottom: 20px;
    line-height: 1.6;
    color: #333;
}
.section2-text p {
    margin-bottom: 15px;
}
.section2-image {
    margin: 20px 0;
    text-align: center;
}
.section2-confirmation {
    margin-top: 30px;
    padding: 20px;
    background: #fff;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    text-align: center;
}
/* Section 3 Specific Styles */
.section3-content {
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    margin-bottom: 20px;
}
.section3-text {
    margin-bottom: 30px;
    line-height: 1.6;
    color: #333;
}
.section3-text p {
    margin-bottom: 15px;
}
.section3-text strong {
    color: #2c5aa0;
    font-weight: 600;
}
.section3-confirmation {
    margin-top: 30px;
    padding: 20px;
    background: #fff;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    text-align: center;
}
/* Section 4 Specific Styles */
.section4-content {
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    margin-bottom: 20px;
}
.section4-text {
    margin-bottom: 20px;
    line-height: 1.6;
    color: #333;
}
.section4-text p {
    margin-bottom: 15px;
}
.section4-image {
    margin: 20px 0;
    text-align: center;
}
.section4-confirmation {
    margin-top: 30px;
    padding: 20px;
    background: #fff;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    text-align: center;
}
/* Section 5 Assessment Styles */
.section5-content {
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    margin-bottom: 20px;
}
.section5-intro {
    margin-bottom: 20px;
    padding: 20px;
    background: #e8f4fd;
    border-radius: 8px;
    border-left: 4px solid #2c5aa0;
    line-height: 1.6;
    color: #333;
}
.section5-instructions {
    margin-bottom: 30px;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
}
.response-options-legend {
    display: flex;
    gap: 20px;
    margin-top: 15px;
    flex-wrap: wrap;
    justify-content: center;
}
.response-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px 15px;
    background: #f8f9fa;
    border-radius: 6px;
    border: 1px solid #e0e0e0;
    min-width: 120px;
}
.option-label {
    font-weight: 600;
    color: #2c5aa0;
    margin-bottom: 5px;
}
.option-desc {
    font-size: 12px;
    color: #666;
}
.assessment-form {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
}
.assessment-category {
    margin-bottom: 40px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    display: none;
}
.assessment-category.active {
    display: block;
    border-color: #2c5aa0;
    box-shadow: 0 4px 8px rgba(44, 90, 160, 0.1);
}
.assessment-category.completed {
    display: block;
    border-color: #28a745;
    background: #f8fff8;
}
.assessment-category.locked {
    display: none;
    opacity: 0.6;
}
.category-title {
    background: #2c5aa0;
    color: white;
    margin: 0;
    padding: 15px 20px;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
}
.assessment-category.completed .category-title {
    background: #28a745;
}
.category-questions {
    padding: 20px;
}
.question-item {
    margin-bottom: 25px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
}
.question-text {
    margin-bottom: 15px;
    font-weight: 500;
    color: #333;
    line-height: 1.5;
}
.question-number {
    color: #2c5aa0;
    font-weight: 600;
    margin-right: 8px;
}
.question-options {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}
.option-radio {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 15px;
    background: #fff;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 120px;
}
.option-radio:hover {
    border-color: #2c5aa0;
    background: #e8f4fd;
}
.option-radio input[type="radio"] {
    margin: 0;
}
.option-radio input[type="radio"]:checked + .radio-label {
    color: #2c5aa0;
    font-weight: 600;
}
.option-radio:has(input[type="radio"]:checked) {
    border-color: #2c5aa0;
    background: #e8f4fd;
}
.radio-label {
    font-size: 14px;
    color: #333;
}
.category-progress {
    padding: 15px 20px;
    background: #f1f3f4;
    border-top: 1px solid #e0e0e0;
}
.category-progress .progress-text {
    font-size: 14px;
    color: #666;
    margin-bottom: 8px;
    text-align: center;
    font-weight: 600;
}
.category-progress .progress-bar {
    height: 8px;
    background: #e0e0e0;
    border-radius: 4px;
    overflow: hidden;
}
.category-progress .progress-fill {
    height: 100%;
    background: #28a745;
    transition: width 0.3s ease;
}
.category-validation {
    padding: 20px;
    background: #f8f9fa;
    border-top: 1px solid #e0e0e0;
    text-align: center;
}
.validate-category-btn {
    padding: 12px 24px;
    background: #2c5aa0;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 10px;
}
.validate-category-btn:hover:not(:disabled) {
    background: #1e3f73;
}
.validate-category-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    opacity: 0.6;
}
.validate-category-btn.validated {
    background: #28a745;
}
.validate-category-btn.validated:hover {
    background: #28a745;
}
.category-validation-message {
    margin-top: 10px;
    padding: 10px 15px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
}
.category-validation-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}
.category-validation-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}
.assessment-summary {
    margin-top: 30px;
    padding: 20px;
    background: #e8f5e8;
    border: 2px solid #6c757d;
    border-radius: 8px;
}
.assessment-summary h4 {
    color: #6c757d;
    margin: 0 0 15px 0;
    text-align: center;
}
.summary-categories {
    margin-bottom: 20px;
}
.overall-score {
    text-align: center;
    padding: 15px;
    background: #fff;
    border-radius: 6px;
    border: 1px solid #6c757d;
}
.score-display {
    font-size: 18px;
    font-weight: 600;
    color: #6c757d;
}
.score-label {
    margin-right: 10px;
    color: #333;
}
.score-belt {
    margin-left: 10px;
    padding: 5px 10px;
    background: #6c757d;
    color: white;
    border-radius: 4px;
    font-size: 14px;
}
.confirmation-checkbox {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    color: #333;
}
.confirmation-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}
.confirmation-checkbox .required {
    color: #e74c3c;
    margin-left: 5px;
}
/* Section Validation Styles */
.section-validation {
    margin: 30px 0 20px 0;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    text-align: center;
}
.validate-section-btn {
    padding: 12px 30px;
    background: #2c5aa0;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
    margin-bottom: 15px;
}
.validate-section-btn:hover:not(:disabled) {
    background: #1e3f73;
}
.validate-section-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
}
.section-validation-summary {
    margin-top: 15px;
    padding: 15px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
}
.section-validation-summary.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}
.section-validation-summary.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}
.section-actions {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #e0e0e0;
    justify-content: space-between;
}
.continue-section-btn, .back-section-btn, .complete-assessment-btn {
    padding: 12px 20px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}
.continue-section-btn, .complete-assessment-btn {
    background: #2c5aa0;
    color: white;
}
.continue-section-btn:hover:not(:disabled), .complete-assessment-btn:hover:not(:disabled) {
    background: #1e3f73;
}
.continue-section-btn:disabled, .complete-assessment-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    opacity: 0.6;
}
.back-section-btn {
    background: #6c757d;
    color: white;
}
.back-section-btn:hover {
    background: #545b62;
}
/* Form field styles */
.padel-levels-form {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 20px;
}
.padel-levels-intro {
    background: #e8f4fd;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
    border-left: 4px solid #2c5aa0;
    line-height: 1.6;
    color: #333;
}
.padel-levels-intro p {
    margin: 0 0 10px 0;
}
.padel-levels-intro p:last-child {
    margin-bottom: 0;
}
.padel-email-field, .padel-fullname-field, .padel-phone-field, .padel-gender-field {
    margin-bottom: 25px;
}
.padel-email-label, .padel-fullname-label, .padel-phone-label, .padel-gender-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
    font-size: 14px;
}
.padel-email-label .required, .padel-fullname-label .required, .padel-phone-label .required, .padel-gender-label .required {
    color: #e74c3c;
    margin-left: 2px;
}
.padel-email-input, .padel-fullname-input, .padel-phone-input, .padel-gender-select {
    width: 100%;
    max-width: 500px;
    padding: 12px 16px;
    border: 2px solid #ddd;
    border-radius: 6px;
    font-size: 16px;
    transition: border-color 0.3s ease;
    background: #fff;
}
.padel-email-input:focus, .padel-fullname-input:focus, .padel-phone-input:focus, .padel-gender-select:focus {
    outline: none;
    border-color: #2c5aa0;
    box-shadow: 0 0 0 3px rgba(44, 90, 160, 0.1);
}
.padel-email-input.invalid, .padel-fullname-input.invalid, .padel-phone-input.invalid, .padel-gender-select.invalid {
    border-color: #e74c3c;
}
.padel-email-input.valid, .padel-fullname-input.valid, .padel-phone-input.valid, .padel-gender-select.valid {
    border-color: #27ae60;
}
/* Validation message styles */
.email-validation-message, .fullname-validation-message, .phone-validation-message, .gender-validation-message {
    margin-top: 8px;
    padding: 10px 15px;
    border-radius: 4px;
    font-size: 14px;
    line-height: 1.4;
}
.email-validation-message.success, .fullname-validation-message.success, .phone-validation-message.success, .gender-validation-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}
.email-validation-message.error, .fullname-validation-message.error, .phone-validation-message.error, .gender-validation-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}
.padel-email-notice, .padel-phone-notice {
    font-size: 12px;
    color: #666;
    margin: 8px 0 0 0;
    font-style: italic;
}
.assessment-result {
    text-align: center;
    padding: 40px 20px;
}
.assessment-result h3 {
    color: #28a745;
    margin-bottom: 15px;
}
/* Responsive design */
@media (max-width: 768px) {
    .sections-list {
        flex-direction: column;
        gap: 5px;
    }
    .section-item {
        min-width: auto;
    }
    .section-actions {
        flex-direction: column;
        align-items: stretch;
    }
    .padel-email-input, .padel-fullname-input, .padel-phone-input, .padel-gender-select {
        max-width: 100%;
    }
    .response-options-legend {
        flex-direction: column;
        gap: 10px;
    }
    .question-options {
        flex-direction: column;
        gap: 10px;
    }
    .option-radio {
        min-width: auto;
    }
    .assessment-progress .progress-text {
        min-width: auto;
        font-size: 12px;
    }
    .progress-text {
        font-size: 12px;
        white-space: normal;
    }
}

/* --- SUMMARY: align columns + score with color swatch --- */
.category-summary{
    display: grid;
    grid-template-columns: 1fr 160px 140px;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
}

.category-name{
    font-weight: 600;
}

.category-score{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-weight: 700;
    text-align: center;
}

.score-text{
    display: inline-block;
    min-width: 90px; /* avoids jumping */
    text-align: left;
}

.category-questions{
    text-align: left;
    font-size: 12px;
    color: #666;
}

.belt-swatch{
    width: 14px;
    height: 14px;
    border-radius: 3px;
    border: 1px solid rgba(0,0,0,0.35); /* so white is visible */
    display: inline-block;
    flex: 0 0 14px;
}