/* Estilos del modal */
#custom-popup {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: #15264bba;
    justify-content: center;
    align-items: center;
    display: flex;
}

.popup-content {
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    width: 650px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    position: relative;
}

.close-button {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 18px;
    cursor: pointer;
}

/* Estilos del formulario dentro del modal */
.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
}

.form-input {
    width: 100%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.button-primary {
    background-color: #aa0025;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    text-align: center;
    margin: auto; /* Centra tanto vertical como horizontalmente */
    display: block; /* Para que ocupe todo el ancho */
}

.button-primary:hover {
    background-color: #005d8a;
}

.popup-content .message {
    font-weight: bold;
    font-size: 24px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%; /* Asegura que el mensaje se ajuste verticalmente */
	margin-top: 20px;
    margin-bottom: 20px; /* Separación entre el mensaje y los campos */
    padding-bottom: 10px;
}

/* Estilos de la línea debajo del mensaje */
.popup-content .message::after {
    content: "";
    display: block;
    width: 50%; /* Ancho de la línea */
    height: 1px;
    background-color: #aa0025;
    margin-top: 20px; /* Espacio entre la línea y el mensaje */
    margin-bottom: 5px; /* Espacio entre la línea y los campos */
    margin-left: auto; /* Centra la línea */
    margin-right: auto; /* Centra la línea */
}

/* Estilos de los campos a actualizar en el popup */
.popup-content form {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.popup-content label {
    display: flex;
    align-items: after-white-space;
    justify-content: center;
    margin-bottom: 10px;
}

.popup-content label span {
    margin-right: 10px;
}

.popup-content input[type="text"] {
    width: 20%;
    padding: 8px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.popup-content .button-primary {
    margin-top: 10px;
}
form.form_actualizacion .action_form {
    display: flex;
    justify-content: space-between;
    flex-flow: wrap;
}

form.form_actualizacion .action_form > div {
    width: 49%;
}

form.form_actualizacion .action_form > div label {
    display: none;
}

form.form_actualizacion .action_form > div input {
    width: 200%;
    background: #eaeaea;
    font-size: 15px;
    padding: 12px 10px;
    border: 0px;
}

.popup-content {}

.popup-content span#close-button {
    border: 1px solid #0e7a6d;
    text-align: center;
    display: block;
    width: 40px;
    color: #fff;
    padding: 3px 9px;
    font-size: 31px;
    margin: 0 auto;
    background: #012965;
    font-weight: bold;
    border-radius: 21px;
    font-family: 'Nunito', Helvetica, Arial, Lucida, sans-serif;
    text-transform: uppercase;
    height: 40px;
    line-height: 1;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.popup-content p.message {
    font-size: 28px;
    color: #012965 !important;
    text-align: center;
    display: block;
    width: 100%;
    color: #fff;
    padding: 0px;
    margin: 0 auto;
    font-weight: bold;
    border-radius: 28px 0px 28px 0px;
    font-family: 'Nunito', Helvetica, Arial, Lucida, sans-serif;
    text-transform: uppercase;
    margin-top: 5px;
    margin-bottom: 12px;
}

.popup-content p.message::after {
    margin: 0px;
    border: 0px;
    background: transparent;
}

.popup-content input.button-primary {
    border: 1px solid #012965;
    text-align: center;
    display: block;
    width: 187px;
    color: #fff;
    padding: 9px 9px;
    font-size: 17px;
    margin: 0 auto;
    margin-top: 28px;
    background: #012965;
    font-weight: bold;
    border-radius: 28px 0px 28px 0px;
    font-family: 'Nunito', Helvetica, Arial, Lucida, sans-serif;
    text-transform: uppercase;
    margin-top: 5px;
}

.popup-content span#close-button:hover {
    border: 1px solid #147468;
    background: #147468;
}

.popup-content input.button-primary:hover {
    background: #083e37;
    border: 1px solid #083e37;
}
@media (max-width: 800px) {
    .popup-content {
        width: 90%;
    }
}
@media (max-width: 600px) {
    .popup-content p.message {
        font-size: 17px;
    }
}