.auth-page {
    display: grid;
    min-height: 100dvh;
    align-items: center;
    padding: 1.25rem;
    background:
        radial-gradient(circle at top right, var(--auth-accent-glow), transparent 34%),
        var(--color-background);
}

.auth-card {
    width: min(100%, 27rem);
    margin-inline: auto;
    padding: 1.4rem;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    background: var(--color-surface);
    box-shadow: var(--shadow-card);
}

.auth-page--login {
    position: relative;
    min-height: 100svh;
    overflow-x: hidden;
    padding:
        max(0.75rem, env(safe-area-inset-top))
        max(0.75rem, env(safe-area-inset-right))
        max(0.75rem, env(safe-area-inset-bottom))
        max(0.75rem, env(safe-area-inset-left));
    background:
        radial-gradient(circle at 8% 12%, color-mix(in srgb, var(--color-primary) 16%, transparent), transparent 30rem),
        radial-gradient(circle at 92% 88%, var(--auth-accent-glow), transparent 28rem),
        var(--color-background);
}

.auth-card--login {
    width: min(100%, 86rem);
    padding: 0;
    border: 0;
    border-radius: clamp(1rem, 2vw, 1.5rem);
    background: transparent;
    box-shadow: 0 1.75rem 5rem rgb(20 58 45 / 16%);
}

.auth-card--login > .notice {
    margin: 1rem 1rem 0;
}

.login-layout {
    display: grid;
    min-width: 0;
    overflow: hidden;
    border-radius: inherit;
}

