/* Mental Health Screening Styles */
.screening {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    overflow-y: auto;
    padding: 2rem 0;
}

.screening__container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.screening__header {
    background: white;
    padding: 2rem;
    border-radius: 1rem 1rem 0 0;
    text-align: center;
    position: relative;
}

.screening__close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-light);
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.screening__close:hover {
    background: var(--primary-light);
    color: var(--primary);
}

.screening__title {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.screening__subtitle {
    color: var(--text-light);
    font-size: 1.1rem;
    line-height: 1.6;
}

.screening__content {
    background: white;
    padding: 2rem;
    border-radius: 0 0 1rem 1rem;
    min-height: 400px;
}

.screening__progress {
    margin-bottom: 2rem;
}

.screening__progress-bar {
    width: 100%;
    height: 8px;
    background: var(--primary-light);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.screening__progress-fill {
    height: 100%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    transition: width 0.3s ease;
}

.screening__progress-text {
    font-size: 0.9rem;
    color: var(--text-light);
    text-align: center;
    display: block;
}

.screening__questions {
    margin-bottom: 2rem;
}

.screening__question {
    display: none;
    animation: fadeIn 0.3s ease;
}

.screening__question.active {
    display: block;
}

.screening__question-text {
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.screening__options {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.screening__option {
    position: relative;
}

.screening__option input[type="radio"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.screening__option label {
    display: block;
    padding: 1rem 1.5rem;
    background: var(--bg-light);
    border: 2px solid transparent;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.screening__option label:hover {
    background: var(--primary-light);
    border-color: var(--primary);
}

.screening__option input[type="radio"]:checked + label {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.screening__navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.screening__navigation .btn {
    min-width: 120px;
}

/* Result Styles */
.screening__result {
    text-align: center;
    animation: fadeIn 0.5s ease;
}

.screening__result-icon {
    font-size: 4rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.screening__result-title {
    font-size: 1.8rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.screening__result-score {
    margin-bottom: 2rem;
}

.screening__score-circle {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 120px;
    height: 120px;
    border: 4px solid var(--primary);
    border-radius: 50%;
    background: var(--primary-light);
}

.screening__score-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--primary);
}

.screening__score-label {
    font-size: 0.9rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.screening__result-interpretation {
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: 0.5rem;
    margin-bottom: 2rem;
    text-align: left;
}

.screening__interpretation-level {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.screening__interpretation-level.minimal {
    color: var(--success);
}

.screening__interpretation-level.mild {
    color: var(--warning);
}

.screening__interpretation-level.moderate {
    color: var(--secondary);
}

.screening__interpretation-level.severe {
    color: var(--danger);
}

.screening__interpretation-text {
    color: var(--text-dark);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.screening__interpretation-recommendations {
    background: white;
    padding: 1rem;
    border-radius: 0.5rem;
    border-left: 4px solid var(--primary);
}

.screening__interpretation-recommendations h4 {
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.screening__interpretation-recommendations ul {
    margin: 0;
    padding-left: 1.5rem;
}

.screening__interpretation-recommendations li {
    margin-bottom: 0.25rem;
    color: var(--text-dark);
}

.screening__result-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .screening {
        padding: 1rem 0;
    }
    
    .screening__container {
        margin: 0 1rem;
    }
    
    .screening__header,
    .screening__content {
        padding: 1.5rem;
    }
    
    .screening__title {
        font-size: 1.5rem;
    }
    
    .screening__subtitle {
        font-size: 1rem;
    }
    
    .screening__question-text {
        font-size: 1.1rem;
    }
    
    .screening__option label {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }
    
    .screening__navigation {
        flex-direction: column;
    }
    
    .screening__navigation .btn {
        width: 100%;
        min-width: auto;
    }
    
    .screening__result-actions {
        flex-direction: column;
    }
    
    .screening__result-actions .btn {
        width: 100%;
    }
    
    .screening__score-circle {
        width: 100px;
        height: 100px;
    }
    
    .screening__score-number {
        font-size: 2rem;
    }
}
