/* Questionnaire Specific Styles */

.questionnaire-container {
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 2rem;
    margin: 2rem 0;
}

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

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

.progress {
    height: 100%;
    background-color: var(--secondary-color);
    width: 16.66%; /* 1/6 for first section */
    transition: width 0.3s ease;
}

.section-indicators {
    display: flex;
    justify-content: space-between;
}

.section-indicator {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: var(--light-color);
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    color: var(--dark-color);
    cursor: pointer;
    transition: all 0.3s ease;
}

.section-indicator.active {
    background-color: var(--secondary-color);
    color: white;
}

.section-indicator.completed {
    background-color: var(--primary-color);
    color: white;
}

/* Question Sections */
.question-section {
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.section-description {
    margin-bottom: 2rem;
    color: #666;
}

/* Question Items */
.question-item {
    margin-bottom: 2.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--light-color);
}

.question-item h3 {
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.options {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1rem;
}

.option {
    display: flex;
    align-items: center;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: all 0.2s ease;
}

.option:hover {
    background-color: #f5f5f5;
}

.option input[type="radio"] {
    margin-right: 1rem;
}

.option-text {
    flex: 1;
}

/* Selected option styling */
.option input[type="radio"]:checked + .option-text {
    font-weight: bold;
}

.option:has(input[type="radio"]:checked) {
    border-color: var(--secondary-color);
    background-color: rgba(52, 152, 219, 0.1);
}

/* Navigation Buttons */
.navigation-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 2rem;
}

.btn-secondary {
    background-color: #95a5a6;
    color: white;
}

.btn-secondary:hover:not([disabled]) {
    background-color: #7f8c8d;
}

.btn-secondary[disabled] {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .questionnaire-container {
        padding: 1rem;
    }
    
    .option {
        padding: 0.5rem;
    }
} 