/* Loader */
.loader-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.8);
    z-index: 9999;
}

.loader {
    border: 16px solid #f3f3f3;
    border-top: 16px solid #3498db;
    border-radius: 50%;
    width: 120px;
    height: 120px;
    animation: spin 2s linear infinite;
}

/* Hide loader by default */
.hidden {
    visibility: hidden;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Tooltips */
.tip {
    display: none;
    position: absolute;
    background-color: #333;
    color: #fff;
    padding: 5px;
    border-radius: 5px;
    font-size: 12px;
    white-space: nowrap;
    left: 100%;
    transform: translateX(-50%);
    z-index: 10;
    top: 30%;
}


#question-icon:hover ~ .tip {
    display: block !important;
}


.dropdown-menu-custom {
    position: absolute;
    top: 100%;
    right: 0;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 0.5rem;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    display: none;
    z-index: 1000;
    width: 200px;
    padding: 1rem;
}

.custom-dropdown:hover .dropdown-menu-custom {
    display: block;
}

.dropdown-header {
    margin: 0;
    font-size: 1rem;
    font-weight: bold;
    color: #333;
    white-space: normal;
}

.dropdown-divider {
    border: 0;
    border-top: 1px solid #ddd;
    margin: 0.5rem 0;
}

.dropdown-item {
    font-size: 0.9rem;
    color: #007bff;
    text-decoration: none;
    display: block;
    padding: 0.5rem 0;
    transition: color 0.2s ease;
}

.dropdown-item:hover {
    color: #0056b3;
}

.custom-dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-toggle-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
}

/* Login */
.container-login{
    background: white;
    margin: 80px;
    border-radius: 12px;
    padding: 80px;
    box-shadow: 2px 2px rgba(0, 0, 0, 0.16);
}


.inputs-login{
    border-radius: var(--radius-m, 12px);
    border: 1px solid var(--Greyscale-secondary-grey, #767676);
    background: var(--Greyscale-pure-white, #FFF);
}

#div-login{
    height: 500px;
}

/* Others */

.div-items {
    display: flex;
    flex-wrap: wrap; /* Permite que los elementos se distribuyan en varias filas */
    gap: 1rem; /* Espaciado entre los elementos */
}

.div-items a {
    flex: 1 1 calc(50% - 1rem); /* Ocupa el 50% del ancho menos el espacio del gap */
    text-decoration: none; /* Elimina el subrayado de los enlaces */
    display: flex;
    justify-content: center;
}

.div-items a div {
    padding: 0.5rem;
    background-color: #f0f0f0;
    border: 1px solid #ccc;
    border-radius: 0.5rem;
    text-align: center;
    font-size: 1rem;
    width: 50%;
    height: 200px;
}

table th, thead{
    position: sticky;
    top: 0;
    z-index: 1;
    box-shadow: 0 2px 2px -1px rgba(0, 0, 0, 0.1)
}

.table-container {
    overflow-y: auto; /* Establece una barra de desplazamiento vertical si el contenido es más grande que el contenedor */
    max-height: 500px; /* Altura máxima del contenedor antes de que aparezca la barra de desplazamiento */
}

.estado-aprobado {
    color: green !important;
}

.estado-denegado {
    color: red !important;
}

.estado-en-proceso {
    color: orange !important;
}

.nav-tabs{
    display: flex;
    justify-content: space-around;
    width: 100%;
}

.nav-tabs li{
    flex: 1 1 100px;
    text-align: center;
}

.nav-tabs .nav-link{
    color: #139EC8;
}

.nav-tabs .nav-item.show .nav-link, 
.nav-tabs .nav-link.active{
    border-bottom: 2px solid #003463 !important;
    color: #003463;
    font-weight: bold;
    border: none;
}


.div-projects{
    margin-bottom: 200px;
}

.principal-title h2{
    color: #139EC8;
    font-size: 50px;
}

.div-info-project{
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0px 20px 0px 20px;
    border-radius: 30px;
    padding: 25px;
}

.div-description-project{
    height: 100%;
    padding: 20px;
    text-align: justify;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.div-description-project h4{
    font-size: 30px;
    color: #139EC8;
}
.img-project{
    width: 100%;
    object-fit: cover;
    border-radius: 30px;
}


.page-header {
    padding: 0;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: 50%;
}

.page-card{
    margin-left: -166px;
}
  
.page-header .container {
z-index: 1;
}

.div-info div{
    width: 15%;
}
.div-info{
    padding: 0px 100px;
    background-color: #D0D0D0;
    border-radius: 10px;
}