/* CSS Variables */
:root {
    /* Colors */
    --primary-color: #0066cc;
    --primary-dark: #0052a3;
    --primary-darker: #003d7a;
    --secondary-color: #0e6cbb;
    --secondary-dark: #065292;
    --text-color: #333;
    --text-light: #666;
    --text-lighter: #777;
    --text-muted: #999;
    --bg-color: #fff;
    --bg-light: #f8f9fa;
    --bg-lighter: #f1f1f1;
    --border-color: #eee;
    --border-dark: #ddd;
    
    /* Fonts */
    --font-family: 'Arial', sans-serif;
    --font-size-small: 12px;
    --font-size-normal: 14px;
    --font-size-medium: 15px;
    --font-size-large: 16px;
    --font-size-xlarge: 18px;
    --font-size-xxlarge: 20px;
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-bold: 600;
    
    /* Spacing */
    --spacing-xs: 5px;
    --spacing-sm: 10px;
    --spacing-md: 15px;
    --spacing-lg: 20px;
    --spacing-xl: 25px;
    --spacing-xxl: 30px;
    
    /* Border Radius */
    --border-radius-sm: 8px;
    --border-radius-md: 10px;
    --border-radius-lg: 15px;
    --border-radius-xl: 20px;
    --border-radius-circle: 50%;
    
    /* Shadows */
    --shadow-sm: 0 2px 5px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 10px rgba(0,0,0,0.1);
    --shadow-lg: 0 8px 25px rgba(0,0,0,0.15);
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
}

/* Common Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    background: var(--bg-light);
    overflow-x: hidden;
}

/* Mobile Container */
.mobile-container {
    max-width: 414px;
    margin: 80px auto;
    border-radius: 20px;
    background: var(--bg-color);
    position: relative;
    min-height: 100vh;
    box-shadow: var(--shadow-md);
    overflow: hidden;
}

/* Status Bar */
.status-bar {
    background-color: var(--primary-color);
    color: white;
    display: flex;
    justify-content: space-between;
    padding: var(--spacing-xs) var(--spacing-md);
    font-size: var(--font-size-normal);
}

.status-right {
    display: flex;
    gap: var(--spacing-xs);
}

/* App Header */
.app-header {
    background-color: var(--primary-color);
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-md);
}

.app-title {
    font-size: var(--font-size-xxlarge);
    font-weight: var(--font-weight-bold);
}

/* Content Styles */
.content {
    padding: var(--spacing-md);
}

.subject-header {
    background-color: var(--bg-color);
    padding: var(--spacing-sm) 0;
}

.subject-header h2 {
    font-size: var(--font-size-xlarge);
    font-weight: var(--font-weight-bold);
}

/* Filter Button */
.search-container {
    position: relative;
    margin: var(--spacing-md) 0;
    display: flex;
    align-items: center;
}

.search-icon {
    position: absolute;
    left: var(--spacing-md);
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
}

.search-input {
    width: 100%;
    padding: 12px var(--spacing-md) 12px 40px;
    border: 1px solid var(--border-color);
    border-radius: 25px;
    font-size: var(--font-size-normal);
    outline: none;
}

.filter-btn {
    background-color: var(--primary-color);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: var(--border-radius-circle);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: var(--spacing-sm);
    cursor: pointer;
}

/* Filter Dropdown */
.filter-dropdown {
    position: absolute;
    top: 50px;
    right: 0;
    width: 320px;
    background: linear-gradient(135deg, #ffffff, #f8fafc);
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    z-index: 100;
    display: none;
    overflow: hidden;
    transform: translateY(-10px);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(99, 102, 241, 0.1);
}

.filter-dropdown.active {
    display: block;
    transform: translateY(0);
    opacity: 1;
}

.filter-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px var(--spacing-lg);
    background:linear-gradient(135deg, var(--secondary-color), var(--secondary-dark));
    color: white;
    position: relative;
    overflow: hidden;
}

.filter-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.filter-header h3 {
    font-size: var(--font-size-xlarge);
    font-weight: var(--font-weight-bold);
    margin: 0;
    letter-spacing: 0.5px;
}

