:root {
    color-scheme: dark;
    --register-accent: #ffd700;
    --register-accent-hover: #e9c400;
    --register-blue: #0b5f96;
    --register-blue-hover: #084a76;

    --register-bg: #101416;
    --register-surface: #171c20;
    --register-surface-2: #1d2429;
    --register-border: rgba(255, 255, 255, .13);

    --register-heading: #ffffff;
    --register-text: #c9d1d6;
    --register-muted: #929da5;
    --register-label: #f4f6f7;

    --register-input: rgba(255, 255, 255, .055);
    --register-input-hover: rgba(255, 255, 255, .08);
    --register-input-border: rgba(255, 255, 255, .16);
    --register-input-text: #ffffff;
    --register-placeholder: rgba(255, 255, 255, .38);

    --register-danger: #ff4d5e;
    --register-success: #3ac66d;
    --register-warning: #ffe16d;
}

* { box-sizing: border-box; }

html, body { min-height: 100%; }

body {
    margin: 0;
    font-family: "Work Sans", system-ui, sans-serif;
}

button, input, select {
    font: inherit;
}

body.register-page {
    min-height: 100vh;
    color: var(--register-text);
    background:
        radial-gradient(circle at 8% 14%, rgba(0, 117, 197, .22), transparent 28%),
        radial-gradient(circle at 90% 82%, rgba(255, 215, 0, .06), transparent 26%),
        linear-gradient(135deg, #062a46 0%, #08141d 50%, #173026 100%);
}

.material-symbols-outlined {
    font-variation-settings: "FILL" 0, "wght" 500, "GRAD" 0, "opsz" 24;
}

.register-shell {
    min-height: 100vh;
    display: grid;
    grid-template-columns: minmax(360px, 41%) minmax(0, 59%);
}

.register-visual {
    position: sticky;
    top: 0;
    min-height: 100vh;
    max-height: 100vh;
    overflow: hidden;
    background: #07131d;
}

.register-visual-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center center;
}

.register-visual-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(5, 14, 21, .64), rgba(5, 14, 21, .28) 34%, rgba(5, 14, 21, .88) 100%),
        linear-gradient(90deg, rgba(5, 14, 21, .42), rgba(5, 14, 21, .10) 52%, rgba(5, 14, 21, .58) 100%);
}

.register-visual-content {
    position: relative;
    z-index: 2;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 34px;
    padding: clamp(28px, 5vw, 58px);
}

.register-brand,
.register-mobile-brand a {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    width: fit-content;
    color: inherit;
    text-decoration: none;
    border-radius: 14px;
    position: relative;
    z-index: 20;
}

.register-brand-mark {
    width: 50px;
    height: 50px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    padding: 5px;
    overflow: hidden;
    border: 1px solid rgba(255, 215, 0, .38);
    border-radius: 14px;
    background: rgba(255, 215, 0, .13);
    box-shadow: 0 12px 28px rgba(0, 0, 0, .22);
    transition: border-color .2s, background .2s, box-shadow .2s, transform .2s;
}

.register-brand-mark img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.register-brand-copy {
    display: grid;
    gap: 3px;
}

.register-brand-copy strong,
.register-mobile-brand strong {
    color: #ffffff;
    font: 800 21px/1.1 Manrope, sans-serif;
    transition: color .2s;
}

