.login-next-page {
    --rams-next-color-background-canvas: #171f30;
    --rams-next-color-background-surface: #fff;
    --rams-next-color-background-interactive: #1bc5bd;
    --rams-next-color-text-primary: #30364b;
    --rams-next-color-text-secondary: #52596d;
    --rams-next-color-text-muted: #687086;
    --rams-next-color-text-link: #007a75;
    --rams-next-color-text-danger: #b42336;
    --rams-next-color-text-on-interactive: #131722;
    --rams-next-color-text-inverse: #fff;
    --rams-next-color-border-default: #e1e7ee;
    --rams-next-color-border-control: #687086;
    --rams-next-radius-control: 8px;
    margin: 0;
    min-width: 320px;
    color: var(--rams-next-color-text-primary);
    background: var(--rams-next-color-background-canvas);
    font-family: "Open Sans", "Segoe UI", sans-serif;
}

.login-next-page button,
.login-next-page input {
    font-family: inherit;
}

.login-next-page.is-modal-open {
    overflow: hidden;
}

.login-next {
    position: relative;
    min-height: max(780px, 100vh);
    min-height: max(780px, 100svh);
    overflow: hidden;
    isolation: isolate;
    background: var(--rams-next-color-background-canvas);
}

.login-next:has(.login-next__alert:not(.is-hidden)) {
    min-height: max(860px, 100vh);
    min-height: max(860px, 100svh);
}

.login-next__media,
.login-next__video,
.login-next__overlay,
.login-next__scene {
    position: absolute;
    inset: 0;
}

.login-next__media {
    overflow: hidden;
}

.login-next__video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.login-next__overlay {
    z-index: 1;
    background: linear-gradient(
        94.184916deg,
        rgba(18, 23, 38, 0.96) 5.814%,
        rgba(18, 23, 38, 0.82) 50%,
        rgba(18, 23, 38, 0.48) 82.558%,
        rgba(18, 23, 38, 0.68) 110.47%
    );
}

.login-next__glow {
    position: absolute;
    z-index: 2;
    top: 37.5%;
    left: -22.9167%;
    display: block;
    width: min(79.1667vw, 1140px);
    height: auto;
    pointer-events: none;
}

.login-next__scene {
    z-index: 3;
    min-height: inherit;
}

.login-next__brand {
    position: absolute;
    top: clamp(32px, 5vh, 48px);
    left: clamp(40px, 5vw, 72px);
    line-height: 0;
}

.login-next__brand-home {
    display: block;
    border-radius: 4px;
    text-decoration: none;
}

