@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300&display=swap');
:root {
    --colorPrincipal: #f4623a;
  }
  
body {
    background: #DBDBDB;
    height: 100%;
    margin: 0;
}
.nav-link {
    color: rgba(255, 255, 255, 0.8);
    transition: background-color 0.3s ease, color 0.3s ease, padding-left 0.3s ease;
}

.nav-link:hover {
    background-color: rgba(255, 255, 255, 0.08);
    color: #fff;
    padding-left: 1.25rem;
}

.active-link {
    background-color: rgba(255, 255, 255, 0.15);
    color: #fff !important;
    font-weight: 500;
    padding-left: 1.5rem;
    border-radius: 0.375rem;
    transition: background-color 0.3s ease, color 0.3s ease, padding-left 0.3s ease;
}
.main-sidebar {
    background-color: var(--colorPrincipal);
}
.fotoPerfil{
    background-color: var(--colorPrincipal) !important;
}
/* Estilos base para el sidebar */
#sidebar {
    position: fixed;
    top: 0;
    left: -250px; /* Ocultar el sidebar por defecto */
    bottom: 0;
    width: 250px;
    background-color: var(--colorPrincipal);
    color: white;
    transition: left 0.3s ease-in-out; /* Transición suave para la animación */
    z-index: 1000;
}

/* Mostrar el sidebar en dispositivos móviles */
@media (max-width: 991.98px) {
    #sidebar {
        left: -250px; /* Asegurar que esté oculto por defecto */
        width: 250px;
    }
    /* Estilos para el botón de toggle en dispositivos móviles */
    .sidebar-toggle {
        display: block; /* Mostrar el botón de toggle por defecto */
                top: 35px;
                left: 5px;
                z-index: 1100;
                color: black;
                border: none;
                padding: 10px;
                cursor: pointer;
    }
    .sidebar-toggle.open {
        display: none !important; /* Ocultar el botón de toggle cuando el sidebar está abierto */
    }
    #sidebar.open {
        left: 0; /* Mostrar el sidebar */
    }
}
/* Estilos para el botón de toggle en pantallas grandes */
@media (min-width: 992px) {
    .sidebar-toggle {
        display: none; /* Ocultar el botón de toggle en pantallas grandes */
    }

    #sidebar {
        left: 0; /* Mostrar el sidebar por defecto en pantallas grandes */
    }
}

/* Estilos para el contenido principal */
#content {
    transition: margin-left 0.3s ease-in-out;
    margin-left: 0;
}

/* Estilos para el contenido principal cuando el sidebar está abierto */
#content.open {
    margin-left: 250px; /* Espacio para el sidebar */
}



.btn-principal {
    color: white !important;
    background: var(--colorPrincipal);
    height: auto; /* Permite que el botón se ajuste automáticamente al contenido */
    padding: 8px 15px; /* Ajusta el espacio interno para que el texto no toque los bordes del botón */
    font-size: 16px; /* Ajusta el tamaño de la fuente según sea necesario */
    display: inline-block; /* Asegura que el botón se ajuste al contenido */
    text-align: center; /* Centra el texto dentro del botón */
}


.sidebar-dark-principal{
    color: white !important;
    background-color: var(--colorPrincipal) !important;

}

.content-wrapper{
    background-color:  #DBDBDB ;
}

.color-white{
    background-color: #fff !important;
    padding: 20px;
    border-radius: 5px;
}

.color-white-footer{
    background-color: #fff !important;
    padding: 20px;
}

.a{
    text-decoration: none !important;
    color: var(--colorPrincipal) !important;
}

a{
    text-decoration: none !important;
    color: white !important;
}

.hr{
    background-color: white!important;
    ;
    height: 2px !important;
    ;
}

.mb-auto {
    margin-bottom: auto !important;
}

.google-button {
    height: 40px;
    border-width: 0;
    background: white;
    color: #737373;
    border-radius: 5px;
    white-space: nowrap;
    box-shadow: 1px 1px 0px 1px rgba(0,0,0,0.05);
    transition-property: background-color, box-shadow;
    transition-duration: 150ms;
    transition-timing-function: ease-in-out;
    padding: 0;
    transition: .5s;
}

.google-button:active{
    background-color: #e5e5e5;
    box-shadow: none;
    transition-duration: 5ms;
}
.google-button:hover,.google-button:focus{
    box-shadow: 1px 4px 5px 1px rgba(0,0,0,0.1);
}

.google-button__icon {
    display: inline-block;
    vertical-align: middle;
    margin: 8px 0 8px 8px;
    width: 18px;
    box-sizing: border-box;
}

.google-button__icon--plus {
    width: 27px;
}

.google-button__text {
    display: inline-block;
    vertical-align: middle;
    padding: 0 24px;
    font-size: 14px;
    font-weight: bold;
    font-family: 'Roboto',arial,sans-serif;
}