.register-brand-copy small {
    width: fit-content;
    padding: 4px 8px;
    border: 1px solid rgba(255, 255, 255, .20);
    border-radius: 999px;
    color: #ffffff;
    background: rgba(5, 20, 31, .48);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.register-brand:hover .register-brand-mark,
.register-mobile-brand a:hover .register-brand-mark {
    transform: translateY(-1px);
    border-color: var(--register-accent);
    background: rgba(255, 215, 0, .18);
}

.register-brand:hover strong,
.register-mobile-brand a:hover strong {
    color: var(--register-accent);
}


.register-eyebrow {
    margin: 0 0 14px;
    color: var(--register-accent);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.register-heading h1 {
    margin: 0;
    color: var(--register-heading);
    font: 800 clamp(36px, 4.2vw, 58px)/1.03 Manrope, sans-serif;
    letter-spacing: -.045em;
    text-wrap: balance;
}


.register-flow {
    width: min(100%, 520px);
    display: grid;
    gap: 12px;
    margin: auto 0;
}

.register-flow-step {
    display: grid;
    grid-template-columns: auto auto minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 14px;
    background: rgba(255, 255, 255, .08);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.register-flow-line {
    width: 2px;
    height: 18px;
    margin-left: 19px;
    background: linear-gradient(180deg, rgba(255, 215, 0, .75), rgba(255, 215, 0, .08));
}

.register-flow-badge {
    width: 26px;
    height: 26px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    color: #282100;
    background: var(--register-accent);
    font-size: 10px;
    font-weight: 900;
}

.register-flow-icon {
    color: var(--register-accent);
    font-size: 21px;
}

.register-flow-copy {
    min-width: 0;
    display: grid;
    gap: 3px;
}

.register-flow-copy strong {
    color: #ffffff;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.3;
}

.register-flow-copy small {
    color: rgba(255, 255, 255, .72);
    font-size: 12px;
    line-height: 1.45;
}

.register-form-panel {
    min-width: 0;
    min-height: 100vh;
    background: rgba(16, 20, 22, .92);
}

.register-topbar {
    position: sticky;
    top: 0;
    z-index: 30;
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 14px clamp(22px, 5vw, 60px);
    border-bottom: 1px solid var(--register-border);
    background: rgba(16, 20, 22, .82);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.register-status {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--register-label);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.register-status-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--register-accent);
    box-shadow: 0 0 0 5px rgba(255, 215, 0, .10);
}

.register-top-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.register-top-actions select {
    min-height: 40px;
    max-width: 100%;
    padding: 0 34px 0 13px;
    border: 1px solid var(--register-border);
    border-radius: 999px;
    color: var(--register-text);
    background: var(--register-surface-2);
    cursor: pointer;
}

.register-login-link {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 18px;
    border-radius: 999px;
    color: var(--register-heading);
    background: var(--register-surface-2);
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
    transition: background .2s, color .2s;
}

.register-login-link:hover {
    color: #282100;
    background: var(--register-accent);
}

.register-form-container {
    width: min(100%, 860px);
    margin: 0 auto;
    padding: clamp(34px, 6vw, 72px) clamp(22px, 5vw, 60px) 72px;
}

.register-mobile-brand {
    display: none;
}

.register-heading {
    margin-bottom: 44px;
}

.register-heading > p:last-child {
    max-width: 660px;
    margin: 13px 0 0;
    color: var(--register-muted);
    line-height: 1.6;
    text-wrap: pretty;
}

.register-form {
    display: grid;
    gap: 44px;
}

.register-section {
    display: grid;
    gap: 22px;
}

.register-section-title {
    display: flex;
    align-items: center;
    gap: 12px;
}

.register-section-title > span {
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    border-radius: 50%;
    color: #282100;
    background: var(--register-accent);
    font-size: 11px;
    font-weight: 900;
}

.register-section-title h2 {
    margin: 0;
    color: var(--register-heading);
    font: 800 13px/1.25 "Work Sans", sans-serif;
    letter-spacing: .12em;
    text-transform: uppercase;
    text-wrap: balance;
}

.register-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.register-field {
    min-width: 0;
    display: grid;
    gap: 8px;
    color: var(--register-label);
    font-size: 13px;
    font-weight: 700;
}

.register-field > span:first-child {
    margin-left: 2px;
}

.register-full {
    grid-column: 1 / -1;
}

.register-field input,
.register-field select {
    width: 100%;
    min-height: 52px;
    padding: 13px 15px;
    border: 1px solid var(--register-input-border);
    border-radius: 11px;
    outline: none;
    color: var(--register-input-text);
    background: var(--register-input);
    transition: border-color .2s, background .2s, box-shadow .2s;
}

.register-field input::placeholder {
    color: var(--register-placeholder);
}

.register-field input:hover,
.register-field select:hover {
    background: var(--register-input-hover);
}

.register-field input:focus,
.register-field select:focus {
    border-color: var(--register-accent);
    box-shadow: 0 0 0 4px rgba(255, 215, 0, .11);
}

.register-field select option {
    color: var(--register-heading);
    background: var(--register-surface-2);
}

.register-field small {
    color: var(--register-muted);
    font-size: 11px;
    font-weight: 500;
    line-height: 1.45;
}

.register-input-icon,
.register-password-control {
    position: relative;
}

.register-input-icon > .material-symbols-outlined {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--register-muted);
    font-size: 20px;
    pointer-events: none;
}

.register-input-icon input {
    padding-left: 44px;
}

.register-password-control input {
    padding-right: 48px;
}

.register-password-toggle {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    padding: 0;
    border: 0;
    border-radius: 8px;
    color: var(--register-muted);
    background: transparent;
    cursor: pointer;
}

.register-password-toggle:hover,
.register-password-toggle:focus-visible {
    color: var(--register-accent);
    background: rgba(255, 215, 0, .09);
    outline: none;
}

.register-terms {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--register-text);
    font-size: 13px;
    line-height: 1.5;
}

