/* OddBank — extras de login/cadastro (wizard, planos, força de senha) */

.ob-auth-page--fade-in {
    animation: obAuthFadeIn 0.4s ease forwards;
}

@keyframes obAuthFadeIn {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}

.ob-auth-head {
    text-align: center;
    margin-bottom: 1.5rem;
}

.ob-auth-head__title {
    font-size: 1.75rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin: 0 0 0.4rem;
    color: var(--ob-text);
}

.ob-auth-head__subtitle {
    font-size: 0.9375rem;
    color: var(--ob-muted);
    margin: 0;
    line-height: 1.45;
}

.ob-auth-form {
    display: grid;
    gap: 1.25rem;
}

.ob-auth-form--register {
    gap: 1.5rem;
}

.ob-auth-actions {
    display: grid;
    gap: 0.65rem;
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--ob-border);
}

.ob-auth-strength {
    margin-top: 0.5rem;
}

.ob-auth-strength__bar {
    height: 4px;
    border-radius: 999px;
    background: rgba(148, 163, 184, 0.15);
    overflow: hidden;
    margin-bottom: 0.35rem;
}

.ob-auth-strength__fill {
    height: 100%;
    width: 0;
    border-radius: inherit;
    transition: all 0.25s ease;
    background: var(--ob-muted);
}

.ob-auth-strength[data-level="1"] .ob-auth-strength__fill { width: 33%; background: #ef4444; }
.ob-auth-strength[data-level="2"] .ob-auth-strength__fill { width: 66%; background: #f59e0b; }
.ob-auth-strength[data-level="3"] .ob-auth-strength__fill { width: 100%; background: var(--ob-accent); }

.ob-auth-strength__label {
    font-size: 0.75rem;
    color: var(--ob-muted);
}

.ob-auth-strength[data-level="1"] .ob-auth-strength__label { color: #ef4444; }
.ob-auth-strength[data-level="2"] .ob-auth-strength__label { color: #f59e0b; }
.ob-auth-strength[data-level="3"] .ob-auth-strength__label { color: var(--ob-accent); }

.ob-auth-step-nav {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 0.5rem;
}

.ob-auth-step-nav .ob-btn-primary,
.ob-auth-step-nav .ob-btn-ghost {
    min-width: 120px;
}

.ob-auth-wizard {
    margin-bottom: 1.5rem;
}

.ob-auth-wizard__track {
    position: relative;
    height: 3px;
    background: rgba(148, 163, 184, 0.15);
    border-radius: 999px;
    margin-bottom: 1.15rem;
    overflow: hidden;
}

.ob-auth-wizard__fill {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, var(--ob-accent), #4ade80);
    border-radius: inherit;
    transition: width 0.35s ease;
}

.ob-auth-wizard__steps {
    display: flex;
    justify-content: space-between;
    gap: 0.5rem;
}

.ob-auth-wizard__step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    flex: 1;
    text-align: center;
    color: var(--ob-muted);
    transition: color 0.2s ease;
}

.ob-auth-wizard__dot {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid rgba(148, 163, 184, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 700;
    background: rgba(11, 17, 32, 0.6);
    transition: all 0.2s ease;
}

.ob-auth-wizard__label {
    font-size: 0.78rem;
    font-weight: 500;
    line-height: 1.2;
}

.ob-auth-wizard__step.is-active {
    color: var(--ob-accent);
}

.ob-auth-wizard__step.is-active .ob-auth-wizard__dot {
    border-color: var(--ob-accent);
    color: var(--ob-accent);
    box-shadow: 0 0 16px rgba(34, 197, 94, 0.2);
}

.ob-auth-wizard__step.is-done {
    color: var(--ob-muted);
}

.ob-auth-wizard__step.is-done .ob-auth-wizard__dot {
    border-color: var(--ob-accent);
    background: var(--ob-accent);
    color: var(--ob-bg-mid);
}

.ob-step-pane {
    display: none;
}

.ob-step-pane.is-active {
    display: block;
    animation: obStepEnter 0.3s ease forwards;
}

@keyframes obStepEnter {
    from { opacity: 0; transform: translateX(10px); }
    to { opacity: 1; transform: translateX(0); }
}

.ob-auth-step-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--ob-text);
    margin: 0 0 1.15rem;
}

.ob-auth-step-fields {
    display: grid;
    gap: 1.25rem;
}

.ob-auth-register-grid {
    display: grid;
    gap: 1.25rem;
}

@media (min-width: 992px) {
    .ob-auth-register-grid {
        grid-template-columns: 1fr 1fr;
        align-items: start;
    }
}

.ob-auth-subcard {
    padding: 1.15rem;
    border-radius: var(--ob-radius);
    border: 1px solid var(--ob-border);
    background: rgba(11, 17, 32, 0.35);
}

.ob-auth-subcard__title {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--ob-text);
    margin: 0 0 0.75rem;
}

.ob-auth-code-toggle {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.ob-auth-summary-row {
    font-size: 0.875rem;
    color: var(--ob-muted);
}

.ob-auth-summary-total {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--ob-text);
    margin-top: 0.5rem;
}

.ob-auth-check {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    margin-top: 0.5rem;
}

.ob-auth-check input {
    margin-top: 0.2rem;
    accent-color: var(--ob-accent);
}

.ob-auth-check label {
    font-size: 0.875rem;
    color: var(--ob-muted);
    line-height: 1.45;
}

.ob-plan-option {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.55rem 0.85rem;
    padding: 1rem 1.1rem;
    border: 1px solid var(--ob-border);
    border-radius: var(--ob-radius);
    cursor: pointer;
    background: rgba(11, 17, 32, 0.35);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.ob-plan-option:hover {
    border-color: rgba(34, 197, 94, 0.35);
}

.ob-plan-option:has(input:checked) {
    border-color: rgba(34, 197, 94, 0.55);
    box-shadow: 0 0 0 1px rgba(34, 197, 94, 0.15);
}

.ob-plan-option input {
    margin-top: 4px;
    grid-row: 1 / span 2;
    accent-color: var(--ob-accent);
}

.ob-plan-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--ob-text);
}

