* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Ensure the label has a border by default (even if transparent) and a smooth transition */
.form-label {
    border: 1px solid transparent;
    transition: border-color 0.3s, color 0.3s;
}

/* Optionally add a transition to the input border as well */
.input-default {
    transition: border-color 0.3s;
}

/* When any element within .relative (like the input) is focused */
.relative:focus-within .input-default {
    border: 1.5px solid var(--black);
}

.relative:focus-within .form-label {
    color: var(--black);
}


.relative {
    position: relative;
}

.font-weight-bold {
    font-weight: 700;
}

.layout {
    min-height: 100vh;
    width: 100%;
    display: flex;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem;
    position: absolute;
    width: 100%;
}

.logo-container svg {
    height: 100%;
    width: 21.68rem;
}

.highlight {
    font-weight: 700;
    font-size: var(--font-size-23);
    line-height: 2.4rem;
    color: var(--color-brand);
}

.btn-groups {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.6rem;
}

.signin-btn,
.signup-btn {
    height: 3.8rem;
    padding: 0.6rem 1.6rem;
    cursor: pointer;
    background-color: transparent;
    border: 0.1rem solid var(--dark-gray);
    font-size: var(--font-size-17);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 0.6rem;
    color: var(--black);
}

.signin-btn:hover {
    border: 0.1rem solid var(--black);
    font-weight: 500;
}

.signup-btn:hover {
    border: 0.1rem solid var(--black);
    font-weight: 500;
}

.language-dropdown-container {
    position: relative;
}

.language-dropdown-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 3.8rem;
    padding: 0.6rem 1.4rem;
    font-size: var(--font-size-17);
    cursor: pointer;
    background-color: transparent;
    border: 0.1rem solid var(--dark-gray);
    border-radius: 0.6rem;
    gap: 1rem;
    color: var(--black);
}

.language-dropdown-btn p {
    margin: 0;
    padding: 0;
}

.language-dropdown-btn span {
    color: var(--black);
}

.language-dropdown-btn svg {
    transition: transform 0.3s ease;
}

.language-dropdown {
    position: absolute;
    top: 4rem;
    left: 0;
    width: 100%;
    border: 0.1rem solid var(--dark-gray);
    border-radius: 0.6rem;
    overflow: hidden;
    background-color: var(--white);
    display: flex;
    flex-direction: column;
    list-style: none;
    max-height: 0;
    opacity: 0;
    transition: max-height 0.3s ease, opacity 0.3s ease;
}

.language-dropdown-container:hover .language-dropdown {
    max-height: 50rem;
    opacity: 1;
}

.language-dropdown-container:hover .language-dropdown-btn svg {
    transform: rotate(180deg);
}

.language-dropdown button {
    padding: 0.5rem;
    cursor: pointer;
    background-color: var(--white);
    border: none;
    font-size: var(--font-size-15);
}

.language-dropdown button:hover {
    background-color: var(--gray);
}

.side-container {
    max-width: 52.9rem;
    width: 36vw;
    min-height: 100vh;
    border-right: 0.3rem solid var(--color-border-light);
    padding: 0 3rem;
    display: flex;
    justify-content: center;
    flex-direction: column;
    gap: 2.8rem;
}

.side-container-heading {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;

}

.side-container ul {
    list-style: none;
}

.side-container ul li {
    margin-bottom: 0.8rem;
}

.side-container p {
    font-weight: 500;
    font-size: var(--font-size-15);
    line-height: 2.4rem;
    color: var(--black);
    margin-bottom: 0;
}

.features p {
    font-weight: 400;
}

.main-container {
    width: 100%;
    min-height: 100vh;
}

.features {
    display: flex;
    gap: 1rem;
    font-weight: 400;
    font-size: var(--font-size-17);
    line-height: 2.4rem;

}

.top-features {
    display: flex;
    justify-content: start;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.feature-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: var(--font-size-15);
    font-weight: 400;
    min-width: 8rem;
    line-height: 2.4rem;
    width: 7.2rem;
    height: 7.2rem;
    gap: 0.8rem;
}

.feature-content img {
    width: 100%;
    height: 100%;
    max-width: 4.2rem;
    max-height: 4.2rem;
}

.main-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.form-container {
    max-width: 40rem;
    width: 100%;
}

