body {
    font-family: Inter, "Segoe UI", Roboto, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background: #f8fbff;
    color: #172033;
    min-height: 100vh;
}

a {
    text-decoration: none;
    color: inherit;
}

.app-layout {
    display: flex;
    min-height: 100vh;
}

.myeduicon{
    font-size:x-large;
    padding-right: 10px;
}

.sidebar {
    width: 280px;
    background: #0f172a;
    color: #f8fafc;
    padding: 1.5rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    box-shadow: 8px 0 24px rgba(15, 23, 42, 0.12);
}

.sidebar-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.header-logo {
    width: 40px;
    height: 40px;
    object-fit: contain;
    border-radius: 0.75rem;
    background: #ffffff;
    
}

.sidebar-title {
    font-size: 1rem;
    font-weight: 700;
    margin: auto;
}

.sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.sidebar-nav .nav-link {
    padding: 0.75rem 1rem;
    border-radius: 0.75rem;
    color: #dbeafe;
    transition: background 0.2s ease, transform 0.2s ease;
}

.sidebar-nav .nav-link:hover,
.sidebar-nav .nav-link:focus-visible {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(2px);
}

.nav-icon {
    width: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
}

.main-area {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.menu-toggle {
    display: inline-flex;
}

@media (min-width: 768px) {
    .menu-toggle {
        display: none !important;
    }
}

.content {
    flex: 1;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
}

.content h1 {
    font-size: 2rem;
    margin-bottom: 0.25rem;
}

.content p {
    color: #64748b;
}

.page_title {
    color: #2563eb;
}

.app-footer {
    padding: 1rem 1.5rem 1.5rem;
    border-top: 1px solid rgba(226, 232, 240, 0.8);
    margin-top: auto;
    color: #64748b;
    font-size: 0.9rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(8px);
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.footer-links a:hover {
    color: #2563eb;
}

.backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(2, 6, 23, 0.45);
    z-index: 900;
}

body.sidebar-open .backdrop {
    display: block;
}








.dashboard-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    transition: all 0.2s ease;
}

.dashboard-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.10);
}

.dashboard-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #222;
    margin: 0;
}

.dashboard-description {
    font-size: 0.9rem;
    color: #777;
    line-height: 1.4;
}

.dashboard-icon {
    font-size: 2.4rem;
    line-height: 1;
    margin-left: 15px;
    color: #19c2c8;
    flex-shrink: 0;
}

/* Dark Theme Primary Colors for Dashboard Icons */
.color-cyan {
    color: #19c2c8;
}
.color-teal {
    color: #20c997;
}
.color-purple {
    color: #6f42c1;
}
.color-indigo {
    color: #6610f2;
}
.color-pink {
    color: #e83e8c;
}
.color-red {
    color: #dc3545;
}
.color-orange {
    color: #fd7e14;
}
.color-yellow {
    color: #ffc107;
}
.color-green {
    color: #28a745;
}
.color-blue {
    color: #0d6efd;
}

.cursor-pointer{
    cursor: pointer;
}




@media (max-width: 900px) {
    .sidebar {
        width: 260px;
    }

    .content {
        padding: 1.25rem;
    }
}

@media (max-width: 768px) {
    .sidebar {
        position: fixed;
        top: 0;
        left: 0;
        height: 100%;
        z-index: 1000;
        transform: translateX(-100%);
        box-shadow: 18px 0 38px rgba(2, 6, 23, 0.28);
    }

    .sidebar.open {
        transform: translateX(0);
    }

    .content {
        padding: 1rem;
    }

    .app-footer {
        padding: 0.9rem 1rem 1.25rem;
        flex-direction: column;
        align-items: flex-start;
    }
}
