@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
    --primary-color: #31357F;
    --secondary-color: #6C63FF;
    --bg-color: #F8F9FE;
    --text-color: #333333;
    --text-muted: #888888;
    --white: #FFFFFF;
    
    /* Pastel Colors for Cards */
    --pastel-green: #E8F5E9;
    --pastel-blue: #E3F2FD;
    --pastel-pink: #FCE4EC;
    --pastel-yellow: #FFF9C4;
    --pastel-orange: #FFF3E0;
    --pastel-purple: #F3E5F5;
    --pastel-red: #FFEBEE;
    
    --card-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.3);
    --border-radius: 24px;
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* Dark Mode Overrides */
.dark-theme {
    --bg-color: #0f172a; /* Deep Slate Blue/Black */
    --white: #1e293b;    /* Dark Card Color */
    --text-color: #f1f5f9;
    --text-muted: #94a3b8;
    --glass-bg: rgba(15, 23, 42, 0.8);
    --glass-border: rgba(255, 255, 255, 0.1);
    --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.dark-theme header {
    background: rgba(15, 23, 42, 0.85) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.dark-theme .btn-icon {
    background: #334155 !important;
    color: #f1f5f9;
}

.dark-theme .form-control {
    background: #334155;
    border-color: #475569;
    color: #f1f5f9;
}

.dark-theme .card, .dark-theme .glass, .dark-theme .guardian-card, .dark-theme .faq-card, .dark-theme .faq-item {
    background: #1e293b !important;
    color: #f1f5f9 !important;
    border-color: rgba(255, 255, 255, 0.05) !important;
}

.dark-theme .announcement-card {
    background: #1e1b4b !important;
    color: #e0e7ff !important;
}

.dark-theme .section-title, .dark-theme .cal-month {
    color: #818cf8 !important; /* Lighter primary for dark */
}

.dark-theme .activity-item {
    background: #1e293b !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
}

.dark-theme .activity-title {
    color: #f1f5f9;
}

.dark-theme .activity-desc {
    color: #94a3b8;
}

.dark-theme .activity-time {
    color: #64748b;
}

.dark-theme .section-header a {
    color: #818cf8 !important;
}

/* Mobile-First Reset */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
    -webkit-font-smoothing: antialiased;
}

html, body {
    overflow-x: hidden;
    height: 100%;
    background-color: #f1f3f9; /* Desktop Backdrop Color */
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    max-width: 480px; /* Mobile View Constraint */
    margin: 0 auto;
    min-height: 100dvh;
    position: relative;
    box-shadow: 0 0 50px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
}

/* Hide scrollbars for app feel */
::-webkit-scrollbar {
    display: none;
}

body {
    scrollbar-width: none;
}

/* Background Decorations (Mobile Optimized) */
body::before {
    content: '';
    position: fixed;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(108, 99, 255, 0.08) 0%, rgba(255, 255, 255, 0) 70%);
    z-index: -1;
    pointer-events: none;
}

body::after {
    content: '🎓';
    position: fixed;
    bottom: 25%;
    left: 10px;
    font-size: 1.5rem;
    opacity: 0.05;
    z-index: -1;
    transform: rotate(15deg);
    pointer-events: none;
}

.container {
    padding: 0 20px;
}


/* Glassmorphism Utility */
.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
}

/* Header Refinement */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05); /* Reduced line opacity */
}



.header-right {
    display: flex;
    align-items: center;
    gap: 12px; /* Spacing between notif and menu */
}


.header-left {
    display: flex;
    flex-direction: column;
}

.btn-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--card-shadow);
    border: none;
    cursor: pointer;
    color: var(--primary-color);
    position: relative;
    transition: var(--transition);
}

.btn-icon ion-icon {
    font-size: 1.4rem;
}

.btn-icon:active {
    transform: scale(0.9);
}

.btn-menu {
    background: var(--primary-color) !important;
    color: var(--white) !important;
}

.notification-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 10px;
    height: 10px;
    background: #FF5252;
    border: 2px solid var(--white);
    border-radius: 50%;
    animation: pulseBadge 2s infinite;
}

@keyframes pulseBadge {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 82, 82, 0.7);
    }
    70% {
        box-shadow: 0 0 0 8px rgba(255, 82, 82, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 82, 82, 0);
    }
}