.form-container h1 {
    font-weight: 700;
    font-size: var(--font-size-35);
    line-height: 4.2rem;

    margin-bottom: 1.2rem;
}

.form-container p {
    font-weight: 500;
    font-size: var(--font-size-17);
    line-height: 2.6rem;
    color: var(--black);
    margin-bottom: 0;
}

.signup-form {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 2rem;
    margin-top: 2.6rem;
}

.form-input-container {
    width: 100%;
}

.form-label {
    color: var(--color-text-secondary);
    position: absolute;
    top: -1.2rem;
    left: 1rem;
    padding: 0 0.3rem;
    font-size: var(--font-size-15);
    background-color: var(--white);
    margin-bottom: 0 !important;
    font-weight: 500;
}

.form-input-container input {
    border-radius: 1rem;
    height: 5.2rem;
    padding: 0 1.4rem;
    font-size: var(--font-size-17);
    line-height: 2.4rem;
    font-weight: 500;
    width: 100%;
}

.input-default {
    border: 0.15rem solid var(--dark-gray);
}

.checkbox {
    width: 1.8rem;
    height: 1.8rem;
    overflow: hidden
}

.label-error {
    color: var(--red);
}

.stay-sign-in {
    margin-bottom: 0;
}

.input-error {
    border: 0.15rem solid var(--red);
}

.error-msg,
.error-msg-password,
.error-msg-name {
    color: var(--red);
    font-weight: 500;
    font-size: var(--font-size-15);
    line-height: 2.4rem;
    width: 100%;
    margin-top: 1rem;
    display: block;
}

.show-password {
    position: absolute;
    top: 55%;
    right: 1.8rem;
    transform: translateY(-50%);
}

.show-password svg {
    width: 2.4rem;
    height: 2.4rem;
}

.password-parameters {
    position: absolute;
    right: -29rem;
    bottom: 0;
    padding: 2rem;
    background-color: var(--white);
    box-shadow: 0 12px 68.6px 0px rgb(from var(--color-text-primary) r g b / 13%);
    border-radius: 0.6rem;
    box-shadow: 0 12px 68.6px 0px rgb(from var(--color-text-primary) r g b / 13%);
}

.form-input-container:focus-within .password-parameters {
    display: block;
}

.password-parameters::after {
    content: "";
    width: 2rem;
    height: 2rem;
    background-color: var(--white);
    position: absolute;
    top: 90%;
    left: -3%;
    transform: translateY(-50%) rotate(45deg);
}

.password-parameters p {
    margin-bottom: 1.2rem;
    font-size: var(--font-size-15);
    line-height: 2.4rem;
    font-weight: 500;
}

.password-parameters ul {
    list-style: none;
}

.password-parameters ul li {
    margin-bottom: 1rem;
    font-size: var(--font-size-15);
    font-weight: 400;
    line-height: 2rem;
}

.isChecked {
    background-color: var(--color-surface-alt);
    width: 1.6rem;
    height: 1.6rem;
    border-radius: 50%;
    display: flex;
    justify-self: center;
    align-items: center;
}

.isChecked-false {
    background-color: var(--color-brand);
}

.isChecked-true {
    background: var(--color-success);
}

.password-strength-meter {
    display: none;
    flex-direction: column;
    gap: 0.8rem;
    margin-top: 1.2rem;
}

.password-strength-meter.is-visible {
    display: flex;
}

.password-strength-meter__header {
    display: flex;
    justify-content: space-between;
    font-size: var(--font-size-15);
    font-weight: 500;
    color: var(--color-text-primary);
}

.password-strength-meter__status {
    font-weight: 600;
}

.password-strength-meter__bars {
    display: flex;
    gap: 0.6rem;
}

.password-strength-bar {
    flex: 1;
    height: 0.5rem;
    border-radius: 0.5rem;
    background-color: var(--color-background);
    transition: background-color 0.2s ease;
}

.password-strength-bar.active {
    background-color: var(--color-brand);
}

.password-strength-meter.level-2 .password-strength-bar.active {
    background-color: var(--color-warning);
}

.password-strength-meter.level-3 .password-strength-bar.active {
    background-color: var(--color-warning);
}

.password-strength-meter.level-4 .password-strength-bar.active {
    background-color: var(--color-success);
}

