:root {
    --passerelle-navy: #073765;
    --passerelle-navy-deep: #052b53;
    --passerelle-blue: #0d64b6;
    --passerelle-blue-bright: #1875df;
    --passerelle-red: #d72835;
    --passerelle-ink: #071a34;
    --passerelle-muted: #66758a;
    --passerelle-line: #d9e2ed;
    --passerelle-surface: #f5f8fc;
}

body.passerelle-login-page {
    min-width: 320px;
    margin: 0;
    color: var(--passerelle-ink);
    background:
        radial-gradient(circle at 12% 14%, rgba(13, 100, 182, .07), transparent 26rem),
        radial-gradient(circle at 92% 90%, rgba(215, 40, 53, .035), transparent 25rem),
        #f3f6fa;
    font-family: Inter, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
}

.passerelle-auth,
.passerelle-auth * {
    box-sizing: border-box;
}

.passerelle-auth {
    display: flex;
    min-height: 100vh;
    align-items: center;
    justify-content: center;
    padding: 46px 24px;
}

.auth-shell {
    position: relative;
    z-index: 1;
    display: grid;
    width: min(1050px, 100%);
    min-height: 680px;
    grid-template-columns: 52% 48%;
    overflow: hidden;
    border-radius: 26px;
    background: #fff;
    box-shadow: 0 28px 70px rgba(23, 48, 78, .16);
}

