/* Mobile Drawer */
@media (max-width: 768px) {
    .mobile-menu-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        border-radius: var(--radius-full);
        color: var(--text-primary);
        background: transparent;
        border: none;
        cursor: pointer;
        transition: var(--transition-all);
        z-index: 1002;
    }

    .mobile-menu-btn:hover {
        background: rgba(var(--primary), 0.1);
    }

    .mobile-menu-btn i {
        font-size: 1.5rem;
    }

    .nav-content {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background: var(--bg-secondary);
        backdrop-filter: blur(10px);
        padding: 5rem 1.5rem 2rem;
        transition: var(--transition-all);
        z-index: 1001;
        display: flex;
        flex-direction: column;
        gap: 2rem;
        box-shadow: -5px 0 30px rgba(0, 0, 0, 0.2);
        border-left: 1px solid var(--border-light);
    }

    .nav-content.active {
        right: 0;
    }

    .drawer-header {
        display: flex;
        align-items: center;
        gap: 1rem;
        padding-bottom: 1.5rem;
        border-bottom: 1px solid var(--border-light);
        margin: -3rem -1.5rem 1rem;
        padding: 1rem 1.5rem;
        background: var(--bg-tertiary);
    }

    .drawer-profile {
        display: flex;
        align-items: center;
        gap: 1rem;
    }

    .drawer-avatar {
        width: 48px;
        height: 48px;
        border-radius: var(--radius-full);
        overflow: hidden;
        border: 2px solid var(--primary);
    }

    .drawer-avatar img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .drawer-info {
        flex: 1;
        min-width: 0;
    }

    .drawer-info .name {
        font-weight: 600;
        color: var(--text-primary);
        margin-bottom: 0.25rem;
    }

    .drawer-info .role {
        font-size: 0.875rem;
        color: var(--text-secondary);
    }

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

    .drawer-nav a {
        display: flex;
        align-items: center;
        gap: 1rem;
        padding: 1rem;
        border-radius: var(--radius-md);
        color: var(--text-primary);
        transition: var(--transition-all);
    }

    .drawer-nav a i {
        font-size: 1.25rem;
        color: var(--text-secondary);
    }

    .drawer-nav a:hover,
    .drawer-nav a.active {
        background: rgba(var(--primary), 0.1);
        color: var(--primary);
    }

    .drawer-nav a.active i {
        color: var(--primary);
    }

    .drawer-footer {
        margin-top: auto;
        padding-top: 1rem;
        border-top: 1px solid var(--border-light);
    }

    .drawer-footer .theme-toggle {
        width: 100%;
        padding: 1rem;
        border-radius: var(--radius-md);
        display: flex;
        align-items: center;
        gap: 1rem;
        color: var(--text-primary);
        background: var(--bg-tertiary);
        margin-bottom: 1rem;
    }

    .drawer-footer .theme-toggle i {
        font-size: 1.25rem;
    }

    .drawer-footer .logout-btn {
        width: 100%;
        padding: 1rem;
        border-radius: var(--radius-md);
        display: flex;
        align-items: center;
        gap: 1rem;
        color: var(--error-300);
        background: rgba(var(--error-300), 0.1);
        border: 1px solid var(--error-300);
    }

    .drawer-footer .logout-btn i {
        font-size: 1.25rem;
    }
}

/* Overlay */
.drawer-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

@media (max-width: 768px) {
    .drawer-overlay.active {
        display: block;
        opacity: 1;
    }
} 