/* General Styles */
* {
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

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

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

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


/* registration */
.registration-form {
    background: white;
    padding: 24px;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

/* index.html */
.main-dashboard{
    padding: 0 10px;
}
/* Header Styles */
.header-center {
    flex: 1;
    margin: 0 15px;
}

.header {
    display: flex;
    align-items: center !important;
    gap: 15px;
    height: 70px;
}


.user-greeting {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    display: flex;
    align-items: center;
    gap: 8px;
}

.user-greeting a {
    text-decoration: none;
    color: inherit;
}

.user-greeting i {
    width: 20px;
    height: 20px;
    stroke-width: 2;
}

/* welcome section */

.welcome-section {
    padding: 30px 0;
    display: flex;
    align-items: center;
    gap: 20px;
    animation: fadeIn 0.5s ease;
}

.welcome-text {
    flex: 1;
}

.welcome-title {
    font-size: 24px;
    font-family: 'Poppins', sans-serif !important;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    line-height: 1.3;
}

.welcome-subtitle {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
}

.welcome-highlight {
    color: #4981F5;
    font-family: 'Poppins', sans-serif !important;
}

.welcome-image {
    width: 170px;
    height: auto;
    object-fit: contain;
    animation: scaleIn 0.5s ease backwards;
    animation-delay: 0.2s;
}

.profile-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid #eee;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #666;
    text-decoration: none;
}

.profile-link:hover {
    transform: scale(1.05);
    border-color: #4981F5;
}

/* sidebar start */
.sidebar {
    position: fixed;
    top: 0;
    left: -350px;
    width: 300px;
    height: 100vh;
    background: white;
    box-shadow: 25px 0 25px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    z-index: 1001;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sidebar.active {
    left: 0;
}

.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0,0,0,0.3);
    z-index: 99;
    opacity: 0;
    pointer-events: none;
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}

.sidebar-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.sidebar a{
    text-decoration: none !important;
}

.sidebar .sidebar-menu-icon{
    display: flex;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #f2f2f2;
    font-size: 24px;
    justify-content: center;
    align-items: center;
}

