/* Assessment Page Specific Styles */

/* Progress Bar */
.progress-container {
    background: #f0f0f0;
    padding: 20px;
    position: sticky;
    top: 60px;
    z-index: 100;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

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

.progress-bar::before {
    content: '';
    display: block;
    height: 100%;
    background: #8b5cf6;
    border-radius: 4px;
    width: var(--progress, 0%);
    transition: width 0.3s ease;
}

.progress-text {
    text-align: center;
    font-size: 14px;
    color: #666;
    font-weight: 600;
}

/* Assessment Container */
.assessment-container {
    padding: 20px;
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Question Card */
.question-card {
    background: #fff;
    border-radius: 16px;
    padding: 30px 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    width: 100%;
    max-width: 500px;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Status Selection Card */
.status-selection-card {
    background: white;
    border-radius: 16px;
    padding: 30px 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    width: 100%;
    max-width: 500px;
    text-align: center;
}

.status-selection-card h2 {
    color: #8B5CF6;
    font-size: 28px;
    margin-bottom: 12px;
}

.status-selection-card p {
    color: #666;
    font-size: 18px;
    margin-bottom: 30px;
}

.status-buttons {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.status-btn {
    background: #f8f4ff;
    border: 2px solid #8B5CF6;
    border-radius: 12px;
    padding: 20px;
    font-size: 18px;
    font-weight: 600;
    color: #333;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.status-btn:hover {
    background: #8B5CF6;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
}

.status-icon {
    font-size: 24px;
}

.question-card h2 {
    font-size: 22px;
    line-height: 1.4;
    color: #333;
    margin-bottom: 30px;
    text-align: center;
}

/* Answer Buttons */
.answer-buttons {
    display: flex;
    gap: 15px;
    width: 100%;
}

.answer-btn {
    flex: 1;
    padding: 20px;
    border: 2px solid #e0e0e0;
    background: #fff;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.answer-icon {
    font-size: 28px;
    font-weight: bold;
}

.answer-text {
    font-size: 18px;
    font-weight: 600;
}

/* Yes button styling */
.answer-yes {
    color: #4caf50;
}

.answer-yes:hover,
.answer-yes:active {
    background: #f1f8f4;
    border-color: #4caf50;
    transform: scale(1.05);
}

/* No button styling */
.answer-no {
    color: #f44336;
}

.answer-no:hover,
.answer-no:active {
    background: #fef5f5;
    border-color: #f44336;
    transform: scale(1.05);
}

/* Completion Card */
.completion-card {
    background: #f8f6ff;
    border-radius: 16px;
    padding: 40px 20px;
    text-align: center;
    width: 100%;
    max-width: 500px;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.completion-card h2 {
    color: #8b5cf6;
    margin-bottom: 16px;
}

.completion-card p {
    font-size: 18px;
    color: #666;
    margin-bottom: 24px;
}

/* Responsive adjustments */
@media (max-width: 380px) {
    .answer-buttons {
        flex-direction: column;
    }
    
    .answer-btn {
        width: 100%;
    }
}