.auth-brand {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: 42px 44px;
    color: #fff;
    background:
        radial-gradient(circle at 90% 56%, rgba(44, 129, 204, .22) 0 3px, transparent 4px),
        radial-gradient(circle at 84% 60%, rgba(215, 40, 53, .95) 0 4px, transparent 5px),
        linear-gradient(145deg, #0a477f 0%, var(--passerelle-navy) 48%, var(--passerelle-navy-deep) 100%);
}

.auth-brand::before {
    position: absolute;
    z-index: -1;
    top: 0;
    right: 0;
    width: 62%;
    height: 100%;
    background-image:
        linear-gradient(rgba(255, 255, 255, .018) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .018) 1px, transparent 1px);
    background-size: 32px 32px;
    content: "";
    mask-image: linear-gradient(to left, #000, transparent);
}

.brand-content {
    position: relative;
    z-index: 2;
    display: flex;
    height: 100%;
    flex-direction: column;
}

.brand-logo {
    display: flex;
    min-height: 132px;
    align-items: center;
    justify-content: center;
    margin-bottom: 38px;
    padding: 20px 22px;
    border: 1px solid rgba(255, 255, 255, .72);
    border-radius: 17px;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 12px 28px rgba(2, 27, 53, .12);
}

.brand-logo img {
    display: block;
    width: 100%;
    max-height: 96px;
    object-fit: contain;
}

.brand-kicker,
.form-kicker {
    margin: 0;
    text-transform: uppercase;
    letter-spacing: .15em;
    font-size: 11px;
    font-weight: 800;
}

.brand-kicker {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #bcd8f2;
}

.brand-kicker span {
    display: inline-block;
    width: 24px;
    height: 2px;
    border-radius: 2px;
    background: var(--passerelle-red);
}

.brand-heading h1 {
    margin: 15px 0 10px;
    color: #fff;
    font-size: clamp(30px, 3vw, 39px);
    font-weight: 800;
    letter-spacing: -.035em;
    line-height: 1.08;
}

.brand-intro {
    max-width: 430px;
    margin: 0;
    color: #d8e8f7;
    font-size: 14px;
    line-height: 1.65;
}

.brand-features {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 25px;
}

.feature-card {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 12px;
    padding: 14px;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 12px;
    color: #fff;
    background: rgba(255, 255, 255, .065);
    transition: border-color .2s ease, background .2s ease, transform .2s ease;
}

a.feature-card:hover,
a.feature-card:focus {
    border-color: rgba(255, 255, 255, .32);
    color: #fff;
    background: rgba(255, 255, 255, .11);
    text-decoration: none;
    transform: translateY(-1px);
}

.feature-card-wide {
    grid-column: 1 / -1;
}

.feature-icon {
    display: grid;
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 9px;
    color: #d8ebfb;
    background: rgba(255, 255, 255, .09);
}

.feature-icon svg {
    width: 19px;
    height: 19px;
}

.feature-card span:last-child {
    min-width: 0;
}

.feature-card strong,
.feature-card small {
    display: block;
}

.feature-card strong {
    margin-bottom: 3px;
    font-size: 11px;
    font-weight: 750;
}

.feature-card small {
    color: #bdd4e9;
    font-size: 9px;
    line-height: 1.4;
}

.brand-orbit {
    position: absolute;
    z-index: 0;
    display: block;
    border: 1px solid rgba(114, 175, 226, .12);
    border-radius: 50%;
    pointer-events: none;
}

.brand-orbit-one {
    right: -154px;
    bottom: -230px;
    width: 430px;
    height: 430px;
}

.brand-orbit-two {
    right: -96px;
    bottom: -174px;
    width: 320px;
    height: 320px;
    border-width: 38px;
    border-color: rgba(114, 175, 226, .045);
}

.auth-form-panel {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 52px 58px;
    background: #fff;
}

.auth-form-content {
    width: 100%;
    max-width: 395px;
}

.form-heading {
    margin-bottom: 27px;
}

.form-kicker {
    margin-bottom: 12px;
    color: var(--passerelle-blue);
}

.form-heading h2 {
    margin: 0 0 9px;
    color: var(--passerelle-ink);
    font-size: 30px;
    font-weight: 800;
    letter-spacing: -.035em;
    line-height: 1.13;
}

.form-heading > p:last-child {
    max-width: 360px;
    margin: 0;
    color: var(--passerelle-muted);
    font-size: 12px;
    line-height: 1.55;
}

.form-field {
    margin-bottom: 17px;
}

.form-field label {
    display: inline-block;
    margin-bottom: 8px;
    color: #12243a;
    font-size: 11px;
    font-weight: 750;
}

.input-shell {
    position: relative;
    display: flex;
    height: 48px;
    align-items: center;
    overflow: hidden;
    border: 1px solid #cbd7e4;
    border-radius: 10px;
    background: #fbfcfe;
    transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.input-shell:focus-within {
    border-color: var(--passerelle-blue);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(13, 100, 182, .11);
}

.input-shell.has-error {
    border-color: #d8424d;
}

.input-icon {
    display: grid;
    width: 44px;
    height: 100%;
    flex: 0 0 44px;
    place-items: center;
    color: #8294a9;
}

.input-icon svg,
.password-toggle svg {
    width: 19px;
    height: 19px;
}

.input-shell input {
    width: 100%;
    height: 100%;
    padding: 0 12px 0 0;
    border: 0;
    outline: 0;
    color: var(--passerelle-ink);
    background: transparent;
    box-shadow: none;
    font: inherit;
    font-size: 12px;
}

.input-shell input::placeholder {
    color: #9aa8ba;
    opacity: 1;
}

.password-toggle {
    display: grid;
    width: 44px;
    height: 100%;
    flex: 0 0 44px;
    place-items: center;
    padding: 0;
    border: 0;
    outline: 0;
    color: #8294a9;
    background: transparent;
    cursor: pointer;
}

.password-toggle:hover,
.password-toggle:focus-visible {
    color: var(--passerelle-blue);
}

.field-help,
.field-error {
    display: block;
    margin-top: 6px;
    font-size: 9px;
    line-height: 1.4;
}

.field-help {
    color: #8492a5;
}

.field-error {
    color: #c52935;
    font-weight: 600;
}

.form-options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin: 3px 0 20px;
    font-size: 10px;
}

.remember-option {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin: 0;
    color: #657489;
    cursor: pointer;
    font-weight: 500;
}

.remember-option input {
    width: 14px;
    height: 14px;
    margin: 0;
    accent-color: var(--passerelle-blue);
}

.form-options a {
    color: var(--passerelle-blue);
    font-weight: 700;
}

.form-options a:hover,
.auth-help a:hover {
    color: #084e91;
}

.login-button {
    display: flex;
    width: 100%;
    height: 49px;
    align-items: center;
    justify-content: center;
    gap: 13px;
    padding: 0 22px;
    border: 0;
    border-radius: 10px;
    color: #fff;
    background: linear-gradient(100deg, #0a5599, #0d6abf);
    box-shadow: 0 9px 20px rgba(13, 100, 182, .23);
    cursor: pointer;
    font-size: 12px;
    font-weight: 750;
    transition: box-shadow .2s ease, transform .2s ease;
}

.login-button svg {
    width: 18px;
    height: 18px;
}

.login-button:hover,
.login-button:focus-visible {
    box-shadow: 0 12px 24px rgba(13, 100, 182, .3);
    transform: translateY(-1px);
}

.form-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 25px 0 16px;
    color: #98a5b5;
    font-size: 9px;
    text-align: center;
}

.form-divider::before,
.form-divider::after {
    height: 1px;
    flex: 1;
    background: var(--passerelle-line);
    content: "";
}

.register-button {
    display: grid;
    min-height: 60px;
    grid-template-columns: 37px 1fr 18px;
    align-items: center;
    gap: 11px;
    padding: 9px 13px;
    border: 1px solid #cdd9e6;
    border-radius: 10px;
    color: var(--passerelle-ink);
    background: #f8fafc;
    transition: border-color .2s ease, background .2s ease, transform .2s ease;
}

.register-button:hover,
.register-button:focus {
    border-color: #a9c8e7;
    color: var(--passerelle-ink);
    background: #f2f7fc;
    text-decoration: none;
    transform: translateY(-1px);
}

.register-icon {
    display: grid;
    width: 37px;
    height: 37px;
    place-items: center;
    border-radius: 9px;
    color: var(--passerelle-blue);
    background: #e7f2fd;
}

.register-icon svg {
    width: 21px;
    height: 21px;
}

.register-button strong,
.register-button small {
    display: block;
}

.register-button strong {
    margin-bottom: 2px;
    font-size: 10px;
    font-weight: 750;
}

.register-button small {
    color: #8492a5;
    font-size: 9px;
}

.register-arrow {
    width: 18px;
    height: 18px;
    color: #7d90a5;
}

.auth-help {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    margin-top: 22px;
    color: #a1adbc;
    font-size: 9px;
}

.auth-help a {
    color: #7b899a;
}

@media (max-width: 920px) {
    .passerelle-auth {
        padding: 28px 20px;
    }

    .auth-shell {
        min-height: 640px;
        grid-template-columns: 48% 52%;
    }

    .auth-brand {
        padding: 34px 30px;
    }

    .brand-logo {
        min-height: 112px;
        margin-bottom: 30px;
        padding: 16px;
    }

    .brand-heading h1 {
        font-size: 31px;
    }

    .brand-features {
        grid-template-columns: 1fr;
    }

    .feature-card-wide {
        grid-column: auto;
    }

    .auth-form-panel {
        padding: 45px 38px;
    }
}

@media (max-width: 720px) {
    .passerelle-auth {
        align-items: flex-start;
        padding: 18px;
    }

    .auth-shell {
        min-height: 0;
        grid-template-columns: 1fr;
        border-radius: 20px;
    }

    .auth-brand {
        padding: 28px;
    }

    .brand-content {
        display: grid;
        grid-template-columns: 150px 1fr;
        align-items: center;
        gap: 24px;
    }

    .brand-logo {
        min-height: 110px;
        margin: 0;
        padding: 13px;
    }

    .brand-heading h1 {
        margin-top: 10px;
        font-size: 27px;
    }

    .brand-intro {
        font-size: 12px;
    }

    .brand-features {
        display: none;
    }

    .auth-form-panel {
        padding: 38px 36px 32px;
    }
}

@media (max-width: 520px) {
    .passerelle-auth {
        padding: 0;
        background: #fff;
    }

    .auth-shell {
        width: 100%;
        border-radius: 0;
        box-shadow: none;
    }

    .auth-brand {
        padding: 24px 21px;
    }

    .brand-content {
        display: block;
    }

    .brand-logo {
        min-height: 0;
        margin-bottom: 24px;
        padding: 14px 17px;
    }

    .brand-logo img {
        max-height: 76px;
    }

    .brand-heading h1 {
        font-size: 29px;
    }

    .brand-intro {
        max-width: 390px;
    }

    .auth-form-panel {
        padding: 36px 22px 30px;
    }

    .form-heading h2 {
        font-size: 27px;
    }

    .form-options {
        align-items: flex-start;
    }
}

@media (prefers-reduced-motion: reduce) {
    .passerelle-auth *,
    .passerelle-auth *::before,
    .passerelle-auth *::after {
        scroll-behavior: auto !important;
        transition: none !important;
    }
}

/* Candidate registration */
.auth-shell-register {
    width: min(1180px, 100%);
    min-height: 760px;
    grid-template-columns: 43% 57%;
}

.auth-brand-register {
    padding: 38px 40px;
}

.auth-brand-register .brand-logo {
    min-height: 112px;
    margin-bottom: 30px;
    padding: 16px 20px;
}

.auth-brand-register .brand-logo img {
    max-height: 82px;
}

.auth-brand-register .brand-heading h1 {
    font-size: clamp(30px, 3vw, 38px);
}

.register-brand-steps {
    display: grid;
    gap: 10px;
    margin-top: 28px;
}

.register-brand-step {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    align-items: center;
    gap: 11px;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, .15);
    border-radius: 11px;
    background: rgba(255, 255, 255, .065);
}