.login-next__brand-home:focus-visible {
    outline: 3px solid var(--rams-next-color-background-interactive, #1bc5bd);
    outline-offset: 4px;
}

.login-next__logo {
    display: block;
    width: 104px;
    height: 40px;
    object-fit: contain;
}

.login-next__marketing {
    position: absolute;
    top: clamp(220px, 32.0833vh, 308px);
    left: clamp(72px, 8.3333vw, 120px);
    display: flex;
    width: 520px;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    color: var(--rams-next-color-text-inverse);
}

.login-next__marketing-title {
    width: 520px;
    margin: 0;
    font-size: 40px;
    font-weight: 700;
    line-height: 48px;
    letter-spacing: -0.4px;
}

.login-next__marketing-copy {
    width: 500px;
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
}

.login-next__benefit {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    font-weight: 400;
    line-height: 22px;
    white-space: nowrap;
}

.login-next__benefit img {
    display: block;
    flex: 0 0 20px;
    width: 20px;
    height: 20px;
    filter: brightness(0) invert(1);
    transform: rotate(-180deg) scaleX(-1);
}

.login-next__card {
    position: absolute;
    top: clamp(64px, 12.0833vh, 116px);
    right: clamp(72px, 8.3333vw, 120px);
    display: flex;
    width: 488px;
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    padding: 48px;
    overflow: hidden;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 12px 24px -4px rgba(19, 23, 34, 0.16);
}

.login-next__header {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.login-next__title {
    margin: 0;
    color: var(--rams-next-color-text-primary);
    font-size: 32px;
    font-weight: 700;
    line-height: 40px;
    letter-spacing: -0.3px;
}

.login-next__subtitle {
    margin: 0;
    color: var(--rams-next-color-text-secondary);
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
}

.login-next__form,
.login-next__card-footer {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.login-next__field {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 6px;
}

.login-next__label {
    display: flex;
    align-items: flex-start;
    gap: 4px;
    color: var(--rams-next-color-text-primary);
    font-size: 12px;
    font-weight: 600;
    line-height: 18px;
    letter-spacing: 0.15px;
}

.login-next__label span {
    color: var(--rams-next-color-text-danger);
}

.login-next__input {
    display: block;
    width: 100%;
    height: 44px;
    min-height: 44px;
    padding: 0 12px;
    border: 1px solid var(--rams-next-color-border-control);
    border-radius: var(--rams-next-radius-control);
    outline: 0;
    color: var(--rams-next-color-text-primary);
    background: var(--rams-next-color-background-surface);
    font-size: 14px;
    font-weight: 400;
    line-height: 22px;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.login-next__input::placeholder {
    color: var(--rams-next-color-text-muted);
    opacity: 1;
}

.login-next__input:hover {
    border-color: var(--rams-next-color-text-secondary);
}

.login-next__input:focus {
    border-color: var(--rams-next-color-text-link);
    box-shadow: 0 0 0 3px rgba(0, 122, 117, 0.14);
}

.login-next__field-spacer {
    display: block;
    min-height: 20px;
    color: var(--rams-next-color-text-muted);
    font-size: 13px;
    font-weight: 400;
    line-height: 20px;
}

.login-next__password-control {
    position: relative;
}

.login-next__input--password {
    padding-right: 48px;
}

.login-next__password-toggle {
    position: absolute;
    top: 0;
    right: 0;
    display: inline-flex;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    border-radius: 0 var(--rams-next-radius-control) var(--rams-next-radius-control) 0;
    color: var(--rams-next-color-text-secondary);
    background: transparent;
    cursor: pointer;
}

.login-next__password-toggle:hover {
    color: var(--rams-next-color-text-link);
    background: rgba(0, 122, 117, 0.06);
}

.login-next__password-toggle:focus-visible {
    color: var(--rams-next-color-text-link);
    background: rgba(0, 122, 117, 0.08);
    outline: 3px solid var(--rams-next-color-text-link);
    outline-offset: -3px;
}

.login-next__password-toggle img {
    display: block;
    width: 20px;
    height: 12.8571px;
    transform: rotate(180deg);
}

.login-next__password-toggle i {
    width: 20px;
    height: 20px;
    font-size: 18px;
    line-height: 20px;
}

.login-next__password-toggle [hidden],
.login-next__video-control [hidden] {
    display: none;
}

.login-next__recovery {
    display: flex;
    min-height: 22px;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.login-next__remember {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--rams-next-color-text-secondary);
    cursor: pointer;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
}

.login-next__remember-input {
    width: 16px;
    height: 16px;
    margin: 0;
    accent-color: var(--rams-next-color-text-link);
    cursor: pointer;
}

.login-next__remember-input:focus-visible {
    outline: 2px solid var(--rams-next-color-text-link);
    outline-offset: 2px;
}

.login-next__link,
.login-next__support {
    color: var(--rams-next-color-text-link);
    text-decoration: none;
}

.login-next__link {
    font-size: 14px;
    font-weight: 600;
    line-height: 20px;
    letter-spacing: 0.1px;
}

.login-next__link:hover,
.login-next__support:hover,
.login-next__link:focus-visible,
.login-next__support:focus-visible {
    color: #005f5b;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.login-next__alert {
    margin: 0;
    padding: 10px 12px;
    border: 1px solid rgba(180, 35, 54, 0.32);
    border-radius: var(--rams-next-radius-control);
    color: var(--rams-next-color-text-danger);
    background: rgba(180, 35, 54, 0.08);
    font-size: 13px;
    line-height: 20px;
}

.login-next__alert.is-hidden {
    display: none;
}

.login-next__alert--success {
    border-color: rgba(0, 126, 119, 0.32);
    color: #005f5b;
    background: rgba(27, 197, 189, 0.1);
}

.login-next__submit {
    display: inline-flex;
    width: 100%;
    height: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
    border: 0;
    border-radius: var(--rams-next-radius-control);
    color: var(--rams-next-color-text-on-interactive);
    background: var(--rams-next-color-background-interactive);
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    line-height: 20px;
    letter-spacing: 0.1px;
    transition: background-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.login-next__submit:hover {
    background: #14b7b0;
}

.login-next__submit:active {
    transform: translateY(1px);
}

.login-next__submit:focus-visible {
    outline: 0;
    box-shadow: 0 0 0 3px rgba(0, 122, 117, 0.22);
}

.login-next__submit:disabled,
.login-next__submit[aria-disabled="true"] {
    cursor: wait;
    opacity: 0.66;
}

.login-next__divider {
    display: flex;
    width: 100%;
    height: 18px;
    align-items: center;
    gap: 12px;
}

.login-next__divider span {
    height: 1px;
    flex: 1 1 auto;
    background: var(--rams-next-color-border-default);
}

.login-next__divider strong {
    flex: 0 0 auto;
    color: var(--rams-next-color-text-secondary);
    font-size: 11px;
    font-weight: 600;
    line-height: 16px;
    letter-spacing: 0.2px;
}

.login-next__signup {
    display: flex;
    min-height: 22px;
    align-items: flex-start;
    justify-content: center;
    gap: 6px;
    margin: 0;
    color: var(--rams-next-color-text-primary);
    font-size: 14px;
    font-weight: 400;
    line-height: 22px;
    white-space: nowrap;
}

.login-next__support {
    display: block;
    min-height: 18px;
    text-align: center;
    font-size: 12px;
    font-weight: 400;
    line-height: 18px;
    letter-spacing: 0.1px;
}

.login-next__footer {
    position: absolute;
    right: clamp(40px, 5vw, 72px);
    bottom: 24px;
    left: clamp(40px, 5vw, 72px);
    display: flex;
    min-height: 52px;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.login-next__video-control {
    display: inline-flex;
    flex: 0 0 auto;
    min-height: 40px;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border: 0;
    border-radius: 999px;
    color: var(--rams-next-color-text-inverse);
    background: rgba(8, 13, 20, 0.66);
    cursor: pointer;
    font-size: 12px;
    font-weight: 600;
    line-height: 18px;
    letter-spacing: 0.15px;
    transition: background-color 0.15s ease, box-shadow 0.15s ease;
}

.login-next__video-control:hover {
    background: rgba(8, 13, 20, 0.82);
}

.login-next__video-control:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 3px;
    box-shadow: 0 0 0 5px rgba(8, 13, 20, 0.72);
}

.login-next__video-control img,
.login-next__video-control i {
    display: block;
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
}

.login-next__video-control i {
    font-size: 20px;
    line-height: 20px;
}

.login-next__footer-links {
    display: flex;
    min-width: 0;
    align-items: center;
    justify-content: flex-end;
    gap: 32px;
}

.login-next__social,
.login-next__legal {
    display: flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
    line-height: 18px;
    letter-spacing: 0.15px;
}

.login-next__social {
    gap: 16px;
}

.login-next__legal {
    gap: 24px;
}

.login-next__social a,
.login-next__legal a {
    display: inline-flex;
    min-width: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    gap: 6px;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
}

.login-next__social i {
    display: none;
}

.login-next__social a:hover,
.login-next__social a:focus-visible,
.login-next__legal a:hover,
.login-next__legal a:focus-visible {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.login-next__social a:focus-visible,
.login-next__legal a:focus-visible {
    border-radius: 4px;
    outline: 2px solid #fff;
    outline-offset: 3px;
}

.login-next-page .auth-modal-backdrop {
    background: rgba(18, 23, 38, 0.72);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.login-next-page .auth-modal {
    color: var(--rams-next-color-text-primary);
    border: 0;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.99);
    box-shadow: 0 12px 24px -4px rgba(19, 23, 34, 0.24);
}

.login-next-page .auth-modal-header h2 {
    color: var(--rams-next-color-text-primary);
    font-family: "Open Sans", "Segoe UI", sans-serif;
}

.login-next-page .auth-modal-close {
    color: var(--rams-next-color-text-secondary);
}

.login-next-page .auth-modal-close:hover,
.login-next-page .auth-modal-close:focus-visible {
    color: var(--rams-next-color-text-primary);
    background: rgba(0, 122, 117, 0.08);
}

.login-next-page .auth-modal-close:focus-visible,
.login-next-page .auth-account-option:focus-visible {
    outline: 3px solid var(--rams-next-color-text-link);
    outline-offset: 2px;
}

.login-next-page .auth-modal-question {
    color: var(--rams-next-color-text-secondary);
}

.login-next-page .auth-account-option {
    color: var(--rams-next-color-text-primary);
    border-color: var(--rams-next-color-border-default);
    background: #fff;
}

.login-next-page .auth-account-option:hover,
.login-next-page .auth-account-option:focus-visible {
    border-color: var(--rams-next-color-text-link);
    background: rgba(0, 122, 117, 0.06);
}

.login-next-page .auth-account-icon {
    color: var(--rams-next-color-text-link);
    background: rgba(0, 122, 117, 0.1);
}

.login-next-page .auth-modal-warning {
    color: var(--rams-next-color-text-danger);
}

@media (max-width: 1210px) {
    .login-next__marketing {
        display: none;
    }

    .login-next__card {
        right: auto;
        left: 50%;
        transform: translateX(-50%);
    }
}

@media (max-width: 700px) {
    .login-next {
        min-height: max(860px, 100vh);
        min-height: max(860px, 100svh);
        overflow-y: auto;
    }

    .login-next:has(.login-next__alert:not(.is-hidden)) {
        min-height: max(920px, 100vh);
        min-height: max(920px, 100svh);
    }

    .login-next__brand {
        top: 24px;
        left: 24px;
    }

    .login-next__card {
        top: 88px;
        width: min(488px, calc(100% - 32px));
        padding: 32px;
        border-radius: 16px;
    }

    .login-next__footer {
        right: max(20px, env(safe-area-inset-right));
        bottom: max(16px, env(safe-area-inset-bottom));
        left: max(20px, env(safe-area-inset-left));
        align-items: flex-end;
        gap: 16px;
    }

    .login-next__video-control span {
        display: none;
    }

    .login-next__video-control {
        width: 44px;
        min-height: 44px;
        justify-content: center;
        padding: 12px;
    }

    .login-next__footer-links {
        flex-direction: column;
        align-items: flex-end;
        gap: 0;
    }

    .login-next__social,
    .login-next__legal {
        gap: 4px;
    }

    .login-next__social a {
        width: 44px;
        padding: 0;
    }

    .login-next__social i {
        display: block;
        font-size: 18px;
        line-height: 1;
    }

    .login-next__social span {
        position: absolute;
        width: 1px;
        height: 1px;
        padding: 0;
        margin: -1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
        border: 0;
    }
}

@media (max-width: 480px) {
    .login-next {
        min-height: max(860px, 100vh);
        min-height: max(860px, 100svh);
    }

    .login-next__logo {
        width: 91px;
        height: 35px;
    }

    .login-next__card {
        top: 76px;
        padding: 24px;
    }

    .login-next__title {
        font-size: 28px;
        line-height: 36px;
    }

    .login-next__field-spacer {
        min-height: 12px;
        line-height: 12px;
    }

}

@media (prefers-reduced-motion: reduce) {
    .login-next__input,
    .login-next__submit,
    .login-next__video-control {
        transition: none;
    }
}

/* ==========================================================================
   Password reset

   Recovery-only composition layer. The shared login-next shell remains the
   source of truth for media, brand, marketing and footer primitives.
   ========================================================================== */

.password-reset-next-page {
    --password-reset-background-info: #e1f0ff;
    --password-reset-background-success: #e8f8f0;
    --password-reset-background-warning: #fff6d8;
    --password-reset-background-danger: #ffe9ec;
    --password-reset-border-info: #3699ff;
    --password-reset-border-success: #2bae66;
    --password-reset-border-warning: #f4b400;
    --password-reset-border-danger: #f64e60;
    --password-reset-text-info: #1769aa;
    --password-reset-text-success: #167a45;
    --password-reset-text-warning: #9a6700;
    --password-reset-text-danger: #b42336;
    min-width: 320px;
}

.password-reset-next,
.password-reset-next *,
.password-reset-next *::before,
.password-reset-next *::after {
    box-sizing: border-box;
}

.password-reset-next,
.password-reset-next-page .login-next.password-reset-next {
    min-height: max(960px, 100vh);
    min-height: max(960px, 100svh);
    overflow-x: hidden;
    overflow-y: auto;
}

.password-reset-next-page .password-reset-next .login-next__card.password-reset-next__card {
    top: clamp(64px, 12.0833vh, 116px);
    right: clamp(72px, 8.3333vw, 120px);
    left: auto;
    display: flex;
    width: 488px;
    height: auto;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 48px;
    overflow: hidden;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 12px 24px -4px rgba(19, 23, 34, 0.16);
    transform: none;
}

.password-reset-next-page .password-reset-next__card--request {
    min-height: 406px;
}

.password-reset-next-page .password-reset-next__card--email-sent {
    min-height: 492px;
}

.password-reset-next-page .password-reset-next__card--new-password {
    min-height: 594px;
}

.password-reset-next-page .password-reset-next__card--new-password.has-error,
.password-reset-next-page .password-reset-next__card--new-password:has(.password-reset-next__field.has-error) {
    min-height: 614px;
}

.password-reset-next-page .password-reset-next__card--new-password.is-updating,
.password-reset-next-page .password-reset-next.is-updating .password-reset-next__card--new-password,
.password-reset-next-page .password-reset-next__card--new-password:has(.password-reset-next__form[aria-busy="true"]) {
    min-height: 630px;
}

.password-reset-next-page .password-reset-next__card--complete {
    min-height: 468px;
}

.password-reset-next-page .password-reset-next__card--invalid {
    min-height: 532px;
}

.password-reset-next-page .password-reset-next__card--service-error {
    min-height: 506px;
}

.password-reset-next-page .password-reset-next__card .login-next__header,
.password-reset-next-page .password-reset-next__card .login-next__title,
.password-reset-next-page .password-reset-next__card .login-next__subtitle {
    width: 100%;
}

.password-reset-next-page .password-reset-next__form {
    display: flex;
    width: 100%;
    min-width: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
}

.password-reset-next-page .password-reset-next__field {
    display: flex;
    width: 100%;
    min-width: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
}

.password-reset-next-page .password-reset-next__control {
    position: relative;
    width: 100%;
}

.password-reset-next-page .password-reset-next__control:not(.login-next__password-control) .login-next__input {
    padding-right: 44px;
}

.password-reset-next-page .password-reset-next__validation-icon {
    position: absolute;
    top: 50%;
    right: 12px;
    display: none;
    width: 20px;
    height: 20px;
    object-fit: contain;
    object-position: center top;
    pointer-events: none;
    transform: translateY(-50%);
}

.password-reset-next-page .password-reset-next__field.has-error .password-reset-next__control:not(.login-next__password-control) .password-reset-next__validation-icon,
.password-reset-next-page .password-reset-next__field[data-state="error"] .password-reset-next__control:not(.login-next__password-control) .password-reset-next__validation-icon,
.password-reset-next-page .password-reset-next__field:has(.login-next__input.input-validation-error) .password-reset-next__control:not(.login-next__password-control) .password-reset-next__validation-icon {
    display: block;
}

.password-reset-next-page .password-reset-next__helper,
.password-reset-next-page .password-reset-next .login-next__field-spacer {
    display: block;
    width: min(220px, 100%);
    min-height: 20px;
    margin: 0;
    color: var(--rams-next-color-text-muted);
    font-size: 13px;
    font-weight: 400;
    line-height: 20px;
}

.password-reset-next-page .password-reset-next__helper:empty::before {
    content: "\00a0";
}

.password-reset-next-page .password-reset-next__helper[hidden] {
    display: none;
}

.password-reset-next-page .password-reset-next__field:has(> .password-reset-next__helper[hidden])::after {
    display: block;
    width: 100%;
    height: 20px;
    flex: 0 0 20px;
    content: "";
}

.password-reset-next-page .password-reset-next__field.has-error .login-next__input,
.password-reset-next-page .password-reset-next__field[data-state="error"] .login-next__input,
.password-reset-next-page .password-reset-next__field .login-next__input.has-error,
.password-reset-next-page .password-reset-next__field .login-next__input.input-validation-error,
.password-reset-next-page .password-reset-next__field .login-next__input[aria-invalid="true"] {
    border: 2px solid var(--password-reset-border-danger);
}

.password-reset-next-page .password-reset-next__field.has-error .password-reset-next__helper,
.password-reset-next-page .password-reset-next__field[data-state="error"] .password-reset-next__helper,
.password-reset-next-page .password-reset-next__field .login-next__input.has-error ~ .password-reset-next__helper,
.password-reset-next-page .password-reset-next__field .login-next__input[aria-invalid="true"] ~ .password-reset-next__helper {
    color: var(--password-reset-text-danger);
}

.password-reset-next-page .password-reset-next__field.has-error .login-next__input:focus,
.password-reset-next-page .password-reset-next__field[data-state="error"] .login-next__input:focus,
.password-reset-next-page .password-reset-next__field .login-next__input.has-error:focus,
.password-reset-next-page .password-reset-next__field .login-next__input.input-validation-error:focus,
.password-reset-next-page .password-reset-next__field .login-next__input[aria-invalid="true"]:focus {
    border-color: var(--password-reset-border-danger);
    box-shadow: 0 0 0 3px rgba(246, 78, 96, 0.18);
}

.password-reset-next-page .password-reset-next__requirements {
    display: flex;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 12px 16px;
    overflow: hidden;
    border-radius: 10px;
    background: var(--rams-next-color-background-surface);
}

.password-reset-next-page .password-reset-next__requirements > * {
    width: 100%;
    margin: 0;
}

.password-reset-next-page .password-reset-next__requirements > :first-child {
    color: var(--rams-next-color-text-primary);
    font-size: 12px;
    font-weight: 600;
    line-height: 18px;
    letter-spacing: 0.15px;
}

.password-reset-next-page .password-reset-next__requirements > :not(:first-child) {
    color: var(--rams-next-color-text-secondary);
    font-size: 13px;
    font-weight: 400;
    line-height: 20px;
}

.password-reset-next-page .password-reset-next__button {
    display: inline-flex;
    width: 100%;
    height: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 20px;
    border: 0;
    border-radius: 8px;
    color: var(--rams-next-color-text-on-interactive);
    background: var(--rams-next-color-background-interactive);
    cursor: pointer;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    line-height: 20px;
    letter-spacing: 0.1px;
    text-align: center;
    text-decoration: none;
    transition: background-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.password-reset-next-page .password-reset-next__button:hover {
    color: var(--rams-next-color-text-on-interactive);
    background: #18b8b0;
    text-decoration: none;
}

.password-reset-next-page .password-reset-next__button:active {
    transform: translateY(1px);
}

.password-reset-next-page .password-reset-next__button:focus-visible {
    outline: 3px solid var(--rams-next-color-text-link);
    outline-offset: 3px;
    box-shadow: 0 0 0 2px #fff;
}

.password-reset-next-page .password-reset-next__button:disabled,
.password-reset-next-page .password-reset-next__button[aria-disabled="true"] {
    cursor: not-allowed;
    opacity: 0.66;
}

.password-reset-next-page .password-reset-next__button.is-updating,
.password-reset-next-page .password-reset-next.is-updating .password-reset-next__button,
.password-reset-next-page .password-reset-next__button[aria-busy="true"] {
    cursor: wait;
    opacity: 1;
}

.password-reset-next-page .password-reset-next__button--secondary {
    border: 1px solid var(--rams-next-color-border-control);
    color: var(--rams-next-color-text-primary);
    background: var(--rams-next-color-background-surface);
}

.password-reset-next-page .password-reset-next__button--secondary:hover {
    border-color: var(--rams-next-color-text-link);
    color: var(--rams-next-color-text-primary);
    background: rgba(0, 122, 117, 0.06);
}

.password-reset-next-page .password-reset-next__link {
    position: relative;
    display: inline-flex;
    width: 100%;
    min-width: 0;
    min-height: 20px;
    align-items: center;
    align-self: center;
    justify-content: center;
    gap: 8px;
    color: var(--rams-next-color-text-link);
    font-size: 12px;
    font-weight: 600;
    line-height: 18px;
    letter-spacing: 0.15px;
    text-align: center;
    text-decoration: none;
}

.password-reset-next-page .password-reset-next__link::before {
    position: absolute;
    inset: -12px -8px;
    border-radius: 8px;
    content: "";
}

.password-reset-next-page .password-reset-next__link:hover {
    color: #00625e;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.password-reset-next-page .password-reset-next__link:focus-visible {
    border-radius: 4px;
    outline: 3px solid var(--rams-next-color-text-link);
    outline-offset: 4px;
}

.password-reset-next-page .password-reset-next__link-icon {
    display: block;
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    object-fit: contain;
}

.password-reset-next-page .password-reset-next__link-icon[src$="password-reset-chevron-left.svg"] {
    padding: 0.26px 3.48px 1.55px 4.12px;
}

.password-reset-next-page .password-reset-next__status {
    display: inline-flex;
    width: 56px;
    height: 56px;
    flex: 0 0 56px;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 50%;
}

.password-reset-next-page .password-reset-next__status > img {
    display: block;
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.password-reset-next-page .password-reset-next__status--info {
    background: var(--password-reset-background-info);
}

.password-reset-next-page .password-reset-next__status--success {
    background: var(--password-reset-background-success);
}

.password-reset-next-page .password-reset-next__status--warning {
    background: var(--password-reset-background-warning);
}

.password-reset-next-page .password-reset-next__status--danger {
    background: var(--password-reset-background-danger);
}

.password-reset-next-page .password-reset-next__feedback {
    --password-reset-feedback-background: var(--password-reset-background-info);
    --password-reset-feedback-border: var(--password-reset-border-info);
    --password-reset-feedback-foreground: var(--password-reset-text-info);
    display: flex;
    width: 100%;
    min-width: 0;
    min-height: 84px;
    align-items: center;
    gap: 8px;
    padding: 9px 12px 9px 16px;
    border: 1px solid var(--password-reset-feedback-border);
    border-radius: 12px;
    color: var(--password-reset-feedback-foreground);
    background: var(--password-reset-feedback-background);
}

.password-reset-next-page .password-reset-next__feedback--info {
    --password-reset-feedback-background: var(--password-reset-background-info);
    --password-reset-feedback-border: var(--password-reset-border-info);
    --password-reset-feedback-foreground: var(--password-reset-text-info);
}

.password-reset-next-page .password-reset-next__feedback--success {
    --password-reset-feedback-background: var(--password-reset-background-success);
    --password-reset-feedback-border: var(--password-reset-border-success);
    --password-reset-feedback-foreground: var(--password-reset-text-success);
}

.password-reset-next-page .password-reset-next__feedback--warning {
    --password-reset-feedback-background: var(--password-reset-background-warning);
    --password-reset-feedback-border: var(--password-reset-border-warning);
    --password-reset-feedback-foreground: var(--password-reset-text-warning);
}

.password-reset-next-page .password-reset-next__feedback--danger {
    --password-reset-feedback-background: var(--password-reset-background-danger);
    --password-reset-feedback-border: var(--password-reset-border-danger);
    --password-reset-feedback-foreground: var(--password-reset-text-danger);
}

.password-reset-next-page .password-reset-next__feedback-rail {
    width: 4px;
    height: 48px;
    flex: 0 0 4px;
    border-radius: 2px;
    background: var(--password-reset-feedback-foreground);
}

.password-reset-next-page .password-reset-next__feedback-icon {
    display: inline-flex;
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 50%;
    background: var(--password-reset-feedback-background);
}

.password-reset-next-page .password-reset-next__feedback-icon > img {
    display: block;
    width: 22px;
    height: 22px;
    object-fit: contain;
}

.password-reset-next-page .password-reset-next__feedback-copy {
    display: flex;
    min-width: 0;
    flex: 1 1 auto;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    overflow-wrap: anywhere;
}

.password-reset-next-page .password-reset-next__feedback-title,
.password-reset-next-page .password-reset-next__feedback-message {
    width: 100%;
    margin: 0;
    color: inherit;
}

.password-reset-next-page .password-reset-next__feedback-title {
    font-size: 16px;
    font-weight: 600;
    line-height: 22px;
}

.password-reset-next-page .password-reset-next__feedback-message {
    font-size: 13px;
    font-weight: 400;
    line-height: 20px;
}

.password-reset-next-page .password-reset-next__spinner {
    display: block;
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
    padding: 0 0.714px 0.714px;
    object-fit: contain;
    transform-origin: center;
    animation: password-reset-next-spin 0.8s linear infinite;
}

.password-reset-next-page .password-reset-next__spinner[hidden] {
    display: none;
}

.password-reset-next-page .password-reset-next__updating-status {
    width: 100%;
    min-height: 20px;
    margin: 0;
    color: var(--rams-next-color-text-secondary);
    font-size: 13px;
    font-weight: 400;
    line-height: 20px;
    text-align: left;
}

.password-reset-next-page .password-reset-next.is-updating .login-next__label,
.password-reset-next-page .password-reset-next.is-updating .login-next__label span,
.password-reset-next-page .password-reset-next__card.is-updating .login-next__label,
.password-reset-next-page .password-reset-next__card.is-updating .login-next__label span,
.password-reset-next-page .password-reset-next__form[aria-busy="true"] .login-next__label,
.password-reset-next-page .password-reset-next__form[aria-busy="true"] .login-next__label span {
    color: var(--rams-next-color-text-secondary);
}

.password-reset-next-page .password-reset-next.is-updating .login-next__input,
.password-reset-next-page .password-reset-next__card.is-updating .login-next__input,
.password-reset-next-page .password-reset-next__form[aria-busy="true"] .login-next__input {
    border-color: #e1e7ee;
    color: var(--rams-next-color-text-secondary);
    background: #eef1f5;
}

.password-reset-next-page .password-reset-next.is-updating .login-next__input::placeholder,
.password-reset-next-page .password-reset-next__card.is-updating .login-next__input::placeholder,
.password-reset-next-page .password-reset-next__form[aria-busy="true"] .login-next__input::placeholder {
    color: var(--rams-next-color-text-secondary);
    opacity: 1;
}

.password-reset-next-page .password-reset-next.is-updating .login-next__password-toggle,
.password-reset-next-page .password-reset-next__card.is-updating .login-next__password-toggle,
.password-reset-next-page .password-reset-next__form[aria-busy="true"] .login-next__password-toggle {
    cursor: default;
    background: transparent;
}

.password-reset-next-page .password-reset-next.is-updating .login-next__password-toggle img,
.password-reset-next-page .password-reset-next__card.is-updating .login-next__password-toggle img,
.password-reset-next-page .password-reset-next__form[aria-busy="true"] .login-next__password-toggle img {
    transform: rotate(-90deg);
}

@keyframes password-reset-next-spin {
    to {
        transform: rotate(360deg);
    }
}

@media (max-width: 1210px) {
    .password-reset-next-page .password-reset-next .login-next__card.password-reset-next__card {
        right: auto;
        left: 50%;
        transform: translateX(-50%);
    }
}

@media (max-width: 700px) {
    .password-reset-next-page .password-reset-next .login-next__scene {
        position: relative;
        inset: auto;
        min-height: inherit;
        padding: 88px 16px 104px;
    }

    .password-reset-next-page .password-reset-next .login-next__card.password-reset-next__card {
        position: relative;
        top: auto;
        right: auto;
        left: auto;
        width: min(488px, 100%);
        margin: 0 auto;
        padding: 32px;
        border-radius: 20px;
        transform: none;
    }
}

@media (max-width: 480px) {
    .password-reset-next,
    .password-reset-next-page .login-next.password-reset-next {
        min-height: max(844px, 100vh);
        min-height: max(844px, 100svh);
    }

    .password-reset-next-page .password-reset-next .login-next__scene {
        min-height: inherit;
        padding: 104px 24px 88px;
    }

    .password-reset-next-page .password-reset-next .login-next__overlay {
        background: linear-gradient(
            91.291271deg,
            rgba(18, 23, 38, 0.96) 5.814%,
            rgba(18, 23, 38, 0.82) 50%,
            rgba(18, 23, 38, 0.48) 82.558%,
            rgba(18, 23, 38, 0.68) 110.47%
        );
    }

    .password-reset-next-page .password-reset-next .login-next__glow {
        top: 380px;
        left: -300px;
        width: 840px;
        height: 670px;
        max-width: none;
    }

    .password-reset-next-page .password-reset-next .login-next__brand {
        top: 24px;
        left: 24px;
    }

    .password-reset-next-page .password-reset-next .login-next__logo {
        width: 104px;
        height: 40px;
    }

    .password-reset-next-page .password-reset-next .login-next__card.password-reset-next__card {
        width: 100%;
        gap: 14px;
        padding: 24px;
        border-radius: 20px;
    }

    .password-reset-next-page .password-reset-next__card--request {
        min-height: 414px;
    }

    .password-reset-next-page .password-reset-next__card--email-sent {
        min-height: 458px;
    }

    .password-reset-next-page .password-reset-next__card--complete,
    .password-reset-next-page .password-reset-next__card--invalid {
        min-height: 0;
    }

    .password-reset-next-page .password-reset-next__card .login-next__title {
        font-size: 32px;
        line-height: 40px;
        letter-spacing: -0.3px;
    }

    .password-reset-next-page .password-reset-next__form {
        gap: 14px;
    }

    .password-reset-next-page .password-reset-next__helper,
    .password-reset-next-page .password-reset-next .login-next__field-spacer {
        min-height: 20px;
        line-height: 20px;
    }

    .password-reset-next-page .password-reset-next .login-next__footer {
        right: 24px;
        bottom: 16px;
        left: 24px;
        height: 40px;
        min-height: 40px;
        align-items: center;
        justify-content: flex-start;
    }

    .password-reset-next-page .password-reset-next .login-next__footer-links {
        display: none;
    }

    .password-reset-next-page .password-reset-next .login-next__video-control {
        width: auto;
        height: 40px;
        min-height: 40px;
        justify-content: center;
        gap: 8px;
        padding: 10px 14px;
    }

    .password-reset-next-page .password-reset-next .login-next__video-control span {
        display: inline;
    }
}

@media (prefers-reduced-motion: reduce) {
    .password-reset-next-page .password-reset-next__button {
        transition: none;
    }

    .password-reset-next-page .password-reset-next__spinner {
        animation: none;
    }
}
