
/*CUSTOM_CSS = """*/
/* Course Platform Custom Styles */

/* Video containers */
.video-responsive {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
}

.video-responsive iframe,
.video-responsive object,
.video-responsive embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Progress animations */
.progress-animate {
    transition: width 0.5s ease-in-out;
}

/* Course cards hover effects */
.course-card-hover {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.course-card-hover:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* Lesson completion indicators */
.completion-indicator {
    position: relative;
    overflow: hidden;
}

.completion-indicator::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.4),
        transparent
    );
    transition: left 0.5s;
}

.completion-indicator.completed::after {
    left: 100%;
}

/* Assignment status badges */
.status-badge {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.status-pending {
    background-color: #fef3c7;
    color: #92400e;
}

.status-completed {
    background-color: #d1fae5;
    color: #065f46;
}

.status-overdue {
    background-color: #fee2e2;
    color: #991b1b;
}

/* Loading animations */
.loading-spinner {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
    .course-grid {
        grid-template-columns: 1fr;
    }
    
    .lesson-card {
        padding: 1rem;
    }
    
    .progress-bar {
        height: 0.5rem;
    }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    .dark-mode-card {
        background-color: #1f2937;
        color: #f9fafb;
    }
    
    .dark-mode-text {
        color: #e5e7eb;
    }
}

/* Print styles */
@media print {
    .no-print {
        display: none !important;
    }
    
    .course-card {
        break-inside: avoid;
        margin-bottom: 1rem;
    }
}

/*Inline Quiz*/
.quiz-container {
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
    transition: all 0.3s ease;
}

.quiz-container.answered {
    border-color: #28a745;
    background: #f8fff8;
}

.quiz-question {
    font-weight: 600;
    font-size: 1.1em;
    margin-bottom: 15px;
    color: #212529;
}

.quiz-answers {
    list-style: none;
    padding: 0;
    margin: 0;
}

.quiz-answers li {
    background: white;
    border: 2px solid #dee2e6;
    border-radius: 6px;
    padding: 0;
    margin: 8px 0;
    transition: all 0.2s ease;
}

.quiz-answers li label {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    cursor: pointer;
    width: 100%;
}

.quiz-answers li input[type="radio"],
.quiz-answers li input[type="checkbox"] {
    margin-right: 12px;
    transform: scale(1.2);
}

.quiz-answers li:hover:not(.disabled) {
    border-color: #007bff;
    background: #f8f9ff;
}

.quiz-answers li.correct {
    border-color: #28a745;
    background: #d4edda;
}

.quiz-answers li.incorrect {
    border-color: #dc3545;
    background: #f8d7da;
}

.quiz-answers li.disabled {
    cursor: not-allowed;
    opacity: 0.6;
}

.quiz-answers li.disabled label {
    cursor: not-allowed;
}

.quiz-explanation {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 6px;
    padding: 15px;
    margin-top: 15px;
    display: none;
}

.quiz-explanation.show {
    display: block;
    animation: fadeIn 0.3s ease;
}

.submit-btn {
    background: #007bff;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    margin-top: 15px;
    transition: background 0.2s ease;
}

.submit-btn:hover:not(:disabled) {
    background: #0056b3;
}

.submit-btn:disabled {
    background: #6c757d;
    cursor: not-allowed;
}

.feedback {
    margin-top: 10px;
    padding: 10px;
    border-radius: 4px;
    font-weight: 500;
    display: none;
}

.feedback.show {
    display: block;
}

.feedback.correct {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.feedback.incorrect {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}