/* Mobile Dashboard Styles */
.mobile-dashboard-body {
    background: #f0f2f5;
    display: block;
    padding: 0;
    height: 100vh;
    overflow: hidden;
    color: #333;
    font-family: 'Poppins', sans-serif;
}

.mobile-app-wrapper {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: relative;
}

/* Bottom Navigation */
.mobile-nav {
    display: flex;
    justify-content: space-around;
    align-items: center;
    background: white;
    padding: 10px 0;
    border-radius: 20px 20px 0 0;
    box-shadow: 0 -3px 10px rgba(0, 0, 0, 0.05);
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 100;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 8px 0;
    width: 20%;
    border-radius: 10px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.nav-item i {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: #999;
    transition: all 0.3s ease;
}

.nav-item span {
    font-size: 0.7rem;
    color: #999;
    transition: all 0.3s ease;
}

.nav-item.active {
    background: rgba(108, 99, 255, 0.1);
}

.nav-item.active i,
.nav-item.active span {
    color: #6c63ff;
    font-weight: 500;
}

/* Mobile Header */
.mobile-header {
    padding: 20px 16px;
    background: linear-gradient(135deg, #6a11cb, #2575fc);
    color: white;
    border-radius: 0 0 20px 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.user-greeting h1 {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
}

.user-greeting p {
    font-size: 0.85rem;
    margin: 5px 0 0;
    opacity: 0.8;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.action-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
}

.action-icon:hover {
    background: rgba(255, 255, 255, 0.3);
}

.notification-time {
    font-size: 0.75rem;
    color: #777;
    margin-top: 3px;
}

/* Toast Notification */
.toast-notification {
    position: fixed;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    border-radius: 10px;
    padding: 12px 15px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    min-width: 250px;
    max-width: 90%;
    z-index: 1001;
    transition: top 0.3s ease;
}

.toast-notification.show {
    top: 20px;
}

.toast-icon {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #4CAF50;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    flex-shrink: 0;
}

.toast-icon i {
    color: white;
    font-size: 1rem;
}

.toast-content {
    flex: 1;
}

.toast-message {
    margin: 0;
    font-size: 0.9rem;
}

.toast-close {
    background: transparent;
    border: none;
    width: 25px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 10px;
    cursor: pointer;
    color: #777;
    flex-shrink: 0;
}

.toast-close:hover {
    color: #333;
}

/* Loader Overlay */
.loader-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.95);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 1002;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.loader-overlay.show {
    opacity: 1;
    visibility: visible;
}

.loader {
    position: relative;
    width: 60px;
    height: 60px;
}

.loader-circle {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 4px solid rgba(106, 17, 203, 0.2);
    border-top: 4px solid #6c63ff;
    border-radius: 50%;
    animation: spin 1.2s linear infinite;
}

.loader-text {
    margin-top: 20px;
    color: #6c63ff;
    font-weight: 500;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Ensure scrolling is smooth on iOS */
* {
    -webkit-overflow-scrolling: touch;
}

/* Accessibility - focus states */
button:focus, 
a:focus, 
input:focus {
    outline: 2px solid #6c63ff;
    outline-offset: 2px;
}

/* Hide outline for non-keyboard interactions */
button:focus:not(:focus-visible), 
a:focus:not(:focus-visible), 
input:focus:not(:focus-visible) {
    outline: none;
}

/* Responsive Adjustments */
@media (max-width: 360px) {
    .quick-info-card {
        min-width: 130px;
    }

    .finance-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .finance-icon {
        margin-right: 0;
        margin-bottom: 8px;
    }

    .menu-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 768px) {
    .mobile-content {
        max-width: 480px;
        margin: 0 auto;
    }

    .mobile-nav {
        width: 480px;
        left: 50%;
        transform: translateX(-50%);
    }

    .fab-container {
        right: calc(50% - 240px + 20px);
    }
}bell .badge {
    position: absolute;
    top: -5px;
    right: -5px;
    width: 20px;
    height: 20px;
    background: #ff5252;
    color: white;
    border-radius: 50%;
    font-size: 0.7rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #6a11cb;
}

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
}

.user-avatar span {
    color: #6a11cb;
    font-weight: 600;
    font-size: 1rem;
}

/* Main Content */
.mobile-content {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
    padding-bottom: 80px; /* Space for bottom navigation */
    position: relative;
}

/* Content Sections */
.content-section {
    display: none;
}

.content-section.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Section Titles */
.section-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #444;
    margin: 24px 0 12px;
    display: flex;
    align-items: center;
}

.section-title::after {
    content: '';
    height: 1px;
    background: #e0e0e0;
    flex: 1;
    margin-left: 10px;
}

/* Section Header with Search */
.section-header {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 20px;
}

.section-header h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
    color: #333;
}