.ob-plan-header small {
    color: var(--ob-muted);
    font-size: 0.82rem;
}

.ob-plan-benefits {
    margin: 0;
    padding-left: 1rem;
    color: var(--ob-muted);
    font-size: 0.82rem;
}

.ob-plan-benefits li {
    margin-bottom: 0.15rem;
}

.ob-auth-form .ob-btn-primary.is-loading,
.ob-auth-form .ob-btn-primary:disabled {
    opacity: 0.85;
    pointer-events: none;
}

.ob-auth-form .ob-btn-primary.is-loading::after {
    content: "";
    width: 16px;
    height: 16px;
    margin-left: 0.5rem;
    border: 2px solid rgba(15, 23, 42, 0.25);
    border-top-color: var(--ob-bg-mid);
    border-radius: 50%;
    animation: obAuthSpin 0.7s linear infinite;
}

@keyframes obAuthSpin {
    to { transform: rotate(360deg); }
}

@media (max-width: 575.98px) {
    .ob-auth-wizard__label {
        display: none;
    }

    .ob-form-row--phone {
        grid-template-columns: 88px 1fr;
    }

    .ob-auth-step-nav {
        flex-direction: column-reverse;
    }

    .ob-auth-step-nav .ob-btn-primary,
    .ob-auth-step-nav .ob-btn-ghost {
        width: 100%;
        min-width: 0;
    }
}

/* ——— Cadastro premium (Stripe / Clerk) ——— */

.ob-register-page {
    position: relative;
    width: 100%;
    padding: 1rem 0 2.5rem;
    animation: obRegisterFadeIn 0.45s ease forwards;
}

.ob-register-page::before {
    content: "";
    position: absolute;
    inset: -2rem 0 auto;
    height: 360px;
    background: radial-gradient(ellipse 55% 55% at 50% 0%, rgba(34, 197, 94, 0.05) 0%, transparent 72%);
    pointer-events: none;
    z-index: 0;
}

