
/* 1. ESTILOS BASE Y LAYOUT GENERAL */
.fondo-app {
    background-color: #f8f9fa; 
}
body {
    background-color: #f8f9fa;
    min-height: 100vh; 
}

.img{
    color: #fff;
}

/* 2. BARRA DE NAVEGACIÓN SUPERIOR (NAVBAR)*/
.navbar {
    z-index: 1030;
    width: 100%; 
}

/* 3. MENÚ LATERAL (SIDEBAR)*/
.sidebar {
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0; 
    right: auto; 
    width: 250px;
    padding-top: 56px; 
    z-index: 1020;
    
    background-color: #343a40; 
    color: #f8f9fa;
    
    transition: transform 0.3s ease;
}

.sidebar a {
    color: #dee2e6;
    padding: 10px 15px; 
}
.sidebar a:hover,
.sidebar a.active {
    color: #fff;
    background-color: #495057;
    border-radius: 5px;
}

/* 4. CONTENIDO PRINCIPAL (Content)*/
.content {
    margin-left: 250px; 
    margin-right: 0; 
    padding-top: 85px; 
    padding-left: 30px; 
    padding-right: 30px;
    transition: margin-left 0.3s ease;
}

.content-full-width {
    margin-left: 0 !important; 
    margin-right: 0 !important; 
    padding-left: 20px; 
    padding-right: 20px;
}

.content.content-full-width {
    padding-top: 85px !important; 
}


/* 5. MEDIA QUERIES PARA RESPONSIVE (MÓVIL) */

@media (max-width: 991.98px) {
    .sidebar {
        transform: translateX(-250px); 
    }
    
    .sidebar.active {
        transform: translateX(0);
    }
    
    .content {
        margin-left: 0 !important; 
        margin-right: 0 !important; 
        padding-left: 15px; 
        padding-right: 15px;
    }
    
    .navbar .d-flex.align-items-center > span {
        display: none;
    }
}


/* 6. ESTILOS DE COMPONENTES (Dashboard Cards) */

.card-dashboard-custom {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: none;
    border-radius: 8px; /* Pequeño redondeado */
}

.card-dashboard-custom:hover {
    transform: translateY(-3px);
    box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.2) !important;
}

.border-left-primary {
    border-left: 0.25rem solid #0d6efd !important; 
}

.border-left-success {
    border-left: 0.25rem solid #198754 !important; 
}

.border-left-warning {
    border-left: 0.25rem solid #ffc107 !important; 
}

.border-left-danger {
    border-left: 0.25rem solid #dc3545 !important;
}

.text-xs {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}
.text-gray-800 {
    color: #343a40 !important;
}

/* estilos.css */

.logo-sidebar {
    height: 50px; /* Ajusta el tamaño según sea necesario */
    width: auto;
}