.register-terms input {
    width: 17px;
    height: 17px;
    margin-top: 2px;
    accent-color: var(--register-accent);
}

.register-submit {
    width: 100%;
    min-height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 0;
    border-radius: 999px;
    color: #282100;
    background: var(--register-accent);
    font-size: 16px;
    font-weight: 900;
    cursor: pointer;
    box-shadow: 0 15px 35px rgba(255, 215, 0, .16);
    transition: transform .2s, background .2s, box-shadow .2s;
}

.register-submit:hover {
    transform: translateY(-1px);
    background: var(--register-accent-hover);
    box-shadow: 0 18px 40px rgba(255, 215, 0, .22);
}

.register-submit:disabled {
    opacity: .7;
    cursor: wait;
    transform: none;
}

.register-login-bottom {
    margin: -20px 0 0;
    color: var(--register-muted);
    text-align: center;
    font-size: 13px;
}

.register-login-bottom a {
    color: var(--register-accent);
    font-weight: 800;
    text-decoration: none;
}

.register-login-bottom a:hover {
    text-decoration: underline;
}

.register-alert {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border: 1px solid transparent;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 700;
}

.register-alert.error {
    color: #ff6876;
    background: rgba(255, 77, 94, .12);
    border-color: rgba(255, 77, 94, .38);
}

.register-alert.success {
    color: #7be19d;
    background: rgba(58, 198, 109, .12);
    border-color: rgba(58, 198, 109, .36);
}

.register-alert.warning {
    color: #ffe16d;
    background: rgba(255, 215, 0, .10);
    border-color: rgba(255, 215, 0, .28);
}

/* Light theme */
html.light {
    color-scheme: light;
    --register-bg: #f6fafc;
    --register-surface: #ffffff;
    --register-surface-2: #eef3f6;
    --register-border: rgba(21, 47, 63, .14);

    --register-heading: #0e1820;
    --register-text: #485660;
    --register-muted: #697680;
    --register-label: #26343d;

    --register-input: rgba(255, 255, 255, .92);
    --register-input-hover: #ffffff;
    --register-input-border: rgba(21, 47, 63, .18);
    --register-input-text: #111a21;
    --register-placeholder: rgba(17, 26, 33, .42);
}