@keyframes obRegisterFadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

.ob-register-shell {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 440px;
    margin: 0 auto;
    padding: 0 0.75rem;
    transition: max-width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.ob-register-shell:has(.ob-register-card.is-plan-step) {
    max-width: 580px;
}

@media (min-width: 768px) {
    .ob-register-page {
        min-height: calc(100vh - 56px - 160px);
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 2rem 0 3rem;
    }
}

.ob-register-card {
    width: 100%;
    padding: 2.25rem 2rem 2rem;
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(31, 41, 55, 0.98) 0%, rgba(19, 27, 43, 0.98) 100%);
    box-shadow:
        0 12px 40px rgba(0, 0, 0, 0.28),
        0 0 0 1px rgba(255, 255, 255, 0.03) inset;
    transition: box-shadow 0.3s ease;
}

.ob-register-card.is-plan-step {
    box-shadow:
        0 14px 44px rgba(0, 0, 0, 0.32),
        0 0 0 1px rgba(34, 197, 94, 0.05) inset;
}

.ob-register-head {
    text-align: center;
    margin-bottom: 2rem;
}

.ob-register-head__title {
    font-size: 1.85rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    margin: 0 0 0.55rem;
    color: var(--ob-text);
}

.ob-register-head__subtitle {
    font-size: 0.95rem;
    color: var(--ob-muted);
    margin: 0;
    line-height: 1.55;
    max-width: 36ch;
    margin-inline: auto;
}

.ob-register-alert {
    margin-bottom: 1.25rem;
    border-radius: var(--ob-radius);
}

/* Stepper */
.ob-reg-wizard {
    margin-bottom: 2rem;
}

.ob-reg-wizard__bar {
    display: flex;
    align-items: flex-start;
    width: 100%;
}

.ob-reg-wizard__step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.55rem;
    flex: 0 0 auto;
    min-width: 4.5rem;
    color: var(--ob-muted);
    transition: color 0.25s ease;
}

.ob-reg-wizard__connector {
    flex: 1;
    height: 2px;
    margin-top: 1.125rem;
    background: rgba(148, 163, 184, 0.18);
    border-radius: 999px;
    transition: background 0.35s ease;
}

.ob-reg-wizard__connector.is-done {
    background: var(--ob-accent);
}

.ob-reg-wizard__connector.is-active {
    background: linear-gradient(90deg, var(--ob-accent) 0%, rgba(148, 163, 184, 0.18) 100%);
}