.isChecked-true svg {
    width: 100%;
}

.isChecked-false,
.isChecked-true {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    padding: 0.3rem;
}

.isChecked-container {
    display: flex;
    justify-content: start;
    align-items: center;
    gap: 1rem;
}

.submit-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    background-color: var(--red);
    height: 4.8rem;
    width: 100%;
    border-radius: 1rem;
    border: none;
    font-weight: 600;
    font-size: var(--font-size-17);
    line-height: 2.8rem;

    color: var(--white);
    cursor: pointer;
}

.or-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin: 2rem 0;
}

.or-container p {
    font-weight: 500;
    font-size: var(--font-size-15);
    line-height: 2.4rem;
    color: var(--black);
    margin: 0;
}

.signup-buttons-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 2rem;
    width: 100%;
}


.divider {
    width: 100%;
    height: 0.1rem;
    background-color: var(--color-border-light);
}

.signup-buttons {
    height: 4.8rem;
    width: 100%;
    border-radius: 1rem;
    gap: 0.8rem;

    color: var(--black);
    cursor: pointer;
    border: 0.1rem solid var(--dark-gray);
    background: var(--white);
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 500;
    font-size: var(--font-size-17);
    line-height: 2.6rem;
}

.tnc {
    margin-top: 2rem;
    font-weight: 400;
    font-size: var(--font-size-17);
    line-height: 2.6rem;
    text-align: center;
    color: var(--dark-gray);
}

.tnc span {
    color: var(--color-info);
    text-decoration: underline;
}

.tnc a {
    color: var(--color-info);
    text-decoration: underline;
    font-weight: 500;
}

.tnc p {
    font-size: var(--font-size-15);
    font-weight: 400;
    line-height: 2.6rem;
    max-width: 37rem;
}


@media (max-width: 767.98px) {
    .side-container {
        display: none;
    }

    .main-container {
        width: 100%;
    }
}

