/*---------------------------------*/
/* Para el título de las pantallas */
/*---------------------------------*/
.titulo-base {
    color: black; /*Verde Oscuro    font-weight: bold;*/
}

.subtitulo-base {
    color: black;
}
/*---------------------------------------------------*/
/* Estado de los registros de peticiones y candidatos*/
/*---------------------------------------------------*/
.estado-activo {
    color: green;
    font-weight: bold;
}
.estado-inactivo {
    color: #f4ca30;
    font-weight: bold;
}
.estado-eliminado {
    color: #721c24;
    font-weight: bold;
}
/*---------*/
/* Spinner */
/*---------*/

.spinner-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    z-index: 1000;
    display: none; /* Oculto por defecto */
}
.spinner {
    width: 80px;
    height: 80px;
    border: 8px solid rgba(0, 0, 0, 0.1);
    border-top-color: #16a085; /* es el mismo tono, solo más profundo (parte de la misma paleta de Flat UI Colors)*/
    border-radius: 50%;
    animation: spin 1s linear infinite;
}
@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}
.spinner-message {
    color: rgb(9, 9, 9);
    font-size: 18px;
    font-weight: normal;
    font-style: italic;
    font-family: Arial, sans-serif;
    animation: fade-in-out 4s infinite;
    mask-image: linear-gradient(to right, black, transparent);
    -webkit-mask-image: linear-gradient(to right, black, transparent);
    mask-size: 200%;
    mask-position: 100%;
    -webkit-mask-size: 200%;
    -webkit-mask-position: 100%;
}
@keyframes fade-in-out {
    0%, 100% {
        opacity: 0;
        mask-position: 100%;
        -webkit-mask-position: 100%;
    }
    50% {
        opacity: 1;
        mask-position: 0%;
        -webkit-mask-position: 0%;
    }
}
/*---------*/
/* Alertas */
/*---------*/
.alert-success-custom::before {
    content: "✅ ";
    margin-right: 8px;
}

.alert-success-custom {
    background-color: #d4edda !important;
    color: #155724;
    padding: 16px 24px;
    border-radius: 6px;
    margin: 20px auto;
    max-width: 600px;
    text-align: center;
    font-size: 16px;
    font-weight: 500;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
.alert-warning-custom::before {
    content: "⚠️ ";
    margin-right: 8px;
}

.alert-warning-custom {
    background-color: #fff3cd !important;
    color: #856404;
    padding: 16px 24px;
    border-radius: 6px;
    margin: 20px auto;
    max-width: 600px;
    text-align: center;
    font-size: 16px;
    font-weight: 500;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.alert-error-custom::before {
    content: "⛔ ";
    margin-right: 8px;
}

.alert-error-custom {
    background-color: #f8d7da !important;
    color: #721c24;
    padding: 16px 24px;
    border-radius: 6px;
    margin: 20px auto;
    max-width: 600px;
    text-align: center;
    font-size: 16px;
    font-weight: 500;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
.alert-info-custom::before {
    content: "ℹ️ ";
    margin-right: 8px;
}

.alert-info-custom {
    background-color: #d1ecf1 !important;  /* azul claro */
    color: #0c5460;             /* azul oscuro */
    padding: 16px 24px;
    border-radius: 6px;
    margin: 20px auto;
    max-width: 600px;
    text-align: center;
    font-size: 16px;
    font-weight: 500;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

/* 🔽 Efecto de desvanecimiento */
.fade-out {
    opacity: 0;
    transition: opacity 10s ease-out;
}
#zonaAlertas {
    overflow: visible !important;
 
}
/* Botón de cierre */
.close-alert {
    float: right;
    font-size: 20px;
    font-weight: bold;
    line-height: 1;
    color: inherit;
    border: none;
    background: transparent;
    cursor: pointer;
    margin-left: 10px;
}

.close-alert:hover {
    color: #dc3545;  /* Rojo brillante al pasar el ratón */
    background: transparent;
}

/* Para asegurar que el contenedor tenga espacio para el botón*/ 

.dismissible-alert {
    display: block;
    opacity: 1;
    visibility: visible;
    padding: 16px 24px;
    border-radius: 6px;
    margin: 20px auto;
    max-width: 600px;
    text-align: center;
    font-size: 16px;
    font-weight: 500;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    position: relative;
    transition: opacity 0.3s ease;
}


.close-alert {
    position: absolute;
    top: 8px;
    right: 10px;
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: #000;
}
.bg-success {
    background-color: #b5f3c3; /* Verde suave */
    color: #155724;
    border: 1px solid #c3e6cb;
    border-radius: 4px;
    padding: 6px 12px;
}

.bg-warning {
    background-color: #fbe9ae; /* Amarillo suave */
    color: #856404;
    border: 1px solid #ffeeba;
    border-radius: 4px;
    padding: 12px 12px;
}

.bg-danger {
    background-color: #f5b8bd; /* Rojo suave */
    color: #721c24;
    border: 1px solid #f5c6cb;
    border-radius: 4px;
    padding: 6px 12px;
}

/*-----------------*/
/* Para pdf y excel */
/*-----------------*/
.header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 40px;
}

.logo {
    width: 120px;
}

.titulo {
    font-size: 28px;
    margin: 0;
}

.progress {
    background-color: skyblue;
    border-radius: 5px;
    overflow: hidden;
    width: 100%;
    height: 10px;
    position: relative;
}
.progress-bar {
    text-align: center;
    font-weight: bold;
    color: black;
    line-height: 10px;
}