.register-brand-step > span {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .13);
    border-radius: 9px;
    color: #fff;
    background: rgba(255, 255, 255, .1);
    font-size: 11px;
    font-weight: 800;
}

.register-brand-step strong,
.register-brand-step small {
    display: block;
}

.register-brand-step strong {
    margin-bottom: 2px;
    color: #fff;
    font-size: 10px;
    font-weight: 750;
}

.register-brand-step small {
    color: #bdd4e9;
    font-size: 8px;
    line-height: 1.4;
}

.auth-register-panel {
    align-items: flex-start;
    padding: 38px 46px;
    overflow-y: auto;
}

.auth-register-content {
    max-width: 620px;
}

.register-form-heading {
    margin-bottom: 20px;
}

.register-form-heading h2 {
    font-size: 28px;
}

.register-form-heading > p:last-child {
    max-width: 570px;
}

.register-error-summary {
    display: grid;
    grid-template-columns: 32px minmax(0, 1fr);
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    padding: 10px 12px;
    border: 1px solid #f1b8bd;
    border-radius: 10px;
    color: #a51f2a;
    background: #fff5f6;
}

.register-error-summary > span {
    display: grid;
    width: 32px;
    height: 32px;
    place-items: center;
    border-radius: 8px;
    background: #fde4e6;
}