html.light body.register-page {
    background:
        radial-gradient(circle at 8% 14%, rgba(0, 117, 197, .12), transparent 28%),
        radial-gradient(circle at 90% 82%, rgba(255, 215, 0, .10), transparent 26%),
        linear-gradient(135deg, #d8edf8 0%, #f6fafc 50%, #e2eee8 100%);
}

html.light .register-form-panel {
    background: rgba(246, 250, 252, .92);
}

html.light .register-topbar {
    background: rgba(246, 250, 252, .84);
}

html.light .register-login-link,
html.light .register-top-actions select {
    color: #0e1820;
}

html.light .register-login-link:hover {
    color: #ffffff;
    background: var(--register-blue);
}

html.light .register-field select option {
    color: #111a21;
    background: #ffffff;
}

html.light .register-login-bottom a,
html.light .register-eyebrow,
html.light .register-flow-icon {
    color: var(--register-blue);
}

html.light .register-brand-copy strong,
html.light .register-flow-copy strong {
    color: #ffffff;
}

html.light .register-alert.error {
    color: #b72234;
    background: rgba(255, 77, 94, .08);
}

html.light .register-alert.success {
    color: #227443;
    background: rgba(58, 198, 109, .08);
}

html.light .register-alert.warning {
    color: #0b5f96;
    background: rgba(11, 95, 150, .08);
    border-color: rgba(11, 95, 150, .18);
}

html.light .register-brand:hover strong,
html.light .register-mobile-brand a:hover strong {
    color: var(--register-blue);
}

html.light .register-brand:hover .register-brand-mark,
html.light .register-mobile-brand a:hover .register-brand-mark {
    border-color: var(--register-blue);
    background: rgba(11, 95, 150, .10);
}

html.light .register-flow-line {
    background: linear-gradient(180deg, rgba(11, 95, 150, .75), rgba(11, 95, 150, .08));
}

html.light .register-flow-badge,
html.light .register-section-title > span {
    color: #ffffff;
    background: var(--register-blue);
}



html.light .register-visual .register-brand-copy small {
    color: #ffffff;
    background: rgba(5, 20, 31, .56);
    border-color: rgba(255, 255, 255, .24);
}

html.light .register-visual .register-brand-copy strong {
    color: #ffffff;
}

/* Dark theme manual */
html.dark { color-scheme: dark; }

/* Responsive */
@media (max-width: 1160px) {
    .register-shell {
        grid-template-columns: minmax(320px, 38%) minmax(0, 62%);
    }
}

@media (max-width: 980px) {
    .register-shell {
        display: block;
        position: relative;
        min-height: 100vh;
    }

    .register-visual {
        display: none;
    }

    .register-shell::before {
        content: "";
        position: fixed;
        inset: 0;
        z-index: 0;
        background:
            linear-gradient(
                180deg,
                rgba(5, 20, 31, .36) 0%,
                rgba(5, 20, 31, .58) 38%,
                rgba(5, 20, 31, .82) 100%
            ),
            url("../../img/registro.webp") center top / cover no-repeat;
        pointer-events: none;
    }

    .register-form-panel {
        position: relative;
        z-index: 1;
        background: transparent;
    }

    .register-topbar {
        background: rgba(10, 16, 21, .68);
    }

    .register-form-container {
        width: min(100%, 760px);
        margin: 14px auto 26px;
        padding: 28px 18px 56px;
        border: 1px solid rgba(255, 255, 255, .10);
        border-radius: 24px;
        background: rgba(10, 16, 21, .62);
        backdrop-filter: blur(18px) saturate(115%);
        -webkit-backdrop-filter: blur(18px) saturate(115%);
        box-shadow: 0 22px 50px rgba(0, 0, 0, .18);
    }

    .register-mobile-brand {
        display: block;
        margin-bottom: 28px;
    }

    .register-mobile-brand strong {
        color: #ffffff;
    }

    .register-heading h1 {
        font-size: clamp(34px, 8vw, 48px);
    }
}

@media (max-width: 980px) {
    html.light .register-shell::before {
        background:
            linear-gradient(
                180deg,
                rgba(255, 255, 255, .32) 0%,
                rgba(247, 250, 252, .58) 38%,
                rgba(247, 250, 252, .82) 100%
            ),
            url("../../img/registro.webp") center top / cover no-repeat;
    }

    html.light .register-topbar {
        background: rgba(246, 250, 252, .72);
    }

    html.light .register-form-container {
        border-color: rgba(21, 47, 63, .10);
        background: rgba(255, 255, 255, .58);
    }

    html.light .register-mobile-brand strong {
        color: #0e1820;
    }
}

@media (max-width: 720px) {
    .register-topbar {
        align-items: flex-start;
        flex-direction: column;
        padding: 14px 16px;
    }

    .register-top-actions {
        width: 100%;
        justify-content: space-between;
    }

    .register-top-actions > * {
        flex: 1 1 auto;
    }

    .register-form-container {
        width: calc(100% - 16px);
        margin: 12px auto 24px;
        padding: 24px 16px 36px;
        border-radius: 20px;
    }

    .register-grid {
        grid-template-columns: 1fr;
    }

    .register-heading {
        margin-bottom: 34px;
    }

    .register-form {
        gap: 36px;
    }
}

@media (max-width: 540px) {
    .register-top-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .register-top-actions select,
    .register-login-link {
        width: 100%;
    }

    .register-section-title {
        align-items: flex-start;
    }

    .register-section-title h2 {
        font-size: 12px;
    }

    .register-submit {
        border-radius: 14px;
    }

    .register-login-bottom {
        line-height: 1.6;
    }
}


/* =========================================================
   AJUSTE FINAL ACR
   - Flujo más abajo y más limpio
   - Tarjetas del flujo con dimensiones uniformes
   - Formulario oscuro en azul #0F4672
   - Formulario claro en blanco
   ========================================================= */

/* Panel derecho / formulario */
.register-form-panel {
    background:
        linear-gradient(180deg, rgba(15, 70, 114, .98) 0%, rgba(13, 59, 96, .98) 100%);
}

.register-topbar {
    background: rgba(15, 70, 114, .92);
    border-bottom-color: rgba(255, 255, 255, .12);
}

.register-top-actions select,
.register-login-link {
    background: rgba(255, 255, 255, .08);
}

.register-login-link:hover {
    color: #0f4672;
    background: #ffd700;
}

/* Inputs del formulario en oscuro, integrados al azul */
.register-field input,
.register-field select {
    background: rgba(255, 255, 255, .07);
}

.register-field input:hover,
.register-field select:hover {
    background: rgba(255, 255, 255, .10);
}

.register-field select option {
    background: #0f4672;
}

/* Imagen izquierda más limpia: flujo más abajo */
.register-visual-content {
    justify-content: flex-start;
    gap: 22px;
}

.register-flow {
    width: min(100%, 540px);
    margin-top: auto;
    margin-bottom: 10px;
    gap: 10px;
}

/* Todas las tarjetas del flujo con la misma estructura visual */
.register-flow-step {
    min-height: 86px;
    grid-template-columns: 30px 24px minmax(0, 1fr);
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    border-radius: 16px;
    background: rgba(13, 36, 54, .56);
    border: 1px solid rgba(255, 255, 255, .14);
}

.register-flow-line {
    height: 20px;
    margin-left: 15px;
}

.register-flow-badge {
    width: 30px;
    height: 30px;
    font-size: 10px;
}

.register-flow-icon {
    font-size: 20px;
}

.register-flow-copy strong {
    display: block;
    min-height: 20px;
}

.register-flow-copy small {
    display: block;
    min-height: 32px;
}

/* Tema claro: formulario en blanco */
html.light .register-form-panel {
    background: #ffffff;
}

html.light .register-topbar {
    background: rgba(255, 255, 255, .88);
    border-bottom-color: rgba(21, 47, 63, .12);
}

html.light .register-top-actions select,
html.light .register-login-link {
    background: #eef3f6;
}

html.light .register-login-link:hover {
    color: #ffffff;
    background: #0b5f96;
}

html.light .register-field input,
html.light .register-field select {
    background: rgba(255, 255, 255, .96);
}

html.light .register-field input:hover,
html.light .register-field select:hover {
    background: #ffffff;
}

html.light .register-flow-step {
    background: rgba(9, 39, 66, .48);
}

html.light .register-flow-copy strong,
html.light .register-flow-copy small {
    color: #ffffff;
}

/* Móvil */
@media (max-width: 980px) {
    .register-topbar {
        background: rgba(15, 70, 114, .88);
    }

    .register-form-container {
        background: rgba(15, 70, 114, .72);
        border-color: rgba(255, 255, 255, .12);
    }
}

@media (max-width: 980px) {
    html.light .register-topbar {
        background: rgba(255, 255, 255, .82);
    }

    html.light .register-form-container {
        background: rgba(255, 255, 255, .72);
        border-color: rgba(21, 47, 63, .10);
    }
}

@media (max-width: 720px) {
    .register-flow {
        width: min(100%, 500px);
    }

    .register-flow-step {
        min-height: 82px;
    }
}


/* =========================================================
   V6 — Ajustes visuales finales
   - Selector de idioma claro/oscuro
   - Panel azul con degradado hacia la imagen
   - Flujo más pequeño y más limpio
   ========================================================= */

/* Panel derecho con transición más elegante hacia la imagen */
.register-form-panel {
    position: relative;
    background:
        linear-gradient(
            90deg,
            rgba(15, 70, 114, .98) 0%,
            rgba(15, 70, 114, .97) 52%,
            rgba(13, 59, 96, .96) 78%,
            rgba(11, 47, 77, .94) 100%
        );
}

.register-form-panel::before {
    content: "";
    position: absolute;
    left: -78px;
    top: 0;
    bottom: 0;
    width: 112px;
    pointer-events: none;
    background: linear-gradient(
        90deg,
        rgba(15, 70, 114, 0) 0%,
        rgba(15, 70, 114, .24) 34%,
        rgba(15, 70, 114, .74) 100%
    );
}

.register-topbar {
    background:
        linear-gradient(
            90deg,
            rgba(15, 70, 114, .94) 0%,
            rgba(15, 70, 114, .92) 58%,
            rgba(12, 58, 95, .90) 100%
        );
}

.register-form-container {
    position: relative;
    z-index: 1;
}

/* Selector de idioma + acciones superiores */
.register-top-actions select,
.register-login-link {
    min-width: 92px;
    border: 1px solid rgba(255, 255, 255, .14);
    background: rgba(255, 255, 255, .08);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .03);
}

