/* CSS para plantilla de modal */
/* ========================================================= */
/* BACKGROUND OPACO */
/* ========================================================= */
.Background_1 {
    position: fixed;
    inset: 0;
    background-color: rgba(55, 65, 81, 0.85);
    z-index: 2;
}

/* ========================================================= */
/* MODAL CONTENEDOR */
/* ========================================================= */
.dial {
    position: fixed;
    width: clamp(360px, 46vw, 600px);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

    border-radius: clamp(8px, 0.8vw, 10px);
    background-color: #fafafa;
    z-index: 4;
}

/* ========================================================= */
/* ESTRUCTURA GENERAL */
/* ========================================================= */
.modal-alert {
    display: flex;
    flex-direction: column;
}

/* ========================================================= */
/* HEADER */
/* ========================================================= */
.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Título */
.form_title1 {
    margin: 0;
    font-size: clamp(18px, 1.1vw, 24px);
    font-weight: bold;
}

/* Cerrar */
.modal-close {
    font-size: clamp(14px, 0.9vw, 18px);
    font-weight: bold;
    text-decoration: none;
    color: #000;
}

.modal-close:hover {
    color: #ff0000;
}

/* ========================================================= */
/* BODY */
/* ========================================================= */
.modal-body {
    padding: clamp(8px, 1.2vw, 10px)
             clamp(16px, 2vw, 20px);
    text-align: center;
}

/* ========================================================= */
/* LÍNEA DIVISORA */
/* ========================================================= */
.hr_line {
    width: calc(100% - clamp(60px, 6vw, 80px));
    margin: clamp(16px, 2vw, 20px) auto 0;
    border: none;
    border-top: 1px solid #ccc;
}

/* ========================================================= */
/* FOOTER */
/* ========================================================= */
.modal-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(16px, 2vw, 20px);
}

/* ========================================================= */
/* BOTÓN ACEPTAR */
/* ========================================================= */
.BotonModal_Aceptar {
    display: flex;
    align-items: center;
}

.BotonModal_Aceptar a {
    font-size: clamp(14px, 1vw, 18px);
    font-weight: bold;
    color: rgb(22, 93, 246);
    text-decoration: none;
}

.BotonModal_Aceptar a:hover {
    text-decoration: underline;
}

/* ========================================================= */
/* TEXTO DEL MENSAJE */
/* ========================================================= */
.txtmensaje {
    font-family: "Cantarell", sans-serif;
    font-size: clamp(14px, 1vw, 18px);
    font-weight: normal;
    text-align: center;
    color: #ff0000;
}