.register-error-summary svg {
    width: 18px;
    height: 18px;
}

.register-error-summary strong,
.register-error-summary small {
    display: block;
}

.register-error-summary strong {
    margin-bottom: 2px;
    font-size: 10px;
}

.register-error-summary small {
    color: #bd4750;
    font-size: 9px;
}

.existing-account-card {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    align-items: start;
    gap: 13px;
    margin-bottom: 18px;
    padding: 16px;
    border: 1px solid #a9d1f5;
    border-radius: 14px;
    color: #0a4f8d;
    background: linear-gradient(135deg, #f1f8ff, #f8fbff);
    box-shadow: 0 10px 24px rgba(13, 100, 182, .08);
}

.existing-account-icon {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border-radius: 11px;
    color: #0d64b6;
    background: #deefff;
}

.existing-account-icon svg {
    width: 23px;
    height: 23px;
}

.existing-account-copy strong {
    display: block;
    color: #073765;
    font-size: 13px;
}

.existing-account-copy p {
    margin: 4px 0 12px;
    color: #58718a;
    font-size: 10px;
    line-height: 1.5;
}

.existing-account-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.existing-account-actions form {
    margin: 0;
}

.existing-account-actions button,
.existing-account-actions a {
    display: inline-flex;
    min-height: 34px;
    align-items: center;
    justify-content: center;
    padding: 8px 13px;
    border: 1px solid #0d64b6;
    border-radius: 9px;
    color: #fff;
    background: #0d64b6;
    font: inherit;
    font-size: 9px;
    font-weight: 750;
    cursor: pointer;
}

.existing-account-actions a:hover,
.existing-account-actions button:hover {
    color: #fff;
    background: #084f91;
    text-decoration: none;
}

.existing-account-actions .is-secondary {
    color: #0d64b6;
    background: #fff;
}

.auth-shell-recovery {
    min-height: 600px;
    grid-template-columns: 48% 52%;
}

.auth-brand-recovery {
    padding: 42px;
}

.recovery-security-note {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-top: auto;
    padding: 16px;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 13px;
    background: rgba(255, 255, 255, .07);
}

.recovery-security-note > i {
    color: #cde7fb;
    font-size: 26px;
}

.recovery-security-note strong,
.recovery-security-note small {
    display: block;
}

.recovery-security-note strong {
    font-size: 11px;
}

.recovery-security-note small {
    margin-top: 3px;
    color: #bdd4e9;
    font-size: 9px;
    line-height: 1.45;
}

.recovery-status {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    margin-bottom: 20px;
    padding: 13px;
    border: 1px solid #acdcca;
    border-radius: 11px;
    color: #087555;
    background: #effbf7;
}

.recovery-status.is-danger {
    border-color: #f1b8bd;
    color: #a51f2a;
    background: #fff5f6;
}

.recovery-status > i {
    font-size: 21px;
}

.recovery-status strong,
.recovery-status span {
    display: block;
}

.recovery-status strong {
    font-size: 11px;
}

.recovery-status span {
    margin-top: 2px;
    font-size: 9px;
    line-height: 1.45;
}

.recovery-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 10px;
    margin-top: 22px;
    font-size: 10px;
    font-weight: 700;
}