.login-hero {
    display: flex;
    min-width: 0;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.1rem;
    border: 1px solid #0a4938;
    border-bottom: 0;
    border-radius: clamp(1rem, 2vw, 1.5rem) clamp(1rem, 2vw, 1.5rem) 0 0;
    color: #f5fff9;
    background-color: #07513e;
    background-image: linear-gradient(145deg, #0b4b39, #18775a);
}

.login-brand {
    display: inline-flex;
    align-items: center;
    border: 1px solid rgb(255 255 255 / 28%);
    border-radius: 1rem;
    background: #ffffff;
    box-shadow: 0 0.7rem 1.8rem rgb(0 0 0 / 22%);
    padding: 0.25rem;
}

.login-brand__image {
    height: 4.5rem;
}

.login-hero__content,
.login-hero__note {
    display: none;
}

.login-panel {
    display: grid;
    min-width: 0;
    gap: 1.25rem;
    padding: clamp(1.15rem, 5vw, 2rem);
    border: 1px solid var(--color-border);
    border-top: 0;
    border-radius: 0 0 clamp(1rem, 2vw, 1.5rem) clamp(1rem, 2vw, 1.5rem);
    background: var(--color-surface);
}

.login-panel__header h1,
.login-panel__header p {
    margin-bottom: 0;
}

.login-panel__header h1 {
    margin-top: 0;
    font-size: clamp(1.65rem, 7vw, 2.15rem);
    line-height: 1.15;
    letter-spacing: -0.035em;
}

.login-panel__header p {
    margin-top: 0.55rem;
}

.login-form {
    gap: 1rem;
}

.login-field__label {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.login-field__label i {
    width: 1rem;
    color: var(--color-primary);
    font-size: 0.78rem;
    text-align: center;
}

.login-input {
    position: relative;
}

.login-input__icon {
    position: absolute;
    z-index: 1;
    top: 50%;
    left: 0.9rem;
    color: var(--color-icon-muted);
    pointer-events: none;
    transform: translateY(-50%);
}

.login-input .field__control {
    min-height: 3.25rem;
    padding-left: 2.7rem;
    background: var(--color-background);
    transition: border-color 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.login-input.password-control .field__control {
    padding-right: 3.25rem;
}

.login-input:focus-within .field__control {
    border-color: var(--color-primary);
    background: var(--color-surface);
    box-shadow: 0 0 0 0.2rem color-mix(in srgb, var(--color-primary) 16%, transparent);
    outline: 0;
}

.login-input:focus-within .login-input__icon {
    color: var(--color-primary);
}

.login-form__password-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.65rem;
}

.login-form__password-heading a,
.login-register a {
    display: inline-flex;
    min-height: var(--touch-target);
    align-items: center;
    justify-content: flex-end;
    font-size: 0.83rem;
    font-weight: 700;
}

.login-form__submit {
    min-height: 3.25rem;
    margin-top: 0.2rem;
    font-size: 1rem;
    box-shadow: 0 0.65rem 1.25rem rgb(23 107 82 / 18%);
}

.login-remember {
    display: inline-flex;
    width: fit-content;
    min-height: var(--touch-target);
    align-items: center;
    gap: 0.65rem;
    color: var(--color-text);
    font-size: 0.88rem;
    font-weight: 650;
    cursor: pointer;
}

.login-remember__checkbox {
    width: 1.25rem;
    height: 1.25rem;
    flex: 0 0 auto;
    margin: 0;
    accent-color: var(--color-primary);
    cursor: pointer;
}

.login-remember__checkbox:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

.login-register {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding-top: 1.1rem;
    border-top: 1px solid var(--color-border);
    color: var(--color-muted);
    font-size: 0.88rem;
}

:root[data-theme="dark"] .auth-card--login {
    box-shadow: 0 1.5rem 4rem rgb(0 0 0 / 50%);
}

:root[data-theme="dark"] .login-hero {
    border-color: #2d6853;
}

@media (max-width: 51.999rem) {
    .login-hero {
        background-color: #07513e;
        background-image:
            linear-gradient(90deg, rgb(2 43 33 / 76%) 0%, rgb(2 52 39 / 42%) 54%, rgb(2 52 39 / 16%) 100%),
            url("../../images/auth/auth-hero-background.png");
        background-position: center, center 70%;
        background-repeat: no-repeat;
        background-size: cover;
    }

    @supports (background-image: image-set(url("../../images/auth/auth-hero-background-mobile.webp") type("image/webp"))) {
        .login-hero {
            background-image:
                linear-gradient(90deg, rgb(2 43 33 / 76%) 0%, rgb(2 52 39 / 42%) 54%, rgb(2 52 39 / 16%) 100%),
                image-set(
                    url("../../images/auth/auth-hero-background-mobile.webp") type("image/webp"),
                    url("../../images/auth/auth-hero-background.png") type("image/png")
                );
        }
    }

    .login-hero__content,
    .login-benefits,
    .login-hero__note {
        display: none;
    }

    .login-input .field__control,
    .login-form__submit,
    .auth-card--login .auth-oauth__button {
        min-height: 3.5rem;
    }

    .login-input .field__control {
        font-size: 1rem;
    }

    .login-register.login-register--inline {
        justify-content: center;
        flex-wrap: wrap;
        text-align: center;
    }
}

@media (max-width: 23rem) {
    .login-panel {
        padding-inline: 1rem;
    }

    .login-register {
        display: grid;
        text-align: center;
    }

    .login-register a {
        justify-self: center;
    }
}

@media (min-width: 52rem) {
    .login-layout {
        grid-template-columns: minmax(22rem, 1.04fr) minmax(27rem, 0.96fr);
        min-height: min(52rem, calc(100svh - 2.5rem));
    }

    .login-hero {
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        padding: clamp(2rem, 4vw, 3.5rem);
        border-right: 0;
        border-bottom: 1px solid #0a4938;
        border-radius: clamp(1rem, 2vw, 1.5rem) 0 0 clamp(1rem, 2vw, 1.5rem);
        background-image:
            linear-gradient(90deg, rgb(2 52 39 / 84%) 0%, rgb(3 72 52 / 58%) 50%, rgb(3 72 52 / 16%) 100%),
            url("../../images/auth/auth-hero-background.png");
        background-position: center, 64% center;
        background-size: cover;
    }

    .login-brand__image {
        height: clamp(6rem, 8vw, 7.5rem);
    }

    .login-hero__content {
        display: block;
        margin-block: auto;
    }

    .login-hero__eyebrow {
        display: inline-block;
        margin-bottom: 0.8rem;
        color: #bcefd8;
        font-size: 0.75rem;
        font-weight: 800;
        letter-spacing: 0.08em;
        text-transform: uppercase;
    }

    .login-hero__title {
        max-width: 13ch;
        margin-bottom: 0.8rem;
        font-size: clamp(2.15rem, 3.5vw, 3.35rem);
        font-weight: 800;
        line-height: 1.05;
        letter-spacing: -0.04em;
        text-shadow: 0 0.15rem 0.7rem rgb(0 0 0 / 24%);
    }

    .login-hero__content > p:not(.login-hero__title) {
        max-width: 29rem;
        color: #d8f5e7;
        font-size: 1.02rem;
        text-shadow: 0 0.1rem 0.45rem rgb(0 0 0 / 28%);
    }

    .login-benefits {
        display: grid;
        gap: 0.7rem;
        margin: 1.5rem 0 0;
        padding: 0;
        list-style: none;
    }

    .login-benefits li {
        display: flex;
        align-items: center;
        gap: 0.65rem;
        font-size: 0.92rem;
        font-weight: 700;
        text-shadow: 0 0.1rem 0.4rem rgb(0 0 0 / 24%);
    }

    .login-benefits i {
        display: grid;
        width: 1.85rem;
        height: 1.85rem;
        flex: 0 0 auto;
        border-radius: 50%;
        color: #0b4b39;
        background: #d8f5e7;
        font-size: 0.75rem;
        place-items: center;
    }

    .login-hero__note {
        display: flex;
        align-items: center;
        gap: 0.4rem;
        margin: 0;
        color: #bcefd8;
        font-size: 0.78rem;
    }

    .login-panel {
        align-content: center;
        padding: clamp(2.25rem, 5vw, 4.25rem);
        border-top: 1px solid var(--color-border);
        border-left: 0;
        border-radius: 0 clamp(1rem, 2vw, 1.5rem) clamp(1rem, 2vw, 1.5rem) 0;
    }

    .login-input .field__control,
    .login-form__submit {
        min-height: clamp(3.25rem, 4.5vw, 4.2rem);
    }

    :root[data-theme="dark"] .login-hero {
        border-bottom-color: #2d6853;
    }
}

@media (min-width: 52rem) and (max-height: 47rem) {
    .login-layout {
        min-height: 42rem;
    }

    .login-hero,
    .login-panel {
        padding-block: 2rem;
    }
}

@media (max-height: 44rem) {
    .auth-page--login {
        align-items: start;
    }
}

.auth-page--flow {
    min-height: 100svh;
    align-items: start;
    overflow-x: hidden;
    padding:
        max(0.75rem, env(safe-area-inset-top))
        max(0.75rem, env(safe-area-inset-right))
        max(0.75rem, env(safe-area-inset-bottom))
        max(0.75rem, env(safe-area-inset-left));
    background:
        radial-gradient(circle at 12% 18%, color-mix(in srgb, var(--color-primary) 13%, transparent), transparent 27rem),
        radial-gradient(circle at 88% 82%, var(--auth-accent-glow), transparent 25rem),
        var(--color-background);
}

.auth-card--flow {
    width: min(100%, 64rem);
    margin-block: auto;
    padding: 0;
    border: 0;
    border-radius: clamp(1rem, 2vw, 1.5rem);
    background: transparent;
    box-shadow: 0 1.5rem 4rem rgb(20 58 45 / 14%);
}

.auth-card--register {
    width: min(100%, 86rem);
    box-shadow: 0 1.75rem 5rem rgb(20 58 45 / 16%);
}

.auth-flow {
    display: grid;
    min-width: 0;
}

.auth-flow__visual {
    display: flex;
    min-width: 0;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
    padding: 1rem 1.1rem;
    border: 1px solid #0a4938;
    border-bottom: 0;
    border-radius: clamp(1rem, 2vw, 1.5rem) clamp(1rem, 2vw, 1.5rem) 0 0;
    color: #f5fff9;
    background: linear-gradient(145deg, #0b4b39, #18775a);
}

.auth-flow__brand {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    border: 1px solid rgb(255 255 255 / 28%);
    border-radius: 1rem;
    background: #ffffff;
    box-shadow: 0 0.55rem 1.4rem rgb(0 0 0 / 18%);
    padding: 0.25rem;
}

.auth-flow__brand-image {
    height: 4.35rem;
}

.auth-flow__mobile-summary {
    display: inline-flex;
    min-width: 0;
    align-items: center;
    justify-content: flex-end;
    gap: 0.4rem;
    color: #d8f5e7;
    font-size: 0.75rem;
    font-weight: 750;
    text-align: right;
}

.auth-flow__visual-content,
.auth-flow__security {
    display: none;
}

.auth-flow__panel {
    display: grid;
    min-width: 0;
    gap: 1.2rem;
    padding: clamp(1.15rem, 5vw, 2rem);
    border: 1px solid var(--color-border);
    border-top: 0;
    border-radius: 0 0 clamp(1rem, 2vw, 1.5rem) clamp(1rem, 2vw, 1.5rem);
    background: var(--color-surface);
}

.auth-flow__content {
    gap: 1.2rem;
}

.auth-flow__heading {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: start;
    gap: 0.8rem;
}

.auth-flow__heading h1,
.auth-flow__heading p {
    margin-bottom: 0;
}

.auth-flow__heading h1 {
    font-size: clamp(1.55rem, 6vw, 2rem);
    line-height: 1.15;
    letter-spacing: -0.03em;
}

.auth-flow__heading p {
    margin-top: 0.45rem;
}

.auth-flow__heading-icon {
    display: grid;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 0.85rem;
    color: var(--color-primary-strong);
    background: var(--color-primary-soft);
    place-items: center;
}

.auth-flow--register .auth-flow__heading,
.auth-flow--recovery .auth-flow__heading,
.auth-flow--reset .auth-flow__heading {
    grid-template-columns: minmax(0, 1fr);
}

.auth-flow--verification .auth-flow__heading-icon {
    color: #835b00;
    background: #fff1bd;
}


.auth-form--enhanced {
    gap: 1rem;
}

.auth-input {
    position: relative;
}

.auth-input__icon {
    position: absolute;
    z-index: 1;
    top: 50%;
    left: 0.9rem;
    color: var(--color-icon-muted);
    pointer-events: none;
    transform: translateY(-50%);
}

.auth-input .field__control {
    min-height: 3.15rem;
    padding-left: 2.7rem;
    background: var(--color-background);
    transition: border-color 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.auth-input.password-control .field__control {
    padding-right: 3.25rem;
}

.auth-input:focus-within .field__control {
    border-color: var(--color-primary);
    background: var(--color-surface);
    box-shadow: 0 0 0 0.2rem color-mix(in srgb, var(--color-primary) 16%, transparent);
    outline: 0;
}

.auth-input:focus-within .auth-input__icon {
    color: var(--color-primary);
}

.auth-free-trial {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 0.7rem;
    padding: 0.8rem;
    border: 1px solid var(--color-success-border);
    border-radius: var(--radius-sm);
    color: var(--color-success);
    background: var(--color-success-soft);
}

.auth-free-trial > i {
    font-size: 1.2rem;
}

.auth-free-trial span {
    display: grid;
    line-height: 1.25;
}

.auth-free-trial small {
    margin-top: 0.15rem;
    color: var(--color-muted);
}

.auth-terms {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: start;
    gap: 0.7rem;
    min-width: 0;
    padding: 0.8rem;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    background: var(--color-background);
    transition: border-color 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.auth-terms:focus-within {
    border-color: var(--color-primary);
    background: var(--color-surface);
    box-shadow: 0 0 0 0.2rem color-mix(in srgb, var(--color-primary) 16%, transparent);
}

.auth-terms--invalid {
    border-color: var(--color-danger);
    background: var(--color-danger-soft);
}

.auth-terms__checkbox {
    width: 1.25rem;
    height: 1.25rem;
    margin: 0.1rem 0 0;
    accent-color: var(--color-primary);
    cursor: pointer;
}

.auth-terms__content {
    display: grid;
    min-width: 0;
    gap: 0.3rem;
}

.auth-terms__content label {
    color: var(--color-text);
    cursor: pointer;
    font-size: 0.88rem;
    line-height: 1.5;
}

.auth-terms__content a {
    color: var(--color-primary-strong);
    font-weight: 800;
}

.auth-terms__content a:hover {
    color: var(--color-primary-hover);
}

.auth-flow__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding-top: 1rem;
    border-top: 1px solid var(--color-border);
    color: var(--color-muted);
    font-size: 0.88rem;
}

.auth-flow__footer .btn {
    flex: 0 0 auto;
}

.auth-flow__footer--center {
    justify-content: center;
}

.auth-flow__back-link,
.auth-flow__footer-link {
    display: inline-flex;
    min-height: var(--touch-target);
    align-items: center;
    gap: 0.4rem;
    font-weight: 700;
}

.auth-flow__back-link:hover,
.auth-flow__footer-link:hover {
    color: var(--color-primary-hover);
}

.auth-state {
    display: grid;
    justify-items: center;
    gap: 0.8rem;
    padding: 1rem 0;
    text-align: center;
}

.auth-state__icon {
    display: grid;
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    color: var(--color-danger);
    background: var(--color-danger-soft);
    font-size: 1.5rem;
    place-items: center;
}

:root[data-theme="dark"] .auth-card--flow {
    box-shadow: 0 1.5rem 4rem rgb(0 0 0 / 50%);
}

:root[data-theme="dark"] .auth-card--register {
    box-shadow: 0 1.75rem 5rem rgb(0 0 0 / 52%);
}

:root[data-theme="dark"] .auth-flow__visual {
    border-color: #2d6853;
    background: linear-gradient(145deg, #12392d, #155840);
}

:root[data-theme="dark"] .auth-flow--verification .auth-flow__heading-icon {
    color: #ffd76a;
    background: #463a16;
}

@media (max-width: 51.999rem) {
    :is(.auth-flow--register, .auth-flow--recovery, .auth-flow--reset) .auth-flow__visual,
    :root[data-theme="dark"] :is(.auth-flow--register, .auth-flow--recovery, .auth-flow--reset) .auth-flow__visual {
        background-color: #07513e;
        background-image:
            linear-gradient(90deg, rgb(2 43 33 / 76%) 0%, rgb(2 52 39 / 42%) 54%, rgb(2 52 39 / 16%) 100%),
            url("../../images/auth/auth-hero-background.png");
        background-position: center, center 70%;
        background-repeat: no-repeat;
        background-size: cover;
    }

    @supports (background-image: image-set(url("../../images/auth/auth-hero-background-mobile.webp") type("image/webp"))) {
        :is(.auth-flow--register, .auth-flow--recovery, .auth-flow--reset) .auth-flow__visual,
        :root[data-theme="dark"] :is(.auth-flow--register, .auth-flow--recovery, .auth-flow--reset) .auth-flow__visual {
            background-image:
                linear-gradient(90deg, rgb(2 43 33 / 76%) 0%, rgb(2 52 39 / 42%) 54%, rgb(2 52 39 / 16%) 100%),
                image-set(
                    url("../../images/auth/auth-hero-background-mobile.webp") type("image/webp"),
                    url("../../images/auth/auth-hero-background.png") type("image/png")
                );
        }
    }
}

@media (max-width: 23rem) {
    .auth-flow__mobile-summary span {
        display: none;
    }

    .auth-flow__panel {
        padding-inline: 1rem;
    }

    .auth-flow__heading {
        grid-template-columns: 1fr;
    }

    .auth-flow__footer {
        display: grid;
        text-align: center;
    }

    .auth-flow__footer .btn {
        width: 100%;
    }
}

@media (min-width: 52rem) {
    .auth-flow {
        grid-template-columns: minmax(18rem, 0.78fr) minmax(27rem, 1.22fr);
    }

    .auth-flow__visual {
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        padding: clamp(2rem, 4vw, 3rem);
        border-right: 0;
        border-bottom: 1px solid #0a4938;
        border-radius: clamp(1rem, 2vw, 1.5rem) 0 0 clamp(1rem, 2vw, 1.5rem);
    }

    .auth-flow__mobile-summary {
        display: none;
    }

    .auth-flow__visual-content {
        display: block;
        margin-block: auto;
    }

    .auth-flow__eyebrow {
        display: inline-block;
        margin-bottom: 0.8rem;
        color: #bcefd8;
        font-size: 0.75rem;
        font-weight: 800;
        letter-spacing: 0.08em;
        text-transform: uppercase;
    }

    .auth-flow__visual-title {
        max-width: 13ch;
        margin-bottom: 0.8rem;
        font-size: clamp(1.9rem, 3.2vw, 2.5rem);
        font-weight: 800;
        line-height: 1.08;
        letter-spacing: -0.04em;
    }

    .auth-flow__visual-content > p {
        color: #d8f5e7;
    }

    .auth-flow__features {
        display: grid;
        gap: 0.7rem;
        margin: 1.5rem 0 0;
        padding: 0;
        list-style: none;
    }

    .auth-flow__features li {
        display: flex;
        align-items: center;
        gap: 0.65rem;
        font-size: 0.88rem;
        font-weight: 700;
    }

    .auth-flow__features i {
        display: grid;
        width: 1.85rem;
        height: 1.85rem;
        flex: 0 0 auto;
        border-radius: 50%;
        color: #0b4b39;
        background: #d8f5e7;
        font-size: 0.75rem;
        place-items: center;
    }

    .auth-flow__security {
        display: flex;
        align-items: center;
        gap: 0.4rem;
        margin: 0;
        color: #bcefd8;
        font-size: 0.78rem;
    }

    .auth-flow__panel {
        align-content: center;
        padding: clamp(2rem, 4vw, 3rem);
        border-top: 1px solid var(--color-border);
        border-left: 0;
        border-radius: 0 clamp(1rem, 2vw, 1.5rem) clamp(1rem, 2vw, 1.5rem) 0;
    }

    :root[data-theme="dark"] .auth-flow__visual {
        border-bottom-color: #2d6853;
    }

    .auth-flow--register .password-requirements__list,
    .auth-flow--reset .password-requirements__list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.35rem 0.75rem;
    }

    .auth-flow--register {
        grid-template-columns: minmax(22rem, 1.04fr) minmax(29rem, 0.96fr);
        min-height: min(52rem, calc(100svh - 2.5rem));
        overflow: hidden;
        border-radius: inherit;
    }

    :is(.auth-flow--register, .auth-flow--recovery, .auth-flow--reset) .auth-flow__visual,
    :root[data-theme="dark"] :is(.auth-flow--register, .auth-flow--recovery, .auth-flow--reset) .auth-flow__visual {
        padding: clamp(2rem, 4vw, 3.5rem);
        background-color: #07513e;
        background-image:
            linear-gradient(90deg, rgb(2 52 39 / 86%) 0%, rgb(3 72 52 / 58%) 52%, rgb(3 72 52 / 12%) 100%),
            url("../../images/auth/auth-hero-background.png");
        background-position: center, 64% center;
        background-size: cover;
    }

    .auth-flow--register .auth-flow__brand {
        box-shadow: 0 0.7rem 1.8rem rgb(0 0 0 / 22%);
    }

    .auth-flow--register .auth-flow__brand-image {
        height: clamp(6rem, 8vw, 7.5rem);
    }

    .auth-flow--register .auth-flow__visual-title {
        font-size: clamp(2.15rem, 3.5vw, 3.35rem);
        line-height: 1.05;
        text-shadow: 0 0.15rem 0.7rem rgb(0 0 0 / 24%);
    }

    :is(.auth-flow--register, .auth-flow--recovery, .auth-flow--reset) .auth-flow__visual-content > p,
    :is(.auth-flow--register, .auth-flow--recovery, .auth-flow--reset) .auth-flow__features li {
        text-shadow: 0 0.1rem 0.45rem rgb(0 0 0 / 28%);
    }

    :is(.auth-flow--recovery, .auth-flow--reset) .auth-flow__brand {
        box-shadow: 0 0.7rem 1.8rem rgb(0 0 0 / 22%);
    }

    :is(.auth-flow--recovery, .auth-flow--reset) .auth-flow__brand-image {
        height: clamp(5rem, 7vw, 6.5rem);
    }

    :is(.auth-flow--recovery, .auth-flow--reset) .auth-input .field__control,
    :is(.auth-flow--recovery, .auth-flow--reset) .auth-form--enhanced > .btn,
    .auth-flow--reset .auth-state .btn {
        min-height: clamp(3.15rem, 4vw, 3.65rem);
    }

    .auth-flow--register .auth-flow__panel {
        padding: clamp(2.25rem, 5vw, 4.25rem);
    }

    .auth-flow--register .auth-input .field__control,
    .auth-flow--register .auth-form--enhanced > .btn {
        min-height: clamp(3.15rem, 4vw, 3.65rem);
    }
}

@media (min-width: 52rem) and (max-height: 47rem) {
    .auth-flow--register {
        min-height: 42rem;
    }

    .auth-flow--register .auth-flow__visual,
    .auth-flow--register .auth-flow__panel {
        padding-block: 2rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .auth-input .field__control,
    .auth-terms {
        transition: none;
    }
}

.brand-mark {
    display: inline-grid;
    width: 3.25rem;
    height: 3.25rem;
    margin-bottom: 0.8rem;
    place-items: center;
    border-radius: 1rem;
    color: var(--color-on-primary);
    background: var(--color-primary);
    font-size: 1.4rem;
}

.auth-card__footer {
    margin: 1.1rem 0 0;
    color: var(--color-muted);
    text-align: center;
}

.auth-form__aux {
    margin: -0.35rem 0 0;
    text-align: right;
}

.auth-form__aux a,
.auth-card__footer a {
    display: inline-flex;
    min-height: 2.75rem;
    align-items: center;
    gap: 0.4rem;
}

.subscription-modal .confirm-modal__icon {
    color: var(--color-danger);
    background: var(--color-danger-soft);
}

.verification__heading {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: start;
    gap: 0.8rem;
}

.verification__heading h1 {
    margin-bottom: 0.35rem;
}

.verification__icon {
    display: inline-grid;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 50%;
    color: var(--color-primary-strong);
    background: var(--color-primary-soft);
    font-size: 1.2rem;
    place-items: center;
}

.verification__email {
    color: var(--color-text);
    overflow-wrap: anywhere;
}

.verification-code {
    font-variant-numeric: tabular-nums;
    font-size: 1.35rem;
    font-weight: 750;
    letter-spacing: 0.55rem;
    text-align: center;
}

.verification__resend {
    padding-top: 1rem;
    border-top: 1px solid var(--color-border);
    text-align: center;
}

.verification__resend p {
    margin: 0;
}

@media (max-width: 24rem) {
    .verification__heading {
        grid-template-columns: 1fr;
    }

    .verification-code {
        font-size: 1.15rem;
        letter-spacing: 0.4rem;
    }
}

/* ==========================================================================
   Admin Login
   ========================================================================== */
.auth-card--admin-login {
    width: min(100%, 26rem);
}

.admin-login__heading {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.35rem;
    margin-bottom: 0.5rem;
}

.admin-login__brand {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    padding: 0.25rem;
    transition: transform 0.15s ease;
}

.admin-login__brand:hover {
    transform: scale(1.02);
}

.admin-login__logo {
    display: block;
    width: auto;
    height: 4.75rem;
    max-height: 4.75rem;
    margin: 0 auto;
    object-fit: contain;
}

.admin-login__heading h1 {
    margin: 0.25rem 0 0;
    font-size: clamp(1.35rem, 3vw, 1.65rem);
    font-weight: 700;
    color: var(--color-text);
}

.admin-login__heading p {
    margin: 0;
    font-size: 0.9rem;
}
