/* Quick Test Questions Page Styles */

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

/* Test Info */
.test-info {
    background-color: #f8f9fa;
    border-left: 4px solid #6a5acd;
    padding: 1.5rem;
    margin-bottom: 2rem;
    border-radius: 0 8px 8px 0;
}

.test-info h4 {
    color: #6a5acd;
    margin-bottom: 1rem;
}

.test-info ul {
    list-style-type: none;
    padding-left: 0;
}

.test-info li {
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.test-info li:before {
    content: "•";
    color: #6a5acd;
    position: absolute;
    left: 0;
}

/* Progress Bar */
.progress-container {
    margin-bottom: 2rem;
}

.progress {
    height: 10px;
    border-radius: 5px;
    background-color: #e9ecef;
}

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

/* Question Card */
.question-card {
    background-color: white;
    border-radius: 8px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.question-card:hover {
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.question-number {
    color: #6a5acd;
    font-weight: 600;
    margin-bottom: 1rem;
}

.question-text {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

/* Answer Options */
.answer-options {
    display: grid;
    gap: 1rem;
}

.answer-option {
    padding: 1rem;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.answer-option:hover {
    border-color: #6a5acd;
    background-color: #f8f9fa;
}

.answer-option.selected {
    border-color: #6a5acd;
    background-color: #f0f0ff;
}

/* Results Container */
.results-container {
    background-color: white;
    border-radius: 8px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.results-container h3 {
    color: #6a5acd;
    margin-bottom: 2rem;
}

/* Chart Styles */
#resultsChart {
    max-height: 400px;
    margin: 0 auto;
}

/* Table Styles */
.table {
    margin-bottom: 0;
}

.table th {
    background-color: #f8f9fa;
    color: #6a5acd;
    font-weight: 600;
}

.table td {
    vertical-align: middle;
}

/* Expert Analysis */
.expert-analysis {
    background-color: #f8f9fa;
    border-left: 4px solid #6a5acd;
    padding: 1.5rem;
    margin-top: 2rem;
    border-radius: 0 8px 8px 0;
}

.expert-analysis h4 {
    color: #6a5acd;
    margin-bottom: 1rem;
}

/* Expert Introduction */
.expert-intro {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.expert-img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border: 3px solid #6a5acd;
}

/* DSM Reference */
.dsm-reference {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.dsm-reference h4 {
    color: #6a5acd;
    margin-bottom: 1rem;
}

/* Expert Endorsement */
.expert-endorsement .card {
    border: none;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.expert-endorsement .card-body {
    padding: 1.5rem;
}

.expert-signature {
    margin-top: 1rem;
    text-align: right;
    color: #6a5acd;
}

/* Disclaimer Box */
.disclaimer-box {
    background-color: #fff3cd;
    border-left: 4px solid #ffc107;
    padding: 1.5rem;
    margin-top: 2rem;
    border-radius: 0 8px 8px 0;
}

.disclaimer-box h4 {
    color: #856404;
    margin-bottom: 1rem;
}

.disclaimer-box p {
    color: #856404;
    margin-bottom: 0.5rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .test-container {
        padding: 1rem;
    }
    
    .question-card,
    .results-container {
        padding: 1.5rem;
    }
    
    .question-text {
        font-size: 1.1rem;
    }
    
    .expert-img {
        width: 80px;
        height: 80px;
        margin-bottom: 1rem;
    }
}

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

.question-card,
.results-container {
    animation: fadeIn 0.5s ease-out;
}

/* Accessibility */
.answer-option:focus {
    outline: 2px solid #6a5acd;
    outline-offset: 2px;
}

/* Print Styles */
@media print {
    .navigation-buttons,
    .disclaimer-box {
        display: none;
    }
    
    .test-container {
        max-width: 100%;
        padding: 0;
    }
    
    .question-card,
    .results-container {
        box-shadow: none;
        border: 1px solid #ddd;
    }
    
    #resultsChart {
        max-height: none;
    }
} 