.recovery-links a {
    color: var(--passerelle-blue);
}

@media (max-width: 760px) {
    .auth-shell-recovery {
        display: block;
        min-height: 0;
    }

    .auth-brand-recovery {
        display: none;
    }
}

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

.register-field-wide {
    grid-column: 1 / -1;
}

.register-form .form-field {
    min-width: 0;
    margin-bottom: 14px;
}

.register-form .field-help,
.register-form .field-error {
    font-size: 8px;
}

.access-choice-field {
    min-width: 0;
    margin: 1px 0 17px;
    padding: 0;
    border: 0;
}

.access-choice-field legend {
    display: block;
    width: 100%;
    margin-bottom: 8px;
    color: #12243a;
    font-size: 11px;
    font-weight: 750;
}

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

.campaign-choice-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.campaign-choice-content {
    min-height: 76px;
}

.campaign-choice-content strong {
    line-height: 1.35;
}

.access-choice {
    position: relative;
    min-width: 0;
    margin: 0;
    cursor: pointer;
}

.access-choice input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.access-choice-content {
    display: grid;
    min-height: 68px;
    grid-template-columns: 38px minmax(0, 1fr) 14px;
    align-items: center;
    gap: 10px;
    padding: 10px 11px;
    border: 1px solid #cbd7e4;
    border-radius: 10px;
    color: var(--passerelle-ink);
    background: #fbfcfe;
    transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.access-choice:hover .access-choice-content {
    border-color: #9fbfdf;
    background: #f6faff;
}

.access-choice-icon {
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border-radius: 9px;
    color: var(--passerelle-blue);
    background: #e7f2fd;
    font-size: 10px;
    font-weight: 800;
}

.campaign-choice-content {
    grid-template-columns: 108px minmax(0, 1fr) 14px;
}

.campaign-choice-content .access-choice-icon {
    width: 108px;
    height: auto;
    min-height: 38px;
    padding: 6px 8px;
    border-radius: 9px;
    line-height: 1.25;
    text-align: center;
}

.access-choice strong,
.access-choice small {
    display: block;
}

.access-choice strong {
    margin-bottom: 3px;
    font-size: 10px;
    font-weight: 750;
}

.access-choice small {
    color: #7b899a;
    font-size: 8px;
    line-height: 1.35;
}

.access-choice-content > i {
    position: relative;
    width: 14px;
    height: 14px;
    border: 1px solid #a6b5c6;
    border-radius: 50%;
    background: #fff;
}

.access-choice input:checked + .access-choice-content {
    border-color: var(--passerelle-blue);
    background: #f3f8fe;
    box-shadow: 0 0 0 3px rgba(13, 100, 182, .1);
}

.access-choice input:checked + .access-choice-content > i {
    border-color: var(--passerelle-blue);
    background: var(--passerelle-blue);
}

.access-choice input:checked + .access-choice-content > i::after {
    position: absolute;
    inset: 4px;
    border-radius: 50%;
    background: #fff;
    content: "";
}

.access-choice input:focus-visible + .access-choice-content {
    outline: 3px solid rgba(13, 100, 182, .2);
    outline-offset: 2px;
}

.access-choice-field.has-error .access-choice-content {
    border-color: #d8424d;
}

.register-submit-button {
    margin-top: 2px;
}

.login-button:disabled {
    box-shadow: none;
    cursor: not-allowed;
    opacity: .55;
    transform: none;
}

.register-no-campaign {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    align-items: center;
    gap: 10px;
    padding: 11px 12px;
    border: 1px solid #efd2ad;
    border-radius: 10px;
    color: #9d5b08;
    background: #fff9f1;
}

.register-no-campaign > span {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border-radius: 8px;
    background: #ffefd9;
}

.register-no-campaign svg {
    width: 19px;
    height: 19px;
}

.register-no-campaign strong,
.register-no-campaign small {
    display: block;
}

.register-no-campaign strong {
    margin-bottom: 2px;
    font-size: 10px;
}

.register-no-campaign small {
    color: #a6763c;
    font-size: 9px;
}

.register-login-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 18px;
    color: #7b899a;
    font-size: 10px;
}