.ob-reg-wizard__node {
    position: relative;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 50%;
    border: 2px solid rgba(148, 163, 184, 0.28);
    background: rgba(11, 17, 32, 0.65);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.ob-reg-wizard__index {
    font-size: 0.82rem;
    font-weight: 700;
    line-height: 1;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.ob-reg-wizard__check {
    display: none;
    opacity: 0;
    transform: scale(0.6);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.ob-reg-wizard__label {
    font-size: 0.72rem;
    font-weight: 500;
    text-align: center;
    line-height: 1.25;
    max-width: 6.5rem;
    transition: color 0.25s ease, opacity 0.25s ease;
}

.ob-reg-wizard__step.is-pending {
    color: rgba(148, 163, 184, 0.55);
}

.ob-reg-wizard__step.is-pending .ob-reg-wizard__label {
    opacity: 0.7;
}

.ob-reg-wizard__step.is-active {
    color: var(--ob-accent);
}

.ob-reg-wizard__step.is-active .ob-reg-wizard__node {
    border-color: var(--ob-accent);
    box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.12);
    transform: scale(1.04);
}

.ob-reg-wizard__step.is-active .ob-reg-wizard__label {
    font-weight: 600;
    color: var(--ob-text);
}

.ob-reg-wizard__step.is-done {
    color: var(--ob-muted);
}

.ob-reg-wizard__step.is-done .ob-reg-wizard__node {
    border-color: var(--ob-accent);
    background: var(--ob-accent);
}

.ob-reg-wizard__step.is-done .ob-reg-wizard__index {
    opacity: 0;
    transform: scale(0.5);
    position: absolute;
}

.ob-reg-wizard__step.is-done .ob-reg-wizard__check {
    display: block;
    opacity: 1;
    transform: scale(1);
    color: var(--ob-bg-mid, #0f172a);
}

/* Campos stacked */
.ob-reg-field {
    display: grid;
    gap: 0.45rem;
}

.ob-reg-field__label {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--ob-text);
    line-height: 1.3;
}

.ob-reg-field__req {
    color: var(--ob-accent);
}

.ob-reg-field__control {
    position: relative;
    display: flex;
    align-items: stretch;
}

.ob-reg-field__icon {
    position: absolute;
    left: 0.95rem;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(148, 163, 184, 0.75);
    pointer-events: none;
    display: flex;
    transition: color 0.2s ease;
    z-index: 1;
}

.ob-reg-field__input {
    width: 100%;
    padding: 0.82rem 2.75rem 0.82rem 2.65rem;
    font-size: 0.9375rem;
    color: var(--ob-text);
    background: rgba(11, 17, 32, 0.55);
    border: 1px solid rgba(148, 163, 184, 0.28);
    border-radius: calc(var(--ob-radius, 12px) - 2px);
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.ob-reg-field__input::placeholder {
    color: rgba(148, 163, 184, 0.45);
}

.ob-reg-field__input:hover {
    border-color: rgba(148, 163, 184, 0.45);
    background: rgba(11, 17, 32, 0.7);
}

.ob-reg-field__input:focus {
    border-color: rgba(34, 197, 94, 0.55);
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.12);
    background: rgba(11, 17, 32, 0.75);
}

.ob-reg-field:focus-within .ob-reg-field__icon {
    color: var(--ob-accent);
}

.ob-reg-field__select {
    appearance: none;
    cursor: pointer;
    padding-right: 2.5rem;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.85rem center;
}

.ob-reg-field__toggle {
    position: absolute;
    right: 0.55rem;
    top: 50%;
    transform: translateY(-50%);
    width: 2.25rem;
    height: 2.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 8px;
    background: transparent;
    color: rgba(148, 163, 184, 0.8);
    cursor: pointer;
    transition: color 0.2s ease, background 0.2s ease;
}

.ob-reg-field__toggle:hover,
.ob-reg-field__toggle:focus {
    color: var(--ob-text);
    background: rgba(255, 255, 255, 0.06);
}

.ob-reg-field__toggle:active {
    transform: translateY(-50%) scale(0.94);
}

.ob-reg-field.is-invalid .ob-reg-field__input {
    border-color: rgba(239, 68, 68, 0.65);
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.ob-reg-field__hint {
    font-size: 0.78rem;
    color: var(--ob-muted);
    margin: 0;
    line-height: 1.45;
}

.ob-reg-field__error {
    font-size: 0.78rem;
    color: #f87171;
    margin: 0;
}

.ob-reg-row {
    display: grid;
    gap: 1rem;
}

.ob-reg-row--phone {
    grid-template-columns: 96px 1fr;
}

.ob-reg-fields {
    display: grid;
    gap: 1.35rem;
}

/* Senha — checklist */
.ob-reg-password-wrap {
    display: grid;
    gap: 0.65rem;
}

.ob-reg-password {
    padding: 0.85rem 1rem;
    border-radius: calc(var(--ob-radius, 12px) - 2px);
    border: 1px solid rgba(148, 163, 184, 0.15);
    background: rgba(11, 17, 32, 0.35);
    transition: border-color 0.25s ease;
}

.ob-reg-password__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.55rem;
}

.ob-reg-password__title {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--ob-muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.ob-reg-password__badge {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--ob-muted);
    transition: color 0.2s ease;
}

.ob-reg-password[data-level="1"] .ob-reg-password__badge { color: #f87171; }
.ob-reg-password[data-level="2"] .ob-reg-password__badge { color: #fbbf24; }
.ob-reg-password[data-level="3"] .ob-reg-password__badge { color: var(--ob-accent); }

.ob-reg-password__meter {
    display: flex;
    gap: 0.35rem;
    margin-bottom: 0.75rem;
}

.ob-reg-password__segment {
    flex: 1;
    height: 3px;
    border-radius: 999px;
    background: rgba(148, 163, 184, 0.15);
    transition: background 0.25s ease, transform 0.25s ease;
}

.ob-reg-password__segment.is-on {
    transform: scaleY(1.15);
}

.ob-reg-password[data-level="1"] .ob-reg-password__segment.is-on { background: #ef4444; }
.ob-reg-password[data-level="2"] .ob-reg-password__segment.is-on { background: #f59e0b; }
.ob-reg-password[data-level="3"] .ob-reg-password__segment.is-on { background: var(--ob-accent); }

.ob-reg-password__rules {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.4rem;
}

.ob-reg-password__rule {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: var(--ob-muted);
    transition: color 0.2s ease;
}

.ob-reg-password__rule-icon {
    width: 1rem;
    height: 1rem;
    border-radius: 50%;
    border: 1.5px solid rgba(148, 163, 184, 0.35);
    flex-shrink: 0;
    position: relative;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.ob-reg-password__rule.is-met {
    color: var(--ob-text);
}

.ob-reg-password__rule.is-met .ob-reg-password__rule-icon {
    border-color: var(--ob-accent);
    background: rgba(34, 197, 94, 0.15);
}

.ob-reg-password__rule.is-met .ob-reg-password__rule-icon::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 42%;
    width: 0.28rem;
    height: 0.48rem;
    border: solid var(--ob-accent);
    border-width: 0 2px 2px 0;
    transform: translate(-50%, -50%) rotate(45deg);
    animation: obRuleCheck 0.25s ease forwards;
}

@keyframes obRuleCheck {
    from { opacity: 0; transform: translate(-50%, -50%) rotate(45deg) scale(0.5); }
    to { opacity: 1; transform: translate(-50%, -50%) rotate(45deg) scale(1); }
}

/* Money field no cadastro */
.ob-reg-money .ob-form-field {
    display: grid;
    gap: 0.45rem;
    margin: 0;
}

.ob-reg-money .ob-label {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--ob-text);
    margin: 0;
}

.ob-reg-money .ob-input-group--money .form-control {
    padding: 0.82rem 0.95rem;
    font-size: 0.9375rem;
    background: rgba(11, 17, 32, 0.55);
    border-color: rgba(148, 163, 184, 0.28);
    border-radius: 0 calc(var(--ob-radius, 12px) - 2px) calc(var(--ob-radius, 12px) - 2px) 0;
    color: var(--ob-text);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.ob-reg-money .ob-input-group--money .form-control:focus {
    border-color: rgba(34, 197, 94, 0.55);
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.12);
}

.ob-reg-money .ob-money-brl-prefix {
    background: rgba(11, 17, 32, 0.55);
    border-color: rgba(148, 163, 184, 0.28);
    color: var(--ob-muted);
    border-radius: calc(var(--ob-radius, 12px) - 2px) 0 0 calc(var(--ob-radius, 12px) - 2px);
}

/* Panes e navegação */
.ob-reg-pane {
    display: none;
}

.ob-reg-pane.is-active {
    display: block;
    animation: obRegPaneEnter 0.38s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes obRegPaneEnter {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.ob-reg-pane__title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--ob-text);
    margin: 0 0 1.35rem;
}

.ob-reg-pane[data-step="1"] .ob-reg-fields,
.ob-reg-pane[data-step="2"] .ob-reg-fields {
    gap: 1.4rem;
}

.ob-reg-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-top: 1.75rem;
    padding-top: 0.25rem;
}

.ob-reg-nav__spacer {
    flex: 1;
}

/* Botões cadastro */
.ob-reg-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.72rem 1.35rem;
    font-size: 0.9375rem;
    font-weight: 600;
    line-height: 1.25;
    border-radius: 14px;
    border: none;
    cursor: pointer;
    text-decoration: none !important;
    transition: transform 0.15s ease, filter 0.15s ease, background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.ob-reg-btn--sm {
    padding: 0.45rem 0.85rem;
    font-size: 0.8125rem;
    border-radius: 10px;
}

.ob-reg-btn--primary {
    background: linear-gradient(180deg, var(--ob-accent) 0%, var(--ob-accent-hover, #16a34a) 100%);
    color: var(--ob-bg-mid, #0f172a) !important;
    box-shadow: 0 6px 20px rgba(34, 197, 94, 0.28);
    min-height: 3rem;
    min-width: 9.5rem;
}

.ob-reg-btn--primary:hover,
.ob-reg-btn--primary:focus {
    filter: brightness(1.05);
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(34, 197, 94, 0.34);
}

.ob-reg-btn--primary:active {
    transform: translateY(0);
}

.ob-reg-btn--ghost {
    background: transparent;
    border: 1px solid rgba(148, 163, 184, 0.3);
    color: var(--ob-muted) !important;
    font-weight: 500;
    min-height: 2.75rem;
}

.ob-reg-btn--ghost:hover,
.ob-reg-btn--ghost:focus {
    border-color: rgba(148, 163, 184, 0.5);
    background: rgba(255, 255, 255, 0.05);
    color: var(--ob-text) !important;
}

.ob-register-form .ob-reg-btn--primary.is-loading,
.ob-register-form .ob-reg-btn--primary:disabled {
    opacity: 0.85;
    pointer-events: none;
    transform: none;
}

.ob-register-form .ob-reg-btn--primary.is-loading::after {
    content: "";
    width: 16px;
    height: 16px;
    margin-left: 0.5rem;
    border: 2px solid rgba(15, 23, 42, 0.25);
    border-top-color: var(--ob-bg-mid);
    border-radius: 50%;
    animation: obAuthSpin 0.7s linear infinite;
}

.ob-register-login-hint {
    text-align: center;
    margin: 1.35rem 0 0;
    font-size: 0.9rem;
    color: var(--ob-muted);
}

.ob-register-login-hint a {
    color: var(--ob-accent);
    font-weight: 600;
    text-decoration: none;
    margin-left: 0.25rem;
    transition: color 0.15s ease;
}

.ob-register-login-hint a:hover,
.ob-register-login-hint a:focus {
    color: var(--ob-accent-hover, #4ade80);
    text-decoration: underline;
}

/* Passo 3 — planos */
.ob-reg-plan-head {
    margin-bottom: 1.35rem;
}

.ob-reg-plan-head__title {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--ob-text);
    margin: 0 0 0.4rem;
    letter-spacing: -0.01em;
}

.ob-reg-plan-head__text {
    font-size: 0.875rem;
    color: var(--ob-muted);
    margin: 0;
    line-height: 1.5;
}

.ob-reg-plan-stack {
    display: grid;
    gap: 0.85rem;
    margin-bottom: 1.5rem;
}

.ob-reg-plan-card {
    display: block;
    cursor: pointer;
    margin: 0;
}

.ob-reg-plan-card input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.ob-reg-plan-card__surface {
    position: relative;
    display: block;
    padding: 1.25rem 1.35rem;
    border-radius: 14px;
    border: 1.5px solid rgba(148, 163, 184, 0.22);
    background: rgba(11, 17, 32, 0.4);
    transition: border-color 0.22s ease, background 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease;
}

.ob-reg-plan-card:hover .ob-reg-plan-card__surface {
    border-color: rgba(148, 163, 184, 0.38);
    background: rgba(11, 17, 32, 0.52);
    transform: translateY(-1px);
}

.ob-reg-plan-card input:checked + .ob-reg-plan-card__surface {
    border-color: rgba(34, 197, 94, 0.65);
    background: rgba(34, 197, 94, 0.06);
    box-shadow: 0 0 0 1px rgba(34, 197, 94, 0.2), 0 8px 24px rgba(34, 197, 94, 0.08);
}

.ob-reg-plan-card input:focus-visible + .ob-reg-plan-card__surface {
    outline: 2px solid rgba(34, 197, 94, 0.45);
    outline-offset: 2px;
}

.ob-reg-plan-card__badge {
    position: absolute;
    top: -0.55rem;
    right: 1rem;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 0.22rem 0.55rem;
    border-radius: 999px;
    color: #052e16;
    background: var(--ob-accent);
}

.ob-reg-plan-card__head {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 0.85rem;
    align-items: start;
}

.ob-reg-plan-card__radio {
    width: 1.15rem;
    height: 1.15rem;
    margin-top: 0.15rem;
    border-radius: 50%;
    border: 2px solid rgba(148, 163, 184, 0.45);
    flex-shrink: 0;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    position: relative;
}

.ob-reg-plan-card input:checked + .ob-reg-plan-card__surface .ob-reg-plan-card__radio {
    border-color: var(--ob-accent);
    box-shadow: inset 0 0 0 3px rgba(11, 17, 32, 0.9);
    background: var(--ob-accent);
}

.ob-reg-plan-card__info {
    display: grid;
    gap: 0.2rem;
    min-width: 0;
}

.ob-reg-plan-card__name {
    font-size: 1rem;
    font-weight: 700;
    color: var(--ob-text);
    letter-spacing: -0.01em;
}

.ob-reg-plan-card__tagline {
    font-size: 0.8125rem;
    color: var(--ob-muted);
    line-height: 1.35;
}

.ob-reg-plan-card__price {
    text-align: right;
    white-space: nowrap;
}

.ob-reg-plan-card__price strong {
    display: block;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--ob-text);
}

.ob-reg-plan-card__price small {
    font-size: 0.75rem;
    color: var(--ob-muted);
}

.ob-reg-plan-card input:checked + .ob-reg-plan-card__surface .ob-reg-plan-card__price strong {
    color: var(--ob-accent);
}

.ob-reg-plan-card__bullets {
    list-style: none;
    margin: 1rem 0 0;
    padding: 0;
    display: grid;
    gap: 0.45rem;
}

.ob-reg-plan-card__bullets li {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    font-size: 0.8125rem;
    color: var(--ob-muted);
    line-height: 1.4;
}

.ob-reg-plan-card__bullets li::before {
    content: "";
    flex-shrink: 0;
    width: 0.35rem;
    height: 0.35rem;
    margin-top: 0.42rem;
    border-radius: 50%;
    background: rgba(148, 163, 184, 0.5);
    transition: background 0.2s ease;
}

.ob-reg-plan-card input:checked + .ob-reg-plan-card__surface .ob-reg-plan-card__bullets li {
    color: rgba(241, 245, 249, 0.88);
}

.ob-reg-plan-card input:checked + .ob-reg-plan-card__surface .ob-reg-plan-card__bullets li::before {
    background: var(--ob-accent);
}

/* Checkout: promo + resumo */
.ob-reg-checkout {
    display: grid;
    gap: 1rem;
    margin-bottom: 0.25rem;
}

@media (min-width: 640px) {
    .ob-reg-checkout {
        grid-template-columns: 1fr 1fr;
        align-items: start;
    }
}

.ob-reg-promo,
.ob-reg-summary {
    padding: 1.15rem 1.2rem;
    border-radius: 14px;
    border: 1px solid rgba(148, 163, 184, 0.18);
    background: rgba(11, 17, 32, 0.35);
}

.ob-reg-promo__title,
.ob-reg-summary__title {
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--ob-muted);
    margin: 0 0 0.75rem;
}

.ob-reg-promo__rule {
    font-size: 0.8125rem;
    color: var(--ob-muted);
    line-height: 1.5;
    margin: 0 0 1rem;
}

.ob-reg-promo__badge {
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 0.18rem 0.45rem;
    margin-right: 0.4rem;
    border-radius: 6px;
    color: #fbbf24;
    background: rgba(251, 191, 36, 0.12);
    border: 1px solid rgba(251, 191, 36, 0.28);
    vertical-align: middle;
}

.ob-reg-code-switch {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.35rem;
    padding: 0.3rem;
    margin-bottom: 0.85rem;
    border-radius: 12px;
    background: rgba(11, 17, 32, 0.55);
    border: 1px solid rgba(148, 163, 184, 0.15);
}

.ob-reg-code-switch__btn {
    padding: 0.5rem 0.55rem;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--ob-muted);
    background: transparent;
    border: none;
    border-radius: 9px;
    cursor: pointer;
    transition: color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.ob-reg-code-switch__btn:hover {
    color: var(--ob-text);
    background: rgba(255, 255, 255, 0.04);
}

.ob-reg-code-switch__btn.is-active {
    color: var(--ob-text);
    background: rgba(148, 163, 184, 0.14);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.ob-reg-code-pane[hidden] {
    display: none !important;
}

.ob-reg-code-pane {
    animation: obRegPaneEnter 0.28s ease forwards;
}

.ob-reg-summary__rows {
    margin: 0;
    display: grid;
    gap: 0.55rem;
}

.ob-reg-summary__row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 1rem;
    font-size: 0.875rem;
}

.ob-reg-summary__row dt {
    margin: 0;
    color: var(--ob-muted);
    font-weight: 500;
}

.ob-reg-summary__row dd {
    margin: 0;
    color: var(--ob-text);
    font-weight: 600;
    text-align: right;
}

.ob-reg-summary__warning {
    font-size: 0.78rem;
    color: #fbbf24;
    margin: 0.65rem 0 0;
    line-height: 1.4;
}

.ob-reg-summary__warning[hidden] {
    display: none !important;
}

.ob-reg-summary__final {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 1rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(148, 163, 184, 0.2);
}

.ob-reg-summary__final-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--ob-muted);
}

.ob-reg-summary__final-value {
    font-size: 1.45rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--ob-accent);
    line-height: 1.1;
    transition: color 0.2s ease, transform 0.2s ease;
}

.ob-reg-check {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    margin-top: 1rem;
}

.ob-reg-check input {
    margin-top: 0.2rem;
    accent-color: var(--ob-accent);
    width: 1rem;
    height: 1rem;
}

.ob-reg-check label {
    font-size: 0.875rem;
    color: var(--ob-muted);
    line-height: 1.45;
}

/* Responsivo */
@media (max-width: 767.98px) {
    .ob-register-shell {
        max-width: 100%;
        padding: 0 0.5rem;
    }

    .ob-register-shell:has(.ob-register-card.is-plan-step) {
        max-width: 100%;
    }

    .ob-register-card {
        padding: 1.75rem 1.25rem 1.5rem;
    }

    .ob-register-head__title {
        font-size: 1.55rem;
    }

    .ob-reg-wizard__label {
        font-size: 0.68rem;
        max-width: 5rem;
    }

    .ob-reg-nav {
        flex-direction: column-reverse;
        align-items: stretch;
    }

    .ob-reg-nav__spacer {
        display: none;
    }

    .ob-reg-btn--primary,
    .ob-reg-btn--ghost {
        width: 100%;
        min-width: 0;
    }

    .ob-reg-checkout {
        grid-template-columns: 1fr;
    }

    .ob-reg-summary__final-value {
        font-size: 1.3rem;
    }
}

@media (max-width: 575.98px) {
    .ob-reg-row--phone {
        grid-template-columns: 80px 1fr;
    }

    .ob-reg-wizard__step {
        min-width: 2.5rem;
    }

    .ob-reg-wizard__label {
        display: none;
    }

    .ob-reg-code-switch__btn {
        font-size: 0.72rem;
        padding: 0.45rem 0.35rem;
    }
}
