body {
    background-image: url("_img/fondo.png"), linear-gradient(90deg, #d9d9d9 0%, #eeeeee 80%) !important;
    background-size: cover, cover; /* Hace que la imagen y el degradado cubran toda el área visible */
    background-repeat: no-repeat; /* Evita que la imagen y el degradado se repitan */
    background-position: center center; /* Centra la imagen y el degradado en el área visible */
    background-attachment: fixed; /* Fija la imagen de fondo y el degradado al hacer scroll */
    margin: 0;
    padding: 0;
    font-size: 14px;
    font-family: 'DIN 2014', sans-serif;
    color: #666;
}

p{
    font-size: 15px;
    font-family: 'DIN 2014', sans-serif;
    color: #666;
}
.small{
    font-size: 12.5px;
    font-family: 'DIN 2014', sans-serif;
    color: #666;
}
.titulo{
    color: #E52421;
    font-family: 'DIN 2014', sans-serif;
}
.subtitulo {
    color: #34345C;
    font-family: 'DIN 2014', sans-serif;
}

.logoxl{
    width: 90% !important;
}
@media (min-width: 768px) {
    .vh-md-100 {
      height: 100vh;
    }
  }
#div_form {
    position: fixed;
    font-family: 'DIN 2014', sans-serif;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.5);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}
.text-primary{
    color: #34345C !important;
}
.btn-primary{
    background-color: #34345C !important;
    border-color: #34345C !important;
    color: #FFFFFF !important;
}
.btn-primary:hover{
    background-color: #26264b !important;
    border-color: #26264b !important;
    color: #FFFFFF !important;
}
.btn-info{
    background-color: #F6AFCE !important;
    border-color: #F6AFCE !important;
    color: #26264b !important;
}
.btn-info:hover{
    background-color: #e7a1bf !important;
    border-color: #e7a1bf !important;
    color: #26264b !important;
}

.table-danger{
    --bs-table-border-color: #FFFFFF !important;
}
.table-danger th{
    --bs-table-bg: #7A75B5 !important;
    color: #FFF !important;
    font-weight: normal !important;
}
.text-danger{
    color: #EF3F43 !important;
    font-weight: 450;
    font-style: normal;
}
.formulario-container {
    font-family: 'DIN 2014', sans-serif;
    height: 95vh;
    overflow-y: auto;
    width: 100% !important;
    background-color: rgba(255, 255, 255, 0.55);
}
.turquesa{
    color: rgb(29, 35, 41) !important;
    font-size: 1.3rem !important;
}
@media (max-width: 768px) {
    .fondo-gris {
        height: auto !important;
        background: transparent !important;
        color: #444;
    }
    .formulario-container{
        font-family: 'DIN 2014', sans-serif;
        width: 95% !important;
        margin: 0 auto;
        overflow-y: hidden;
        height: auto !important;
    }
}

.loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.8); /* Fondo semitransparente */
    z-index: 9999; /* Asegúrate de que esté en la parte superior */
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.loading-image {
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); } 
}
/*------------------MODAL----------------------*/
/* Estilo general del modal */
#certificadoModal .modal-content {
    background:#FFFFFF;
    border-radius: 12px;
    border: none;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    font-family: 'DIN 2014', sans-serif;
}
#certificadoModal .modal-header {
    font-family: 'DIN 2014', sans-serif;
    background: transparent;
    padding-bottom: 2px;
}
#certificadoModal .modal-title {
    font-family: 'DIN 2014', sans-serif;
    font-size: 17px !important;
    color: #22303d;
}
#certificadoModal .modal-body {
    font-family: 'DIN 2014', sans-serif;
}
#certificadoModal .form-control {
    font-family: 'DIN 2014', sans-serif;
    border-radius: 8px;
    border: 1px solid #ced4da;
    transition: border-color 0.2s ease-in-out;
}
#certificadoModal .form-control:focus {
    font-family: 'DIN 2014', sans-serif;
    border-color: #81a7bd;
    box-shadow: none;
}
#certificadoModal .form-text {
    font-family: 'DIN 2014', sans-serif;
    font-size: 0.85rem;
    color: #6c757d;
    margin-top: 4px;
}

#certificadoModal .btn-close {
    font-family: 'DIN 2014', sans-serif;
}
