body {
    font-family: 'Inter', sans-serif;
    background: #F8F9FA;
}

/* SIDEBAR */
.sidebar {
    width: 280px;
    height: 100vh;
    background: white;
    position: sticky;
    top: 0;
}

.sidebar .accordion-button {
    background: white;
    color: #0D47A1;
    font-weight: 600;
    box-shadow: none !important;
}

.sidebar .accordion-button:not(.collapsed) {
    background: #E3F2FD;
    color: #0D47A1;
}

.list-group-item {
    border: none;
    padding-left: 25px;
    font-size: 15px;
    color: #333;
}

.list-group-item:hover {
    background: #EEF6FF;
    color: #0D47A1;
}

/* CONTENIDO */
.content {
    background: #FFFFFF;
    min-height: 100vh;
}

.content h1, .content h2 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
}

.zoom {
    cursor: pointer;
    transition: 0.2s;
}

.zoom:hover {
    opacity: 0.85;
}
/* Barra superior */
.navbar-brand span {
    color: #0D47A1;
}

.nav-link {
    color: #0D47A1 !important;
    font-size: 15px;
    transition: 0.2s;
}

.nav-link:hover {
    color: #1565C0 !important;
    text-decoration: underline;
}

/* SIDEBAR RESPONSIVO */
.sidebar {
    width: 280px;
    height: 100vh;
    background: white;
    position: fixed;
    left: 0;
    top: 0;
    overflow-y: auto;
    overflow-x: hidden;
    transition: transform 0.3s ease-in-out;
    z-index: 999;
    border-right: 1px solid #ddd;
}

/* Ocultar sidebar en móvil */
.sidebar-closed {
    transform: translateX(-100%);
}

/* Contenido principal */
.content {
    background: #FFFFFF;
    flex-grow: 1;
    min-height: 100vh;
    margin-left: 280px;
    transition: margin-left 0.3s ease-in-out;
}

/* Si el menú está cerrado en móvil */
@media (max-width: 992px) {
    .content {
        margin-left: 0 !important;
    }
}

/* Botón flotante de menú móvil */
#mobileToggle {
    display: none;
}

@media (max-width: 992px) {
    #mobileToggle {
        display: block;
        position: fixed;
        left: 15px;
        bottom: 20px;
        z-index: 1001;
    }
}
