.elementor-21542 .elementor-element.elementor-element-497e8097{--display:flex;}/* Start custom CSS for container, class: .elementor-element-497e8097 *//*************************************************
 * CMFS – IASE REGISTRATION FORM (ESTILO VERDE)
 * Aplica al formulario generado por [cmfs_iase_form]
 *************************************************/

/* CONTENEDOR GENERAL DEL FORMULARIO */
.cmfs-iase-form {
    max-width: 900px;
    margin: 40px auto 50px;
    padding: 32px 32px 38px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    box-sizing: border-box;
    font-family: "Roboto", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

    /* GRID 2 COLUMNAS */
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 28px;
    row-gap: 18px;
}

/* TITULAR */
.cmfs-iase-form h2 {
    grid-column: 1 / -1;
    text-align: center;
    font-size: 26px;
    font-weight: 700;
    margin: 0 0 4px;
    color: #05773C; /* verde CMFS */
}

/* TEXTO INTRODUCTORIO (PLEASE FILL…) */
.cmfs-iase-form > p:first-of-type {
    grid-column: 1 / -1;
    text-align: center;
    margin: 0 0 22px;
    font-size: 14px;
    color: #444444;
}

/* RESETEAR PÁRRAFOS DE CAMPOS */
.cmfs-iase-form p {
    margin: 0;
}

/* LABELS */
.cmfs-iase-form label {
    display: flex;
    flex-direction: column;
    font-size: 14px;
    font-weight: 600;
    color: #2f7043; /* verde más oscuro para texto */
}

/* INPUTS, SELECTS Y TEXTAREA */
.cmfs-iase-form input[type="text"],
.cmfs-iase-form input[type="email"],
.cmfs-iase-form input[type="tel"],
.cmfs-iase-form input[type="date"],
.cmfs-iase-form input[type="number"],
.cmfs-iase-form select,
.cmfs-iase-form textarea {
    margin-top: 6px;
    padding: 10px 12px;
    font-size: 14px;
    font-weight: 400;
    border-radius: 8px;
    border: 1px solid #d6dde3;
    background: #ffffff;
    box-sizing: border-box;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

/* FOCUS */
.cmfs-iase-form input:focus,
.cmfs-iase-form select:focus,
.cmfs-iase-form textarea:focus {
    border-color: #05773C;
    box-shadow: 0 0 0 2px rgba(5, 119, 60, 0.18);
    outline: none;
}

/* EMAIL EN NEGRITAS (CAMPO) */
.cmfs-iase-form input[type="email"] {
    font-weight: 600;
}

/* CHECKBOXES (INVOICE Y PRIVACIDAD) A LO LARGO */
.cmfs-iase-form p input[type="checkbox"] {
    margin-right: 8px;
}

/* Hacer que los párrafos que tengan checkbox ocupen las 2 columnas */
.cmfs-iase-form p:has(input[type="checkbox"]) {
    grid-column: 1 / -1;
}

/* ESTILO DE LA ETIQUETA CON CHECKBOX EN LÍNEA */
.cmfs-iase-form p:has(input[type="checkbox"]) label {
    flex-direction: row;
    align-items: center;
    gap: 8px;
    font-weight: 500;
}

/* BOTÓN DE ENVIAR */
.cmfs-iase-form p:last-of-type {
    grid-column: 1 / -1;
    text-align: center;
    margin-top: 10px;
}

.cmfs-iase-form button[type="submit"],
.cmfs-iase-form input[type="submit"] {
    background-color: #05773C;
    color: #ffffff;
    border: none;
    padding: 11px 32px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 999px;
    cursor: pointer;
    letter-spacing: 0.02em;
    box-shadow: 0 8px 18px rgba(5, 119, 60, 0.32);
    transition: background-color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}

.cmfs-iase-form button[type="submit"]:hover,
.cmfs-iase-form input[type="submit"]:hover {
    background-color: #3aa35c;
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(5, 119, 60, 0.4);
}

.cmfs-iase-form button[type="submit"]:active,
.cmfs-iase-form input[type="submit"]:active {
    transform: translateY(0);
    box-shadow: 0 5px 14px rgba(5, 119, 60, 0.3);
}

/* MENSAJES DE GRACIAS / ERROR (DEL PHP) */
.cmfs-iase-form + div,
.cmfs-iase-form div[style*="color:green"],
.cmfs-iase-form div[style*="color:red"] {
    max-width: 900px;
    margin: 0 auto 20px;
    font-family: "Roboto", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* RESPONSIVE – UNA COLUMNA EN MÓVIL */
@media (max-width: 768px) {
    .cmfs-iase-form {
        grid-template-columns: 1fr;
        padding: 22px 18px 26px;
        row-gap: 14px;
    }

    .cmfs-iase-form h2 {
        font-size: 22px;
    }
}

/*************************************************
 *  CORREOS – VERDE + BOLD SI SON MAILTO
 *************************************************/

/* Cualquier enlace tipo mailto en la página */
a[href^="mailto"] {
    color: #05773C !important;   /* Verde CMFS */
    font-weight: 700 !important; /* Negritas */
    text-decoration: none;
}

a[href^="mailto"]:hover {
    color: #3aa35c !important;
    text-decoration: underline;
}/* End custom CSS */