.search-container {
    position: relative;
}

.search-container i {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
}

.search-container input {
    width: 100%;
    padding: 12px 12px 12px 40px;
    border: none;
    background: white;
    border-radius: 10px;
    font-size: 0.9rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.search-container input:focus {
    outline: none;
    box-shadow: 0 2px 15px rgba(106, 17, 203, 0.1);
}

/* Quick Info Cards */
.quick-info-container {
    display: flex;
    overflow-x: auto;
    padding: 5px 0;
    gap: 15px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
    margin: 0 -5px;
}

.quick-info-container::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Edge */
}

.quick-info-card {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    padding: 15px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    min-width: 150px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.quick-info-card:active {
    transform: scale(0.97);
}

.card-icon {
    width: 45px;
    height: 45px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
}

.card-icon i {
    font-size: 1.3rem;
    color: white;
}

.card-info {
    flex: 1;
}

.card-info h3 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 600;
}

.card-info p {
    margin: 3px 0 0;
    font-size: 0.8rem;
    color: #777;
}

.quick-info-card.students .card-icon {
    background: linear-gradient(135deg, #6a11cb, #2575fc);
}

.quick-info-card.teachers .card-icon {
    background: linear-gradient(135deg, #FF512F, #DD2476);
}

.quick-info-card.attendance .card-icon {
    background: linear-gradient(135deg, #11998e, #38ef7d);
}

.quick-info-card.revenue .card-icon {
    background: linear-gradient(135deg, #f5af19, #f12711);
}

/* Attendance Summary */
.attendance-summary {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.attendance-card {
    background: white;
    border-radius: 15px;
    padding: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.attendance-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.attendance-header h3 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.attendance-header span {
    font-size: 1.1rem;
    font-weight: 600;
    color: #6c63ff;
}

.attendance-progress {
    margin-bottom: 15px;
}

.progress-bar {
    height: 8px;
    background: #f0f0f0;
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(to right, #6a11cb, #2575fc);
    border-radius: 4px;
    transition: width 1s ease;
}

.attendance-details {
    display: flex;
    justify-content: space-between;
}

.attendance-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-value {
    font-size: 1rem;
    font-weight: 600;
}

.stat-label {
    font-size: 0.7rem;
    color: #777;
    margin-top: 3px;
}

/* Fee Collection Card */
.fee-collection-card {
    background: white;
    border-radius: 15px;
    padding: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.fee-collection-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}

.fee-total, .fee-pending {
    text-align: center;
}

.fee-total h3, .fee-pending h3 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.fee-total p, .fee-pending p {
    margin: 3px 0 0;
    font-size: 0.8rem;
    color: #777;
}

.fee-total h3 {
    color: #11998e;
}

.fee-pending h3 {
    color: #f12711;
}

.fee-collection-progress {
    margin-bottom: 15px;
}

.progress-label {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    margin-bottom: 8px;
}

.fee-breakdown {
    display: flex;
    justify-content: space-between;
}

.breakdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.breakdown-label {
    font-size: 0.8rem;
    color: #777;
}

.breakdown-value {
    font-size: 1rem;
    font-weight: 600;
    margin-top: 5px;
}

/* Finance Overview */
.finance-overview {
    background: white;
    border-radius: 15px;
    padding: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.finance-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.finance-tab {
    padding: 8px 15px;
    background: #f5f5f5;
    border-radius: 20px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.finance-tab.active {
    background: #6c63ff;
    color: white;
}

.finance-summary {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}

.finance-item {
    display: flex;
    align-items: center;
    padding: 10px;
    border-radius: 10px;
    width: 31%;
}

.finance-icon {
    width: 35px;
    height: 35px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
}

.finance-icon i {
    color: white;
    font-size: 1rem;
}

.finance-details {
    flex: 1;
}

.finance-details p {
    margin: 0;
    font-size: 0.7rem;
    color: #777;
}

.finance-details h3 {
    margin: 3px 0 0;
    font-size: 0.9rem;
    font-weight: 600;
}

.finance-item.income {
    background: rgba(17, 153, 142, 0.1);
}

.finance-item.income .finance-icon {
    background: #11998e;
}

.finance-item.income .finance-details h3 {
    color: #11998e;
}

.finance-item.expense {
    background: rgba(241, 39, 17, 0.1);
}

.finance-item.expense .finance-icon {
    background: #f12711;
}

.finance-item.expense .finance-details h3 {
    color: #f12711;
}

.finance-item.balance {
    background: rgba(106, 17, 203, 0.1);
}

.finance-item.balance .finance-icon {
    background: #6a11cb;
}

.finance-item.balance .finance-details h3 {
    color: #6a11cb;
}

.finance-chart-container {
    height: 200px;
}

/* Birthdays Section */
.birthdays-container {
    display: flex;
    overflow-x: auto;
    gap: 15px;
    padding: 5px 0;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    margin: 0 -5px;
}

.birthdays-container::-webkit-scrollbar {
    display: none;
}

.birthday-card {
    flex: 0 0 auto;
    background: white;
    border-radius: 15px;
    padding: 15px;
    min-width: 200px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
}

.birthday-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #6a11cb, #2575fc);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
}

.birthday-avatar i {
    color: white;
    font-size: 1.5rem;
}

.birthday-info {
    flex: 1;
}

.birthday-info h4 {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
}

.birthday-info p {
    margin: 5px 0 0;
    font-size: 0.8rem;
    color: #777;
}

.birthday-cake {
    margin-left: 10px;
    color: #f5af19;
    font-size: 1.2rem;
}

/* Events Container */
.events-container {
    background: white;
    border-radius: 15px;
    padding: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.events-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.event-tab {
    padding: 8px 15px;
    background: #f5f5f5;
    border-radius: 20px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.event-tab.active {
    background: #6c63ff;
    color: white;
}

.events-content {
    max-height: 300px;
    overflow-y: auto;
}

.event-item {
    display: flex;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
}

.event-item:last-child {
    border-bottom: none;
}

.event-date {
    width: 45px;
    height: 45px;
    background: #f5f5f5;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
}

.event-date .day {
    font-size: 1.2rem;
    font-weight: 700;
}

.event-date .month {
    font-size: 0.7rem;
    color: #777;
    text-transform: uppercase;
}

.event-details {
    flex: 1;
}

.event-details h4 {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 600;
}

.event-details p {
    margin: 5px 0 0;
    font-size: 0.8rem;
    color: #777;
}

.event-time {
    display: flex;
    align-items: center;
    margin-top: 5px;
    font-size: 0.75rem;
    color: #777;
}

.event-time i {
    margin-right: 5px;
    font-size: 0.8rem;
}

.event-venue {
    display: flex;
    align-items: center;
    margin-top: 5px;
    font-size: 0.75rem;
    color: #777;
}

.event-venue i {
    margin-right: 5px;
    font-size: 0.8rem;
}

/* Recent Activities */
.recent-activities {
    background: white;
    border-radius: 15px;
    padding: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.activity-item {
    display: flex;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
}

.activity-item:last-child {
    border-bottom: none;
}

.activity-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
}

.activity-icon i {
    color: white;
    font-size: 1rem;
}

.activity-details {
    flex: 1;
}

.activity-details p {
    margin: 0;
    font-size: 0.9rem;
}

.activity-time {
    font-size: 0.75rem;
    color: #777;
    margin-top: 3px;
}

.activity-import .activity-icon {
    background: linear-gradient(135deg, #6a11cb, #2575fc);
}

/* Student Stats */
.student-stats {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.stat-card {
    flex: 1;
    background: white;
    border-radius: 15px;
    padding: 15px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.stat-card h3 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
    color: #6c63ff;
}

.stat-card p {
    margin: 5px 0 0;
    font-size: 0.85rem;
    color: #777;
}

/* Gender Distribution */
.gender-distribution {
    background: white;
    border-radius: 15px;
    padding: 15px;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.gender-distribution h3 {
    margin: 0 0 15px;
    font-size: 1rem;
    font-weight: 600;
}

.gender-stats {
    display: flex;
    gap: 15px;
}

.gender-stat {
    flex: 1;
    display: flex;
    align-items: center;
    padding: 12px;
    border-radius: 10px;
}

.gender-stat.male {
    background: rgba(108, 99, 255, 0.1);
}

.gender-stat.female {
    background: rgba(221, 36, 118, 0.1);
}

.gender-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
}

.gender-stat.male .gender-icon {
    background: #6c63ff;
}

.gender-stat.female .gender-icon {
    background: #DD2476;
}

.gender-icon i {
    color: white;
    font-size: 1.2rem;
}

.gender-info {
    flex: 1;
}

.gender-info p {
    margin: 0;
    font-size: 0.8rem;
    color: #777;
}

.gender-info h4 {
    margin: 3px 0 0;
    font-size: 1.2rem;
    font-weight: 600;
}

.gender-stat.male .gender-info h4 {
    color: #6c63ff;
}

.gender-stat.female .gender-info h4 {
    color: #DD2476;
}

/* Distribution Charts */
.distribution-charts {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.chart-container {
    background: white;
    border-radius: 15px;
    padding: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.chart-container h3 {
    margin: 0 0 15px;
    font-size: 1rem;
    font-weight: 600;
}

/* Library Stats */
.library-stats {
    background: white;
    border-radius: 15px;
    padding: 15px;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.library-stats h3 {
    margin: 0 0 15px;
    font-size: 1.1rem;
    font-weight: 600;
}

.library-stats h4 {
    margin: 20px 0 10px;
    font-size: 1rem;
    font-weight: 500;
}

.library-summary {
    display: flex;
    justify-content: space-between;
    text-align: center;
}

.library-stat {
    flex: 1;
}

.stat-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    border: 3px solid #6c63ff;
}

.stat-circle span {
    font-size: 1.2rem;
    font-weight: 600;
    color: #6c63ff;
}

.library-stat p {
    margin: 0;
    font-size: 0.8rem;
    color: #777;
}

.library-issues {
    max-height: 300px;
    overflow-y: auto;
}

.issue-item {
    display: flex;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
}

.issue-item:last-child {
    border-bottom: none;
}

.issue-book {
    width: 40px;
    height: 40px;
    background: #6c63ff;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    flex-shrink: 0;
}

.issue-book i {
    color: white;
    font-size: 1.2rem;
}

.issue-details {
    flex: 1;
}

.issue-details h4 {
    margin: 0;
    font-size: 0.9rem;
    font-weight: 600;
}

.issue-details p {
    margin: 3px 0 0;
    font-size: 0.8rem;
    color: #777;
}

.issue-date {
    font-size: 0.75rem;
    color: #777;
    margin-top: 5px;
    display: flex;
    align-items: center;
}

.issue-date i {
    margin-right: 5px;
    font-size: 0.8rem;
}

/* Expense Breakdown */
.expense-breakdown {
    background: white;
    border-radius: 15px;
    padding: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.expense-breakdown h3 {
    margin: 0 0 15px;
    font-size: 1.1rem;
    font-weight: 600;
}

.expense-chart-container {
    height: 250px;
}

/* Calendar Styles */
.calendar-container {
    background: white;
    border-radius: 15px;
    padding: 15px;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.calendar-header {
    margin-bottom: 15px;
}

.month-selector {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.month-selector button {
    background: transparent;
    border: none;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.month-selector button:hover {
    background: #f5f5f5;
}

.month-selector h3 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    margin-bottom: 10px;
}

.weekdays div {
    font-size: 0.8rem;
    color: #777;
    padding: 5px;
}

.days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
}

.day {
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 0.9rem;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
}

.day:hover {
    background: #f5f5f5;
}

.day.today {
    background: #6c63ff;
    color: white;
}

.day.selected {
    background: rgba(108, 99, 255, 0.2);
    border: 2px solid #6c63ff;
}

.day.has-event::after {
    content: '';
    position: absolute;
    bottom: 2px;
    width: 6px;
    height: 6px;
    background: #f12711;
    border-radius: 50%;
}

.day.inactive {
    color: #ccc;
}

.events-list {
    background: white;
    border-radius: 15px;
    padding: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.events-list h3 {
    margin: 0 0 15px;
    font-size: 1.1rem;
    font-weight: 600;
}

/* Menu Grid */
.menu-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.menu-item {
    background: white;
    border-radius: 15px;
    padding: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    cursor: pointer;
    transition: transform 0.3s ease;
}

.menu-item:active {
    transform: scale(0.95);
}

.menu-icon {
    width: 50px;
    height: 50px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}

.menu-icon i {
    font-size: 1.5rem;
    color: white;
}

.menu-item p {
    margin: 0;
    font-size: 0.85rem;
    font-weight: 500;
}

.menu-icon.courses {
    background: linear-gradient(135deg, #6a11cb, #2575fc);
}

.menu-icon.schedule {
    background: linear-gradient(135deg, #FF512F, #DD2476);
}

.menu-icon.fees {
    background: linear-gradient(135deg, #11998e, #38ef7d);
}

.menu-icon.reports {
    background: linear-gradient(135deg, #f5af19, #f12711);
}

.menu-icon.library {
    background: linear-gradient(135deg, #0082c8, #667eea);
}

.menu-icon.messages {
    background: linear-gradient(135deg, #00b09b, #96c93d);
}

.menu-icon.settings {
    background: linear-gradient(135deg, #fd746c, #ff9068);
}

.menu-icon.profile {
    background: linear-gradient(135deg, #7F00FF, #E100FF);
}

.menu-icon.logout {
    background: linear-gradient(135deg, #ee0979, #ff6a00);
}

/* Floating Action Button */
.fab-container {
    position: fixed;
    right: 20px;
    bottom: 80px;
    z-index: 99;
}

.fab-button {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #6a11cb, #2575fc);
    color: white;
    border: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 2;
}

.fab-button:active {
    transform: scale(0.95);
}

.fab-options {
    position: absolute;
    bottom: 70px;
    right: 5px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    visibility: hidden;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.fab-container.active .fab-options {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}

.fab-option {
    display: flex;
    align-items: center;
    background: white;
    padding: 8px 16px 8px 12px;
    border-radius: 30px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.fab-option i {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #6c63ff;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
}

.fab-option span {
    font-size: 0.9rem;
    font-weight: 500;
}

.fab-option:active {
    transform: scale(0.95);
}

/* Notification Panel */
.notification-panel {
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    height: 100%;
    background: white;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: right 0.3s ease;
    display: flex;
    flex-direction: column;
}

.notification-panel.active {
    right: 0;
}

.panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #f0f0f0;
}

.panel-header h3 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 600;
}

.panel-header button {
    background: transparent;
    border: none;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.panel-header button:hover {
    background: #f5f5f5;
}

.notifications-list {
    flex: 1;
    overflow-y: auto;
    padding: 15px;
}

.notification-item {
    display: flex;
    padding: 15px 0;
    border-bottom: 1px solid #f0f0f0;
}

.notification-item:last-child {
    border-bottom: none;
}

.notification-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #6c63ff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    flex-shrink: 0;
}

.notification-icon i {
    color: white;
    font-size: 1.2rem;
}

.notification-content {
    flex: 1;
}

.notification-text {
    margin: 0;
    font-size: 0.9rem;
}

.notification-