/**
 * Additional Theme Styles
 * 
 * @package EJSS_CK12_Theme
 */

/* Pagination Styles */
.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 40px;
    list-style: none;
}

.pagination .page-numbers {
    padding: 10px 15px;
    background: #fff;
    border: 2px solid #e0e0e0;
    border-radius: 5px;
    color: #2C3E50;
    transition: all 0.3s ease;
}

.pagination .page-numbers:hover,
.pagination .page-numbers.current {
    background: #48B699;
    border-color: #48B699;
    color: #fff;
}

/* Archive Header */
.archive-header {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #e0e0e0;
}

.archive-header h1 {
    margin-bottom: 10px;
}

.archive-description {
    color: #666;
}

/* Course Filters */
.course-filters select {
    padding: 10px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    background: #fff;
    cursor: pointer;
    transition: border-color 0.3s ease;
}

.course-filters select:focus {
    outline: none;
    border-color: #48B699;
}

/* Lesson List Enhancements */
.lesson-list a {
    transition: background 0.3s ease;
    padding: 10px;
    border-radius: 5px;
}

.lesson-list a:hover {
    background: #F9F9F9;
}

.lesson-title {
    flex: 1;
}

/* Video Responsive */
.lesson-video iframe,
.lesson-video video {
    width: 100%;
    max-width: 100%;
    aspect-ratio: 16/9;
    border-radius: 10px;
}

/* Lesson Navigation Responsive */
@media (max-width: 768px) {
    .lesson-navigation {
        flex-direction: column !important;
        gap: 15px;
    }

    .lesson-navigation>div {
        width: 100%;
    }

    .lesson-navigation .btn {
        width: 100%;
    }
}

/* Subject Hero Variations */
.subject-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.subject-hero.science {
    background: linear-gradient(135deg, #48B699 0%, #2C7A7B 100%);
}

.subject-hero.social-studies {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.subject-hero.english {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Focus Styles for Accessibility */
a:focus,
button:focus,
input:focus,
select:focus {
    outline: 2px solid #48B699;
    outline-offset: 2px;
}

/* Loading Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.course-card,
.subject-card {
    animation: fadeIn 0.5s ease-out;
}

/* Print Styles */
@media print {

    .site-header,
    .site-footer,
    .lesson-navigation,
    .btn {
        display: none;
    }
}