.class-badge {
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 8px;
}

.change-class {
    font-size: 0.75rem;
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
    margin-top: -2px;
}

/* Profile Section Refined */
.profile-card {
    background: linear-gradient(135deg, var(--primary-color) 0%, #4E54C8 100%);
    border-radius: var(--border-radius);
    padding: 25px;
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
    box-shadow: 0 20px 40px rgba(49, 53, 127, 0.15);
    position: relative;
    overflow: hidden;
}

.profile-card::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 200px;
    height: 200px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
}

.profile-img-container {
    position: relative;
}

.profile-img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid rgba(255,255,255,0.2);
}

.online-status {
    position: absolute;
    bottom: 5px;
    right: 5px;
    width: 14px;
    height: 14px;
    background: #4CAF50;
    border: 2px solid var(--white);
    border-radius: 50%;
}

.profile-info h2 {
    font-size: 1.3rem;
    font-weight: 700;
}

.profile-info p {
    font-size: 0.85rem;
    opacity: 0.8;
}

/* Attendance Dashboard Styles */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 30px;
}

.stat-card {
    background: var(--white);
    border-radius: 20px;
    padding: 20px;
    text-align: center;
    box-shadow: var(--card-shadow);
}

.stat-val {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
}

.stat-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
}

.calendar-card {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 25px 20px;
    box-shadow: var(--card-shadow);
    margin-bottom: 30px;
}

.cal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.cal-month {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--primary-color);
}

.cal-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 10px;
    text-align: center;
}

.cal-day-name {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--text-muted);
    margin-bottom: 5px;
}

.cal-date {
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 10px;
    position: relative;
    cursor: default;
}

.cal-date.present {
    background: var(--pastel-green);
    color: #2E7D32;
}

.cal-date.absent {
    background: var(--pastel-pink);
    color: #C2185B;
}

.cal-date.holiday {
    background: #F0F0F0;
    color: #9E9E9E;
}

.cal-date.today {
    border: 2px solid var(--secondary-color);
}

