@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Open+Sans:wght@400;600;700&display=swap');

/* ═══════════════════════════════════════════════════════════════════════
   ESCUDO CSS — Especificidad alta vence a temas/plugins SIN !important.

   ▸ Tema:            button              → (0,0,1) =  1
   ▸ Este escudo:     .overlay button     → (0,1,1) = 11  ← gana al tema
   ▸ Reglas propias:  .overlay .mi-clase  → (0,2,0) = 20  ← ganan al escudo
   ═══════════════════════════════════════════════════════════════════════ */

/* 1. box-sizing universal */
.qhubo-modal-overlay,
.qhubo-modal-overlay * {
    box-sizing: border-box;
}

/* 2. Tipografía */
.qhubo-modal-overlay * {
    font-style: normal;
    text-transform: none;
    letter-spacing: normal;
    word-spacing: normal;
    text-shadow: none;
    text-indent: 0;
    -webkit-font-smoothing: antialiased;
}

/* 3. Botones — especificidad (0,1,1) > tema (0,0,1) o (0,1,0) */
.qhubo-modal-overlay button,
.qhubo-modal-overlay [type="button"],
.qhubo-modal-overlay [type="submit"] {
    -webkit-appearance: none;
    appearance: none;
    border: none;
    border-radius: 0;
    background: transparent;
    color: inherit;
    box-shadow: none;
    text-decoration: none;
    outline: none;
    cursor: pointer;
    font: inherit;
}

/* 4. Links */
.qhubo-modal-overlay a {
    text-decoration: none;
    box-shadow: none;
    outline: none;
    background: transparent;
    font: inherit;
}

/* 5. Inputs, selects y textareas */
.qhubo-modal-overlay input,
.qhubo-modal-overlay select,
.qhubo-modal-overlay textarea {
    -webkit-appearance: none;
    appearance: none;
    box-shadow: none;
    outline: none;
    font: inherit;
}


/* ══ OVERLAY ══ */
.qhubo-modal-overlay {
    display: none; position: fixed; inset: 0;
    background: rgba(0,0,0,0.55); z-index: 10000;
    align-items: center; justify-content: center;
    padding: 16px; box-sizing: border-box; overflow-y: auto; overflow-x: hidden;
}
.qhubo-modal-overlay.is-open { display: flex; }

/* ══ CARD BASE ══ */
.qhubo-modal, .qhubo-register-modal, .qhubo-forgot-modal,
.qhubo-new-password-modal, .qhubo-password-success-modal,
.qhubo-success-modal, .qhubo-error-modal, .qhubo-wizard-modal,
.qhubo-forgot-success-modal {
    position: relative; background: #FFFFFF; border-radius: 10px;
    padding: 32px 20px 28px; width: 375px; max-width: 100%;
    box-sizing: border-box; font-family: 'Inter', sans-serif;
    box-shadow: 0 8px 40px rgba(0,0,0,0.18); margin: auto;
}
.qhubo-register-modal, .qhubo-wizard-modal { max-height: 92vh; overflow-y: auto; }
.qhubo-register-modal { scrollbar-width: none; }
.qhubo-register-modal::-webkit-scrollbar { display: none; }