.btn:hover {
    border: 1px solid var(--colorPrincipal);
    color: var(--colorPrincipal) !important;
}

.btn-danger:hover {
    border: none !important;
    color: #fff !important;
    background-color: #bb2d3b !important; 
}

.btn-success:hover {
    background-color: #157347 !important; 
    border: none !important;
    color: #fff !important;
}


.dropdown-item:hover{
    color: var(--colorPrincipal) !important;
}

.btn-principal:disabled {
    background-color: var(--colorPrincipal);
    color: #FFFFFF;
}

@media screen and (max-width: 600px) {
    table {
        width:100%;
    }
    /* Comentario la siguiente l�nea para mostrar el encabezado en dispositivos m�viles */
    /* thead {
        display: none;
    } */
    tr:nth-of-type(2n) {
        background-color: inherit;
    }
    th, tr td:first-child {
        background: #fff;
        font-weight: bold;
        font-size: 1.3em;
        text-align: center;
        display: block; /* Muestra los elementos uno debajo del otro */
        width: 100%; /* Ocupa todo el ancho disponible */
        box-sizing: border-box; /* Incluye el padding en el ancho total */
    }
    tbody td {
        display: block;
        text-align: center;
    }
    tbody td:before {
        content: attr(data-th);
        display: block;
        text-align: center;
    }
}

footer {
    width: 100%;
    height: 60px;
/*    position: absolute;*/
    bottom: 0;
    left: 0;
}

.perfil-img {
    border-radius: 50%;
    width: 150px; /* Ajusta el tama�o seg�n tus necesidades */
    height: 150px; /* Ajusta el tama�o seg�n tus necesidades */
}
[data-tooltip]:hover::after {
    display: block;
    position: absolute;
    content: attr(data-tooltip);
    border: 1px solid black;
    background: white;
    padding: .25em;
    cursor: pointer;
}
.bg-principal{
    background-color: var(--colorPrincipal);
}
.background-edemsa {
    background-color: transparent;
    background-image: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(91, 196, 241, 0.25) 100%);
    transition: background 0.3s, border-radius 0.3s, opacity 0.3s;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%; 
    z-index: -1;
}
.border-principal{
    border-color: var(--colorPrincipal);
}
.btn-principal.active{
    color: var(--colorPrincipal) !important;
    background: white;
    border-color: var(--colorPrincipal);
    height: auto; /* Permite que el botón se ajuste automáticamente al contenido */
    padding: 8px 15px; /* Ajusta el espacio interno para que el texto no toque los bordes del botón */
    font-size: 16px; /* Ajusta el tamaño de la fuente según sea necesario */
    display: inline-block; /* Asegura que el botón se ajuste al contenido */
    text-align: center; /* Centra el texto dentro del botón */
}

/*estilos que se usan en edemsa */
.btn-outline-principal{
    color: var(--colorPrincipal) !important;
    background: white;
    border-color: var(--colorPrincipal);
    height: auto; /* Permite que el botón se ajuste automáticamente al contenido */
    padding: 8px 15px; /* Ajusta el espacio interno para que el texto no toque los bordes del botón */
    font-size: 16px; /* Ajusta el tamaño de la fuente según sea necesario */
    display: inline-block; /* Asegura que el botón se ajuste al contenido */
    text-align: center;
}
.btn-outline-principal:hover{
    color: white !important;
    background: var(--colorPrincipal);
    height: auto; /* Permite que el botón se ajuste automáticamente al contenido */
    padding: 8px 15px; /* Ajusta el espacio interno para que el texto no toque los bordes del botón */
    font-size: 16px; /* Ajusta el tamaño de la fuente según sea necesario */
    display: inline-block; /* Asegura que el botón se ajuste al contenido */
    text-align: center; /* Centra el texto dentro del botón */
}
   /*estos estilos despues van en un archivo css*/
   .gradient-1 { 
    background: linear-gradient(to right, #5bc4f1, #46addb); 
}
.gradient-2 { 
    background: linear-gradient(to right, #46addb, #3496c5); 
}
.gradient-3 { 
    background: linear-gradient(to right, #3496c5, #217fae); 
}
.gradient-4 { 
    background: linear-gradient(to right, #217fae, #106899); 
}
.gradient-5 { 
    background: linear-gradient(to right, #106899, #005184); 
}
/* Animación de desvanecimiento */
.fade-in {
    opacity: 0;
    animation: fadeInAnimation 1s forwards;
}

@keyframes fadeInAnimation {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}
/* Animación para las barras de progreso */
@keyframes progressBarAnimation {
    0% {
        width: 0%;
    }
    100% {
        width: 33.3%; /*ancho de cada barra */
    }
}

.progress-bar, .importeCalculado {
    animation: progressBarAnimation 1s ease-out forwards; 
}
.accordion-button{
    outline: none !important; 
    box-shadow: none !important;
}
.accordion-button:not(.collapsed){
    background-color: #C5EAF9 !important;
}