body {
    display: flex; flex-direction: column; min-height: 100vh; margin: 0;
}
.main { flex: 1; } /* Estilo adicional para el footer */ 
footer { background-color: #f1f1f1; padding: 1rem; }

.header {
    background: linear-gradient(45deg, #ff5733,#ff8d1a);
    color: white;
    padding: 1rem;
    text-align: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1050;
}



.header-logo { 
    max-width: 50px; /* Tamaño máximo de la imagen */ 
    height: auto; margin-right: 1rem;
}


.container-fluid {
    padding-top: 90px; /* Ajusta según la altura del header */
}

.sidebar {
    width: 200px;
    background-color: #f4f4f4;
    padding: 1rem;
    height: calc(100% - 70px); /* Ajusta según la altura del header */
    position: fixed;
    top: 90px; /* Ajusta según la altura del header */
    left: 0;
    z-index: 1000;
}

.sidebar .nav-link { color: #706e6e; /* Color de fuente gris */ } 
.sidebar .nav-link:hover { color: #030303;} /* Color de fuente más oscuro al pasar el mouse */
.nav-link { color: #3d3939; /* Color de fuente gris */ } 
.nav-link:hover { color: #030303;} /* Color de fuente más oscuro al pasar el mouse */

.content {
    flex: 1;
    padding: 1rem;
    margin-left: 200px; /* Asegura que el contenido no se superponga a la barra lateral */
    overflow-y: auto;
}

@media (max-width: 767.98px) {
    .sidebar {
        display: none;
    }

    .content {
        margin-left: 0;
    }

    .navbar {
        width: 100%;
        position: relative;
    }

    .navbar-toggler {
        border-color: rgba(0, 0, 0, 0.1);
    }

    .navbar-toggler-icon {
        background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3e%3cpath stroke='rgba%280, 0, 0, 0.5%29' stroke-width='2' linecap='round' linejoin='round' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    }
}

/* Botones personalizados */
 .btn-orange { 
    background-color: #ff860e; /* Color naranja */ 
    border: none; 
    color: rgb(250, 246, 246); };
 .btn-orange:hover { 
    background-color: #f37154 !important; /* Color naranja más oscuro al pasar el mouse */ 
    
};
 .btn-orange:focus, .btn-orange:active { 
    background-color: #b3391e; 
    box-shadow: none; /* Eliminar el resplandor de enfoque predeterminado */ 
}

.material-icons.md-orange { 
    color: rgba(248, 151, 5, 0.54); 
}
