.cadastro-page {
    min-height: 100vh;
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
    background: #f7f2ee;
}

.cadastro-main {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px clamp(24px, 6vw, 84px);
}

.cadastro-content {
    width: min(560px, 100%);
}

.cadastro-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--ink);
    text-decoration: none;
    margin-bottom: 30px;
}

.cadastro-brand img {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
}

.cadastro-brand strong {
    font-size: 1.15rem;
    letter-spacing: 0.08em;
}

.cadastro-header {
    margin-bottom: 24px;
}

.cadastro-header .eyebrow {
    margin-bottom: 12px;
}

.cadastro-header h1 {
    margin: 0 0 10px;
    font-size: clamp(2rem, 5vw, 3.4rem);
    line-height: 1;
    font-weight: 500;
    letter-spacing: -0.045em;
}

.cadastro-header p {
    margin: 0;
    color: var(--ink-soft);
    font-size: 1rem;
    line-height: 1.6;
}

.cadastro-form {
    max-width: none;
}

.cadastro-field {
    display: block;
    margin-bottom: 14px;
    color: var(--ink);
    font-size: 0.92rem;
    font-weight: 700;
}

.cadastro-field input {
    display: block;
}

.cadastro-password-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.cadastro-help {
    display: block;
    margin-top: 6px;
    color: var(--ink-soft);
    font-size: 0.78rem;
    font-weight: 500;
    line-height: 1.45;
}

.cadastro-terms {
    display: grid;
    grid-template-columns: 18px 1fr;
    align-items: start;
    gap: 10px;
    margin: 16px 0 4px;
    color: var(--ink-soft);
    font-size: 0.82rem;
    line-height: 1.5;
    cursor: pointer;
}

.login-form .cadastro-terms input {
    width: 18px;
    height: 18px;
    margin: 2px 0 0;
    padding: 0;
    accent-color: var(--brand);
}

.cadastro-terms a,
.cadastro-inline-link {
    color: var(--brand);
    font-weight: 700;
}

.cadastro-alert {
    margin: 0 0 18px;
}

.cadastro-alert.is-success {
    color: #1d6534;
    background: #edf8f0;
    border-color: #b9dec3;
}

.cadastro-footer {
    margin-top: 18px;
    text-align: center;
    color: var(--ink-soft);
    font-size: 0.9rem;
}

.cadastro-footer p {
    margin: 8px 0;
}

.cadastro-side {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    background:
        linear-gradient(90deg, #f7f2ee 0%, rgba(247, 242, 238, 0.15) 38%, rgba(46, 37, 88, 0.12) 100%),
        url("../../../img_index/hero-elo.jpg") center/cover no-repeat;
}

.cadastro-side-card {
    position: absolute;
    right: clamp(24px, 5vw, 70px);
    bottom: clamp(28px, 7vw, 82px);
    left: clamp(24px, 5vw, 70px);
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.56);
    border-radius: 18px;
    color: #fff;
    background: rgba(40, 29, 66, 0.72);
    backdrop-filter: blur(10px);
    box-shadow: 0 18px 50px rgba(20, 14, 36, 0.25);
}

.cadastro-side-card strong {
    display: block;
    margin-bottom: 8px;
    font-size: 1.35rem;
}

.cadastro-side-card p {
    margin: 0;
    line-height: 1.55;
}

.cadastro-code-input {
    text-align: center;
    letter-spacing: 0.42em;
    font-size: 1.6rem !important;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.cadastro-resend-form button {
    margin-top: 8px;
    border-color: var(--line);
    color: var(--brand);
    background: transparent;
}

.cadastro-resend-form button:hover:not(:disabled) {
    background: #eee8f2;
    filter: none;
}

.cadastro-resend-form button:disabled {
    cursor: not-allowed;
    opacity: 0.58;
}

@media (max-width: 980px) {
    .cadastro-page {
        grid-template-columns: 1fr;
    }

    .cadastro-side {
        display: none;
    }

    .cadastro-main {
        padding: 32px 20px 48px;
    }
}

@media (max-width: 560px) {
    .cadastro-password-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .cadastro-form {
        padding: 22px 18px;
    }
}