.register-top-actions select {
    color: #ffffff;
    font-weight: 700;
    outline: none;
}

.register-top-actions select:hover,
.register-top-actions select:focus {
    border-color: rgba(255, 215, 0, .52);
    background: rgba(255, 255, 255, .12);
}

.register-top-actions select option {
    color: #ffffff;
    background: #0f4672;
}

.register-login-link {
    border-color: rgba(255, 255, 255, .10);
}

/* Flujo más compacto */
.register-flow {
    width: min(100%, 468px);
    gap: 8px;
    margin-top: auto;
    margin-bottom: 8px;
}

.register-flow-step {
    min-height: 72px;
    grid-template-columns: 26px 20px minmax(0, 1fr);
    gap: 12px;
    padding: 11px 14px;
    border-radius: 14px;
    background: linear-gradient(
        90deg,
        rgba(9, 34, 52, .54) 0%,
        rgba(10, 37, 58, .56) 58%,
        rgba(7, 29, 47, .64) 100%
    );
}

.register-flow-line {
    height: 14px;
    margin-left: 12px;
}

.register-flow-badge {
    width: 26px;
    height: 26px;
    font-size: 9px;
}

.register-flow-icon {
    font-size: 18px;
}

.register-flow-copy {
    gap: 2px;
}

.register-flow-copy strong {
    min-height: auto;
    font-size: 13px;
    line-height: 1.25;
}

