﻿body::after {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: -1;
}

.divFondo {
    padding: 0;
    border-radius: 0 1rem 1rem 0;
    background-image: url('/PortalDePosgrado/PortalAspiranteRegistroPosgrado/Images/imagenLogin.jpg');
    background-size: cover;
}

.text {
    text-align: left !important;
    font-weight: 400 !important;
    font-size: 14px !important;
    font-family: 'Poppins', sans-serif !important;
    color: white !important;
    padding-bottom: 6px;
}

.text-danger-ibero {
    display: block;
    color: #fff;
    background-color: #e72c54;
    padding-left: .5rem;
    padding-top: .5rem;
    margin-top: -.5rem;
    border-radius: 0 0 .5rem .5rem;
}

.form-group {
    margin-bottom: .5rem;
}

/*Estilos para el modal spinner*/
/* Estilos para el modal */
.modal-spinner {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.modal-content-spinner {
    display: flex;
    flex-direction: column;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    text-align: center;
    width: 100%;
    height: 100%;
    justify-content: center;
    align-items: center;
}

/* Estilos para el spinner */
.spinner {
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top: 4px solid #3498db;
    width: 40px;
    height: 40px;
    animation: spin 2s linear infinite;
    /*margin: 0 auto;*/
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/*Fin estilos para el modal spinner*/


@media (max-width: 750px) {
    #divAvisoPrivacidad {
        order: 2;
        width: 100%;
        border-radius: 0px 0px 8px 8px;
    }

    #formPortalAspirantesRegistro {
        order: 1;
        width: 100%;
        border-radius: 8px 8px 0px 0px;
    }

    #contenedor1 {
        display: none; /* Oculta el primer contenedor cuando el ancho de la pantalla es igual o menor a 750px */
    }

    #contenedor2 {
        display: block; /* Muestra el segundo contenedor cuando el ancho de la pantalla es igual o menor a 750px */
    }

    .imagen1 {
        width: 50%;
    }
}

@media (min-width: 751px) {
    #divAvisoPrivacidad {
        border-radius: 8px 0px 0px 8px;
    }

    #formPortalAspirantesRegistro {
        border-radius: 0px 8px 8px 0px;
    }

    #contenedor1 {
        display: block; /* Muestra el primer contenedor cuando el ancho de la pantalla es mayor a 750px */
    }

    #contenedor2 {
        display: none; /* Oculta el segundo contenedor cuando el ancho de la pantalla es mayor a 750px */
    }

    .imagen1 {
        width: 100%;
    }
}

.imagen1 {
    max-width: 100%; /* Asegura que la imagen se ajuste al ancho del contenedor */
    height: auto; /* Permite que la altura se ajuste automáticamente */
}

#contenedor1, #contenedor2 {
    text-align: center; /* Centra la imagen dentro del contenedor */
}

.icon {
    padding: 10px;
    position: absolute;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
}

.linea-horizontal {
    border: 1px solid white;
    margin-bottom: 10px;
}

.fa {
    color: #e72c54;
}

.fa-asterisk {
    font-size: .7rem;
    margin-left: .2rem;
}

.control-label.text {
    display: flex;
}

/* Ocultar el radio button original */
.radio-button {
    position: absolute;
    opacity: 0;
}

/* Estilo del radio button personalizado */
.custom-radio {
    display: inline-block;
    position: relative;
    width: 15px;
    height: 15px;
    border: 1px solid #e83136;
    border-radius: 50%;
    background: #fff;
    cursor: pointer;
    padding: 0.5em;
    margin-right: 0.5em;
}

/* Contorno rojo cuando está seleccionado */
.radio-button:checked + .custom-radio {
    border-color: #e83136;
}

    /* Punto rojo más pequeño cuando está seleccionado */
    .radio-button:checked + .custom-radio::after {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        width: 8px;
        height: 8px;
        background: #e83136;
        border-radius: 50%;
        transform: translate(-50%, -50%);
    }

.label-radio-button {
    display: flex;
    align-items: center;
}

@media (max-width: 1200px) {
    .divFondo {
        background-size: auto;
    }
}
