.sidebar { 
    position: fixed; 
    left: 0; 
    top: 0; 
    width: 250px; 
    height: 100vh; 
    background: #212c3a; 
    color: #fff; 
    z-index: 1000; 
    box-shadow: 2px 0 8px rgba(44,62,80,0.08); 
    padding-top: 0;
    padding-bottom: 0;
    display: flex;
    flex-direction: column;
}
@media (max-width: 900px) {
    .main-content { margin-left: 0; padding: 18px 4px; }
    .sidebar { position: static; width: 100%; height: auto; box-shadow: none; }
}
body {
    overflow-x: hidden;
}

.sidebar {
    position: fixed;
    left: 0;
    top: 0;
    width: 250px;
    height: 100vh;
    background: #212c3a;
    color: #fff;
    z-index: 1000;
    box-shadow: 2px 0 8px rgba(44,62,80,0.08);
    padding-top: 0;
    padding-bottom: 0;
    display: flex;
    flex-direction: column;
}

.main-content {
    margin-left: 250px;
    padding: 32px 24px;
    width: calc(100% - 250px);
}

/* Asegurarse que la tabla no desborde */
.table-responsive {
    overflow-x: auto;
    width: 100%;
}

@media (max-width: 900px) {
    .main-content { 
        margin-left: 0; 
        padding: 18px 4px;
        width: 100%;
    }
    .sidebar { 
        position: static; 
        width: 100%; 
        height: auto; 
        box-shadow: none; 
    }
}