.register-flow-copy small {
    min-height: auto;
    font-size: 11px;
    line-height: 1.35;
}

/* Inputs y selects mejor integrados */
.register-field input,
.register-field select {
    background: rgba(255, 255, 255, .08);
}

.register-field input:hover,
.register-field select:hover {
    background: rgba(255, 255, 255, .11);
}

.register-field select {
    appearance: auto;
    -webkit-appearance: auto;
}

/* ===== TEMA CLARO ===== */
html.light .register-form-panel {
    background:
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 1) 0%,
            rgba(255, 255, 255, .985) 54%,
            rgba(247, 250, 252, .98) 78%,
            rgba(238, 245, 249, .98) 100%
        );
}

html.light .register-form-panel::before {
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(224, 239, 247, .36) 34%,
        rgba(255, 255, 255, .92) 100%
    );
}

html.light .register-topbar {
    background:
        linear-gradient(
            90deg,
            rgba(255, 255, 255, .95) 0%,
            rgba(255, 255, 255, .93) 58%,
            rgba(242, 247, 250, .92) 100%
        );
}

html.light .register-top-actions select,
html.light .register-login-link {
    border-color: rgba(21, 47, 63, .12);
    background: #eef3f6;
    color: #0e1820;
}

html.light .register-top-actions select:hover,
html.light .register-top-actions select:focus {
    border-color: rgba(11, 95, 150, .44);
    background: #f7fafc;
}