/* ══ BOTÓN CERRAR ══ */
.qhubo-modal__close {
    position: absolute; top: 14px; right: 14px;
    width: 30px; height: 30px; display: flex; align-items: center; justify-content: center;
    background: transparent; border: none; cursor: pointer;
    border-radius: 6px; color: #999; font-size: 20px; padding: 0; transition: background .12s;
}
.qhubo-modal__close:hover { background: #f5f5f5; color: #333; }

/* ══ TÍTULO ══ */
.qhubo-modal__title {
    margin: 0; font-family: 'Inter', sans-serif !important; font-weight: 700 !important;
    font-size: 20px !important; line-height: 30px !important; color: #333333 !important; text-align: center;
}

/* ══ FORMULARIO ══ */
.qhubo-modal__form, .qhubo-register-modal__form,
.qhubo-forgot-modal__form, .qhubo-new-password-modal__form {
    display: flex; flex-direction: column;
}

.qhubo-modal__fields { display: flex; flex-direction: column; gap: 12px; }

.qhubo-modal__field, .qhubo-forgot-modal__field, .qhubo-wizard__field {
    display: flex; flex-direction: column; gap: 4px;
}

/* Labels */
.qhubo-modal__label, .qhubo-wizard__label {
    font-family: 'Inter', sans-serif !important; font-weight: 600 !important;
    font-size: 14px !important; line-height: 1.4 !important; color: #4A4A4A !important;
    padding: 0 4px; box-sizing: border-box;
}
.qhubo-modal__required {
    color: #FB3748 !important; margin-left: 2px;
    font-family: 'Open Sans', sans-serif !important; font-weight: 400 !important;
    font-size: 14px !important; line-height: 21px !important;
}

/* Input wrap */
.qhubo-modal__input-wrap {
    position: relative; display: flex; align-items: center;
    border: 1px solid #D2D2D2 !important; border-radius: 4px !important;
    background: #FFFFFF !important; transition: border-color .15s;
    outline: none !important; box-shadow: none !important;
}
.qhubo-modal__input-wrap:focus-within { border-color: #009DE0 !important; }
.qhubo-modal__input-wrap.has-error { border-color: #E53E3E !important; }

/* Input */
.qhubo-modal-overlay .qhubo-modal__input {
    width: 100%; height: 56px; padding: 16px 12px;
    border: none !important; background: transparent !important;
    font-family: 'Open Sans', sans-serif !important; font-weight: 400 !important;
    font-size: 14px !important; line-height: 21px !important; color: #1E1E1E !important;
    outline: none !important; box-shadow: none !important; box-sizing: border-box;
}
.qhubo-modal-overlay .qhubo-modal__input::placeholder { color: #777777 !important; }
.qhubo-modal-overlay .qhubo-modal__input-wrap--password .qhubo-modal__input { padding-right: 44px; }

/* Eye toggle */
.qhubo-modal-overlay .qhubo-modal__eye {
    position: absolute; right: 12px; background: none !important; border: none !important;
    cursor: pointer; padding: 0; color: #777 !important; outline: none !important;
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
    width: 24px; height: 24px;
}

/* Error inline */
.qhubo-field-error {
    display: none; font-family: 'Open Sans', sans-serif !important; font-weight: 400 !important;
    font-size: 10px !important; line-height: 15px !important; color: #C40010 !important; margin-top: 2px;
}
.qhubo-field-error.is-visible { display: block; }

/* ══ LOGIN — acciones ══ */
.qhubo-modal__actions-group {
    display: flex; flex-direction: column; gap: 16px; margin-top: 12px;
}
.qhubo-modal__btn--submit { margin-top: 0; }

/* Link ¿Olvidaste? */
.qhubo-modal-overlay .qhubo-modal__forgot {
    font-family: 'Inter', sans-serif !important; font-weight: 600 !important; font-size: 14px !important;
    line-height: 1 !important; color: #1E1E1E !important; text-decoration: none !important;
    display: block; padding: 12px; width: 100%; box-sizing: border-box;
}
.qhubo-modal-overlay .qhubo-modal__forgot:hover { text-decoration: underline !important; }

/* Reset del tema: el reset.css de Hello Elementor aplica border:#c36 a todos los <button>.
   Con .qhubo-modal-overlay como padre logramos especificidad 0-1-1 (11) vs 0-1-0 (10)
   del selector [type=submit] del tema — ganamos sin !important. */
.qhubo-modal-overlay button {
    border: none;
    color: inherit;
    background: transparent;
}

/* Blindaje extra contra resets globales del tema/plugins (Elementor/Hello). */
.qhubo-modal-overlay button,
.qhubo-modal-overlay [type="button"],
.qhubo-modal-overlay [type="submit"],
.qhubo-modal-overlay select,
.qhubo-modal-overlay input {
    font: inherit;
}

/* ══ BOTONES — base ══ */
.qhubo-modal-overlay .qhubo-modal__btn,
.qhubo-modal-overlay .qhubo-register-modal__btn,
.qhubo-modal-overlay .qhubo-forgot-modal__btn,
.qhubo-modal-overlay .qhubo-new-password-modal__btn,
.qhubo-modal-overlay .qhubo-success-modal__btn,
.qhubo-modal-overlay .qhubo-error-modal__btn,
.qhubo-modal-overlay .qhubo-password-success-modal__btn,
.qhubo-modal-overlay .qhubo-wizard__btn {
    display: flex; align-items: center; justify-content: center; gap: 10px;
    width: 100%; height: 41px; padding: 12px; border-radius: 4px !important;
    font-family: 'Inter', sans-serif !important; font-size: 14px !important; font-weight: 600 !important;
    cursor: pointer; border: none !important; text-decoration: none !important;
    box-sizing: border-box; transition: opacity .15s, background .15s; white-space: nowrap !important;
}

/* Disabled */
.qhubo-modal__btn--submit:disabled, .qhubo-register-modal__btn--primary:disabled,
.qhubo-forgot-modal__btn:disabled, .qhubo-new-password-modal__btn:disabled,
.qhubo-wizard__btn--primary:disabled {
    background: #80CEEF !important; cursor: not-allowed; pointer-events: none;
}

/* Google button */
.qhubo-modal-overlay .qhubo-modal__btn--google {
    font-family: 'Open Sans', sans-serif !important; font-weight: 600 !important;
    font-size: 14px !important; line-height: 24px !important; font-variation-settings: 'wdth' 100 !important;
    background: #FFFFFF !important; color: #000000 !important;
    border: 1px solid #000000 !important; border-radius: 10px !important;
    width: 100%; height: 41px; padding: 3px 30px; gap: 9px; box-sizing: border-box;
}
.qhubo-modal-overlay .qhubo-modal__btn--google:hover { background: #F8F8F8 !important; }

/* Facebook button */
.qhubo-modal-overlay .qhubo-modal__btn--facebook {
    font-family: 'Open Sans', sans-serif !important; font-weight: 600 !important;
    font-size: 14px !important; line-height: 24px !important; font-variation-settings: 'wdth' 100 !important;
    background: #FFFFFF !important; color: #000000 !important;
    border: 1px solid #000000 !important; border-radius: 10px !important;
    width: 100%; height: 41px; padding: 3px 30px; gap: 9px; box-sizing: border-box;
}
.qhubo-modal-overlay .qhubo-modal__btn--facebook:hover { background: #F8F8F8 !important; }

/* Separador "O inicia con" */
.qhubo-modal__separator {
    display: flex; align-items: center; gap: 16px; width: 100%;
}
.qhubo-modal__separator-line {
    flex: 1; height: 1px; background: #C6C3C3;
}
.qhubo-modal__separator-text {
    font-family: 'Open Sans', sans-serif !important; font-weight: 400 !important;
    font-size: 14px !important; color: #C6C3C3 !important; white-space: nowrap;
}

/* Submit / Ingresar */
.qhubo-modal-overlay .qhubo-modal__btn--submit { background: #009DE0 !important; color: #FFFFFF !important; }
.qhubo-modal-overlay .qhubo-modal__btn--submit:hover { background: #007BAF !important; }

/* ══ LOGIN modal ══ */
.qhubo-modal {
    display: flex; flex-direction: column;
    gap: 16px; padding: 20px;
}

/* ══ REGISTRO modal ══ */
.qhubo-register-modal {
    display: flex; flex-direction: column; gap: 24px; padding: 20px;
}
.qhubo-register-modal .qhubo-modal__title {
    font-family: 'Open Sans', sans-serif; font-weight: 700; color: #333333;
}
.qhubo-register-modal .qhubo-modal__label {
    font-family: 'Open Sans', sans-serif; font-weight: 600; color: #4A4A4A;
}
.qhubo-register-modal__form { display: flex; flex-direction: column; gap: 12px; width: 100%; }
#qhubo-register-overlay .qhubo-register-modal__btn--primary {
    background: #80CEEF !important; color: #FFFFFF !important; cursor: not-allowed;
}
#qhubo-register-overlay .qhubo-register-modal__btn--primary:not(:disabled) {
    background: #009DE0 !important; cursor: pointer;
}
#qhubo-register-overlay .qhubo-register-modal__btn--primary:not(:disabled):hover {
    background: #007BAF !important;
}
#qhubo-register-overlay .qhubo-register-modal__btn--back {
    background: #FFFFFF !important; color: #1E1E1E !important;
    border: 1px solid #1E1E1E !important; font-weight: 600;
}
#qhubo-register-overlay .qhubo-register-modal__btn--back:hover {
    background: #F5F5F5 !important;
}
.qhubo-register-modal__hint {
    display: none;
    font-family: 'Open Sans', sans-serif; font-size: 10px;
    line-height: 15px; color: #4A4A4A; margin: 0; width: 327px; max-width: 100%;
}
.qhubo-register-modal__hint.is-error { display: block; color: #C40010; }
.qhubo-register-modal__error { font-size: 13px; color: #E53E3E; text-align: center; margin: 4px 0 8px; }

/* ══ RECUPERAR CONTRASEÑA modal ══ */
.qhubo-forgot-modal {
    min-height: 390px; display: flex; flex-direction: column;
    gap: 16px; padding-left: 16px; padding-right: 16px; justify-content: center;
}
.qhubo-forgot-modal__header {
    display: flex; flex-direction: column; gap: 4px; width: 100%;
}
.qhubo-forgot-modal__title {
    font-family: 'Inter', sans-serif; font-weight: 700; font-size: 20px;
    line-height: 30px; color: #000000; margin: 0; text-align: center;
}
.qhubo-forgot-modal__desc {
    font-family: 'Open Sans', sans-serif; font-weight: 400; font-size: 14px;
    line-height: 21px; color: #1E1E1E; margin: 0; padding: 12px;
    width: 100%; box-sizing: border-box;
}
.qhubo-forgot-modal__form { display: flex; flex-direction: column; gap: 16px; width: 100%; }
.qhubo-forgot-modal__field .qhubo-field-error { margin-top: 12px; }
/* (0,2,0) supera reset .qhubo-modal-overlay button {background:transparent;color:inherit} (0,1,1) */
.qhubo-modal-overlay .qhubo-forgot-modal__btn { width: 100%; background: #80CEEF; color: #FFFFFF; }
.qhubo-modal-overlay .qhubo-forgot-modal__btn:not(:disabled) { background: #009DE0; }
.qhubo-modal-overlay .qhubo-forgot-modal__btn:not(:disabled):hover { background: #007BAF; }
/* (0,2,0) supera reset .qhubo-modal-overlay a {font:inherit} (0,1,1) */
.qhubo-modal-overlay .qhubo-forgot-modal__login-link {
    display: flex; align-items: center; justify-content: center;
    width: 100%; padding: 12px 16px; gap: 10px; border-radius: 4px;
    font-family: 'Inter', sans-serif; font-weight: 600; font-size: 14px;
    color: #1E1E1E; text-decoration: none; cursor: pointer; text-align: center; box-sizing: border-box;
}
.qhubo-modal-overlay .qhubo-forgot-modal__login-link:hover { color: #009DE0; }
.qhubo-forgot-success-modal {
    display: flex; flex-direction: column; align-items: center; gap: 16px;
    text-align: center; padding: 20px;
}
.qhubo-forgot-success-modal__title {
    font-family: 'Inter', sans-serif; font-weight: 700; font-size: 22px; color: #1E1E1E; margin: 0;
}
.qhubo-forgot-success-modal__desc {
    font-family: 'Open Sans', sans-serif; font-size: 15px; line-height: 1.6; color: #555555; margin: 0;
}

/* ══ NUEVA CONTRASEÑA modal ══ */
.qhubo-new-password-modal {
    display: flex; flex-direction: column; gap: 16px;
    padding-left: 16px; padding-right: 16px; justify-content: center;
}
.qhubo-new-password-modal__header {
    display: flex; flex-direction: column; gap: 4px; width: 100%; align-items: center;
}
.qhubo-new-password-modal__title {
    font-family: 'Inter', sans-serif; font-weight: 700; font-size: 20px;
    line-height: 30px; color: #000000; margin: 0; text-align: center;
}
.qhubo-new-password-modal__desc {
    font-family: 'Open Sans', sans-serif; font-weight: 400; font-size: 14px;
    line-height: 21px; color: #1E1E1E; margin: 0; padding: 12px;
    width: 100%; box-sizing: border-box;
}
.qhubo-new-password-modal .qhubo-modal__label { color: #333333; }
.qhubo-new-password-modal .qhubo-modal__input-wrap { border-color: #777777; }
.qhubo-new-password-modal__form { display: flex; flex-direction: column; gap: 16px; width: 100%; }
.qhubo-new-password-modal__hint {
    font-family: 'Open Sans', sans-serif; font-size: 10px; font-weight: 400;
    line-height: 15px; color: #333333; margin: 0; width: 327px; max-width: 100%;
    font-variation-settings: 'wdth' 100; transition: color .15s;
}
.qhubo-new-password-modal__hint.is-error { color: #C40010; }
/* (0,2,0) supera reset .qhubo-modal-overlay button {background:transparent;color:inherit} (0,1,1) */
.qhubo-modal-overlay .qhubo-new-password-modal__btn { background: #80CEEF; color: #FFFFFF; cursor: not-allowed; width: 100%; }
.qhubo-modal-overlay .qhubo-new-password-modal__btn:not(:disabled) { background: #009DE0; cursor: pointer; }
.qhubo-modal-overlay .qhubo-new-password-modal__btn:not(:disabled):hover { background: #007BAF; }

/* ══ CAMBIO CONTRASEÑA EXITOSO modal ══ */
.qhubo-password-success-modal {
    display: flex; flex-direction: column; align-items: flex-start;
    border-radius: 12px;
    box-shadow: 0 2px 6px -2px rgba(0,0,0,0.19), 0 0 0 1px rgba(0,0,0,0.08);
    padding: 0; overflow: hidden;
}
.qhubo-password-success-modal__header {
    display: flex; justify-content: flex-end; align-items: center;
    width: 100%; padding: 12px 8px 12px 12px; box-sizing: border-box;
}
.qhubo-password-success-modal__close {
    display: flex; align-items: center; justify-content: center;
    width: 24px; height: 24px; background: transparent; border: none;
    cursor: pointer; padding: 0; border-radius: 4px; color: #000;
}
.qhubo-password-success-modal__close:hover { background: #f5f5f5; }
.qhubo-password-success-modal__content {
    display: flex; flex-direction: column; gap: 17px;
    align-items: center; padding: 20px; width: 100%; box-sizing: border-box;
}
.qhubo-password-success-modal__icon {
    width: 62px; height: 62px; background: #00C950; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
}
.qhubo-password-success-modal__title {
    font-family: 'Inter', sans-serif; font-weight: 700; font-size: 16px;
    line-height: 24px; color: #000000; margin: 0; text-align: center;
}
.qhubo-password-success-modal__desc {
    font-family: 'Open Sans', sans-serif; font-weight: 400; font-size: 14px;
    line-height: 21px; color: #000000; margin: 0; width: 100%;
    font-variation-settings: 'wdth' 100;
}
.qhubo-password-success-modal__actions { display: flex; width: 100%; }
/* (0,2,0) supera reset .qhubo-modal-overlay button {background:transparent;color:inherit} (0,1,1) */
.qhubo-modal-overlay .qhubo-password-success-modal__btn {
    flex: 1; height: 42px; background: #009DE0; color: #FFFFFF;
    border-radius: 4px; font-family: 'Inter', sans-serif;
    font-size: 14px; font-weight: 600; border: none; cursor: pointer;
}
.qhubo-password-success-modal__btn:hover { background: #007BAF; }

/* ══ ÉXITO REGISTRO modal ══ */
.qhubo-success-modal {
    text-align: center; display: flex; flex-direction: column;
    gap: 16px; padding: 20px; justify-content: center;
}
.qhubo-success-modal__icon {
    width: 40px; height: 40px; background: #00C950; border-radius: 50%;
    display: flex; align-items: center; justify-content: center; margin: 0 auto;
}
.qhubo-success-modal__title {
    font-family: 'Inter', sans-serif; font-weight: 700; font-size: 20px;
    line-height: 30px; color: #333333; margin: 0 auto; width: 291px; max-width: 100%;
}
.qhubo-success-modal__desc {
    font-family: 'Open Sans', sans-serif; font-size: 14px; font-weight: 400;
    line-height: 21px; color: #777777; margin: 0 auto; width: 311px; max-width: 100%;
    font-variation-settings: 'wdth' 100;
}
.qhubo-success-modal__desc p { margin: 0; }
/* (0,2,0) supera reset .qhubo-modal-overlay button {background:transparent;color:inherit} (0,1,1) */
.qhubo-modal-overlay .qhubo-success-modal__btn--primary { background: #009DE0; color: #FFFFFF; width: 100%; }
.qhubo-modal-overlay .qhubo-success-modal__btn--primary:hover { background: #007BAF; }
#qhubo-success-overlay .qhubo-success-modal__btn--secondary {
    background: #FFFFFF; color: #6A7282;
    border: 1px solid #6A7282 !important; font-weight: 600; width: 100%;
}
#qhubo-success-overlay .qhubo-success-modal__btn--secondary:hover { background: #F5F5F5; }

/* ══ ERROR GOOGLE modal ══ */
.qhubo-error-modal { text-align: center; }
.qhubo-error-modal__icon {
    width: 56px; height: 56px; background: #FFD700; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 16px; font-size: 26px; font-weight: 700; color: #1E1E1E;
}
.qhubo-error-modal__title { font-weight: 700; font-size: 18px; color: #333333; margin: 0 0 10px; line-height: 1.4; }
.qhubo-error-modal__desc { font-size: 14px; color: #555555; margin: 0 0 20px; line-height: 1.5; }
.qhubo-error-modal__btn--primary { background: #009DE0; color: #FFFFFF; }
.qhubo-error-modal__btn--primary:hover { background: #007BAF; }
.qhubo-error-modal__btn--back {
    background: transparent; color: #333333;
    border: 1.5px solid #D2D2D2 !important; margin-top: 8px;
}
.qhubo-error-modal__btn--back:hover { background: #F5F5F5; }

/* ══ CÓDIGO VERIFICACIÓN (legacy, no se usa) ══ */
.qhubo-code-modal { height: 384px; display: flex; flex-direction: column; gap: 10px; }
.qhubo-code-modal__inputs { display: flex; gap: 8px; justify-content: center; margin: 4px 0; }
.qhubo-code-modal__digit {
    width: 46px; height: 56px; border: 1.5px solid #D2D2D2; border-radius: 8px;
    text-align: center; font-size: 22px; font-weight: 700; outline: none;
}
.qhubo-code-modal__digit:focus { border-color: #009DE0; }
.qhubo-code-modal__digit.has-error { border-color: #C40010; }
.qhubo-code-modal__error { display: none; font-size: 10px; line-height: 15px; color: #C40010; }
.qhubo-code-modal__error.is-visible { display: block; }
.qhubo-code-modal__btn {
    display: flex; align-items: center; justify-content: center;
    width: 335px; height: 41px; padding: 12px; border-radius: 8px;
    border: none; font-size: 14px; font-weight: 600; color: #FFFFFF;
    background: #80CEEF; cursor: not-allowed; box-sizing: border-box;
}
.qhubo-code-modal__btn:not(:disabled) { background: #009DE0; cursor: pointer; }
.qhubo-code-modal__resend { text-align: center; margin-top: 16px; }
.qhubo-code-modal__resend-link { display: block; font-size: 14px; font-weight: 700; color: #1E1E1E; text-decoration: underline; cursor: pointer; margin-top: 4px; }

/* ══ WIZARD ══ */
.qhubo-wizard-modal { padding: 20px; display: flex; flex-direction: column; gap: 16px; justify-content: center; }

/* Close row */
.qhubo-wizard__close-row { display: flex; justify-content: flex-end; width: 100%; height: 12px; align-items: flex-start; }
.qhubo-wizard__close-btn {
    display: flex; align-items: center; justify-content: center;
    width: 14px; height: 14px; background: transparent; border: none;
    cursor: pointer; padding: 0; color: #000; flex-shrink: 0;
}
.qhubo-wizard__close-btn:hover { opacity: 0.6; }

/* Progress */
.qhubo-wizard__progress-wrap { display: flex; align-items: center; justify-content: center; gap: 24px; width: 100%; }
.qhubo-wizard__step-label {
    font-size: 12px; font-weight: 700; line-height: 16px;
    color: #6A7282; font-family: 'Inter', sans-serif; white-space: nowrap; flex-shrink: 0;
}
.qhubo-wizard__bar-track {
    width: 180px; height: 5px; background: #E5E7EB;
    border-radius: 27px; overflow: hidden; flex-shrink: 0;
}
.qhubo-wizard__bar-fill { height: 100%; background: #009DE0; border-radius: 27px; transition: width .3s ease; }

/* Step */
.qhubo-wizard__step { display: flex; flex-direction: column; align-items: center; gap: 16px; width: 100%; }
.qhubo-wizard__title {
    font-family: 'Inter', sans-serif; font-weight: 700; font-size: 20px;
    line-height: 30px; color: #333333; margin: 0; text-align: center;
}
.qhubo-wizard__title--dark { color: #101828; }
.qhubo-wizard__desc {
    font-family: 'Open Sans', sans-serif; font-size: 14px; line-height: 21px;
    color: #4A5565; margin: 0; text-align: center; width: 311px; max-width: 100%;
}
.qhubo-wizard__desc--inter { font-family: 'Inter', sans-serif; line-height: 20px; }
.qhubo-wizard__field { width: 100%; }
.qhubo-wizard__label {
    display: block; font-size: 14px; font-weight: 600; color: #333333;
    font-family: 'Inter', sans-serif; line-height: normal; padding: 0 4px; box-sizing: border-box;
}

/* Select */
/* (0,2,0) supera reset .qhubo-modal-overlay select {font:inherit} (0,1,1) */
.qhubo-modal-overlay .qhubo-wizard__select {
    width: 100%; height: 56px; padding: 0 12px;
    border: 1px solid #777777; border-radius: 4px;
    font-family: 'Open Sans', sans-serif; font-size: 14px; font-weight: 400;
    line-height: 21px; color: #6A7282;
    background: #FFFFFF; appearance: none; -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23777' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 12px center;
    cursor: pointer; box-sizing: border-box; outline: none;
}
.qhubo-modal-overlay .qhubo-wizard__select:focus { border-color: #009DE0; }

/* Chips de intereses */
.qhubo-wizard__interests { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-start; width: 100%; }
#qhubo-wizard-overlay .qhubo-wizard__interest-chip {
    padding: 7px 16px; border: 1.667px solid #D1D5DC; border-radius: 9999px;
    background: #FFFFFF !important; font-family: 'Open Sans', sans-serif;
    font-weight: 700; font-size: 14px; line-height: 20px;
    color: #364153 !important; cursor: pointer; transition: all .15s; white-space: nowrap;
}
#qhubo-wizard-overlay .qhubo-wizard__interest-chip:hover { border-color: #009DE0; color: #009DE0 !important; }
#qhubo-wizard-overlay .qhubo-wizard__interest-chip.selected { background: #009DE0 !important; border-color: #009DE0; color: #FFFFFF !important; }

/* Opciones edad/género */
.qhubo-wizard__age-list { display: flex; flex-direction: column; gap: 8px; width: 100%; }
#qhubo-wizard-overlay .qhubo-wizard__age-option {
    width: 100%; height: 51px; padding: 0 16px;
    border: 1.667px solid #E5E7EB; border-radius: 10px;
    background: #FFFFFF !important; font-family: 'Inter', sans-serif;
    font-weight: 700; font-size: 16px; line-height: 24px;
    color: #364153 !important; cursor: pointer; text-align: left;
    transition: all .15s; box-sizing: border-box;
}
#qhubo-wizard-overlay .qhubo-wizard__age-option:hover { border-color: #009DE0; }
#qhubo-wizard-overlay .qhubo-wizard__age-option.selected { background: #009DE0 !important; border-color: #009DE0; color: #FFFFFF !important; }

/* Botones del wizard */
#qhubo-wizard-overlay .qhubo-wizard__btn--primary { background: #009DE0 !important; color: #FFFFFF !important; width: 100%; }
#qhubo-wizard-overlay .qhubo-wizard__btn--primary:hover { background: #007BAF !important; }
/* (1,2,0) supera enabled (1,1,0) cuando !important compite — disabled siempre gana */
#qhubo-wizard-overlay .qhubo-wizard__btn--primary:disabled {
    background: #80CEEF !important; cursor: not-allowed; pointer-events: none;
}
#qhubo-wizard-overlay .qhubo-wizard__btn--primary,
#qhubo-wizard-overlay .qhubo-wizard__btn--primary:focus,
#qhubo-wizard-overlay .qhubo-wizard__btn--primary:active {
    border: none !important;
}
/* Botón secundario wizard — borde negro (#1E1E1E) */
#qhubo-wizard-overlay .qhubo-wizard__btn--secondary {
    background: #FFFFFF !important; color: #1E1E1E !important;
    border: 1px solid #1E1E1E !important; width: 100%;
}
#qhubo-wizard-overlay .qhubo-wizard__btn--secondary:hover { background: #F5F5F5 !important; }

/* Botón secundario wizard — borde gris (#6a7282), para confirmación */
#qhubo-wizard-overlay .qhubo-wizard__btn--secondary-gray {
    background: #FFFFFF !important; color: #6A7282 !important;
    border: 1px solid #6A7282 !important; width: 100%;
}
#qhubo-wizard-overlay .qhubo-wizard__btn--secondary-gray:hover { background: #F5F5F5 !important; }

#qhubo-wizard-overlay .qhubo-wizard__btn--stroke {
    background: transparent !important; color: #333333 !important;
    border: 1.5px solid #D2D2D2 !important; width: 100%;
}
#qhubo-wizard-overlay .qhubo-wizard__btn--stroke:hover { background: #F5F5F5 !important; }

/* Evita bordes/texto rojos heredados en chips y opciones del wizard. */
#qhubo-wizard-overlay .qhubo-wizard__interest-chip,
#qhubo-wizard-overlay .qhubo-wizard__age-option,
#qhubo-wizard-overlay .qhubo-wizard__select {
    box-shadow: none !important;
    outline: none;
}

/* Input celular en wizard — border #777 como el select de localidad */
.qhubo-wizard-modal .qhubo-modal__input-wrap { border-color: #777777 !important; }

/* Ícono éxito wizard */
.qhubo-wizard__success-icon {
    width: 40px; height: 40px; background: #00C950; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
}

/* Paso 5 (confirmación — barra oculta, cualquier cierre guarda) */
#qhubo-step-5 { gap: 24px; }
#qhubo-step-5 .qhubo-wizard__title { font-size: 20px; width: 291px; text-align: center; }
#qhubo-step-5 .qhubo-wizard__desc {
    font-family: 'Open Sans', sans-serif; font-size: 14px; line-height: 21px;
    color: #777777; width: 311px; text-align: center;
}
#qhubo-wizard-finish { width: 100%; }
.qhubo-wizard-modal.is-step-5 #qhubo-progress-wrap { display: none; }

/* ══ RESPONSIVE ══ */
@media (max-width: 420px) {
    .qhubo-modal, .qhubo-register-modal, .qhubo-forgot-modal,
    .qhubo-new-password-modal, .qhubo-password-success-modal,
    .qhubo-success-modal, .qhubo-error-modal, .qhubo-wizard-modal,
    .qhubo-forgot-success-modal {
        padding: 24px 16px 20px; border-radius: 12px;
    }
    .qhubo-modal__btn, .qhubo-register-modal__btn, .qhubo-forgot-modal__btn,
    .qhubo-new-password-modal__btn, .qhubo-success-modal__btn,
    .qhubo-error-modal__btn, .qhubo-wizard__btn { padding: 10px 20px; }
}

/* ── Foco visible (accesibilidad teclado) ── */
.qhubo-modal__btn:focus-visible,
.qhubo-register-modal__btn:focus-visible,
.qhubo-forgot-modal__btn:focus-visible,
.qhubo-new-password-modal__btn:focus-visible,
.qhubo-success-modal__btn:focus-visible,
.qhubo-error-modal__btn:focus-visible,
.qhubo-wizard__btn:focus-visible,
.qhubo-modal__input-wrap:focus-within,
.qhubo-code-modal__digit:focus-visible {
    outline: 3px solid #009DE0 !important;
    outline-offset: 2px !important;
}