.register-login-link a {
    color: var(--passerelle-blue);
    font-weight: 750;
}

.register-login-link a:hover {
    color: #084e91;
}

.register-auth-help {
    margin-top: 13px;
}

@media (max-width: 1020px) {
    .auth-shell-register {
        grid-template-columns: 40% 60%;
    }

    .auth-register-panel {
        padding: 34px 32px;
    }
}

@media (max-width: 860px) {
    .auth-shell-register {
        min-height: 0;
        grid-template-columns: 1fr;
    }

    .auth-brand-register {
        padding: 28px 32px;
    }

    .auth-brand-register .brand-content {
        display: grid;
        grid-template-columns: 160px minmax(0, 1fr);
        align-items: center;
        gap: 25px;
    }

    .auth-brand-register .brand-logo {
        min-height: 105px;
        margin: 0;
    }

    .auth-brand-register .register-brand-steps {
        display: none;
    }

    .auth-register-panel {
        padding: 34px 36px;
    }
}

@media (max-width: 620px) {
    .auth-brand-register .brand-content {
        display: block;
    }

    .auth-brand-register .brand-logo {
        min-height: 0;
        margin-bottom: 22px;
    }

    .auth-register-panel {
        padding: 30px 22px;
    }

    .register-form-grid,
    .access-choice-grid {
        grid-template-columns: 1fr;
    }

    .register-field-wide {
        grid-column: auto;
    }
}

