/* BFU Quiz Styles */

.bfu-quiz-container {
    max-width: 700px;
    margin: 0 auto;
    padding: 40px 20px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

.bfu-quiz-header {
    text-align: center;
    margin-bottom: 40px;
}

.bfu-quiz-header h2 {
    font-size: 32px;
    font-weight: 700;
    color: #1a2332;
    margin: 0 0 15px 0;
    line-height: 1.3;
}

.bfu-quiz-subtitle {
    font-size: 18px;
    color: #666;
    margin: 0;
}

/* Question Styling */
.bfu-quiz-question {
    margin-bottom: 40px;
}

.bfu-question-label {
    display: block;
    font-size: 22px;
    font-weight: 600;
    color: #1a2332;
    margin-bottom: 20px;
    line-height: 1.4;
}

.question-number {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #f39c12;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

/* Options Styling */
.bfu-quiz-options {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.bfu-option {
    position: relative;
    display: flex;
    align-items: flex-start;
    padding: 20px;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #fff;
}

.bfu-option:hover {
    border-color: #f39c12;
    box-shadow: 0 4px 12px rgba(243, 156, 18, 0.15);
    transform: translateY(-2px);
}

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

.bfu-option input[type="radio"]:checked + .option-text {
    color: #1a2332;
}

.bfu-option input[type="radio"]:checked ~ .option-text::before {
    background: #f39c12;
    border-color: #f39c12;
}

.bfu-option input[type="radio"]:checked ~ .option-text::after {
    opacity: 1;
    transform: scale(1);
}

.option-text {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding-left: 35px;
    position: relative;
}

.option-text::before {
    content: '';
    position: absolute;
    left: 0;
    top: 4px;
    width: 20px;
    height: 20px;
    border: 2px solid #ccc;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.option-text::after {
    content: '';
    position: absolute;
    left: 6px;
    top: 10px;
    width: 8px;
    height: 8px;
    background: #fff;
    border-radius: 50%;
    opacity: 0;
    transform: scale(0);
    transition: all 0.3s ease;
}

.option-text strong {
    font-size: 16px;
    font-weight: 600;
    color: #1a2332;
}

.option-text small {
    font-size: 14px;
    color: #666;
    font-weight: 400;
}

/* Contact Info */
.bfu-quiz-contact {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #e0e0e0;
}

.bfu-input-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.bfu-input-group label {
    font-size: 14px;
    font-weight: 600;
    color: #1a2332;
}

.bfu-input-group input {
    padding: 12px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s ease;
}

.bfu-input-group input:focus {
    outline: none;
    border-color: #f39c12;
    box-shadow: 0 0 0 3px rgba(243, 156, 18, 0.1);
}

/* Submit Button */
.bfu-quiz-submit {
    text-align: center;
}

.bfu-submit-btn {
    background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
    color: #fff;
    border: none;
    padding: 18px 50px;
    font-size: 18px;
    font-weight: 700;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(243, 156, 18, 0.3);
    position: relative;
    min-width: 280px;
}

.bfu-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(243, 156, 18, 0.4);
}

.bfu-submit-btn:active {
    transform: translateY(0);
}

.bfu-submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.btn-loader {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.spinner {
    width: 20px;
    height: 20px;
    animation: rotate 2s linear infinite;
}

.spinner .path {
    stroke: #fff;
    stroke-linecap: round;
    animation: dash 1.5s ease-in-out infinite;
}

@keyframes rotate {
    100% { transform: rotate(360deg); }
}

@keyframes dash {
    0% {
        stroke-dasharray: 1, 150;
        stroke-dashoffset: 0;
    }
    50% {
        stroke-dasharray: 90, 150;
        stroke-dashoffset: -35;
    }
    100% {
        stroke-dasharray: 90, 150;
        stroke-dashoffset: -124;
    }
}

.bfu-privacy-notice {
    margin-top: 15px;
    font-size: 14px;
    color: #666;
}

/* Error Message */
.bfu-error-message {
    background: #fee;
    border: 1px solid #fcc;
    color: #c33;
    padding: 15px;
    border-radius: 8px;
    margin-top: 20px;
    text-align: center;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .bfu-quiz-container {
        padding: 30px 15px;
    }
    
    .bfu-quiz-header h2 {
        font-size: 26px;
    }
    
    .bfu-quiz-subtitle {
        font-size: 16px;
    }
    
    .bfu-question-label {
        font-size: 20px;
    }
    
    .bfu-quiz-contact {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .bfu-option {
        padding: 16px;
    }
    
    .option-text strong {
        font-size: 15px;
    }
    
    .option-text small {
        font-size: 13px;
    }
    
    .bfu-submit-btn {
        width: 100%;
        padding: 16px 30px;
        font-size: 16px;
    }
}