.close-filter {
    background: rgba(255,255,255,0.2);
    border: none;
    color: white;
    cursor: pointer;
    font-size: var(--font-size-large);
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.close-filter:hover {
    background: rgba(255,255,255,0.3);
    transform: scale(1.05);
}

.filter-options {
    padding: var(--spacing-lg);
    background: linear-gradient(135deg, #ffffff, #f8fafc);
}

.filter-group {
    margin-bottom: var(--spacing-lg);
    background: linear-gradient(135deg, #f1f5f9, #e2e8f0);
    padding: var(--spacing-lg);
    border-radius: 15px;
    border-left: 4px solid var(--secondary-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.filter-group:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.1);
}

.filter-group h4 {
    font-size: var(--font-size-large);
    margin-bottom: 15px;
    color: var(--secondary-color);
    font-weight: var(--font-weight-bold);
}

.filter-option {
    display: flex;
    align-items: center;
    margin-bottom: var(--spacing-sm);
    padding: 8px 12px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.filter-option:hover {
    background: rgba(99, 102, 241, 0.05);
}

.filter-option input[type="checkbox"] {
    margin-right: 12px;
    width: 20px;
    height: 20px;
    accent-color: var(--secondary-color);
    border-radius: 4px;
}

.filter-option label {
    font-size: var(--font-size-medium);
    color: var(--text-color);
    font-weight: var(--font-weight-medium);
    cursor: pointer;
}

.filter-actions {
    display: flex;
    justify-content: space-between;
    padding: var(--spacing-lg);
    background: linear-gradient(135deg, #f8fafc, #f1f5f9);
    border-top: 1px solid rgba(99, 102, 241, 0.1);
}

.reset-filter, .apply-filter {
    padding: 12px var(--spacing-xl);
    border-radius: 12px;
    font-size: var(--font-size-medium);
    font-weight: var(--font-weight-bold);
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 110px;
    text-align: center;
    border: none;
}

.reset-filter {
    background: linear-gradient(135deg, #f1f5f9, #e2e8f0);
    color: #64748b;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.reset-filter:hover {
    background: linear-gradient(135deg, #e2e8f0, #cbd5e1);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.apply-filter {
    background: linear-gradient(135deg, var(--secondary-color), var(--secondary-dark));
    color: white;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.apply-filter:hover {
    background: linear-gradient(135deg, var(--secondary-color), var(--secondary-dark));
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.4);
}

/* Homework List */
.date-section {
    margin: var(--spacing-lg) 0 var(--spacing-md);
    text-align: center;
}

.date-label {
    color: white;
    font-size: var(--font-size-normal);
    font-weight: 600;
    background: linear-gradient(135deg, var(--secondary-color), var(--secondary-dark));
    padding: 8px 20px;
    border-radius: 20px;
    display: inline-block;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
    position: relative;
    overflow: hidden;
}

.date-label::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.date-label:hover::before {
    left: 100%;
}

.homework-item {
    display: flex;
    align-items: center;
    padding: var(--spacing-lg);
    border-radius: 15px;
    background: linear-gradient(135deg, #ffffff, #f8fafc);
    margin-bottom: var(--spacing-md);
    text-decoration: none;
    color: var(--text-color);
    
    border: 1px solid rgba(59, 130, 246, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}


.homework-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(59, 130, 246, 0.15);
    background: linear-gradient(135deg, #ffffff, #f1f5f9);
}

.homework-item:hover::before {
    width: 6px;
}

.homework-status {
    width: 20px;
    height: 20px;
    border-radius: var(--border-radius-circle);
    border: 2px solid var(--border-dark);
    margin-right: var(--spacing-md);
}

.homework-status.completed {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

/* Custom Checkbox Styles */
.homework-status.checkbox {
    position: relative;
    width: 28px;
    height: 28px;
    border: none;
    margin-right: var(--spacing-lg);
}

.homework-checkbox {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 28px;
    width: 28px;
    background: linear-gradient(135deg, #ffffff, #f1f5f9);
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.homework-checkbox:checked ~ .checkmark {
    background: linear-gradient(135deg, var(--secondary-color), var(--secondary-dark));
    border-color: var(--secondary-color);
    transform: scale(1.05);
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
    left: 10px;
    top: 6px;
    width: 6px;
    height: 12px;
    border: solid white;
    border-width: 0 3px 3px 0;
    transform: rotate(45deg);
}

.homework-checkbox:checked ~ .checkmark:after {
    display: block;
}

.homework-checkbox:focus ~ .checkmark {
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.3);
}

.homework-status.checkbox:hover .checkmark {
    border-color: var(--secondary-color);
    transform: scale(1.02);
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.2);
}

.homework-info {
    flex: 1;
}

.homework-text {
    font-size: var(--font-size-normal);
    line-height: 1.4;
}

.homework-arrow {
    color: var(--text-muted);
    margin-left: var(--spacing-sm);
}

/* Subject List */
.subject-list {
    margin-top: var(--spacing-lg);
}

.subject-item {
    display: flex;
    align-items: center;
    padding: var(--spacing-md);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    text-decoration: none;
    color: var(--text-color);
    background: linear-gradient(145deg, #ffffff, #f8fafc);
    margin-bottom: 8px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.subject-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    background: linear-gradient(145deg, #f8fafc, #ffffff);
}

.subject-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    font-size: 20px;
    font-weight: bold;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Subject-specific colorful icon styles */
.mathematics .subject-icon {
    background: linear-gradient(135deg, var(--secondary-color), var(--secondary-dark));
    color: white;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.science .subject-icon {
    background: linear-gradient(135deg, #10b981, #047857);
    color: white;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.english .subject-icon {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
}

.social-studies .subject-icon {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.3);
}

.hindi .subject-icon {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
    color: white;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
}

.biology .subject-icon {
    background: linear-gradient(135deg, #06b6d4, #0891b2);
    color: white;
    box-shadow: 0 4px 15px rgba(6, 182, 212, 0.3);
}

.subject-item:hover .subject-icon {
    transform: scale(1.1);
}

.subject-info {
    flex: 1;
}

.subject-name {
    font-weight: 600;
    margin-bottom: 5px;
    font-size: 16px;
    color: var(--text-color);
}

.subject-desc {
    font-size: 13px;
    color: var(--text-light);
    opacity: 0.8;
}

.subject-arrow {
    color: var(--text-muted);
    margin-left: 10px;
    font-size: 14px;
    transition: color 0.3s ease, transform 0.3s ease;
}

.subject-item:hover .subject-arrow {
    color: var(--primary-color);
    transform: translateX(3px);
}

/* Header Styles */
.header {
    background: linear-gradient(135deg, var(--secondary-color), var(--secondary-dark));
    color: white;
    padding: var(--spacing-md) var(--spacing-lg);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: var(--shadow-md);
}

.menu-toggle {
    background: none;
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
    padding: 5px;
}

.header-title {
    font-size: 18px;
    font-weight: 600;
}

.notification-btn {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: relative;
}

.notification-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #ef4444;
    color: white;
    font-size: 10px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Sidebar Styles */
.sidebar {
    position: fixed;
    top: 0;
    left: -300px;
    width: 300px;
    height: 100vh;
    background: linear-gradient(180deg, var(--secondary-color), var(--secondary-dark));
    transition: var(--transition-normal);
    z-index: 2000;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
}

.sidebar.active {
    left: 0;
}

.sidebar-header {
    padding: 30px 20px 20px;
    text-align: center;
    color: white;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.profile-img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    color: white;
    font-size: 30px;
}

.profile-name {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 5px;
}

.profile-phone {
    font-size: 14px;
    opacity: 0.9;
}

.sidebar-menu {
    padding: 20px 0;
}

.sidebar-menu a {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    color: white;
    text-decoration: none;
    transition: background 0.3s ease;
}

.sidebar-menu a:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.sidebar-menu i {
    width: 20px;
    margin-right: 15px;
    font-size: 16px;
}

.social-links {
    position: absolute;
    bottom: 30px;
    left: 20px;
    display: flex;
    gap: 15px;
}

.social-links a {
    color: white;
    font-size: 20px;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.social-links a:hover {
    opacity: 1;
}

/* Overlay */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1500;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Main Content */
.main-content {
    margin-top: 70px;
    padding: 20px;
    margin-bottom: 50px;
}

/* Image Slider */
.image-slider {
    margin-bottom: 30px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.carousel-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.carousel-indicators [data-bs-target] {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin: 0 3px;
}

/* Menu Grid */
.menu-section {
    margin-bottom: 60px;
    background: #fff;
    border-radius: 20px;
    padding: 20px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    border-bottom: 1px solid lightgray;
}

.section-title {
    font-size: 18px;
    font-weight: 600;
    color: #374151;
}

.view-all {
    color: #2563eb;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.menu-item {
    
    border-radius: 16px;
    padding: 20px 15px;
    text-align: center;
    
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    color: #374151;
    
}

.menu-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12), 0 4px 16px rgba(0, 0, 0, 0.08);
    color: #374151;
}



.menu-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    font-size: 22px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.menu-item:hover .menu-icon {
    transform: scale(1.1);
}

.menu-item.active .menu-icon {
    background: linear-gradient(135deg, #0e6cbb, #065292);
    color: white;
}

.homework .menu-icon {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: white;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.attendance .menu-icon {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.results .menu-icon {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
}

.fees .menu-icon {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.3);
}

.timetable .menu-icon {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
    color: white;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
}

.activity .menu-icon {
    background: linear-gradient(135deg, #06b6d4, #0891b2);
    color: white;
    box-shadow: 0 4px 15px rgba(6, 182, 212, 0.3);
}

.video .menu-icon {
    background: linear-gradient(135deg, #ec4899, #db2777);
    color: white;
    box-shadow: 0 4px 15px rgba(236, 72, 153, 0.3);
}

.online .menu-icon {
    background: linear-gradient(135deg, #84cc16, #65a30d);
    color: white;
    box-shadow: 0 4px 15px rgba(132, 204, 22, 0.3);
}

.report .menu-icon {
    background: linear-gradient(135deg, #6366f1, #4f46e5);
    color: white;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.menu-label {
    font-size: 12px;
    font-weight: 500;
}

/* Bottom Navigation */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #ffffff, #f8fafc);
    display: flex;
    justify-content: space-around;
    padding:  0;
    box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.12);
    max-width: 100%;
    margin: 0 auto;
    border-top: 1px solid rgba(99, 102, 241, 0.1);
    backdrop-filter: blur(10px);
    z-index: 1000;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #64748b;
    font-size: 11px;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    padding: 8px 12px;
    border-radius: 16px;
    min-width: 60px;
}

.nav-item:hover {
    color: #0b64ae;
    transform: translateY(-2px);
}

.nav-item.active {
    color: #0b64ae;
    background: rgba(99, 102, 241, 0.08);
}

.nav-icon-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    margin-bottom: 4px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-item i {
    font-size: 18px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-item.active i {
    transform: scale(1.1);
}

.nav-indicator {
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%) scale(0);
    width: 4px;
    height: 4px;
    background: var(--secondary-color);
    border-radius: 50%;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-item.active .nav-indicator {
    transform: translateX(-50%) scale(1);
}

.nav-item span {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-top: 2px;
}

/* Add ripple effect */
.nav-item::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(99, 102, 241, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s;
}

.nav-item:active::before {
    width: 40px;
    height: 40px;
}

/* Notification Page */
.notification-page {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: var(--bg-color);
    z-index: 3000;
    transition: right var(--transition-normal);
    overflow-y: auto;
}

.notification-page.active {
    right: 0;
}

.notification-header {
    background: linear-gradient(135deg, var(--secondary-color), var(--secondary-dark));
    color: white;
    padding: var(--spacing-md) var(--spacing-lg);
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.close-btn {
    background: none;
    border: none;
    color: white;
    font-size: 18px;
    cursor: pointer;
}

.notification-title {
    font-size: 18px;
    font-weight: 600;
}

.notification-list {
    padding: 20px;
}

.notification-item {
    display: flex;
    gap: 15px;
    padding: 15px;
    border-bottom: 1px solid #e5e7eb;
}

.notification-item.unread {
    background: #f0f9ff;
}

.notification-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #dbeafe;
    color: var(--secondary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.notification-content {
    flex: 1;
}

.notification-text {
    font-size: 14px;
    color: #374151;
    margin-bottom: 5px;
}

.notification-time {
    font-size: 12px;
    color: #9ca3af;
}



/* Status Bar */
.status-bar {
    background: var(--secondary-color);
    color: white;
    padding: 8px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    font-weight: 600;
}

.status-left {
    font-size: 16px;
}

.status-right {
    display: flex;
    gap: 5px;
    align-items: center;
}

/* App Header */
.app-header {
    background: var(--secondary-color);
    color: white;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.app-title {
    font-size: 20px;
    font-weight: 600;
    margin: 0;
}

.hamburger, .notification {
    background: none;
    border: none;
    color: white;
    font-size: 18px;
    cursor: pointer;
}

/* Content Area */
.content {
    padding: 20px;
    min-height: calc(100vh - 140px);
}

/* Question Card */
.question-card {
    background: var(--bg-color);
    border-radius: var(--border-radius-md);
    padding: var(--spacing-lg);
    box-shadow: var(--shadow-md);
    margin-bottom: var(--spacing-lg);
}

.question-title {
    font-size: var(--font-size-large);
    font-weight: var(--font-weight-bold);
    margin-bottom: var(--spacing-md);
    color: var(--text-color);
}

.question-text {
    color: var(--text-light);
    line-height: 1.5;
    margin-bottom: var(--spacing-md);
}

/* Question Options */
.question-options {
    margin-top: var(--spacing-md);
}

.question-option {
    display: flex;
    align-items: center;
    padding: var(--spacing-md);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    margin-bottom: var(--spacing-sm);
    cursor: pointer;
    transition: var(--transition-fast);
}

.question-option:hover {
    background-color: var(--bg-light);
    border-color: var(--primary-color);
}

.option-number {
    width: 24px;
    height: 24px;
    background-color: var(--bg-light);
    border-radius: var(--border-radius-circle);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: var(--spacing-md);
    font-weight: var(--font-weight-bold);
    color: var(--text-color);
}

.option-text {
    flex: 1;
    color: var(--text-color);
}

/* Action Buttons */
.action-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: var(--spacing-xl);
}

.back-btn, .done-btn {
    padding: var(--spacing-sm) var(--spacing-lg);
    border-radius: 25px;
    font-size: var(--font-size-medium);
    font-weight: var(--font-weight-medium);
    cursor: pointer;
    transition: var(--transition-fast);
    min-width: 120px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-xs);
}

.back-btn {
    background-color: var(--bg-lighter);
    border: 1px solid var(--border-dark);
    color: var(--text-light);
}

.back-btn:hover {
    background-color: var(--border-dark);
}

.done-btn {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border: none;
    color: white;
    box-shadow: 0 4px 10px rgba(0,102,204,0.3);
}

.done-btn:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-darker));
    box-shadow: 0 6px 12px rgba(0,102,204,0.4);
}

/* Question Detail Page Styles */
.question-header {
    background: linear-gradient(135deg, var(--secondary-color), var(--secondary-dark));
    color: white;
    padding: var(--spacing-lg);
    border-radius: var(--border-radius-md) var(--border-radius-md) 0 0;
    margin: -20px -20px 20px -20px;
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.question-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: var(--border-radius-circle);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.question-container {
    background-color: var(--bg-color);
    border-radius: var(--border-radius-md);
    padding: var(--spacing-lg);
    box-shadow: var(--shadow-md);
    margin-bottom: var(--spacing-md);
    border: 1px solid var(--border-color);
}

.question-content {
    padding: var(--spacing-md);
}

.question-text {
    font-size: var(--font-size-medium);
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-light);
    padding: var(--spacing-md);
    border-radius: var(--border-radius-md);
    margin-bottom: var(--spacing-lg);
}

.question-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background-color: var(--primary-color);
    color: white;
    border-radius: var(--border-radius-circle);
    margin-right: var(--spacing-xs);
    font-size: var(--font-size-small);
    font-weight: var(--font-weight-bold);
}

/* Animation Classes */
.fade-in {
    animation: fadeIn var(--transition-normal);
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-out {
    animation: fadeOut var(--transition-normal);
}

@keyframes fadeOut {
    from { opacity: 1; transform: translateY(0); }
    to { opacity: 0; transform: translateY(-10px); }
}


/* Attendance Summary Cards */
        .attendance-summary {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 12px;
            margin: 20px 0;
        }

        .summary-card {
            border-radius: 15px;
            padding: 16px;
            text-align: center;
            border: 1px solid rgba(0, 0, 0, 0.05);
            transition: all 0.3s ease;
        }

        .summary-card:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
        }

      

      

        

        .summary-number {
            font-size: 24px;
            font-weight: bold;
            margin-bottom: 4px;
        }

        .summary-card.present .summary-number {
            color: #10b981;
        }

        .summary-card.absent .summary-number {
            color: #ef4444;
        }

        .summary-card.total .summary-number {
            color: var(--secondary-color);
        }

        .summary-label {
            font-size: 12px;
            color: #64748b;
            font-weight: 500;
        }

        /* View Toggle */
        .view-toggle {
            display: flex;
            background: linear-gradient(135deg, #f1f5f9, #e2e8f0);
            border-radius: 12px;
            padding: 4px;
            margin: 20px 0;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
        }

        .toggle-btn {
            flex: 1;
            padding: 12px;
            border: none;
            background: transparent;
            border-radius: 8px;
            font-weight: 600;
            color: #64748b;
            transition: all 0.3s ease;
            cursor: pointer;
        }

        .toggle-btn.active {
            background: linear-gradient(135deg, var(--secondary-color), var(--secondary-dark));
            color: white;
            box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
        }

        /* Calendar View */
        .calendar-container {
            border-radius: 15px;
            margin-bottom: 20px;
        }

        .calendar-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 20px;
        }

        .month-year {
            font-size: 18px;
            font-weight: bold;
            color: #1e293b;
        }

        .nav-btn {
            
            border: none;
            color: #0052a3;
            width: 36px;
            height: 36px;
            border-radius: 8px;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .nav-btn:hover {
            transform: scale(1.05);
            box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
        }

        .calendar-grid {
            display: grid;
            grid-template-columns: repeat(7, 1fr);
            gap: 8px;
        }

        .day-header {
            text-align: center;
            font-weight: bold;
            color: #64748b;
            padding: 8px;
            font-size: 12px;
        }

        .calendar-day {
            aspect-ratio: 1;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 8px;
            font-weight: 500;
            cursor: pointer;
            transition: all 0.3s ease;
            position: relative;
        }

        .calendar-day:hover {
            transform: scale(1.05);
        }

        .calendar-day.other-month {
            color: #cbd5e1;
        }

        .calendar-day.present {
            background: #e9fff3;
            color: rgb(10, 156, 51);
            
        }

        .calendar-day.absent {
            background:  #fff1f1;
            color: #dc2626;
            
        }

        .calendar-day.leave {
            background:  #fff2e2;
            color: #d97706;
            
        }

        .calendar-day.today {
            border: 2px solid var(--secondary-color);
            font-weight: bold;
        }

        /* List View - Table Format */
        .list-container {
            display: none;
        }

        .attendance-table {
            width: 100%;
            background: linear-gradient(135deg, #ffffff, #f8fafc);
            border-radius: 15px;
            overflow: hidden;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
            border: 1px solid rgba(0, 0, 0, 0.05);
        }

        .table-header {
            background: linear-gradient(135deg, var(--secondary-color), var(--secondary-dark));
            color: white;
            display: grid;
            grid-template-columns: 1fr 1fr 1fr;
            padding: 16px;
            font-weight: bold;
            font-size: 14px;
        }

        .table-header div {
            text-align: center;
        }

        .table-row {
            display: grid;
            grid-template-columns: 1fr 1fr 1fr;
            padding: 16px;
            border-bottom: 1px solid rgba(0, 0, 0, 0.05);
            transition: all 0.3s ease;
            align-items: center;
        }

        .table-row:hover {
            background: linear-gradient(135deg, #f8fafc, #f1f5f9);
            transform: scale(1.01);
        }

        .table-row:last-child {
            border-bottom: none;
        }

        .table-row.present {
            border-left: 4px solid #10b981;
        }

        .table-row.absent {
            border-left: 4px solid #ef4444;
        }

        .table-row.leave {
            border-left: 4px solid #f59e0b;
        }

        .table-date {
            text-align: center;
        }

        .date-text {
            font-weight: bold;
            color: #1e293b;
            margin-bottom: 2px;
            font-size: 14px;
        }

        .day-text {
            font-size: 11px;
            color: #64748b;
        }

        .table-day {
            text-align: center;
            font-weight: 500;
            color: #475569;
            font-size: 13px;
        }

        .table-status {
            text-align: center;
        }

        .attendance-status {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            padding: 6px 12px;
            border-radius: 20px;
            font-weight: 600;
            font-size: 11px;
            justify-content: center;
        }

        .attendance-status.present {
            background: linear-gradient(135deg, #dcfce7, #bbf7d0);
            color: #166534;
        }

        .attendance-status.absent {
            background: linear-gradient(135deg, #fecaca, #fca5a5);
            color: #991b1b;
        }

        .attendance-status.leave {
            background: linear-gradient(135deg, #fed7aa, #fdba74);
            color: #9a3412;
        }

        .status-icon {
            font-size: 12px;
        }

        /* Legend */
        .legend {
            display: flex;
            justify-content: space-around;
            margin: 20px 0;
            padding: 16px;
            background: linear-gradient(135deg, #f8fafc, #f1f5f9);
            border-radius: 12px;
        }

        .legend-item {
            display: flex;
            align-items: center;
            gap: 8px;
            font-size: 12px;
            font-weight: 500;
        }

        .legend-color {
            width: 16px;
            height: 16px;
            border-radius: 4px;
        }

        .legend-color.present {
            background: linear-gradient(135deg, #10b981, #059669);
        }

        .legend-color.absent {
            background: linear-gradient(135deg, #ef4444, #dc2626);
        }

        .legend-color.leave {
            background: linear-gradient(135deg, #f59e0b, #d97706);
        }


        /* Result Page Specific Styles */
        .result-header {
            background: linear-gradient(135deg, var(--secondary-color), var(--secondary-dark));
            padding: 20px;
            border-radius: 15px;
            margin-bottom: 20px;
            text-align: center;
        }

        .result-header h1 {
            font-size: 24px;
            font-weight: 700;
            margin-bottom: 5px;
            color: white;
        }

        .result-header p {
            font-size: 14px;
            opacity: 0.9;
            margin: 0;
            color: white;
        }

        .category-tabs {
            display: flex;
            gap: 10px;
            margin-bottom: 20px;
            overflow-x: auto;
            padding-bottom: 5px;
        }

        .category-tab {
            background: linear-gradient(135deg, #f8fafc, #f1f5f9);
            border: none;
            padding: 12px 20px;
            border-radius: 25px;
            font-size: 14px;
            font-weight: 500;
            color: #64748b;
            cursor: pointer;
            transition: all 0.3s ease;
            white-space: nowrap;
            min-width: fit-content;
        }

        .category-tab.active {
            background: linear-gradient(135deg, #dbeafe, #bfdbfe);
            color: #1e40af;
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
        }

        .result-card {
            background: linear-gradient(135deg, #ffffff, #f8fafc);
            border-radius: 15px;
            padding: 20px;
            margin-bottom: 15px;
            border: 1px solid #e6e6e6;
        }

        .result-card-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 15px;
        }

        .subject-name {
            font-size: 18px;
            font-weight: 600;
            color: #1e293b;
        }

        .result-date {
            font-size: 12px;
            color: #64748b;
            background: linear-gradient(135deg, #f1f5f9, #e2e8f0);
            padding: 4px 12px;
            border-radius: 12px;
        }

        .score-display {
            display: flex;
            align-items: center;
            gap: 20px;
            margin-bottom: 15px;
        }

        .score-circle {
            position: relative;
            width: 80px;
            height: 80px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 18px;
            font-weight: 700;
            color: white;
        }

        .score-circle.excellent {
            background: linear-gradient(135deg, #10b981, #059669);
        }

        .score-circle.good {
            background: linear-gradient(135deg, #3b82f6, #2563eb);
        }

        .score-circle.average {
            background: linear-gradient(135deg, #f59e0b, #d97706);
        }

        .score-circle.poor {
            background: linear-gradient(135deg, #ef4444, #dc2626);
        }

        .score-details {
            flex: 1;
        }

        .score-text {
            font-size: 24px;
            font-weight: 700;
            color: #1e293b;
            margin-bottom: 5px;
        }

        .score-label {
            font-size: 14px;
            color: #64748b;
            margin-bottom: 8px;
        }

        .grade-badge {
            display: inline-block;
            padding: 6px 12px;
            border-radius: 20px;
            font-size: 12px;
            font-weight: 600;
        }

        .grade-a {
            background: linear-gradient(135deg, #dcfce7, #bbf7d0);
            color: #166534;
        }

        .grade-b {
            background: linear-gradient(135deg, #dbeafe, #bfdbfe);
            color: #1e40af;
        }

        .grade-c {
            background: linear-gradient(135deg, #dbeafe, #bfdbfe);
            color: #1e40af;
        }

        .grade-d {
            background: linear-gradient(135deg, #bfdbfe, #93c5fd);
            color: #1d4ed8;
        }

        .result-stats {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 10px;
            margin-top: 15px;
        }

        .stat-item {
            text-align: center;
            padding: 12px;
            background: linear-gradient(135deg, #f8fafc, #f1f5f9);
            border-radius: 10px;
        }

        .stat-value {
            font-size: 16px;
            font-weight: 600;
            color: #1e293b;
            margin-bottom: 4px;
        }

        .stat-label {
            font-size: 11px;
            color: #64748b;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .overall-performance {
            background: linear-gradient(135deg, #f8fafc, #f1f5f9);
            border-radius: 15px;
            margin-bottom: 20px;
            text-align: center;
        }

        .overall-performance h3 {
            color: #212121;
            font-size: 18px;
            font-weight: 600;
            margin-bottom: 15px;
        }

        .performance-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 15px;
        }

        .performance-item {
            background: rgba(255, 255, 255);
            padding: 15px;
            border-radius: 12px;
            backdrop-filter: blur(10px);
        }

        .performance-value {
            font-size: 20px;
            font-weight: 700;
            color: #252525;
            margin-bottom: 5px;
        }

        .performance-label {
            font-size: 12px;
            color: #2d2d2d;
            font-weight: 500;
        }

        .empty-state {
            text-align: center;
            padding: 40px 20px;
            color: #64748b;
        }

        .empty-state i {
            font-size: 48px;
            margin-bottom: 15px;
            opacity: 0.5;
        }

        .filter-section {
            margin-bottom: 20px;
        }

        .filter-dropdown {
            background: linear-gradient(135deg, #ffffff, #f8fafc);
            border: 1px solid #e2e8f0;
            border-radius: 12px;
            padding: 12px 16px;
            font-size: 14px;
            color: #1e293b;
            width: 100%;
            cursor: pointer;
        }

        .tab-content {
            display: none;
        }

        .tab-content.active {
            display: block;
        }

        /* Fees Page Specific Styles */
        .fees-container {
            background: linear-gradient(135deg, var(--secondary-color), var(--secondary-dark));
            min-height: 100vh;
            padding: 0;
        }

        .fees-header {
            background: linear-gradient(135deg, var(--secondary-color), var(--secondary-dark));
            color: white;
            padding: 20px;
            text-align: center;
            position: relative;
        }

        .fees-header h1 {
            font-size: 24px;
            font-weight: 600;
            margin: 0;
        }

        .back-btn {
            position: absolute;
            left: 20px;
            top: 50%;
            transform: translateY(-50%);
            background: rgba(255, 255, 255, 0.2);
            border: none;
            color: white;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 18px;
        }

        .fees-content {
            background: #f8f9fa;
            border-radius: 25px 25px 0 0;
            /* margin-top: -20px */
            padding: 30px 20px;
            min-height: calc(100vh - 120px);
        }

        

        .student-avatar {
            width: 60px;
            height: 60px;
            border-radius: 50%;
            background: linear-gradient(135deg, #ff6b6b, #feca57);
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 24px;
            font-weight: bold;
        }

        .fee-summary-cards {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 15px;
            margin-bottom: 25px;
        }

        .fee-card {
            background: white;
            border-radius: 15px;
            padding: 20px;
            text-align: center;
            position: relative;
            overflow: hidden;
            border: 1px solid #e6e6e6;
        }

        .fee-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 4px;
        }

        .fee-card.total::before {
            background: linear-gradient(135deg, var(--secondary-color), var(--secondary-dark));
        }

        .fee-card.paid::before {
            background: linear-gradient(90deg, #56ab2f, #a8e6cf);
        }

        .fee-card.pending::before {
            background: linear-gradient(90deg, #ff6b6b, #feca57);
        }

        .fee-card.due::before {
            background: linear-gradient(90deg, #ff4757, #ff3838);
        }

        .fee-amount {
            font-size: 24px;
            font-weight: bold;
            margin: 10px 0 5px 0;
        }

        .fee-label {
            color: #666;
            font-size: 14px;
        }

        .fee-icon {
            font-size: 20px;
            margin-bottom: 10px;
        }

        .total .fee-icon { color: var(--secondary-color); }
        .paid .fee-icon { color: #56ab2f; }
        .pending .fee-icon { color: #ff6b6b; }
        .due .fee-icon { color: #ff4757; }

        .monthly-fees {
            background: white;
            border-radius: 15px;
            padding: 20px;
           border: 1px solid #e6e6e6;
        }

        .section-title {
            font-size: 18px;
            font-weight: 600;
            margin-bottom: 20px;
            color: #333;
        }

        .month-item {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 15px;
            margin-bottom: 10px;
            border-radius: 12px;
            background: #f8f9fa;
           
            transition: all 0.3s ease;
        }

        .month-item:hover {
            transform: translateX(5px);
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
        }

        .month-item.paid {
           
            background:  rgba(168, 230, 207, 0.1);
        }

        .month-item.pending {
            
            background:  rgba(254, 202, 87, 0.1);
        }

        .month-item.overdue {
            
            background: linear-gradient(90deg, rgba(255, 71, 87, 0.1), rgba(255, 56, 56, 0.1));
        }

        .month-info {
            display: flex;
            align-items: center;
        }

        .month-icon {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-right: 15px;
            font-size: 16px;
            color: white;
        }

        .paid .month-icon {
            background: linear-gradient(135deg, #56ab2f, #a8e6cf);
        }

        .pending .month-icon {
            background: linear-gradient(135deg, #ff6b6b, #feca57);
        }

        .overdue .month-icon {
            background: linear-gradient(135deg, #ff4757, #ff3838);
        }

        .month-details h4 {
            font-size: 16px;
            font-weight: 600;
            margin: 0;
            color: #333;
        }

        .month-details p {
            font-size: 12px;
            color: #666;
            margin: 0;
        }

        .month-amount {
            text-align: right;
        }

        .amount {
            font-size: 16px;
            font-weight: bold;
            color: #333;
        }

        .status-badge {
            font-size: 10px;
            padding: 2px 8px;
            border-radius: 10px;
            color: white;
            margin-top: 2px;
            display: inline-block;
        }

        .paid .status-badge {
            background: #56ab2f;
        }

        .pending .status-badge {
            background: #ff6b6b;
        }

        .overdue .status-badge {
            background: #ff4757;
        }

        .progress-bar-container {
            margin: 20px 0;
            background: white;
            border-radius: 15px;
            padding: 20px;
            border: 1px solid #e6e6e6;
        }

        .progress-title {
            font-size: 16px;
            font-weight: 600;
            margin-bottom: 15px;
            color: #333;
        }

        .progress-bar {
            height: 8px;
            background: #e9ecef;
            border-radius: 10px;
            overflow: hidden;
            margin-bottom: 10px;
        }

        .progress-fill {
            height: 100%;
            background: linear-gradient(90deg, #56ab2f, #a8e6cf);
            border-radius: 10px;
            transition: width 0.5s ease;
        }

        .progress-text {
            display: flex;
            justify-content: space-between;
            font-size: 14px;
            color: #666;
        }

        .pay-button {
            background: linear-gradient(135deg, var(--secondary-color), var(--secondary-dark));
            color: white;
            border: none;
            padding: 15px 30px;
            border-radius: 25px;
            font-size: 16px;
            font-weight: 600;
            width: 100%;
            margin-top: 20px;
            box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
            transition: all 0.3s ease;
        }

        .pay-button:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
        }

        @media (max-width: 480px) {
            .fee-summary-cards {
                grid-template-columns: 1fr 1fr;
                gap: 10px;
            }
            
            .fee-card {
                padding: 15px 10px;
            }
            
            .fee-amount {
                font-size: 20px;
            }
            
            .fee-label {
                font-size: 12px;
            }
            
            .fees-content {
                padding: 20px 15px;
            }
        }

        /* Timetable Page Specific Styles */
        .timetable-container {
            background: linear-gradient(135deg, var(--secondary-color), var(--secondary-dark));
            min-height: 100vh;
            padding: 0;
        }

        .timetable-header {
            background: linear-gradient(135deg, var(--secondary-color), var(--secondary-dark));
            color: white;
            padding: 20px;
            text-align: center;
            position: relative;
        }

        .timetable-header h1 {
            font-size: 24px;
            font-weight: 600;
            margin: 0;
        }

        .back-btn {
            position: absolute;
            left: 20px;
            top: 50%;
            transform: translateY(-50%);
            background: rgba(255, 255, 255, 0.2);
            border: none;
            color: white;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 18px;
        }

        .timetable-content {
            background: #f8f9fa;
            border-radius: 25px 25px 0 0;
            margin-top: -20px;
            padding: 30px 20px;
            min-height: calc(100vh - 120px);
        }

        .student-info {
            background: white;
            border-radius: 15px;
            padding: 20px;
            margin-bottom: 20px;
            border: 1px solid #e6e6e6;
        }
        .student-info h3 {
           font-size: 20px;
           font-weight: 700;
        }
        .student-info p {
           font-size: 14px;
           font-weight: 400;
        }

        .student-avatar {
            width: 60px;
            height: 60px;
            border-radius: 50%;
            background: linear-gradient(135deg, var(--secondary-color), var(--secondary-dark));
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 24px;
            font-weight: bold;
        }

        .tab-container {
            background: white;
            border-radius: 15px;
            padding: 5px;
            margin-bottom: 20px;
            border: 1px solid #e6e6e6;
        }

        .tab-buttons {
            display: flex;
            gap: 5px;
        }

        .tab-btn {
            flex: 1;
            padding: 12px;
            border: none;
            border-radius: 10px;
            font-weight: 600;
            transition: all 0.3s ease;
            background: transparent;
            color: #666;
        }

        .tab-btn.active {
            background: linear-gradient(135deg, var(--secondary-color), var(--secondary-dark));
            color: white;
            box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
        }

        .tab-content {
            display: none;
        }

        .tab-content.active {
            display: block;
        }

        .timetable-section {
            background: white;
            border-radius: 15px;
            padding: 20px;
            border: 1px solid #e6e6e6;
            margin-bottom: 20px;
        }

        .section-title {
            font-size: 18px;
            font-weight: 600;
            margin-bottom: 20px;
            color: #333;
            display: flex;
            align-items: center;
        }

        .section-title i {
            margin-right: 10px;
            color: var(--secondary-color);
        }

        .day-schedule {
            margin-bottom: 20px;
        }

        .day-header {
            background: #d4edff;
            color: var(--secondary-color);;
            padding: 5px;
            border-radius: 5px;
            font-weight: 600;
            margin-bottom: 10px;
            display: flex;
            justify-content: center;
            align-items: center;
        }

        .day-date {
            font-size: 12px;
            opacity: 0.9;
        }

        .time-slot {
            display: flex;
            align-items: center;
            padding: 12px 15px;
            margin-bottom: 8px;
            border-radius: 10px;
            border: 1px solid #bfeaff;
            background: #edf6ff;
            transition: all 0.3s ease;
        }

        .time-slot:hover {
            transform: translateX(5px);
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
        }

        .time-info {
            min-width: 80px;
            font-weight: 600;
            color: #333;
            font-size: 14px;
        }

        .subject-info {
            flex: 1;
            margin-left: 15px;
        }

        .subject-name {
            font-weight: 600;
            color: #333;
            margin-bottom: 2px;
        }

        .teacher-name {
            font-size: 12px;
            color: #666;
        }

        .room-number {
            background: rgba(102, 126, 234, 0.1);
            color: var(--secondary-color);
            padding: 2px 8px;
            border-radius: 10px;
            font-size: 11px;
            font-weight: 600;
        }

        .exam-item {
            display: flex;
            align-items: center;
            padding: 15px;
            margin-bottom: 12px;
            border-radius: 12px;
            background: #f8fbff;
            border: 1px solid #edf6ff;
            transition: all 0.3s ease;
        }

        .exam-item:hover {
            transform: translateX(5px);
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
        }

      #exam-timetable{
        margin-bottom: 50px;
      }

        .exam-date {
            min-width: 60px;
            text-align: center;
            margin-right: 15px;
        }

        .exam-day {
            font-size: 24px;
            font-weight: bold;
            color: #333;
            line-height: 1;
        }

        .exam-month {
            font-size: 12px;
            color: #666;
            text-transform: uppercase;
        }

        .exam-details {
            flex: 1;
        }

        .exam-subject {
            font-weight: 600;
            color: #333;
            margin-bottom: 2px;
        }

        .exam-time {
            font-size: 12px;
            color: #666;
        }

        .exam-status {
            font-size: 10px;
            padding: 4px 8px;
            border-radius: 10px;
            color: white;
            font-weight: 600;
            text-transform: uppercase;
        }

        .upcoming .exam-status {
            background: #ff6b6b;
        }

        .today .exam-status {
            background: #feca57;
        }

        .completed .exam-status {
            background: #48dbfb;
        }

        .current-day {
            background: linear-gradient(135deg, #56ab2f, #a8e6cf) !important;
        }

        .no-class {
            text-align: center;
            padding: 40px 20px;
            color: #666;
        }

        .no-class i {
            font-size: 48px;
            margin-bottom: 15px;
            color: #ddd;
        }

        @media (max-width: 480px) {
            .timetable-content {
                padding: 30px 15px;
            }
            
            .time-slot {
                padding: 10px 12px;
            }
            
            .time-info {
                min-width: 70px;
                font-size: 12px;
            }
            
            .subject-name {
                font-size: 14px;
            }
            
            .teacher-name {
                font-size: 11px;
            }
        }
        /* Hide scrollbar for all browsers */
        * {
            scrollbar-width: none; /* Firefox */
            -ms-overflow-style: none; /* Internet Explorer 10+ */
        }
        
        *::-webkit-scrollbar {
            width: 0px;
            background: transparent; /* Chrome/Safari/Webkit */
        }
        
        html, body {
            scrollbar-width: none;
            -ms-overflow-style: none;
        }
        
        html::-webkit-scrollbar, body::-webkit-scrollbar {
            display: none;
        }

        /* Activity Page Specific Styles */
        .activity-container {
            background: linear-gradient(135deg, var(--secondary-color), var(--secondary-dark));
            min-height: 100vh;
            padding: 0;
            overflow-x: hidden;
        }

        .activity-header {
            background: linear-gradient(135deg, var(--secondary-color), var(--secondary-dark));
            color: white;
            padding: 20px;
            text-align: center;
            position: relative;
        }

        .activity-header h1 {
            font-size: 24px;
            font-weight: 600;
            margin: 0;
        }

        .back-btn {
            position: absolute;
            left: 20px;
            top: 50%;
            transform: translateY(-50%);
            background: rgba(255, 255, 255, 0.2);
            border: none;
            color: white;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 18px;
        }

        .activity-content {
            background: #f8f9fa;
            border-radius: 25px 25px 0 0;
            margin-top: -20px;
            padding: 30px 20px;
            min-height: calc(100vh - 120px);
        }


        .student-avatar {
            width: 60px;
            height: 60px;
            border-radius: 50%;
            background: linear-gradient(135deg, var(--secondary-color), var(--secondary-dark));
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 24px;
            font-weight: bold;
        }

        .filter-container {
            background: white;
            border-radius: 15px;
            padding: 15px;
            margin-bottom: 20px;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
        }

        .filter-buttons {
            display: flex;
            gap: 8px;
            overflow-x: auto;
            scrollbar-width: none;
            -ms-overflow-style: none;
        }
        
        .filter-buttons::-webkit-scrollbar {
            display: none;
        }

        .filter-btn {
            padding: 8px 16px;
            border: none;
            border-radius: 20px;
            font-weight: 600;
            font-size: 12px;
            transition: all 0.3s ease;
            background: #f8f9fa;
            color: #666;
            width: fit-content;
            cursor: pointer;
        }

        .filter-btn.active {
            background: linear-gradient(135deg, var(--secondary-color), var(--secondary-dark));
            color: white;
            box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
        }

        .filter-btn:hover {
            transform: translateY(-2px);
        }

        .activity-section {
            margin-bottom: 25px;
        }

        .section-title {
            font-size: 18px;
            font-weight: 600;
            margin-bottom: 15px;
            color: #333;
            display: flex;
            align-items: center;
        }

        .section-title i {
            margin-right: 10px;
            padding: 8px;
            border-radius: 8px;
            color: white;
        }

        .sports-icon {
            background: linear-gradient(135deg, #ff6b6b, #ee5a52);
        }

        .cultural-icon {
            background: linear-gradient(135deg, #4ecdc4, #44a08d);
        }

        .academic-icon {
            background: linear-gradient(135deg, #45b7d1, #96c93d);
        }

        .clubs-icon {
            background: linear-gradient(135deg, #f9ca24, #f0932b);
        }

        .activity-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 15px;
        }

        .activity-card {
            background: white;
            border-radius: 15px;
            overflow: hidden;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
            transition: all 0.3s ease;
            cursor: pointer;
        }

        .activity-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
        }

        .activity-image {
            height: 120px;
            background: linear-gradient(135deg, var(--secondary-color), var(--secondary-dark));
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 48px;
            position: relative;
        }

        .activity-image.sports {
            background: linear-gradient(135deg, #ff6b6b, #ee5a52);
        }

        .activity-image.cultural {
            background: linear-gradient(135deg, #4ecdc4, #44a08d);
        }

        .activity-image.academic {
            background: linear-gradient(135deg, #45b7d1, #96c93d);
        }

        .activity-image.clubs {
            background: linear-gradient(135deg, #f9ca24, #f0932b);
        }

        .activity-status {
            position: absolute;
            top: 10px;
            right: 10px;
            padding: 4px 8px;
            border-radius: 10px;
            font-size: 10px;
            font-weight: 600;
            text-transform: uppercase;
        }

        .status-joined {
            background: rgba(72, 219, 251, 0.9);
            color: white;
        }

        .status-available {
            background: rgba(46, 213, 115, 0.9);
            color: white;
        }

        .status-full {
            background: rgba(255, 107, 107, 0.9);
            color: white;
        }

        .activity-info {
            padding: 15px;
        }

        .activity-title {
            font-size: 16px;
            font-weight: 600;
            color: #333;
            margin-bottom: 5px;
        }

        .activity-description {
            font-size: 12px;
            color: #666;
            margin-bottom: 10px;
            line-height: 1.4;
        }

        .activity-details {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 15px;
        }

        .activity-time {
            font-size: 11px;
            color: #888;
            display: flex;
            align-items: center;
        }

        .activity-time i {
            margin-right: 4px;
        }

        .activity-participants {
            font-size: 11px;
            color: #888;
            display: flex;
            align-items: center;
        }

        .activity-participants i {
            margin-right: 4px;
        }

        .activity-action {
            width: 100%;
            padding: 10px;
            border: none;
            border-radius: 8px;
            font-weight: 600;
            font-size: 12px;
            transition: all 0.3s ease;
            cursor: pointer;
        }

        .btn-join {
            background: linear-gradient(135deg, #46a049, #27ae60);
            color: white;
        }

        .btn-join:hover {
            background: linear-gradient(135deg, #27ae60, #2ecc71);
            transform: translateY(-2px);
        }

        .btn-joined {
            background: linear-gradient(135deg, #48dbfb, #0abde3);
            color: white;
        }

        .btn-joined:hover {
            background: linear-gradient(135deg, #0abde3, #006ba6);
        }

        .btn-full {
            background: #ddd;
            color: #999;
            cursor: not-allowed;
        }

        .my-activities {
            background: white;
            border-radius: 15px;
            padding: 20px;
            margin-bottom: 20px;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
        }

        .my-activity-item {
            display: flex;
            align-items: center;
            padding: 12px;
            margin-bottom: 10px;
            border-radius: 10px;
            background: #f8f9fa;
        }

        .activity-icon {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            margin-right: 12px;
            font-size: 16px;
        }

        .activity-icon.sports {
            background: linear-gradient(135deg, #ff6b6b, #ee5a52);
        }

        .activity-icon.cultural {
            background: linear-gradient(135deg, #4ecdc4, #44a08d);
        }

        .activity-icon.academic {
            background: linear-gradient(135deg, #45b7d1, #96c93d);
        }

        .activity-icon.clubs {
            background: linear-gradient(135deg, #f9ca24, #f0932b);
        }

        .my-activity-info {
            flex: 1;
        }

        .my-activity-name {
            font-weight: 600;
            color: #333;
            font-size: 14px;
            margin-bottom: 2px;
        }

        .my-activity-schedule {
            font-size: 11px;
            color: #666;
        }

        .activity-badge {
            background: rgba(102, 126, 234, 0.1);
            color: #667eea;
            padding: 4px 8px;
            border-radius: 10px;
            font-size: 10px;
            font-weight: 600;
        }

        @media (max-width: 480px) {
            .activity-content {
                padding: 20px 15px;
            }
            
            .activity-grid {
                grid-template-columns: 1fr;
            }
            
            .filter-buttons {
                justify-content: center;
            }
            
            .filter-btn {
                font-size: 11px;
                padding: 6px 12px;
            }
        }

        .hidden {
            display: none !important;
        }