.attendance-legend {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 600;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}
.dot.p { background: #4CAF50; }
.dot.a { background: #FF5252; }
.dot.h { background: #9E9E9E; }

/* Dashboard Announcement */
.announcement-card {
    background: var(--pastel-yellow);
    border-radius: 20px;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
    border-left: 5px solid #FFC107;
}

.announcement-icon {
    font-size: 1.5rem;
    color: #FFC107;
}

.announcement-text {
    font-size: 0.8rem;
    font-weight: 500;
    color: #856404;
}

/* Dashboard Grid */
.section-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 40px 0 15px 5px; /* Increased top margin */
    letter-spacing: -0.5px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 40px 0 15px 5px;
}

.section-header .section-title {
    margin: 0 !important;
}

.section-header a {
    font-size: 0.75rem;
    color: var(--secondary-color);
    font-weight: 600;
    text-decoration: none;
    background: var(--white);
    padding: 5px 12px;
    border-radius: 12px;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
}

.section-header a:active {
    transform: scale(0.9);
}


.grid-dashboard {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.dashboard-card {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 20px 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: var(--card-shadow);
    text-decoration: none;
    color: var(--text-color);
    transition: var(--transition);
    border: 1px solid transparent;
}

.dashboard-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.08);
    border-color: rgba(108, 99, 255, 0.1);
}

.card-icon {
    width: 55px;
    height: 55px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    font-size: 1.6rem;
    transition: var(--transition);
}

.dashboard-card:hover .card-icon {
    transform: scale(1.1) rotate(5deg);
}


.card-title {
    font-size: 0.75rem;
    font-weight: 500;
    line-height: 1.2;
}

/* Specialized Card Colors */
.icon-attendance { background-color: var(--pastel-green); color: #2E7D32; }
.icon-teacher { background-color: var(--pastel-blue); color: #1565C0; }
.icon-homework { background-color: var(--pastel-pink); color: #C2185B; }
.icon-leave { background-color: var(--pastel-red); color: #D32F2F; }
.icon-classes { background-color: var(--pastel-yellow); color: #FBC02D; }
.icon-info { background-color: var(--pastel-blue); color: #0288D1; }
.icon-topics { background-color: var(--pastel-green); color: #388E3C; }
.icon-online { background-color: var(--pastel-pink); color: #AD1457; }
.icon-leaderboard { background-color: var(--pastel-blue); color: #1976D2; }

/* My Classes Page */
.page-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
}

.page-title {
    font-weight: 700;
    font-size: 1.4rem;
}

.title-with-icon {
    display: flex;
    align-items: center;
    gap: 10px;
}

.title-icon {
    width: 30px;
}

/* Horizontal Calendar */
.calendar-days {
    display: flex;
    overflow-x: auto;
    gap: 10px;
    padding: 10px 20px;
    scrollbar-width: none;
}

.calendar-days::-webkit-scrollbar {
    display: none;
}

.day-item {
    min-width: 55px;
    height: 55px;
    background: var(--white);
    border: 1px solid #eee;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-muted);
}
/* Login Page Styles */
.login-container {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 40px 30px;
    background: var(--white);
}

.login-header {
    text-align: center;
    margin-top: 40px;
}

.login-illustration {
    font-size: 5rem;
    margin-bottom: 20px;
}

.login-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.login-subtitle {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.login-form {
    margin-top: 40px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 8px;
    padding-left: 5px;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-wrapper ion-icon {
    position: absolute;
    left: 15px;
    color: var(--primary-color);
    font-size: 1.2rem;
}

.password-toggle {
    position: absolute;
    right: 15px;
    left: auto !important; /* Override the default left: 15px for icons */
    cursor: pointer;
    color: var(--text-muted) !important;
    transition: var(--transition);
}

.password-toggle:hover {
    color: var(--primary-color) !important;
}


.form-control {
    width: 100%;
    padding: 15px 15px 15px 45px;
    border-radius: var(--border-radius);
    border: 1px solid #F0F0F0;
    background: #F8F9FE;
    font-family: inherit;
    font-size: 0.9rem;
    transition: var(--transition);
    appearance: none; /* For cleaner Select look */
    -webkit-appearance: none;
}

select.form-control {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2331357F' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: calc(100% - 15px) center;
}


.form-control:focus {
    outline: none;
    border-color: var(--secondary-color);
    background: var(--white);
    box-shadow: 0 5px 15px rgba(108, 99, 255, 0.05);
}

.forgot-link {
    display: block;
    text-align: right;
    font-size: 0.75rem;
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 500;
    margin-top: -10px;
}

.btn-login {
    width: 100%;
    padding: 16px;
    border-radius: var(--border-radius);
    border: none;
    background: var(--primary-color);
    color: var(--white);
    font-size: 1rem;
    font-weight: 600;
    margin-top: 30px;
    box-shadow: 0 10px 20px rgba(49, 53, 127, 0.2);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-login:active {
    transform: scale(0.98);
}

.login-footer {
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.login-footer a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.day-item.active {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

/* Timeline Classes */
.timeline {
    padding: 20px;
}

.timeline-item {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
    position: relative;
}

.time-label {
    min-width: 70px;
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 500;
    margin-top: 5px;
}

.class-info-card {
    flex: 1;
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 15px;
    box-shadow: var(--card-shadow);
    position: relative;
    border-left: 4px solid transparent;
}

.class-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
}

.class-period {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--primary-color);
}

.class-name-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 5px;
}

.class-icon {
    width: 25px;
    height: 25px;
    border-radius: 8px;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
}

.class-name {
    font-weight: 700;
    font-size: 0.95rem;
}

.class-topic {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.progress-stats {
    display: flex;
    justify-content: space-between;
    font-size: 0.7rem;
    font-weight: 600;
}

.stat-item span {
    color: var(--text-muted);
    font-weight: 400;
}

/* Class Specific Colors */
.card-english { background-color: #F0F4FF; border-left-color: #6C63FF; }
.card-free { background-color: #FFF5F7; border-left-color: #FF7EB3; text-align: center; }
.card-language { background-color: #FFF0F0; border-left-color: #FF5252; }
.card-social { background-color: #FFFBE6; border-left-color: #FFC107; }
.card-maths { background-color: #F0FAF0; border-left-color: #4CAF50; }

.free-period-title {
    font-weight: 800;
    color: var(--primary-color);
    letter-spacing: 1px;
    margin-top: 10px;
}

.free-period-img {
    width: 60px;
    margin-top: 10px;
}

/* Floating Premium Bottom Navigation - Adjusted for Mobile Frame */
.bottom-nav {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 40px);
    max-width: 440px; /* Stays within 480px body */
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    display: flex;
    justify-content: space-around;
    padding: 12px 10px;
    border-radius: 25px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.dark-theme .bottom-nav {
    background: rgba(15, 23, 42, 0.85);
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.nav-item {
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    color: #94a3b8;
    transition: all 0.3s ease;
    flex: 1;
}

.nav-icon-box {
    position: relative;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-item ion-icon {
    font-size: 1.4rem;
}

.nav-item span {
    font-size: 0.65rem;
    font-weight: 700;
}

.active-icon { display: none; }

.nav-item.active {
    color: #6366f1;
}

.nav-item.active .inactive { display: none; }
.nav-item.active .active-icon {
    display: block;
    animation: bounceIcon 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes bounceIcon {
    0% { transform: scale(0.5) translateY(10px); }
    100% { transform: scale(1) translateY(0); }
}

.nav-item.active span {
    color: #6366f1;
}

.nav-item i {
    font-size: 1.2rem;
}

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

.animate-up {
    animation: fadeInUp 0.5s ease forwards;
}

/* OTP & Verification Styles */
.otp-inputs {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin: 30px 0;
}

.otp-field {
    width: 60px;
    height: 65px;
    border-radius: 15px;
    border: 1px solid #F0F0F0;
    background: #F8F9FE;
    text-align: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    transition: var(--transition);
}

.otp-field:focus {
    outline: none;
    border-color: var(--secondary-color);
    background: var(--white);
    box-shadow: 0 5px 15px rgba(108, 99, 255, 0.1);
}

.resend-row {
    text-align: center;
    margin-top: 20px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.resend-link {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
}

.back-to-login {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    margin-top: 40px;
    font-size: 0.85rem;
    color: var(--text-muted);
    text-decoration: none;
}

/* Registration & Status Styles */
.registration-container {
    padding: 30px 20px;
    background: var(--white);
    min-height: 100vh;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.full-width {
    grid-column: span 2;
}

.status-screen {
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 30px;
}

.status-icon {
    font-size: 5rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.status-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.status-text {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Sidebar & Notification Panel Styles */
.sidebar-overlay, .notif-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(4px);
    z-index: 1000;
    display: none;
    opacity: 0;
    transition: var(--transition);
}

.sidebar {
    position: fixed;
    top: 0;
    left: -280px; /* Start hidden */
    width: 280px;
    height: 100%;
    background: var(--white);
    z-index: 1001;
    transition: var(--transition);
    padding: 40px 25px;
    display: flex;
    flex-direction: column;
    box-shadow: 20px 0 50px rgba(0,0,0,0.1);
}

.sidebar.active {
    left: 0;
}

.sidebar-header {
    margin-bottom: 40px;
}

.sidebar-logo {
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--primary-color);
}

.sidebar-menu {
    list-style: none;
    padding: 0;
}

.sidebar-item {
    margin-bottom: 5px;
}

.sidebar-link {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 15px;
    border-radius: 15px;
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: var(--transition);
}

.sidebar-link ion-icon {
    font-size: 1.3rem;
    color: var(--primary-color);
}

.sidebar-link:hover, .sidebar-link.active {
    background: var(--pastel-blue);
    color: var(--primary-color);
}

/* Notification Panel */
.notif-panel {
    position: fixed;
    top: -100%; /* Start hidden */
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 440px;
    background: var(--white);
    z-index: 1001;
    transition: var(--transition);
    border-radius: 0 0 30px 30px;
    padding: 30px 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}

.notif-panel.active {
    top: 0;
}

.notif-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.notif-title {
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--primary-color);
}

.notif-list {
    max-height: 400px;
    overflow-y: auto;
    padding-right: 5px;
}

.notif-item {
    padding: 15px 0;
    border-bottom: 1px solid #F8F9FE;
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.notif-item:last-child {
    border-bottom: none;
}

.notif-icon-box {
    min-width: 45px;
    height: 45px;
    border-radius: 12px;
    background: var(--pastel-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--primary-color);
}

.notif-content p {
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--text-color);
    line-height: 1.3;
}

.notif-content span {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Upcoming Events Section */
.events-scroller {
    display: flex;
    overflow-x: auto;
    gap: 15px;
    padding: 10px 5px;
    scrollbar-width: none;
}

.event-card {
    min-width: 220px;
    background: var(--white);
    border-radius: 20px;
    padding: 15px;
    box-shadow: var(--card-shadow);
    display: flex;
    align-items: center;
    gap: 15px;
}

.event-date {
    background: var(--pastel-blue);
    padding: 10px;
    border-radius: 15px;
    text-align: center;
    min-width: 55px;
}

.event-date b {
    display: block;
    font-size: 1.2rem;
    color: var(--primary-color);
    line-height: 1;
}

.event-date span {
    font-size: 0.65rem;
    text-transform: uppercase;
    color: var(--primary-color);
    font-weight: 700;
}

.event-info h4 {
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 2px;
    color: var(--primary-color);
}

.event-info p {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Activity Feed Section */
.activity-feed-container {
    position: relative;
    padding-left: 10px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.activity-timeline-line {
    position: absolute;
    left: 31px;
    top: 20px;
    bottom: 40px;
    width: 2px;
    background: linear-gradient(to bottom, var(--secondary-color) 0%, transparent 100%);
    opacity: 0.15;
    z-index: 1;
}

.activity-item {
    background: var(--white);
    border-radius: 20px;
    padding: 16px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.02);
    position: relative;
    z-index: 2;
}

.activity-item:hover {
    transform: translateX(8px);
    border-color: rgba(108, 99, 255, 0.15);
}

.activity-icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    flex-shrink: 0;
    transition: var(--transition);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.05);
}

.activity-item:hover .activity-icon {
    transform: scale(1.15) rotate(-5deg);
}

.activity-content {
    flex: 1;
}

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

.activity-title {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--text-color);
    margin: 0;
    line-height: 1.2;
}

.activity-time {
    font-size: 0.65rem;
    color: var(--text-muted);
    font-weight: 600;
    white-space: nowrap;
    background: #f1f5f9;
    padding: 2px 8px;
    border-radius: 8px;
}

.activity-desc {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.4;
}

/* Dark Mode Overrides for Activity */
.dark-theme .activity-item {
    background: #1e293b !important;
}

.dark-theme .activity-time {
    background: #334155;
    color: #94a3b8;
}

.dark-theme .activity-timeline-line {
    opacity: 0.2;
}

/* Empty State Styling */
.empty-state {
    padding: 40px 20px;
    text-align: center;
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
    transition: var(--transition);
}

.empty-state div {
    font-size: 3rem;
    margin-bottom: 15px;
    filter: grayscale(1) opacity(0.5);
}

.empty-state p {
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
}

.activity-content span {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Premium About School Enhancements */
.about-hero {
    height: 220px;
    background: linear-gradient(rgba(49, 53, 127, 0.4), rgba(49, 53, 127, 0.8)), url('https://images.unsplash.com/photo-1523050854058-8df90110c9f1?q=80&w=1000&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    border-radius: 30px;
    margin-bottom: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    padding: 20px;
    box-shadow: 0 20px 40px rgba(49, 53, 127, 0.2);
}

.about-hero h1 {
    font-size: 2rem;
    font-weight: 800;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.mission-card {
    background: var(--white);
    border-radius: 25px;
    padding: 30px 20px;
    box-shadow: var(--card-shadow);
    position: relative;
    overflow: hidden;
}

.mission-card::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 6rem;
    color: var(--pastel-blue);
    font-family: serif;
    opacity: 0.5;
}

.leader-card {
    background: var(--white);
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 24px;
    padding: 20px;
    box-shadow: var(--card-shadow);
    display: flex;
    flex-direction: column; /* Changed to stacked for better mobile aesthetic */
    align-items: center;
    text-align: center;
    gap: 15px;
}

.leader-img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid var(--white);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.quote-icon {
    font-size: 2rem;
    color: var(--secondary-color);
    opacity: 0.3;
}

.gallery-scroller {
    display: flex;
    overflow-x: auto;
    gap: 15px;
    padding: 10px 0;
    scrollbar-width: none;
}

.gallery-img {
    min-width: 150px;
    height: 110px;
    border-radius: 20px;
    object-fit: cover;
    box-shadow: var(--card-shadow);
}

/* Premium Holiday Cards */
.holiday-card-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.holiday-item-card {
    background: var(--white);
    border-radius: 20px;
    padding: 18px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: var(--card-shadow);
    border: 1px solid rgba(0,0,0,0.02);
    transition: var(--transition);
}

.holiday-item-card:active {
    transform: scale(0.97);
}

.holiday-date-box {
    min-width: 55px;
    height: 55px;
    background: var(--pastel-yellow);
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.holiday-date-box b {
    font-size: 1.1rem;
    color: #856404;
    line-height: 1;
}

.holiday-date-box span {
    font-size: 0.6rem;
    text-transform: uppercase;
    font-weight: 800;
    color: #856404;
}

.holiday-info-box h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 2px;
}

.holiday-info-box p {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.holiday-badge {
    margin-left: auto;
    background: #FFF9C4;
    color: #FBC02D;
    font-size: 0.6rem;
    font-weight: 800;
    padding: 5px 10px;
    border-radius: 20px;
    text-transform: uppercase;
}

/* Homework Portal Styles */
.hw-subject-card {
    background: var(--white);
    border-radius: 24px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: var(--card-shadow);
    border: 1px solid rgba(0,0,0,0.02);
}

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

.hw-subject-tag {
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    padding: 6px 12px;
    border-radius: 12px;
}

.hw-status-badge {
    font-size: 0.7rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 8px;
}

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

.hw-status-badge.submitted {
    background: #E8F5E9;
    color: #2E7D32;
}

.hw-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.hw-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 15px;
}

.hw-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid #F5F5F5;
}

.hw-due {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.75rem;
    color: #FF5252;
    font-weight: 600;
}

.hw-action-btn {
    background: var(--pastel-blue);
    color: var(--primary-color);
    border: none;
    padding: 8px 18px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
}

/* Complaint Management Styles */
.complaint-card {
    background: var(--white);
    border-radius: 24px;
    padding: 22px;
    margin-bottom: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border: 1px solid rgba(0,0,0,0.03);
    position: relative;
    overflow: hidden;
}

.complaint-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 6px;
    background: var(--secondary-color);
}

.complaint-card.resolved::before {
    background: #4CAF50;
}

.complaint-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.complaint-id {
    font-size: 0.7rem;
    font-weight: 800;
    color: var(--text-muted);
    letter-spacing: 0.5px;
}

.status-label {
    font-size: 0.65rem;
    font-weight: 800;
    padding: 6px 12px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 5px;
    text-transform: uppercase;
}

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

.status-label.resolved {
    background: #E8F5E9;
    color: #2E7D32;
}

.complaint-body h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 6px;
    line-height: 1.3;
}

.complaint-body p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.complaint-footer {
    margin-top: 18px;
    padding-top: 15px;
    border-top: 1px dotted #EEE;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 500;
}

.complaint-cat {
    background: var(--pastel-blue);
    color: var(--primary-color);
    padding: 4px 10px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.65rem;
}

/* Pickup Guardian Styles */
.guardian-card {
    background: var(--white);
    border-radius: 28px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.06);
    display: flex;
    align-items: center;
    gap: 18px;
    border: 1px solid rgba(0,0,0,0.02);
}

.guardian-photo {
    width: 70px;
    height: 70px;
    border-radius: 22px;
    object-fit: cover;
    box-shadow: 0 8px 15px rgba(0,0,0,0.1);
}

.guardian-info h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 4px;
}

.guardian-info p {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
}

.guardian-contact {
    margin-left: auto;
    width: 45px;
    height: 45px;
    background: var(--pastel-green);
    color: #2E7D32;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
}

.add-guardian-btn {
    width: 100%;
    height: 60px;
    border: 2px dashed #D0D0FB;
    background: rgba(108, 99, 255, 0.03);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: var(--primary-color);
    font-weight: 700;
    font-size: 0.95rem;
    margin-top: 10px;
    cursor: pointer;
}

/* Classmate Directory Styles */
.classmate-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-top: 20px;
}

.classmate-card {
    background: var(--white);
    border-radius: 25px;
    padding: 20px 15px;
    text-align: center;
    box-shadow: var(--card-shadow);
    border: 1px solid rgba(0,0,0,0.02);
}

.classmate-photo {
    width: 75px;
    height: 75px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 12px auto;
    border: 4px solid #F8F9FE;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.classmate-name {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 2px;
}

.classmate-roll {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 500;
}

.classmate-action {
    margin-top: 15px;
    display: flex;
    justify-content: center;
    gap: 8px;
}

.btn-chat {
    background: #E8EAF6;
    color: #3F51B5;
    width: 35px;
    height: 35px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    border: none;
}

/* Academic Results Styles */
.result-header-card {
    background: linear-gradient(135deg, #FF9966 0%, #FF5E62 100%);
    border-radius: 30px;
    padding: 30px;
    color: white;
    text-align: center;
    margin-bottom: 30px;
    box-shadow: 0 15px 35px rgba(255, 94, 98, 0.2);
}

.result-percentage {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 5px;
}

.result-grade {
    font-size: 0.9rem;
    font-weight: 700;
    background: rgba(255,255,255,0.2);
    display: inline-block;
    padding: 5px 15px;
    border-radius: 20px;
    text-transform: uppercase;
}

.result-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.subject-result-card {
    background: var(--white);
    border-radius: 20px;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: var(--card-shadow);
}

.sub-info h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 2px;
}

.sub-info span {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Marksheet Table Styles */
.marksheet-container {
    background: var(--white);
    border-radius: 20px;
    padding: 15px;
    box-shadow: var(--card-shadow);
    overflow-x: auto;
    margin-bottom: 30px;
}

.result-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.8rem;
    min-width: 500px; /* Force scroll on small screens */
}

.result-table th {
    background: #F8F9FE;
    color: var(--primary-color);
    font-weight: 800;
    text-align: left;
    padding: 12px 10px;
    border-bottom: 2px solid #EEE;
    text-transform: uppercase;
    font-size: 0.7rem;
}

.result-table td {
    padding: 12px 10px;
    border-bottom: 1px solid #F5F5F5;
    color: var(--text-color);
    font-weight: 500;
}

.result-table tr:last-child td {
    border-bottom: none;
    font-weight: 800;
    color: var(--primary-color);
    background: #F8F9FE;
}

.text-fail {
    color: #FF5252 !important;
    font-weight: 700;
}

.text-pass {
    color: #4CAF50 !important;
    font-weight: 700;
}

.status-box-premium {
    background: #FFEBEE;
    border: 1px solid #FFCDD2;
    border-radius: 15px;
    padding: 15px 20px;
    margin-top: 20px;
}

.status-box-premium h5 {
    font-size: 0.9rem;
    font-weight: 800;
    color: #C62828;
    margin-bottom: 5px;
}

.status-box-premium p {
    font-size: 0.8rem;
    color: #D32F2F;
    font-weight: 500;
}

/* Fees & Payments Styles */
.fee-summary-card {
    background: linear-gradient(135deg, #00B4DB 0%, #0083B0 100%);
    border-radius: 30px;
    padding: 25px;
    color: white;
    margin-top: 20px;
    box-shadow: 0 15px 35px rgba(0, 131, 176, 0.2);
}

.fee-amount {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 5px;
}

.transaction-card {
    background: var(--white);
    border-radius: 20px;
    padding: 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    box-shadow: var(--card-shadow);
}

.txn-info h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--primary-color);
}

.txn-info span {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.txn-status {
    text-align: right;
}

.status-paid {
    background: #E8F5E9;
    color: #2E7D32;
    padding: 4px 12px;
    border-radius: 10px;
    font-size: 0.7rem;
    font-weight: 800;
}

.status-pending {
    background: #FFF3E0;
    color: #E65100;
    padding: 4px 12px;
    border-radius: 10px;
    font-size: 0.7rem;
    font-weight: 800;
}

/* ── Settings Page Styles ── */
.settings-group {
    background: var(--white);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    margin-bottom: 20px;
}

.settings-group-label {
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 0.8px;
    margin: 28px 0 10px 4px;
}

.settings-row {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 18px;
    border-bottom: 1px solid #F5F5F5;
    cursor: pointer;
    transition: background 0.15s;
}

.settings-row:last-child {
    border-bottom: none;
}

.settings-row:active {
    background: #F8F9FE;
}

.settings-icon-box {
    width: 40px;
    height: 40px;
    border-radius: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.settings-row-info {
    flex: 1;
}

.settings-row-info h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 2px;
}

.settings-row-info p {
    font-size: 0.72rem;
    color: var(--text-muted);
    font-weight: 500;
}

.settings-arrow {
    color: #BDBDBD;
    font-size: 1.1rem;
}

/* iOS-style toggle */
.toggle-wrap {
    position: relative;
    width: 46px;
    height: 26px;
    flex-shrink: 0;
}

.toggle-wrap input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    inset: 0;
    background: #DDD;
    border-radius: 30px;
    cursor: pointer;
    transition: 0.3s;
}

.toggle-slider::before {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background: white;
    border-radius: 50%;
    top: 3px;
    left: 3px;
    transition: 0.3s;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.toggle-wrap input:checked + .toggle-slider {
    background: var(--primary-color);
}

.toggle-wrap input:checked + .toggle-slider::before {
    transform: translateX(20px);
}

.settings-logout-btn {
    width: 100%;
    height: 55px;
    background: #FFEBEE;
    color: #D32F2F;
    border: none;
    border-radius: 20px;
    font-size: 0.95rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
    cursor: pointer;
}

/* ── Dark Mode Theme ── */
body.dark-theme {
    --white: #121212;
    --background-color: #000000;
    --primary-color: #BB86FC;
    --text-color: #E0E0E0;
    --text-muted: #A0A0A0;
    --glass-bg: rgba(30, 30, 30, 0.8);
    --glass-border: rgba(255, 255, 255, 0.1);
    --card-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

body.dark-theme .dashboard-card,
body.dark-theme .settings-group,
body.dark-theme .glass,
body.dark-theme .notif-item,
body.dark-theme .complaint-card,
body.dark-theme .guardian-card,
body.dark-theme .event-card,
body.dark-theme .subject-result-card,
body.dark-theme .classmate-card {
    background: #1E1E1E !important;
    border-color: #2C2C2C !important;
}

body.dark-theme h1, 
body.dark-theme h2, 
body.dark-theme h3, 
body.dark-theme h4 {
    color: #FFFFFF !important;
}

body.dark-theme .btn-icon,
body.dark-theme .settings-arrow {
    color: #FFFFFF !important;
}

body.dark-theme header {
    background: rgba(18, 18, 18, 0.8) !important;
}

body.dark-theme .bottom-nav {
    background: rgba(18, 18, 18, 0.95);
    border-top: 1px solid #2C2C2C;
}

body.dark-theme .form-control {
    background: #2C2C2C !important;
    color: white !important;
}

/* Notification Unread Styles */
.notif-item {
    position: relative;
}

.notif-item.unread {
    background: rgba(108, 99, 255, 0.05);
}

.notif-item.unread::after {
    content: '';
    position: absolute;
    top: 25px;
    right: 20px;
    width: 8px;
    height: 8px;
    background: #6C63FF;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(108, 99, 255, 0.4);
}

/* ── Events Portal Styles ── */
.event-gallery-card {
    background: var(--white);
    border-radius: 25px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    margin-bottom: 25px;
}

.event-img-wrap {
    height: 180px;
    position: relative;
    overflow: hidden;
}

.event-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.event-gallery-card:active .event-img-wrap img {
    transform: scale(1.05);
}

.event-details {
    padding: 18px;
}

.event-details h4 {
    font-size: 1rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.event-details p {
    font-size: 0.75rem;
    color: var(--text-muted);
    line-height: 1.4;
}

.video-card {
    background: #000;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    margin-bottom: 15px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.video-thumb {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    opacity: 0.8;
}

.play-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.2);
}

.play-btn-circle {
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #FF0000;
    box-shadow: 0 0 20px rgba(255,255,255,0.4);
}

















