/* Test Page Styles */
.test-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
}

.breadcrumb {
    background-color: transparent;
    padding: 1rem 0;
}

.test-header {
    text-align: center;
    margin-bottom: 3rem;
}

.test-header h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #333;
}

.test-header p {
    font-size: 1.2rem;
    color: #666;
}

.test-progress {
    margin-bottom: 2rem;
}

.progress {
    height: 10px;
    background-color: #f0f0f0;
}

.progress-bar {
    background-color: #ff6b6b;
    transition: width 0.3s ease;
}

.question-container {
    background: #fff;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
}

.question-text {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: #333;
}

.option-list {
    list-style: none;
    padding: 0;
}

.option-item {
    margin-bottom: 1rem;
}

.option-label {
    display: block;
    padding: 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.option-label:hover {
    background-color: #f8f8f8;
    border-color: #ff6b6b;
}

.option-label.selected {
    background-color: #fff5f5;
    border-color: #ff6b6b;
}

.option-input {
    margin-right: 1rem;
}

.test-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 2rem;
}

.btn-test {
    padding: 0.8rem 2rem;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-test:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.test-info-box {
    background-color: #f8f9fa;
    border-left: 4px solid #ff6b6b;
    padding: 1.5rem;
    margin-bottom: 2rem;
    border-radius: 5px;
}

.test-info-box h3 {
    color: #333;
    margin-bottom: 1rem;
}

.test-info-box p {
    color: #666;
    margin-bottom: 0.5rem;
}

/* Results Styles */
.results-container {
    display: none;
    background: #fff;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

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

.results-header h2 {
    font-size: 2rem;
    color: #333;
    margin-bottom: 1rem;
}

.results-header p {
    font-size: 1.1rem;
    color: #666;
}

.results-chart {
    margin: 2rem 0;
    height: 400px;
}

.results-details {
    margin-top: 2rem;
}

.results-details h3 {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 1.5rem;
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.result-item {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 5px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.result-item h4 {
    color: #333;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.score-bar {
    height: 8px;
    background: #e0e0e0;
    border-radius: 4px;
    margin-bottom: 0.5rem;
    overflow: hidden;
}

.score-fill {
    height: 100%;
    background: #ff6b6b;
    transition: width 0.3s ease;
}

.score-text {
    color: #666;
    font-size: 0.9rem;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .test-container {
        padding: 1rem;
    }
    
    .test-header h1 {
        font-size: 2rem;
    }
    
    .question-container {
        padding: 1.5rem;
    }
    
    .test-navigation {
        flex-direction: column;
        gap: 1rem;
    }
    
    .btn-test {
        width: 100%;
    }

    .results-chart {
        height: 300px;
    }

    .results-grid {
        grid-template-columns: 1fr;
    }
}

/* Accessibility */
.option-label:focus-within {
    outline: 2px solid #ff6b6b;
    outline-offset: 2px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
} 