/* /Components/Layout/MainLayout.razor.rz.scp.css */
/* Estilos específicos do MainLayout */

/* Sidebar responsiva */
@media (max-width: 991.98px) {
    .sidebar[b-26p1bb5dl1] {
        position: fixed !important;
        left: -280px;
        top: 0;
        z-index: 1050;
        transition: left 0.3s ease;
    }

    .sidebar.show[b-26p1bb5dl1] {
        left: 0;
    }
}

/* Overlay para mobile */
.sidebar-overlay[b-26p1bb5dl1] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1040;
    display: none;
}

.sidebar-overlay.show[b-26p1bb5dl1] {
    display: block;
}

/* Animação suave para links do menu */
[b-26p1bb5dl1] .nav-link {
    position: relative;
    overflow: hidden;
}

[b-26p1bb5dl1] .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--mp-primary-light, #4da3ff);
    transition: width 0.3s ease;
}

[b-26p1bb5dl1] .nav-link:hover::after {
    width: 100%;
}

/* Header fixo se necessário */
header[b-26p1bb5dl1] {
    position: sticky;
    top: 0;
    z-index: 100;
}

/* Scrollbar customizada */
.sidebar[b-26p1bb5dl1]::-webkit-scrollbar {
    width: 6px;
}

.sidebar[b-26p1bb5dl1]::-webkit-scrollbar-track {
    background: transparent;
}

.sidebar[b-26p1bb5dl1]::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
}

.sidebar[b-26p1bb5dl1]::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* Badge de notificação */
.badge-notification[b-26p1bb5dl1] {
    animation: pulse-b-26p1bb5dl1 2s infinite;
}

@keyframes pulse-b-26p1bb5dl1 {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

/* Dropdown animations */
[b-26p1bb5dl1] .dropdown-menu {
    animation: fadeInDown-b-26p1bb5dl1 0.2s ease;
}

@keyframes fadeInDown-b-26p1bb5dl1 {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
