.adhd-screening-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

.progress-container {
    margin-bottom: 30px;
    text-align: center;
}

.progress-bar {
    height: 8px;
    background: #e0e0e0;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 10px;
}

.progress-fill {
    height: 100%;
    background: #2196f3;
    border-radius: 4px;
    transition: width 0.3s ease;
}

.progress-text {
    font-size: 14px;
    color: #616161;
    font-weight: bold;
}

.steps-container {
    position: relative;
    min-height: 400px;
}

.step {
    display: none;
    animation: fadeIn 0.3s ease;
}

.step.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.step-header {
    text-align: center;
    margin-bottom: 25px;
}

.step-header h2 {
    color: #2c3e50;
    font-size: 24px;
    margin-bottom: 10px;
}

.step-content {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    margin-bottom: 30px;
}

.question-text {
    font-size: 18px;
    color: #2c3e50;
    margin-bottom: 25px;
    line-height: 1.4;
}

.age-group {
    margin: 25px 0;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 3px solid #3498db;
}

.age-group h3 {
    color: #2980b9;
    margin-top: 0;
    margin-bottom: 15px;
}

.scale-options {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1px;
}

.scale-option {
    display: flex;
    align-items: center;
    padding: 1px;
    padding-left: 10px;
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.scale-option:hover {
    border-color: #2196f3;
    background: #f5f9ff;
}

.scale-option input[type="radio"] {
    margin-right: 15px;
    cursor: pointer;
    transform: scale(1.3);
}

.scale-option label {
    cursor: pointer;
    flex: 1;
    font-size: 16px;
}

.scale-option input[type="radio"]:checked + label {
    color: #1565c0;
    font-weight: bold;
}

.scale-option input[type="radio"]:checked {
    accent-color: #2196f3;
}

.life-areas-selection {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.life-area-item {
    padding: 15px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.life-area-item:hover {
    border-color: #2196f3;
    background: #f5f9ff;
}

.life-area-item input[type="checkbox"] {
    margin-right: 10px;
    cursor: pointer;
    transform: scale(1.3);
}

.life-area-item label {
    cursor: pointer;
    font-size: 18px;
    font-weight: bold;
    color: #2c3e50;
}

.problems-list {
    margin-top: 12px;
    padding: 15px;
    background: #e8f4fd;
    border-radius: 6px;
    border-left: 3px solid #1976d2;
}

.problems-list ul {
    list-style-type: none;
    padding-left: 15px;
    margin: 0;
}

.problems-list li {
    padding: 5px 0;
    color: #424242;
    font-size: 15px;
}

.problems-list.hidden {
    display: none;
}

.note {
    background: #fff8e1;
    padding: 15px;
    border-radius: 6px;
    border-left: 3px solid #ffc107;
    margin-top: 20px;
    font-size: 14px;
    color: #5d4037;
}

.important-note {
    background: #ffebee;
    padding: 15px;
    border-radius: 6px;
    border-left: 3px solid #f44336;
    font-weight: bold;
    color: #c62828;
}

.step-navigation {
    display: flex;
    justify-content: space-between;
    gap: 15px;
}

.prev-button, .next-button, .restart-button {
    padding: 12px 25px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.prev-button {
    background: #6c757d;
    color: white;
}

.prev-button:hover {
    background: #5a6268;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.next-button, .restart-button {
    background: #2196f3;
    color: white;
}

.next-button:hover, .restart-button:hover {
    background: #1976d2;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.restart-button {
    background: #4caf50;
}

.restart-button:hover {
    background: #43a047;
}

/* Результаты */
.results-container {
    padding: 0 !important;
    box-shadow: none !important;
    margin-bottom: 0 !important;
}

.results-summary {
    background: #e3f2fd;
    padding: 25px;
    border-radius: 10px;
    margin-bottom: 30px;
    border-left: 4px solid #1976d2;
}

.results-summary h3 {
    color: #0d47a1;
    margin-top: 0;
    font-size: 22px;
}

.diagnosis-result {
    font-size: 22px;
    font-weight: bold;
    color: #d32f2f;
    margin: 20px 0;
    padding: 20px;
    background: #ffebee;
    border-radius: 8px;
    border-left: 4px solid #f44336;
    line-height: 1.4;
}

.disclaimer {
    color: #616161;
    font-style: italic;
    margin-top: 15px;
    font-size: 15px;
    line-height: 1.5;
    padding: 15px;
    background: #f5f5f5;
    border-radius: 6px;
    border-left: 3px solid #9e9e9e;
}

.symptoms-results, .life-areas-results {
    margin-bottom: 40px;
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.symptoms-chart-container, .life-areas-chart-container {
    height: 350px;
    margin: 25px 0;
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
}

.symptoms-details h4, .life-areas-details h4 {
    color: #1976d2;
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 18px;
}

.symptoms-details ul, .life-areas-details ul {
    list-style: none;
    padding-left: 0;
}

.symptoms-details li, .life-areas-details li {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    font-size: 16px;
}

.symptoms-details li:last-child, .life-areas-details li:last-child {
    border-bottom: none;
}

.actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.export-button {
    padding: 12px 30px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #e91e63;
    color: white;
}

.export-button:hover {
    background: #c2185b;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* Адаптивность */
@media (max-width: 768px) {
    .adhd-screening-container {
        padding: 15px;
    }
    
    .step-content {
        padding: 20px;
    }
    
    .scale-options, .problems-list {
        grid-template-columns: 1fr;
    }
    
    .step-navigation {
        flex-direction: column;
    }
    
    .prev-button, .next-button, .restart-button {
        width: 100%;
    }
    
    .symptoms-chart-container, .life-areas-chart-container {
        height: 300px;
    }
}

@media (max-width: 480px) {
    .progress-text {
        font-size: 12px;
    }
    
    .symptoms-chart-container, .life-areas-chart-container {
        height: 250px;
    }
    
    .diagnosis-result {
        font-size: 18px;
    }
}