/* Public viewer page styles */

/* Highlighted Student */
.highlighted-student {
    animation: highlight-pulse 2s ease-in-out infinite;
    border: 3px solid #14b8a6 !important;
    background: linear-gradient(135deg, #f0fdfa 0%, #ccfbf1 100%) !important;
}

@keyframes highlight-pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(20, 184, 166, 0.7);
    }
    50% {
        box-shadow: 0 0 0 10px rgba(20, 184, 166, 0);
    }
}

/* Filter Buttons */
.filter-btn.active {
    background-color: #14b8a6;
    color: white;
}

/* Progress Bar */
.progress-bar {
    transition: width 1s ease-out;
}

/* Submission Modal */
.task-item {
    transition: all 0.2s ease;
}

.task-item:has(input:checked) {
    background-color: #f0fdfa !important;
    border: 1px solid #14b8a6;
    border-radius: 0.375rem;
    box-shadow: 0 1px 3px rgba(20, 184, 166, 0.2);
}

.task-item input:checked ~ span {
    color: #0f766e;
    font-weight: 600;
}

.task-description-expanded {
    animation: slideDown 0.3s ease;
    background: #f8fafc;
    border-left: 3px solid #14b8a6;
    margin-top: 0.375rem;
    padding: 0.5rem;
    border-radius: 0.25rem;
}

@keyframes slideDown {
    from {
        opacity: 0;
        max-height: 0;
    }
    to {
        opacity: 1;
        max-height: 300px;
    }
}

.submit-btn-pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.02);
    }
}

.category-header {
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
}