html.light .register-top-actions select option {
    color: #0e1820;
    background: #ffffff;
}

html.light .register-flow-step {
    background: linear-gradient(
        90deg,
        rgba(9, 39, 66, .54) 0%,
        rgba(10, 45, 77, .50) 58%,
        rgba(8, 33, 57, .62) 100%
    );
}

html.light .register-flow-line {
    background: linear-gradient(180deg, rgba(11, 95, 150, .70), rgba(11, 95, 150, .08));
}

html.light .register-field input,
html.light .register-field select {
    background: rgba(255, 255, 255, .98);
}

html.light .register-field input:hover,
html.light .register-field select:hover {
    background: #ffffff;
}

/* ===== MÓVIL ===== */
@media (max-width: 980px) {
    .register-form-panel {
        background: transparent;
    }

    .register-form-panel::before {
        display: none;
    }

    .register-topbar {
        background:
            linear-gradient(
                90deg,
                rgba(15, 70, 114, .90) 0%,
                rgba(13, 59, 96, .88) 100%
            );
    }

    .register-form-container {
        background:
            linear-gradient(
                180deg,
                rgba(15, 70, 114, .74) 0%,
                rgba(13, 59, 96, .70) 100%
            );
    }

    .register-flow {
        width: min(100%, 420px);
        gap: 7px;
    }

    .register-flow-step {
        min-height: 66px;
        padding: 10px 13px;
    }
}

@media (max-width: 980px) {
    html.light .register-topbar {
        background:
            linear-gradient(
                90deg,
                rgba(255, 255, 255, .86) 0%,
                rgba(244, 248, 251, .84) 100%
            );
    }

    html.light .register-form-container {
        background:
            linear-gradient(
                180deg,
                rgba(255, 255, 255, .78) 0%,
                rgba(247, 250, 252, .74) 100%
            );
    }
}

@media (max-width: 720px) {
    .register-flow {
        width: min(100%, 390px);
    }

    .register-flow-step {
        min-height: 62px;
        grid-template-columns: 24px 18px minmax(0, 1fr);
        gap: 10px;
        padding: 9px 12px;
    }

    .register-flow-badge {
        width: 24px;
        height: 24px;
        font-size: 8px;
    }

    .register-flow-icon {
        font-size: 17px;
    }

    .register-flow-copy strong {
        font-size: 12.5px;
    }

    .register-flow-copy small {
        font-size: 10.5px;
    }
}