/* Email verification */
.verification-shell {
    min-height: 650px;
    grid-template-columns: 48% 52%;
}

.verification-brand-note {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    align-items: center;
    gap: 11px;
    margin-top: 28px;
    padding: 13px;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 12px;
    background: rgba(255, 255, 255, .07);
}

.verification-brand-note > span {
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border-radius: 9px;
    color: #d8ebfb;
    background: rgba(255, 255, 255, .1);
}

.verification-brand-note svg {
    width: 21px;
    height: 21px;
}

.verification-brand-note strong,
.verification-brand-note small {
    display: block;
}

.verification-brand-note strong {
    margin-bottom: 3px;
    color: #fff;
    font-size: 10px;
}

.verification-brand-note small {
    color: #bdd4e9;
    font-size: 9px;
    line-height: 1.45;
}

.verification-panel {
    padding: 46px 54px;
}

.verification-content {
    max-width: 430px;
}

.verification-icon {
    display: grid;
    width: 58px;
    height: 58px;
    place-items: center;
    margin-bottom: 20px;
    border: 1px solid #bddaf4;
    border-radius: 16px;
    color: var(--passerelle-blue);
    background: #eef7ff;
    box-shadow: 0 10px 24px rgba(13, 100, 182, .11);
}

.verification-icon svg {
    width: 29px;
    height: 29px;
}

.verification-heading {
    margin-bottom: 17px;
}

.verification-email {
    display: grid;
    min-width: 0;
    grid-template-columns: 33px minmax(0, 1fr);
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    padding: 11px 13px;
    border: 1px solid #cfdeeb;
    border-radius: 10px;
    background: #f8fbfe;
}

.verification-email > span {
    display: grid;
    width: 33px;
    height: 33px;
    place-items: center;
    border-radius: 8px;
    color: var(--passerelle-blue);
    background: #e6f2fd;
    font-size: 13px;
    font-weight: 800;
}

.verification-email strong {
    overflow: hidden;
    color: var(--passerelle-ink);
    font-size: 11px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.verification-alert {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    padding: 11px 12px;
    border: 1px solid;
    border-radius: 10px;
    text-align: left;
}

.verification-alert > i {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border-radius: 8px;
    font-size: 19px;
}

.verification-alert strong,
.verification-alert span {
    display: block;
}

.verification-alert strong {
    margin-bottom: 2px;
    font-size: 10px;
}

.verification-alert span {
    font-size: 9px;
    line-height: 1.45;
}

.verification-alert.is-success {
    border-color: #bce4d3;
    color: #087552;
    background: #f1fbf6;
}

.verification-alert.is-success > i {
    background: #dff4e9;
}

.verification-alert.is-error {
    border-color: #f0c5c9;
    color: #a42732;
    background: #fff6f7;
}

.verification-alert.is-error > i {
    background: #fce4e6;
}

.verification-instructions {
    margin: 0 0 18px;
    color: #718096;
    font-size: 10px;
    line-height: 1.55;
}

.verification-logout {
    display: flex;
    width: 100%;
    height: 44px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 10px;
    border: 1px solid #cfdae6;
    border-radius: 10px;
    color: #657489;
    background: #fff;
    cursor: pointer;
    font-size: 10px;
    font-weight: 700;
}

.verification-logout:hover,
.verification-logout:focus-visible {
    border-color: #a9c8e7;
    color: var(--passerelle-blue);
    background: #f7fbff;
}

.verification-help {
    margin-top: 17px;
}

@media (max-width: 720px) {
    .verification-shell {
        min-height: 0;
        grid-template-columns: 1fr;
    }

    .verification-brand-note {
        display: none;
    }

    .verification-panel {
        padding: 38px 36px 32px;
    }
}

@media (max-width: 520px) {
    .verification-panel {
        padding: 32px 22px 28px;
    }

    .verification-content {
        max-width: none;
    }
}
