/* teste-depressao.css - PHQ-9 Depression Calculator */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.phq9-calculator-container {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, sans-serif;
    line-height: 1.6;
    color: #333;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
}

.phq9-header {
    text-align: center;
    margin-bottom: 2rem;
}

.phq9-header h1 {
    color: #10b981;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.phq9-header p {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

.phq9-warning-box {
    background: linear-gradient(135deg, #fef3c7 0%, #fcd34d 100%);
    border-left: 5px solid #f59e0b;
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 8px;
}

.phq9-warning-box h3 {
    color: #92400e;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.phq9-warning-box p {
    color: #92400e;
    margin-bottom: 0.5rem;
}

.phq9-form-container {
    background: #fff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
}

.phq9-instructions {
    background: #f0fdf4;
    border: 2px solid #10b981;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.phq9-instructions h3 {
    color: #10b981;
    margin-bottom: 0.75rem;
}

.phq9-question-group {
    margin-bottom: 2rem;
    padding: 1.5rem;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    transition: border-color 0.3s ease;
}

.phq9-question-group:hover {
    border-color: #10b981;
}

.phq9-question-group.critical {
    border-color: #ef4444;
    background: #fef2f2;
}

.phq9-question-text {
    font-weight: 600;
    color: #374151;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    line-height: 1.4;
}

.phq9-question-number {
    color: #10b981;
    font-weight: 700;
}

.phq9-options-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.75rem;
}

.phq9-radio-option {
    position: relative;
}

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

.phq9-radio-option label {
    display: block;
    padding: 0.875rem 1rem;
    background: #f9fafb;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    font-weight: 500;
}

.phq9-radio-option input[type="radio"]:checked + label {
    background: #10b981;
    border-color: #10b981;
    color: white;
}

.phq9-radio-option label:hover {
    border-color: #10b981;
    background: #ecfdf5;
}

.phq9-radio-option input[type="radio"]:checked + label:hover {
    background: #059669;
}

.phq9-submit-button {
    width: 100%;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    border: none;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 2rem;
}

.phq9-submit-button:hover {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.3);
}

.phq9-submit-button:disabled {
    background: #9ca3af;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.phq9-result-container {
    margin-top: 2rem;
    padding: 2rem;
    border-radius: 12px;
    display: none;
}

.phq9-result-container.show {
    display: block;
    animation: phq9FadeIn 0.5s ease-in;
}

@keyframes phq9FadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.phq9-result-score {
    text-align: center;
    margin-bottom: 2rem;
}

.phq9-score-circle {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
}

.phq9-result-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.phq9-result-description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.phq9-recommendations {
    background: #f8fafc;
    padding: 1.5rem;
    border-radius: 8px;
    margin-top: 1.5rem;
}

.phq9-recommendations h4 {
    color: #374151;
    margin-bottom: 1rem;
}

.phq9-recommendations ul {
    margin-left: 1.5rem;
}

.phq9-recommendations li {
    margin-bottom: 0.5rem;
    color: #4b5563;
}

.phq9-emergency-notice {
    background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
    border: 2px solid #ef4444;
    border-radius: 8px;
    padding: 1.5rem;
    margin: 2rem 0;
}

.phq9-emergency-notice h3 {
    color: #dc2626;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.phq9-emergency-notice p {
    color: #991b1b;
    font-weight: 500;
}

.phq9-cta-section {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    margin-top: 2rem;
}

.phq9-cta-section h3 {
    margin-bottom: 1rem;
}

.phq9-cta-button {
    background: white;
    color: #10b981;
    padding: 0.875rem 2rem;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    margin: 0.5rem;
}

.phq9-cta-button:hover {
    background: #f0fdf4;
    transform: translateY(-1px);
}

.phq9-disclaimer {
    background: #f3f4f6;
    padding: 1.5rem;
    border-radius: 8px;
    margin-top: 2rem;
    text-align: center;
    color: #6b7280;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .phq9-calculator-container {
        padding: 1rem;
    }

    .phq9-header h1 {
        font-size: 2rem;
    }

    .phq9-options-container {
        grid-template-columns: 1fr;
    }

    .phq9-form-container {
        padding: 1.5rem;
    }
}