.checkbox-container {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.checkbox-container label {
    font-weight: 500;
    font-size: var(--font-size-15);
    line-height: 2.4rem;
    color: var(--black);
    margin-bottom: 0;
    cursor: pointer;
}

.checkbox-container input[type="checkbox"] {
    cursor: pointer;
    accent-color: var(--color-brand);
}

.login-resend-container {
    text-align: center;
    margin-top: 2rem;
}

.forgot-login-link {
    font-weight: 400;
    font-size: var(--font-size-17);
    line-height: 2.6rem;
    color: var(--black);
    text-decoration: none;
}

.forgot-resend-link {
    font-weight: 500;
    font-size: var(--font-size-17);
    line-height: 2.6rem;
    color: var(--color-info);
    text-decoration: none;
}

.thankyou-template {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.thankyou-template-container {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 2rem;
}

.thankyou-template-content {
    text-align: center;
    margin-top: 1.8rem;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.thankyou-template-content h2 {
    font-weight: 700;
    font-size: var(--font-size-35);
    line-height: 4.2rem;
    margin-bottom: 0 !important;
}

.thankyou-template-content p {
    margin-bottom: 0;
}

.email-div {
    margin-top: 2.4rem;
}

.thankyou-template-content_label {
    font-weight: 500;
    font-size: var(--font-size-17);
    line-height: 2.8rem;
    text-align: center;
    color: var(--color-text-primary);
}

.email-text {
    font-weight: 700;
    font-size: var(--font-size-17);
    line-height: 2.8rem;
    text-align: center;
}

.thankyou-template-content_user-email {
    font-weight: 600;
    font-size: var(--font-size-17);
    line-height: 2.8rem;
}

.thankyou-template-content_heading {
    font-weight: 500;
    font-size: var(--font-size-17);
    line-height: 2.8rem;
    text-align: center;
    color: var(--color-text-primary);
}

a {
    color: var(--color-info);
    text-decoration: underline;
    background-color: transparent;
    text-underline-offset: 4px;
}

.thankyou-template-content_button-primary {
    height: 4.5rem;
    background-color: var(--red);
    color: var(--white);
    padding: 0 1.8rem;
    border-radius: 1rem;
    border: none;
    font-weight: 700;
    font-size: var(--font-size-15);
    cursor: pointer;
    margin-top: 1.8rem;
}

.resend-email-container {
    margin-top: 2.6rem;
}


.thankyou-template-content_divider {
    margin-top: 2.8rem;
    margin-bottom: 2rem;
}

.thankyou-template-secondary-primary {
    height: 4.5rem;
    background-color: var(--white);
    color: var(--red);
    padding: 0 1.8rem;
    border-radius: 1rem;
    border: 1px solid var(--red);
    font-weight: 700;
    font-size: var(--font-size-15);
    cursor: pointer;
    margin-top: 1.6rem;
}

.submitButtonGlobal {
    padding: 0.8rem 1.8rem;
    border-radius: 0.3rem;
    border: solid 0.1rem var(--red);
    font-size: var(--font-size-15);
    font-weight: 600;
    font-stretch: normal;
    font-style: normal;
    line-height: 2.2rem;
    text-align: center;
    color: var(--white);
    background-color: var(--red);
    cursor: pointer;
}

.email-signUp-forms {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 1rem;
}

.submitButtonGlobal.inActiveBtn {
    background-color: var(--color-surface-alt);
    border: solid;
    cursor: not-allowed;
    pointer-events: none;
    transition: background-color 0.3s ease;
}


.authentication-resend-container {
    text-align: left;
    width: 100%;
    font-size: var(--font-size-15);
    color: var(--color-text-primary);
}

.authentication-resend-link {
    font-size: var(--font-size-15);
    color: var(--color-text-primary);
}

.authentication-resend-link:hover {
    font-size: var(--font-size-15);
    color: var(--color-text-primary);
}

/* multi factor authentication */

.mfa-popup-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    width: 100%;
    background-color: rgb(from var(--dark-black) r g b / 50%);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
}

.mfa-popup {
    position: absolute;
    width: 51.2rem;
    min-height: 33.8rem;
    background: var(--color-surface);
    padding: 2.4rem;
    border-radius: 0.4rem;
}

.mfa-header {
    position: relative;
}

.mfa-title {
    font-weight: 600;
    font-size: var(--font-size-17);
    line-height: 2.8rem;
    color: var(--color-text-primary);
    margin-bottom: 0.6rem;
}

.mfa-title-desc {
    font-weight: 400;
    font-size: var(--font-size-15);
    line-height: 2rem;
    color: var(--color-text-primary);
    margin: 0rem;
}

.mfa-close-btn {
    position: absolute;
    top: 2rem;
    right: 1.6rem;
    width: 2.4rem;
    height: 2.4rem;
    background-color: transparent;
    border: none;
    cursor: pointer;
    z-index: 999;
}

.mfa-close-btn svg {
    width: 100%;
    height: 100%;
}

.mfa-verification-title {
    font-weight: 500;
    font-size: var(--font-size-15);
    line-height: 2rem;
    color: var(--color-text-primary);
    margin-top: 3rem;
    margin-bottom: 0rem;
}

.mfa-otp-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.8rem;
    margin-top: 0.6rem;
}

.mfa-otp-group {
    display: flex;
    gap: 0.8rem;
}

.mfa-otp-group input {
    width: 6.4rem;
    height: 6.4rem;
    border: 1px solid var(--color-border-light);
    border-radius: 0.6rem;
    padding: 0.2rem 0.8rem;
    font-size: var(--font-size-35);
    line-height: 6rem;
    text-align: center;
    color: var(--color-text-primary);
    font-weight: 500;
}

.mfa-otp-digit.has-value {
    border-color: var(--black);
}

.mfa-error-input {
    color: var(--color-error) !important;
}

.mfa-otp-group input::placeholder {
    color: var(--gray);
    font-size: var(--font-size-35);
    font-weight: 500;
    line-height: 6rem;
    text-align: center;
}

.mfa-otp-separator {
    font-size: var(--font-size-35);
    font-weight: 500;
    line-height: 7.2rem;
    color: var(--gray);
    width: 2.8rem;
    text-align: center;
}

.mfa-otp-separator.active {
    color: var(--color-text-primary);
}

.mfa-resend-password {
    font-size: var(--font-size-15);
    color: var(--color-text-primary);
    line-height: 2rem;
    margin-top: 1rem;
    margin-bottom: 1.4rem;
}

.mfa-timer {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.mfa-timer svg {
    width: 2rem;
    height: 2rem;
}

.mfa-timer-countdown {
    font-weight: 600;
    font-size: var(--font-size-15);
    line-height: 2rem;
    color: var(--color-text-primary);
}

.mfa-timer-text {
    padding: 0;
    margin: 0;
    font-size: var(--font-size-15);
    line-height: 2rem;
}

.mfa-resend-btn {
    color: var(--color-text-primary);
    text-decoration: underline;
    text-underline-offset: 0.4rem;
}

.mfa-resend-btn:hover {
    color: var(--color-text-primary);
}

.mfa-action-btn {
    display: flex;
    justify-content: center;
    gap: 1.2rem;
    margin-top: 3rem;
}

.mfa-action-btn button {
    width: 100%;
    padding: 1rem 8.65rem;
    border-radius: 0.4rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.4rem;
}

.mfa-cancel-btn {
    border: 1px solid var(--dark-gray);
    color: var(--color-text-secondary);
    font-weight: 500;
    font-size: var(--font-size-15);
    line-height: 2.4rem;
    cursor: pointer;
    background: transparent;
}

.mfa-verify-btn {
    background-color: var(--color-brand);
    border: none;
    color: var(--color-text-inverse);
    font-weight: 600;
    font-size: var(--font-size-15);
    line-height: 2.4rem;
    cursor: pointer;
}

.mfa-error-msg {
    color: var(--color-error);
    font-size: var(--font-size-15);
    line-height: 2.6rem;
    padding: 0;
    margin-top: 1rem;
    margin-bottom: 0;
}

/* Hide number input spinners for OTP fields */
.mfa-otp-group input::-webkit-outer-spin-button,
.mfa-otp-group input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.mfa-otp-group input[type="number"] {
    -moz-appearance: textfield;
}

/* MFA popup minimal styles */
.mfa-otp-digit {
    text-align: center;
    font-size: var(--font-size-21);
    border: 1px solid var(--color-border-light);
    border-radius: 8px;
    height: 52px;
    width: 52px;
    outline: none;
    transition: border-color 0.2s ease;
}

.mfa-otp-digit:focus {
    border-color: var(--black);
}

.mfa-otp-digit.error {
    border-color: var(--color-error);
    color: var(--color-error);
}

.mfa-timer .mfa-expiry-text {
    margin: 0;
}


.authentication-resend-container {
    text-align: left;
    width: 100%;
    font-size: var(--font-size-15);
    color: var(--color-text-primary);
}

.authentication-resend-link {
    font-size: var(--font-size-15);
    color: var(--color-text-primary);
}

.authentication-resend-link:hover {
    font-size: var(--font-size-15);
    color: var(--color-text-primary);
}

/* ------------------------------------------------------------------ *
 * Signup verification by OTP — full page, not a dialog. It is a step in
 * the signup journey like the thank-you and reset-password screens, so
 * it follows their centred-card layout. Everything here is scoped under
 * .signup-otp-page; the two-factor popup styles above are untouched.
 * ------------------------------------------------------------------ */

.signup-otp-page {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 2.4rem;
}

.signup-otp-card {
    width: 100%;
    max-width: 46rem;
    background-color: var(--color-surface);
    border: 0.1rem solid var(--color-border-light);
    border-radius: var(--radius-lg);
    box-shadow: 0 0.2rem 2.4rem var(--shadow-color-soft);
    padding: 4rem 3.2rem 3.2rem;
    text-align: center;
}

.signup-otp-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 6.4rem;
    height: 6.4rem;
    margin: 0 auto 2rem;
    border-radius: 50%;
    background-color: var(--color-brand-light);
    color: var(--color-brand);
}

.signup-otp-title {
    font-weight: 700;
    font-size: var(--font-size-27);
    line-height: 3.6rem;
    color: var(--color-text-primary);
    margin: 0 0 0.8rem;
}

.signup-otp-subtitle {
    font-weight: 400;
    font-size: var(--font-size-15);
    line-height: 2.2rem;
    color: var(--color-text-secondary);
    margin: 0;
}

.signup-otp-email {
    font-weight: 600;
    font-size: var(--font-size-15);
    line-height: 2.2rem;
    color: var(--color-text-primary);
    margin: 0.4rem 0 0;
    word-break: break-word;
}

.signup-otp-label {
    display: block;
    text-align: left;
    font-weight: 500;
    font-size: var(--font-size-13);
    line-height: 2rem;
    color: var(--color-text-secondary);
    margin: 3.2rem 0 0.8rem;
}

/* Slightly tighter than the popup so six boxes never crowd a narrow card. */
.signup-otp-page .mfa-otp-container {
    margin-top: 0;
    gap: 0.6rem;
}

.signup-otp-page .mfa-otp-group {
    gap: 0.8rem;
}

.signup-otp-page .mfa-otp-group input,
.signup-otp-page .mfa-otp-digit {
    width: 5.5rem;
    height: 5.6rem;
    font-size: var(--font-size-25);
    border-radius: var(--radius-md);
    border-color: var(--color-border);
    background-color: var(--color-surface);
    color: var(--color-text-primary);
}

.signup-otp-page .mfa-otp-digit::placeholder {
    font-size: var(--font-size-25);
    line-height: normal;
    color: var(--color-text-muted);
}

.signup-otp-page .mfa-otp-digit:focus-visible,
.signup-otp-page .mfa-otp-digit:focus {
    border-color: var(--color-brand);
    box-shadow: 0 0 0 0.3rem var(--color-brand-light);
}

.signup-otp-page .mfa-otp-separator {
    line-height: 5.6rem;
    width: 1.6rem;
}

.signup-otp-error {
    text-align: left;
    margin-top: 0.8rem;
    margin-bottom: 0;
    line-height: 2rem;
}

.signup-otp-submit {
    width: 100%;
    height: 4.8rem;
    margin-top: 2.4rem;
    background-color: var(--color-brand);
    border: none;
    border-radius: var(--radius-sm);
    color: var(--color-text-inverse);
    font-weight: 600;
    font-size: var(--font-size-15);
    line-height: 2.4rem;
    cursor: pointer;
    transition: background-color var(--transition-fast);
}

.signup-otp-submit:hover:not(:disabled) {
    background-color: var(--color-brand-hover);
}

.signup-otp-submit:focus-visible {
    outline: 0.2rem solid var(--color-brand);
    outline-offset: 0.2rem;
}

.signup-otp-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.signup-otp-meta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
    margin-top: 1.6rem;
}