.sidebar-close {
    position: absolute;
    top: 20px;
    right: -50px;
    width: 32px;
    height: 32px;
    color: white;
    background-color: red;
    padding: 5px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.sidebar-close:hover {
    background: #f8f9fa;
}

.sidebar-close i {
    width: 20px;
    height: 20px;
    stroke-width: 2;
    color: #666;
}

.sidebar-credit {
    margin-top: auto; /* Pushes it to the bottom */
    text-align: center;
    font-size: 12px;
    color: rgba(136, 136, 136, 0.7); /* Slightly dim text */
    padding: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.sidebar-credit .highlight {
    color: #FFD700; /* Gold color */
    font-weight: bold;
}

/* sidebar menu item */
.logo-image {
    width: 170px;
    height: auto;
    object-fit: contain;
    animation: scaleIn 0.5s ease backwards;
    animation-delay: 0.2s;
    margin-bottom: 30px;
    padding-left: 20px;
}

.menu-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: 8px;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
}
.menu-item:hover {
    background: #f8f9fa;
}
.menu-item i {
    width: 20px;
    height: 20px;
    stroke-width: 2;
}
.menu-item.active {
    background: #4981F5;
    color: white;
}
.menu-item.active i {
    color: white;
}
.menu-divider {
    height: 1px;
    background: #eee;
    margin: 12px 0;
}

/* banner section starts */

.banner-section {
    display: flex;
    gap: 15px;
    /*margin-bottom: 30px;*/
    overflow-x: auto;
    /*padding: 20px 0px;*/
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
    scroll-behavior: smooth;
}

.banner-section::-webkit-scrollbar {
    display: none; /* Chrome, Safari and Opera */
}

.banner-card {
    flex: 0 0 auto;
    width: 230px;
    padding: 15px;
    border-radius: 15px;
    color: white;
    position: relative;
    overflow: hidden;
    min-height: 120px;
    scroll-snap-align: start;
    animation: scaleIn 0.5s ease backwards;
    animation-delay: 0.2s;
}

.banner-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.learn-card {
    background: linear-gradient(45deg, #FF6B6B, #FF8787);
    box-shadow: 0px 8px 7px #ffabab;
}

.explore-card {
    background: linear-gradient(45deg, #4ECDC4, #45B7AF);
    box-shadow: 0px 8px 7px #a7d7d4;
}

.course-card-banner{
    background: linear-gradient(45deg, #845EF7, #7048E8);
    box-shadow: 0px 8px 7px #c6b5f9;
}

.live-session-card{
    background: linear-gradient(45deg, #F06595, #E64980);
    box-shadow: 0px 8px 7px #fdc1d6;
}

.banner-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
}

.banner-text {
    font-size: 13px;
    opacity: 0.9;
}

/* Streak Section starts*/
.streak-section {
    background: linear-gradient(135deg, #8A4FFF, #6B35E8);
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 10px;
    color: white;
    animation: fadeIn 0.5s ease;
    box-shadow: 0px 10px 7px #24066330;
    border: 3px solid #e7dbff;
}

.streak-title {
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 20px;
    padding: 0 4px;
}

.streak-days {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 5px 2px;
}

.streak-day {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.streak-circle {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    position: relative;
    transition: all 0.3s ease;
}

.streak-label {
    font-size: 11px;
    opacity: 0.8;
}
.streak-circle.completed {
    background: white;
    color: #8A4FFF;
    box-shadow: 0 2px 12px rgba(255, 255, 255, 0.8);
    transform: scale(1.2);
}

.streak-circle.completed::after {
    content: '✓';
    position: absolute;
    font-size: 18px;
    font-weight: 600;
    background: linear-gradient(135deg, #8A4FFF, #6B35E8);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.streak-day.completed .streak-label {
    opacity: 1 !important;
    color: white;
    font-weight: 600;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.streak-circle.not-completed {
    background: #5326bb;
    color: #8A4FFF;
    box-shadow: 0 2px 12px rgba(255, 25, 25, 0.24);
    transform: scale(1.1);
}

.streak-circle.not-completed::after {
    content: '✗';
    position: absolute;
    font-size: 18px;
    font-weight: 600;
    background: linear-gradient(135deg, #bd9cff, #976ff7);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.streak-day.not-completed .streak-label {
    opacity: 1;
    font-weight: 600;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

/* classroom section starts */

.classroom-section {
    margin-bottom: 30px;
    animation: fadeIn 0.5s ease;
}

.classroom-scroll {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    padding: 4px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
    scroll-behavior: smooth;
}

.classroom-scroll::-webkit-scrollbar {
    display: none; /* Chrome, Safari and Opera */
}

.classroom-card {
    flex: 0 0 auto;
    width: 140px;
    padding: 16px;
    border-radius: 15px;
    text-align: center;
    animation: scaleIn 0.5s ease backwards;
    transition: all 0.3s ease;
    color: white;
    position: relative;
    overflow: hidden;
}

.classroom-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 100%);
    z-index: 1;
}

.classroom-card:hover {
    transform: translateY(-2px);
    filter: brightness(1.05);
}

.classroom-card:hover::before {
    background: linear-gradient(45deg, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0) 100%);
}

.class-icon {
    font-size: 24px;
    margin-bottom: 8px;
    position: relative;
    z-index: 2;
}

.class-name {
    font-weight: 600;
    margin-bottom: 12px;
    font-size: 15px;
    position: relative;
    z-index: 2;
}

.class-stats {
    background: rgba(255, 255, 255, 0.15);
    padding: 6px 10px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 500;
    position: relative;
    z-index: 2;
    backdrop-filter: blur(4px);
}

.class-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: rgba(255, 255, 255, 0.1);
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: rgba(255, 255, 255, 0.3);
    width: 75%;
    transition: width 0.3s ease;
}

.class-1 { 
    background: linear-gradient(135deg, #4981F5, #4267B2);
}

.class-2 { 
    background: linear-gradient(135deg, #F54980, #C73E6B);
}

.class-3 { 
    background: linear-gradient(135deg, #49C5A5, #3B9D84);
}

.class-4 { 
    background: linear-gradient(135deg, #F5A349, #C48238);
}

.class-5 { 
    background: linear-gradient(135deg, #9D49F5, #7E3BC4);
}

/* categories start */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.see-all {
    color: #4981F5;
    font-size: 14px;
    font-weight: 500;
}
.categories {
    margin-bottom: 30px;
}

.section-title {
    font-size: 16px;
    font-weight: 600;
    font-family: 'Poppins', 'Sans-Serif';
    color: #333;
    margin-bottom: 15px;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    padding: 4px;
}

.category-grid::-webkit-scrollbar {
    display: none; /* Chrome, Safari and Opera */
}

.category-wrapper {
    text-align: center;
}

.category-item {
    border-radius: 12px;
    padding: 15px;
    text-align: center;
    animation: scaleIn 0.5s ease backwards;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
}

.category-item:hover {
    transform: translateY(-2px);
    filter: brightness(1.05);
}

.category-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(4px);
}

.math-category { 
    background-color: #c6e0ff;
}

.art-category { 
    background-color: #ffcedc;
}

.science-category { 
    background-color: #b6f1de;
}

.language-category { 
    background-color: #ffe0c1;
}

.music-category { 
    background-color: #e7dbff;
}

.category-name {
    font-size: 13px;
    font-weight: 500;
    font-family: 'Poppins','Sans-Serif' !important;
    margin-top: 8px;
    text-align: center;
    color: rgb(118, 118, 118);
}

.category-wrapper:nth-child(1) { animation-delay: 0.1s; }
.category-wrapper:nth-child(2) { animation-delay: 0.2s; }
.category-wrapper:nth-child(3) { animation-delay: 0.3s; }
.category-wrapper:nth-child(4) { animation-delay: 0.4s; }
.category-wrapper:nth-child(5) { animation-delay: 0.5s; }

/* courses starts */
.courseCard{
    background: white;
    border-radius: 12px;
    text-decoration: none !important;
    display: flex;
    flex-direction: column;
    padding: 15px;
    gap: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    animation: scaleIn 0.5s ease backwards;
    transition: all 0.3s ease;
}
.course-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.course-card {
    display: flex;
    justify-content: left;
    align-items: center;
    text-decoration: none !important;
    gap: 12px;
}

.courseCard:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.course-icon {
    width: 45px;
    height: 45px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    background-color: #eee;
}

.course-info {
    flex: 1;
}

.course-title {
    font-size: 15px;
    font-weight: 700;
    font-family: 'Poppins','Sans-Serif';
    color: #333;
    margin-bottom: 4px;
}

.course-content {
    display: flex;
    flex-direction: row;
    gap: 8px;
    align-items: center;
    justify-content: center;
}

.course-stats {
    font-size: 12px;
    color: #666;
}
.course-stats svg{
    width: 14px !important;
    height: 14px !important;
    color: #666;
}

.course-card:nth-child(1) { animation-delay: 0.1s; }
.course-card:nth-child(2) { animation-delay: 0.15s; }
.course-card:nth-child(3) { animation-delay: 0.2s; }
.course-card:nth-child(4) { animation-delay: 0.25s; }
.course-card:nth-child(5) { animation-delay: 0.3s; }
.course-card:nth-child(6) { animation-delay: 0.35s; }
.course-card:nth-child(7) { animation-delay: 0.4s; }
.course-card:nth-child(8) { animation-delay: 0.45s; }

/* Header Styles */

.back-button {
    width: 30px;
    height: 30px;
    border-radius: 12px;
    background: transparent;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.back-button:hover {
    background: #f8f9fa;
    transform: translateX(-2px);
}

.back-button svg {
    width: 20px;
    height: 20px;
    stroke-width: 2;
    color:rgb(102, 102, 102) !important;
}

.page-title {
    font-size: 20px;
    font-weight: 600;
    color:rgb(102, 102, 102);
    margin-bottom: 0px !important;
}

/*subjects page starts*/

.subjects-grid {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 30px;
}

.subjects-grid a{
    text-decoration: none !important;
    align-items: center;
}

.subject-card {
    background: white;
    border-radius: 15px;
    padding: 15px;
    animation: scaleIn 0.5s ease backwards;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 20px;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    cursor: pointer;
}

.subject-card::after {
    content: '';
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    background-image: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTkgMThMOSA2TDE1IDEyTDkgMThaIiBzdHJva2U9IiM5OTkiIHN0cm9rZS13aWR0aD0iMiIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIi8+Cjwvc3ZnPgo=");
    background-size: contain;
    opacity: 0.3;
    transition: all 0.3s ease;
}

.subject-card:hover::after {
    opacity: 0.6;
    transform: translate(5px, -50%);
}

.subject-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.subject-content {
    flex: 1;
    min-width: 0;
    padding-right: 30px;
}

.subject-icon {
    width: 70px;
    height: 70px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.subject-card:hover .subject-icon {
    transform: scale(1.05);
}

.subject-icon::after {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(255,255,255,0.5), rgba(255,255,255,0));
    z-index: -1;
}

.subject-title {
    font-size: 16px;
    font-weight: 600;
    font-family: 'Poppins','Sans-Serif';
    color: #333;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.subject-progress {
    width: 100%;
    height: 4px;
    background: rgba(0,0,0,0.05);
    border-radius: 2px;
    margin: 8px 0 0;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    border-radius: 2px;
    transition: width 0.3s ease;
}

.math-progress { background: #4981F5; width: 75%; }
.art-progress { background: #F54980; width: 60%; }
.science-progress { background: #49C5A5; width: 85%; }
.language-progress { background: #F5A349; width: 70%; }
.music-progress { background: #8A4FFF; width: 55%; }
.history-progress { background: #FF6B6B; width: 65%; }

.subject-stats {
    display: flex;
    gap: 15px;
    font-size: 13px;
    color: #666;
}

.subject-stats svg{
    width: 14px !important;
    height: 14px !important;
    color: #666;
}

.stat {
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
}

.stat i {
    width: 10px;
    height: 10px;
    stroke-width: 1;
}

.next-lesson {
    position: absolute;
    right: 20px;
    height: 100%;
    top: 0;
    display: flex;
    align-items: center;
    color: #4981F5;
    font-weight: 500;
    font-size: 13px;
    padding-left: 25px;
    opacity: 0;
    transform: translateX(20px);
    transition: all 0.3s ease;
}

.subject-card:hover .next-lesson {
    opacity: 1;
    transform: translateX(0);
}

.math-bg { background-color: #c6e0ff; }
.art-bg { background-color: #ffcedc; }
.science-bg { background-color: #b6f1de; }
.language-bg { background-color: #ffe0c1; }
.music-bg { background-color: #e7dbff; }
.history-bg { background-color: #ffd5d5; }

.bg-1 { background-color: #c6e0ff; }
.bg-2 { background-color: #ffcedc; }
.bg-3 { background-color: #b6f1de; }
.bg-4 { background-color: #ffe0c1; }
.bg-5 { background-color: #e7dbff; }
.bg-6 { background-color: #ffd5d5; }
.bg-7 { background-color: #f0f0f0; }

/* daily phrases block starts */


.daily-carousel {
    position: relative;
    width: 100%;
    max-width: 400px;
    margin: auto;
    text-align: center;
    border: 2px dashed #ff000060;
    border-radius: 8px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
    background: rgb(255, 255, 255);
    animation: fadeIn 0.5s ease;
}

.carousel-container {
    position: relative;
    width: 100%;
    height: auto;
    overflow: hidden;
}

.carousel-slide {
    position: absolute;
    width: 100%;
    padding: 15px;
    opacity: 0;
    transform: translateX(100%);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.carousel-slide.active {
    opacity: 1;
    transform: translateX(0);
    position: relative;
}

.carousel-slide.slide-in {
    animation: slideIn 0.8s ease;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Indicators Outside the Carousel */
.carousel-indicators {
    margin-top: 15px;
    text-align: center;
    margin-bottom: 5px !important;
}

.indicator {
    display: inline-block;
    width: 10px;
    height: 10px;
    margin: 5px;
    background: #ccc;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s ease;
}

.indicator.active {
    background: #007bff;
}

.phrase-line {
    font-size: 18px;
    font-family: 'Poppins', sans-serif !important;
    font-weight: 700;
    color: #333;
    line-height: 1.5;
}

.meaning-line {
    font-size: 16px;
    font-family: 'Laila', sans-serif !important;
    font-weight: 500;
    color: #666;
    line-height: 1.5;
}

/* Quiz Cards Section */
.quiz-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.quiz-card {
    background-color: white;
    border-radius: 16px;
    border: 1px solid #eee;
    padding: 20px;
    transition: all 0.3s ease;
}

.quiz-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.quiz-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
}

.quiz-title {
    font-size: 16px;
    font-weight: 600;
    font-family: 'Poppins','Sans-Serif' !important;
    color: #333;
    margin-bottom: 6px;
}

.quiz-date {
    font-size: 13px;
    color: #666;
}

.quiz-date .date {
    font-weight: 600;
    color: #333;
}

.quiz-status {
    padding: 6px 12px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 500;
}

.quiz-status.completed {
    background: #E8F5E9;
    color: #2E7D32;
}

.quiz-status.pending {
    background: #FFF3E0;
    color: #EF6C00;
}

.quiz-status.failed {
    background: #FFEBEE;
    color: #C62828;
}

.quiz-info {
    display: flex;
    gap: 16px;
}

.quiz-stat {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #666;
}
.quiz-stat .count, .quiz-stat .time {
    font-weight: 600;
    color: #333;
}
.quiz-stat .quiz-icon {
    background-color: #ececec;
    padding: 2px;
    border-radius: 50%;
    stroke-width: 2;
}

.quiz-marks {
    display: flex;
    align-items: center;
    gap: 12px;
}

.marks-label {
    font-size: 13px;
    color: #666;
}

.marks-value {
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

.marks-divider {
    color: #666;
    font-size: 14px;
    margin: 0 -4px;
}

.pass-percentage {
    color: #666;
    font-size: 13px;
}

.card-footer{
	margin-top:15px !important;
	padding-top:15px !important;
    border-top: 1px solid #eee !important;
	display:flex !important;
	align-items:center;
	justify-content:space-between !important;
}
.view-quiz-button{
	background-color:#007bff !important;
	text-decoration:none !important;
	color:white;
	padding:5px 10px;
	border-radius:5px;
}

/* single course page starts */

.bg-header{
    padding: 0 15px;
    position: fixed;
    z-index: 999;
    top: 0;
    width: 100%;
    box-shadow: 0 0 5px rgba(0,0,0,0.3);
    background-color: #ffffff;
}

.bg-header .back-button {
    width: 30px;
    height: 30px;
    border-radius: 12px;
    background: transparent;
    color:rgb(102, 102, 102) !important;    
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.bg-header .back-button:hover {
    background: #f8f9fa;
    transform: translateX(-2px);
}

.bg-header .back-button i {
    width: 15px;
    height: 15px;
    stroke-width: 2;
    color:rgb(102, 102, 102) !important;
}
.bg-header .page-title{
    color:rgb(102, 102, 102) !important;
}
.subject-card:nth-child(1) { animation-delay: 0.1s; }
.subject-card:nth-child(2) { animation-delay: 0.15s; }
.subject-card:nth-child(3) { animation-delay: 0.2s; }
.subject-card:nth-child(4) { animation-delay: 0.25s; }
.subject-card:nth-child(5) { animation-delay: 0.3s; }
.subject-card:nth-child(6) { animation-delay: 0.35s; }

.share-button {
    width: 24px;
    height: 24px;
    color: #333;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.share-button i {
    width: 24px;
    height: 24px;
    stroke-width: 2;
}

.page-title {
    flex: 1;
    font-size: 18px;
    font-weight: 600;
}

.subject-header {
    border-radius: 20px;            
    margin-bottom: 25px;
    margin-top: 60px;
}

.subject-icon {
    width: 60px;
    height: 60px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
}

.content-card {
    background: white;
    border-radius: 20px;
    padding: 25px;
    margin-top: 25px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.subject-stats {
    display: flex;
    gap: 15px;
}
.stat-box-lessons{ background-color: #eaf3ff; }
.stat-box-quizzes{ background-color: #ffeaf0; }
.stat-box-topics{ background-color: #ddfff5; }
.stat-box-lessons, .stat-box-quizzes, .stat-box-topics {
    flex: 1;
    border-radius: 12px;
    padding: 25px 15px 20px;
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: left;
    gap: 8px;
}

.stat-box-lessons i, .stat-box-quizzes i, .stat-box-topics i {
    width: 24px;
    height: 24px;
    stroke-width: 2;
    color: #4981F5 !important;
}

.stat-value{
    font-size: 18px;
    font-weight: 800;
}

.stat-label{
    font-size: 14px;
    font-weight: 100;
    color: #666;
}

.subject-description {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    margin: 0 0 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid #f0f0f0;
}

.read-more{
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

.lessons-section {
    margin-top: 0;
}

.section-header {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
}

.lessons-list {
    background: transparent;
    box-shadow: none;
}

.lesson-item {
    background: white;
    margin-bottom: 15px;
    border-radius: 16px;
    border: 1px solid #eee;
    transition: all 0.3s ease;
}

.lesson-header {
    display: flex;
    align-items: center;
    padding: 20px;
    gap: 20px;
    cursor: pointer;
    user-select: none;
}

.lesson-header:hover {
    background: #f8f9fa;
}

.lesson-content {
    flex: 1;
    min-width: 0;
}

.lesson-title {
    font-size: 15px;
    font-weight: 600;
    color: #333;
    margin-bottom: 6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: flex;
    align-items: center;
    gap: 8px;
}

.lesson-title i {
    width: 16px;
    height: 16px;
    stroke-width: 2;
    transition: transform 0.3s ease;
}

.lesson-item.active .lesson-title i {
    transform: rotate(180deg);
}

.lesson-duration {
    color: #666;
    font-size: 13px;
}

.lesson-status {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #e8f5e9;
    flex-shrink: 0;
}

.lesson-status i {
    width: 16px;
    height: 16px;
    stroke-width: 2.5;
    color: #4caf50;
}

.lesson-detail {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    border-top: 1px solid transparent;
}

.lesson-item.active .lesson-detail {
    max-height: 500px;
    border-top-color: #eee;
}

.lesson-body {
    padding: 20px;
}

.detail-section {
    margin-bottom: 24px;
}

.detail-section:last-child {
    margin-bottom: 0;
}

.detail-title {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.detail-title i {
    width: 18px;
    height: 18px;
    stroke-width: 2;
    color: #4981F5;
}

.lesson-description {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
}

.quiz-section {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 16px;
}

.quiz-info {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.quiz-stat {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #666;
}

.quiz-stat i {
    width: 16px;
    height: 16px;
    stroke-width: 2;
    color: #4981F5;
}

/* student of the week starts */

.rank-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #2c3e50;
    text-align: left;

}

.student-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 20px;
}

.student-card {
    background: white;
    border-radius: 16px;
    padding: 35px 20px 20px 20px;
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    border-right: 4px solid;
    border-bottom: 4px solid;            
    justify-content: flex-start;
    gap: 15px;
}

.crown {
    position: absolute;
    top: -40px;
    right: 0;
    z-index: 999;
    font-size: 40px;
    color: #4981F5; 
    pointer-events: none;
    transition: all 0.3s ease;
}

.rank-badge {
    position: absolute;
    top: 0;
    right: 20px;
    width: 70px;
    height: 70px;
    border-bottom-left-radius: 16px;
    border-bottom-right-radius: 16px;
    border-bottom: 2px solid #fff;
    border-left: 2px solid #fff;
    border-right: 2px solid #fff;
    font-size: 44px;
    font-weight: bold;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-shadow: 0 15px 15px rgba(53, 53, 53, 0.5);
}

.rank-1 {
    border-right-color: #ffd700;
    border-bottom-color: #ffd700;
}
.rank-1 .rank-badge {
    background: #ffd70030;
}
.rank-2 {
    border-right-color: #c0c0c0;
    border-bottom-color: #c0c0c0;
}
.rank-2 .rank-badge {
    background: #c0c0c030;
}
.rank-3 {
    border-right-color: #cd7f32;
    border-bottom-color: #cd7f32;
}
.rank-3 .rank-badge {
    background: #cd7f3230;
}

.best-performer {
    border-right-color: #ff6b6b;
    border-bottom-color: #ff6b6b;
}
.best-performer .rank-badge {
    background: #ff6b6b30;
}

.student-info {
    text-align: left;
}

.student-info h2 {
    font-size: 18px;
    color: #2c3e50;
}

.student-info p {
    color: #555;
    font-size: 12px;
    margin-top: 5px;
}

.student-info b {
    color: #555;
    font-size: 13px;
    margin-top: 5px;
}

.filters {
    margin-bottom: 0px;
}

#filter-select {
    padding: 10px;
    border: none;
    border-radius: 10px;
    font-size: 16px;
}

.toggle-buttons {
    display: flex;
    gap: 5px;
    margin-bottom: 10px;
    overflow-x: auto;
    padding: 4px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
    scroll-behavior: smooth;
    text-wrap: nowrap;
}

.toggle-buttons::-webkit-scrollbar {
    display: none; /* Chrome, Safari and Opera */
}

.toggle-button {
    padding: 10px 20px;
    border: none;
    border-radius: 20px;
    background: #ffffff;
    border: 1px solid #a5a5a5;
    color: #333;
    cursor: pointer;
    transition: all 0.3s ease;
}
.toggle-button.active {
    background: #007bff;
    color: white;
    border: none !important;
}

.page-header-illustrations {
    background: #f4f6f9;
    width: 100%;
    margin: 0 auto;
    text-align: center;
}

.header-content {
    padding: 20px 20px 0 20px;
    width: 100%;
    text-align: center;
}
.header-content h1{
    margin-bottom: 0px;
    font-size: 16px;
}
.week {
    display: flex;
    justify-content: left;
    padding: 10px 20px;
    align-items: center;
    gap: 10px;
    width: 100%;
}
.week p {
    margin: 0;
    font-size: 16px;
    color: rgb(10, 122, 126);
    font-weight: 700;
    padding: 10px 20px;
    background-color: #e6e6e6;
    border-radius: 10px;
    text-align: center;
    width: 100%;
}

/* general styles */


.start-quiz-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #4981F5;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.start-quiz-btn:hover {
    background: #3b6ed9;
}

.start-quiz-btn i {
    width: 16px;
    height: 16px;
    stroke-width: 2;
}

.math-bg { background-color: #f5afaf;}

.lesson-video {
    margin-top: 16px;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
    background: #f8f9fa;
}

.lesson-video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.video-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.video-placeholder:hover {
    background: rgba(0,0,0,0.05);
}

.video-placeholder i {
    width: 48px;
    height: 48px;
    color: #4981F5;
    stroke-width: 1.5;
}

.video-placeholder-text {
    font-size: 14px;
    color: #666;
}

.header-illustration {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 16px;
}
.login-button {
    display: inline-block;
    padding: 10px 15px;
    background: #007bff;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 10px;
    box-shadow: 0 60px 40px #70707090 !important;
}

.login-button:hover {
    background: #007bff;
}

.login-reminder {
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 10px;
    margin-top: 10px;
}
.login-reminder img {
    width: 50%;
    height: auto;
    box-shadow: 0 0 100px #fff !important;
}
.login-reminder a {
    text-decoration: none !important;
    color: #fff;
    animation: pulse 1s ease-in-out infinite !important;
}

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


/* Media query starts here */
@media (min-width: 1200px){ /* Targets screens (desktop) */
    .bg-header{
        display: none !important;
    }
}

@media (max-width: 768px) { /* Targets screens up to 768px (tablets & mobiles) */
    .site-header, .site-footer {
        display: none !important;
    }
    
}

@media (max-width: 544px) {
    .tutor-card-footer{
        display: none !important;
    } 
    .ast-separate-container .ast-article-post, .ast-separate-container .ast-article-single, .ast-separate-container .comments-title, .ast-separate-container .ast-archive-description {
        padding: 20px 20px !important;
    }

    .ast-container{
        padding: 0 !important;
    }

    .course-header{
        background: linear-gradient(#eeeeee, #f2f2f2) !important;
        padding: 50px 10px;
    }

    .course-header header{
        margin-bottom: 20px !important;
    }

    .tutor-course-details-top{
        display: none !important;
    }

    .learnify-course-card-wrapper{
        padding: 10px;
    }

    .learnify-course-card{
        background-color: white;
        padding: 20px 10px 20px;
        border-radius: 15px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    }

    .learnify-course-tab .tutor-nav-link{
        font-size: 14px !important;
    }
 

    .login-button {
        display: inline-block;
        padding: 10px 15px;
        background: #0073aa;
        color: #fff;
        text-decoration: none;
        border-radius: 5px;
        margin-top: 10px;
    }

    .login-button:hover {
        background: #005177;
    }

    .tutor-wrap-parent{
        padding-top: 20px !important ;
    }

    .tutor-dashboard{
        padding: 10px 10px !important;
    }

    .tutor-dashboard-header-avatar {
        margin-left: 10px !important;
    }
    
    .tutor-dashboard .tutor-container .tutor-frontend-dashboard-header{
        background: linear-gradient(#ffffff, #E1EFFF) !important;
        padding-top: 25px;
        padding-bottom: 0;
        border-radius: 10px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    }
    
    .tutor-dashboard #tutor-dashboard-footer-mobile{
        display: block;
        position: relative !important;
        background: #fff;
        padding: 10px;
        box-shadow: 0px 0px 16px rgba(176, 182, 209, .180862) !important;
    }
    
    #tutor-dashboard-footer-mobile{
        padding: 0 !important;
    }
    
    #tutor-notifications-wrapper{
        position: absolute !important;
        top: 20px !important;
    right: -10px !important;
    }
    
    .learnify-dashboard-content{
        background-color: white !important;
        padding: 0 20px !important;
    }

    .site-content{
        background: linear-gradient(#E1EFFF, #f2f2f2) !important;
        /*background-color: #f2f2f2 !important;*/
    }
    
}