/* VRF 2026 Redesign - Secure Upload
   Diseño según la referencia: caja gris con el sello SSL + banda gris a todo el ancho con
   título, pasos centrados, selector de archivo y botón con contorno. */

.vrf-su {
    font-family: var(--e-global-typography-text-font-family, "Poppins"), sans-serif;
    color: var(--e-global-color-text, #878787);
    padding-top: 12px;
}

/* ---- caja del sello SSL ---- */
.vrf-su__ssl-wrap {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 30px 62px;
}
.vrf-su__ssl {
    display: flex;
    align-items: center;
    gap: 34px;
    max-width: 775px;
    margin: 0 auto;
    padding: 34px 40px;
    background: #efefef;
    border-radius: 14px;
}
.vrf-su__seal { flex: 0 0 auto; line-height: 0; }
.vrf-su__seal img { display: block; width: 113px; max-width: 113px; height: auto; }
.vrf-su__seal #comodoTL { display: none; }               /* texto de reserva del sello; la referencia no lo muestra */
.vrf-su__ssl-text {
    margin: 0;
    color: var(--e-global-color-text, #878787);
    font-size: 15px;
    line-height: 1.6;
    font-weight: 400;
}
.vrf-su__ssl-text a,
.vrf-su__ssl-text a:visited { color: var(--e-global-color-primary, #02447b); font-weight: 500; text-decoration: none; }
.vrf-su__ssl-text a:hover { color: var(--e-global-color-accent, #5abd76); text-decoration: none; }

/* ---- banda gris con el formulario ---- */
.vrf-su__panel { background: #f2f2f2; padding: 78px 30px 90px; }
.vrf-su__inner { max-width: 775px; margin: 0 auto; }
.vrf-su__form { margin: 0; padding: 0; border: 0; background: transparent; box-shadow: none; text-align: center; }

/* el kit de Elementor fija h1 a 65px; aquí el título es de sección, como en la referencia */
.vrf-su h1.vrf-su__title {
    margin: 0 0 56px;
    color: var(--e-global-color-text, #878787);
    font-family: inherit;
    font-size: 36px !important;
    font-weight: 700;
    line-height: 1.2 !important;
    letter-spacing: .3px;
    text-transform: uppercase;
    text-align: center;
}
.vrf-su__steps { margin: 0 0 32px; }
.vrf-su__steps p {
    margin: 0 0 10px;
    color: var(--e-global-color-text, #878787);
    font-size: 20px;
    font-weight: 400;
    line-height: 1.5;
}
.vrf-su__steps b { color: #626262; font-weight: 700; }

/* Selector de archivo personalizado para que la etiqueta sea siempre inglés, sin depender del navegador. */
.vrf-su__file { display: inline-flex; flex-direction: column; align-items: flex-start; margin: 0 auto 26px; max-width: 100%; }
.vrf-su__file input[type="file"] {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
.vrf-su__file-picker {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 11px 16px;
    background: #f7f7f7;
    border: 1px solid #6b6b6b;
    border-radius: 3px;
    color: #444;
    font: 500 16px/1.2 "Poppins", sans-serif;
    cursor: pointer;
    transition: background .2s ease;
}
.vrf-su__file-picker:hover { background: #ececec; }
.vrf-su__file input[type="file"]:focus-visible + .vrf-su__file-picker { outline: 2px solid var(--e-global-color-primary, #02447b); outline-offset: 3px; }
.vrf-su__file-name { display: block; max-width: 325px; margin-top: 8px; color: #444; font: 400 15px/1.4 "Poppins", sans-serif; overflow-wrap: anywhere; }
.vrf-su__note { display: block; margin-top: 10px; color: #555; font-size: 14px; line-height: 1.4; }
/* Alerta visible (mismo estilo que el aviso de términos en vrf-apply.css). */
.vrf-su__error {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 12px;
    padding: 10px 14px;
    background: #fdecec;
    border: 1px solid #f3b9b9;
    border-left: 4px solid #cf2e2e;
    border-radius: 6px;
    color: #a61f1f;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    text-align: left;
}
.vrf-su__error::before {
    content: "!";
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #cf2e2e;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
}

.vrf-su__captcha { display: flex; justify-content: center; margin: 0 0 28px; }
.vrf-su__captcha:empty { display: none; }

/* botón con contorno, como en la referencia */
.vrf-su__actions { margin: 0; }
.vrf-su__btn,
.elementor-kit-6 input[type="submit"].vrf-su__btn {
    display: inline-block;
    width: auto;
    min-width: 242px;
    min-height: 0;
    padding: 12px 40px;
    background: #fff;
    border: 3px solid var(--e-global-color-primary, #02447b);
    border-radius: 45px;
    color: var(--e-global-color-primary, #02447b);
    font: 700 22px/1.4 "Poppins", sans-serif;
    text-transform: none;
    text-decoration: none;
    cursor: pointer;
    box-shadow: none;
    transition: background .3s ease, color .3s ease;
}
.elementor-kit-6 input[type="submit"].vrf-su__btn:hover,
.elementor-kit-6 input[type="submit"].vrf-su__btn:focus,
.elementor-kit-6 input[type="submit"].vrf-su__btn:active {
    background: var(--e-global-color-primary, #02447b);
    border-color: var(--e-global-color-primary, #02447b);
    color: #fff;
    text-decoration: none;
}
.elementor-kit-6 input[type="submit"].vrf-su__btn:focus-visible {
    outline: 2px solid var(--e-global-color-primary, #02447b);
    outline-offset: 4px;
}
.vrf-su__btn:disabled { opacity: .55; cursor: not-allowed; }

.vrf-su__message { margin-top: 26px; text-align: left; }
/* Confirmación de subida: misma caja que .vrf-su__error, en verde. */
.vrf-su__message .message-capcha {
    display: flex;
    justify-content: center;
    margin: 0;
    padding: 0;
    background: none;
    border: 0;
}
.vrf-su__message .message-capcha p {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    padding: 12px 18px;
    background: #e9f7ee;
    border: 1px solid #b7e2c4;
    border-left: 4px solid #2e9e5b;
    border-radius: 6px;
    color: #1e6e3e;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
    text-align: left;
}
.vrf-su__message .message-capcha p::before {
    content: "\2713";
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #2e9e5b;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
}
.vrf-su__message:empty { display: none; }

@media (max-width: 767px) {
    .vrf-su__ssl-wrap { padding: 0 16px 40px; }
    .vrf-su__ssl { flex-direction: column; gap: 18px; padding: 26px 22px; text-align: center; }
    .vrf-su__panel { padding: 52px 16px 64px; }
    .vrf-su h1.vrf-su__title { font-size: 26px !important; margin-bottom: 34px; }
    .vrf-su__steps p { font-size: 17px; }
    .vrf-su__file { display: flex; align-items: stretch; }
    .vrf-su__file input[type="file"] { width: 100%; }
    .vrf-su__btn, .elementor-kit-6 input[type="submit"].vrf-su__btn { width: 100%; min-width: 0; font-size: 20px; }
    .vrf-su__captcha { transform: scale(.92); transform-origin: center; }
}
