/* Circuito Quiz - Estilos */

.circuito-quiz-container {
    max-width: 800px;
    margin: 40px auto;
    padding: 40px;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.1);
}

.circuito-quiz-header {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 3px solid #C9A961;
}

.circuito-quiz-header h2 {
    color: #1B3A5F;
    font-size: 32px;
    margin-bottom: 10px;
    font-weight: 700;
}

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

.quiz-section {
    margin-bottom: 35px;
    padding-bottom: 30px;
    border-bottom: 1px solid #e0e0e0;
}

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

.section-title {
    color: #1B3A5F;
    font-size: 20px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #C9A961;
}

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

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.form-row .form-group {
    flex: 1;
    margin-bottom: 0;
}

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

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="date"],
.form-group input[type="time"],
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 15px;
    transition: border-color 0.3s;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #1B3A5F;
}

.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.checkbox-group label {
    display: flex;
    align-items: center;
    font-weight: normal;
    cursor: pointer;
}

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

.quiz-submit-wrapper {
    text-align: center;
    margin-top: 40px;
}

.quiz-submit-btn {
    background: #1B3A5F;
    color: #ffffff;
    padding: 16px 48px;
    font-size: 18px;
    font-weight: 600;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
}

.quiz-submit-btn:hover {
    background: #C9A961;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(201, 169, 97, 0.3);
}

.quiz-privacy-note {
    margin-top: 15px;
    font-size: 13px;
    color: #999;
}

#quiz-loading {
    text-align: center;
    padding: 40px;
}

.loading-spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #1B3A5F;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

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

#quiz-result {
    background: #f8f8f8;
    padding: 30px;
    border-radius: 8px;
    margin-top: 30px;
    border-left: 4px solid #C9A961;
}

#quiz-result h3 {
    color: #1B3A5F;
    margin-top: 0;
}

.result-classification {
    font-size: 24px;
    font-weight: 700;
    margin: 20px 0;
    padding: 15px;
    background: white;
    border-radius: 4px;
    text-align: center;
}

.result-classification.baixo-risco {
    color: #28a745;
    border: 2px solid #28a745;
}

.result-classification.risco-moderado {
    color: #ff8c00;
    border: 2px solid #ff8c00;
}

.result-classification.risco-elevado {
    color: #dc3545;
    border: 2px solid #dc3545;
}

.download-btn {
    display: inline-block;
    background: #C9A961;
    color: white;
    padding: 12px 32px;
    text-decoration: none;
    border-radius: 4px;
    margin-top: 20px;
    font-weight: 600;
    transition: all 0.3s;
}

.download-btn:hover {
    background: #1B3A5F;
    color: white;
    text-decoration: none;
}

/* Responsividade */
@media (max-width: 768px) {
    .circuito-quiz-container {
        padding: 20px;
        margin: 20px;
    }
    
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .circuito-quiz-header h2 {
        font-size: 24px;
    }
    
    .quiz-submit-btn {
        width: 100%;
        padding: 14px 24px;
    }
}