.signup-otp-resend {
    font-size: var(--font-size-15);
    line-height: 2.2rem;
    color: var(--color-text-secondary);
    margin: 0;
}

.signup-otp-page .mfa-resend-btn {
    color: var(--color-brand);
    font-weight: 600;
}

.signup-otp-page .mfa-resend-btn:hover {
    color: var(--color-brand-hover);
}

.signup-otp-expiry {
    justify-content: center;
    color: var(--color-text-secondary);
}

.signup-otp-expiry .mfa-timer-text {
    color: var(--color-text-secondary);
}

.signup-otp-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
    margin-top: 2.4rem;
    padding-top: 2rem;
    border-top: 0.1rem solid var(--color-border-light);
}

.signup-otp-footer-row {
    font-size: var(--font-size-15);
    line-height: 2.2rem;
    color: var(--color-text-secondary);
    margin: 0;
}

.signup-otp-link {
    color: var(--color-text-primary);
    font-weight: 500;
    font-size: var(--font-size-15);
    text-decoration: underline;
    text-underline-offset: 0.4rem;
}

.signup-otp-link:hover,
.signup-otp-link:focus {
    color: var(--color-brand);
}

.signup-otp-link:focus-visible {
    outline: 0.2rem solid var(--color-brand);
    outline-offset: 0.2rem;
    border-radius: var(--radius-sm);
}

.signup-otp-back {
    color: var(--color-text-secondary);
    font-weight: 400;
}

@media (max-width: 36rem) {
    .signup-otp-card {
        padding: 3.2rem 2rem 2.4rem;
    }

    .signup-otp-page .mfa-otp-group input,
    .signup-otp-page .mfa-otp-digit {
        width: 4.2rem;
        height: 4.8rem;
        font-size: var(--font-size-21);
    }

    .signup-otp-page .mfa-otp-group {
        gap: 0.6rem;
    }

    .signup-otp-page .mfa-otp-separator {
        line-height: 4.8rem;
        width: 1rem;
    }
}
