body.auth-page {
    min-height: 100vh;
    margin: 0;
    color: #1a1b1f;
    background: #f4f3f8;
    font-family: "Plus Jakarta Sans", "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    -webkit-font-smoothing: antialiased;
    -webkit-tap-highlight-color: transparent;
}

body.auth-page * {
    box-sizing: border-box;
}

.material-symbols-outlined {
    font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 24;
}

.auth-shell {
    display: flex;
    min-height: 100vh;
    flex-direction: column;
}

.auth-topbar {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 50;
    display: flex;
    height: 64px;
    align-items: center;
    padding: 0 20px;
    border-bottom: 1px solid rgba(227, 226, 231, 0.3);
    background: rgba(255, 255, 255, 0.49);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.auth-topbar__grid {
    display: grid;
    width: 100%;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
}

.auth-back {
    display: inline-flex;
    width: 40px;
    height: 40px;
    margin-left: -8px;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 999px;
    color: #007aff;
    background: transparent;
    cursor: pointer;
    transition: background-color 150ms ease, transform 150ms ease, opacity 150ms ease;
}

.auth-back:hover {
    background: rgba(233, 231, 237, 0.5);
}

.auth-back:active {
    transform: scale(0.95);
}

.auth-back .material-symbols-outlined {
    font-size: 24px;
}

.auth-topbar h1 {
    margin: 0;
    color: #1a1b1f;
    font-size: 20px;
    line-height: 25px;
    font-weight: 700;
    letter-spacing: 0;
    white-space: nowrap;
}

.auth-main {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 144px 20px 40px;
}

.auth-card {
    display: flex;
    width: 100%;
    max-width: 448px;
    min-height: 472px;
    flex-direction: column;
    padding: 40px;
    border-radius: 32px;
    background: #ffffff;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
    animation: authFadeIn 700ms ease both;
}

@keyframes authFadeIn {
    from {
        opacity: 0;
        transform: translateY(16px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.auth-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 34px;
    text-align: center;
}

.auth-logo {
    display: flex;
    width: 80px;
    height: 80px;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    border-radius: 24px;
    color: #007aff;
    background: rgba(1, 88, 188, 0.05);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.auth-logo,
.register-logo,
.forgot-logo {
    text-decoration: none;
}

.auth-logo .material-symbols-outlined {
    font-size: 40px;
    font-variation-settings: "FILL" 1, "wght" 400, "GRAD" 0, "opsz" 24;
}

.auth-logo img,
.register-logo img,
.forgot-logo img {
    display: block;
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.auth-brand h2 {
    margin: 0;
    color: #1c1c1e;
    font-size: 28px;
    line-height: 34px;
    font-weight: 700;
    letter-spacing: 0;
}

.auth-brand p {
    margin: 8px 0 0;
    color: rgba(65, 71, 85, 0.6);
    font-size: 15px;
    line-height: 20px;
    font-weight: 400;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
    width: 100%;
}

.auth-field {
    min-width: 0;
}

.auth-input-wrap {
    position: relative;
}

.auth-field-icon {
    position: absolute;
    top: 50%;
    left: 20px;
    color: #717786;
    font-size: 20px;
    transform: translateY(-50%);
    transition: color 160ms ease;
}

.auth-input-wrap:focus-within .auth-field-icon,
.auth-input-wrap.is-focused .auth-field-icon {
    color: #007aff;
}

.auth-input {
    width: 100%;
    height: 56px;
    padding: 0 20px 0 56px;
    border: 2px solid transparent;
    border-radius: 24px;
    outline: 0;
    color: #1a1b1f;
    background: #e9e7ed;
    font-size: 17px;
    line-height: 22px;
    font-weight: 400;
    transition: background-color 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}

.auth-input[type="password"],
.auth-input.has-toggle {
    padding-right: 48px;
}

/* The theme supplies its own password visibility controls. */
.auth-input.has-toggle::-ms-reveal,
.auth-input.has-toggle::-ms-clear,
.register-input.has-toggle::-ms-reveal,
.register-input.has-toggle::-ms-clear,
.reset-input-container .forgot-input::-ms-reveal,
.reset-input-container .forgot-input::-ms-clear {
    display: none;
}

.auth-input:focus,
.auth-input-wrap.is-focused .auth-input {
    background: #ffffff;
    box-shadow: 0 0 0 2px rgba(0, 122, 255, 0.3);
}

.auth-toggle {
    position: absolute;
    top: 50%;
    right: 16px;
    display: inline-flex;
    width: 32px;
    height: 32px;
    align-items: center;
    justify-content: center;
    border: 0;
    color: #717786;
    background: transparent;
    cursor: pointer;
    transform: translateY(-50%);
}

.auth-toggle:hover {
    color: #414755;
}

.auth-toggle .material-symbols-outlined {
    font-size: 20px;
}

.auth-error {
    display: none;
    margin: 6px 12px 0;
    color: #ba1a1a;
    font-size: 13px;
    line-height: 18px;
    font-weight: 500;
}

.auth-error.is-visible {
    display: block;
}

.auth-input.is-error,
.auth-input-wrap.is-error .auth-input {
    background: #fff1f1;
    box-shadow: inset 0 0 0 1px rgba(186, 26, 26, 0.32);
}

.auth-input-wrap.is-error .auth-input::placeholder {
    color: #ba1a1a;
    opacity: 1;
}

.auth-field-icon.is-error,
.auth-input-wrap.is-error .auth-field-icon {
    color: #ba1a1a;
}

.auth-submit {
    display: flex;
    width: 100%;
    height: 56px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 8px;
    border: 0;
    border-radius: 24px;
    color: #ffffff;
    background: #007aff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
    font-size: 20px;
    line-height: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 200ms ease, transform 200ms ease, opacity 200ms ease;
}

.auth-submit:hover {
    background: #0066d6;
}

.auth-submit:active {
    transform: scale(0.98);
}

.auth-submit:disabled {
    cursor: default;
    opacity: 0.72;
}

.auth-spinner {
    display: inline-block;
    animation: authSpin 1s linear infinite;
}

@keyframes authSpin {
    to {
        transform: rotate(360deg);
    }
}

.auth-forgot {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 8px;
    padding-top: 0;
    color: #8e8e93;
    font-size: 13px;
    line-height: 18px;
    font-weight: 600;
}

.auth-link {
    color: #007aff;
    font-size: 13px;
    line-height: 18px;
    font-weight: 700;
    text-decoration: none;
    transition: opacity 160ms ease;
}

.auth-link:hover {
    opacity: 0.7;
}

.auth-action-separator {
    width: 1px;
    height: 12px;
    background: rgba(113, 119, 134, 0.25);
}

.auth-register-prompt {
    color: #8e8e93;
    white-space: nowrap;
}

.auth-social {
    margin-top: 40px;
}

.auth-divider {
    display: flex;
    align-items: center;
    padding: 16px 0;
}

.auth-divider::before,
.auth-divider::after {
    content: "";
    height: 1px;
    flex: 1 1 auto;
    background: rgba(193, 198, 215, 0.3);
}

.auth-divider span {
    flex: 0 0 auto;
    margin: 0 16px;
    color: #717786;
    font-size: 11px;
    line-height: 13px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.auth-social-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-top: 24px;
}

.auth-social-grid.is-single {
    grid-template-columns: 1fr;
}

.auth-social-button {
    display: flex;
    height: 56px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid rgba(193, 198, 215, 0.3);
    border-radius: 24px;
    color: #1a1b1f;
    background: #ffffff;
    font-size: 13px;
    line-height: 18px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 160ms ease, transform 160ms ease, opacity 160ms ease;
}

.auth-social-button:hover {
    background: #f4f3f8;
}

.auth-social-button:active {
    transform: scale(0.95);
}

.auth-social-button img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.auth-footer {
    padding: 0 20px 40px;
    text-align: center;
}

.auth-footer p {
    margin: 0;
    color: #8e8e93;
    font-size: 15px;
    line-height: 20px;
    font-weight: 400;
}

.auth-toast {
    position: fixed;
    top: 50%;
    left: 50%;
    z-index: 100;
    display: flex;
    min-width: 200px;
    max-width: 80%;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 20px 32px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 24px;
    color: #1a1b1f;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.18);
    text-align: center;
    transform: translate(-50%, -50%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: opacity 300ms ease, transform 300ms ease;
}

.auth-toast.is-dark,
.auth-toast.is-error {
    color: #ffffff;
    background: rgba(186, 26, 26, 0.9);
}

.auth-toast.is-leaving {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.95);
}

.auth-toast .material-symbols-outlined {
    color: inherit;
    font-size: 32px;
    font-variation-settings: "FILL" 1, "wght" 400, "GRAD" 0, "opsz" 24;
}

.auth-toast p {
    margin: 0;
    font-size: 13px;
    line-height: 18px;
    font-weight: 600;
}

@media (max-width: 420px) {
    .auth-card {
        padding: 28px;
    }

    .auth-social-grid {
        gap: 12px;
    }
}

body.auth-register-page {
    overflow-x: hidden;
    background: #f4f3f8;
}

.register-shell {
    position: relative;
    display: flex;
    min-height: 100vh;
    flex-direction: column;
    overflow-x: hidden;
}

.register-topbar {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 50;
    display: flex;
    height: 64px;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    border-bottom: 1px solid rgba(227, 226, 231, 0.3);
    background: rgba(255, 255, 255, 0.49);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.register-back,
.register-topbar-spacer {
    width: 40px;
    height: 40px;
}

.register-back {
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 999px;
    color: #007aff;
    background: transparent;
    cursor: pointer;
}

.register-back .material-symbols-outlined {
    font-size: 24px;
}

.register-topbar h1 {
    margin: 0;
    color: #1a1b1f;
    font-size: 20px;
    line-height: 25px;
    font-weight: 600;
}

.register-main {
    position: relative;
    z-index: 1;
    display: flex;
    width: 100%;
    flex: 1 1 auto;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 144px 20px 40px;
}

.register-wrap {
    width: 100%;
    max-width: 448px;
}

.register-card {
    display: flex;
    width: 100%;
    min-height: 472px;
    flex-direction: column;
    align-items: center;
    padding: 32px;
    border-radius: 32px;
    background: #ffffff;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.06);
    animation: authFadeIn 700ms ease both;
}

.register-logo {
    display: flex;
    width: 80px;
    height: 80px;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    border-radius: 24px;
    color: #007aff;
    background: rgba(1, 88, 188, 0.05);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.register-logo .material-symbols-outlined {
    font-size: 40px;
    font-variation-settings: "FILL" 1, "wght" 400, "GRAD" 0, "opsz" 24;
}

.register-heading {
    margin-bottom: 40px;
    text-align: center;
}

.register-heading h2 {
    margin: 0 0 8px;
    color: #1a1b1f;
    font-size: 22px;
    line-height: 28px;
    font-weight: 700;
}

.register-heading p {
    margin: 0;
    color: #414755;
    font-size: 15px;
    line-height: 20px;
    font-weight: 400;
}

.register-form {
    display: flex;
    width: 100%;
    flex-direction: column;
    gap: 16px;
}

.register-field {
    width: 100%;
}

.register-input-group {
    position: relative;
}

.register-input-group.is-focused .register-field-icon {
    color: #007aff;
}

.register-field-icon {
    position: absolute;
    top: 50%;
    left: 20px;
    z-index: 1;
    color: #717786;
    font-size: 20px;
    pointer-events: none;
    transform: translateY(-50%);
    transition: color 200ms ease;
}

.register-input-group:focus-within .register-field-icon {
    color: #007aff;
}

.register-input {
    width: 100%;
    height: 56px;
    padding: 0 24px 0 56px;
    border: 2px solid transparent;
    border-radius: 24px;
    outline: 0;
    color: #1a1b1f;
    background: #e9e7ed;
    font-size: 17px;
    line-height: 22px;
    font-weight: 400;
    transition: background-color 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}

.register-input.has-toggle {
    padding-right: 48px;
}

.register-input::placeholder {
    color: #717786;
}

.register-input:focus,
.register-input-group.is-focused .register-input {
    border-color: transparent;
    background: #ffffff;
    box-shadow: 0 0 0 2px rgba(0, 122, 255, 0.3);
}

.register-toggle {
    position: absolute;
    top: 0;
    right: 20px;
    z-index: 1;
    display: flex;
    height: 100%;
    align-items: center;
    border: 0;
    color: #717786;
    background: transparent;
    cursor: pointer;
    transition: color 200ms ease;
}

.register-toggle:hover {
    color: #007aff;
}

.register-toggle .material-symbols-outlined {
    font-size: 20px;
}

.register-error {
    display: none;
    margin: 6px 12px 0;
    color: #ba1a1a;
    font-size: 13px;
    line-height: 18px;
    font-weight: 500;
}

.register-error.is-visible {
    display: block;
}

.register-input-group.is-error {
    transform: none;
}

.register-input-group.is-error .register-input {
    border-color: transparent;
    background: #fff1f1;
    box-shadow: inset 0 0 0 1px rgba(186, 26, 26, 0.32);
}

.register-input-group.is-error .register-input::placeholder {
    color: #ba1a1a;
    opacity: 1;
}

.register-input-group.is-error .register-field-icon {
    color: #ba1a1a;
}

.register-submit {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
    padding: 16px;
    border: 0;
    border-radius: 24px;
    color: #ffffff;
    background: #007aff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
    font-size: 20px;
    line-height: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 160ms ease, opacity 160ms ease, box-shadow 160ms ease;
}

.register-submit:active {
    transform: scale(0.98);
}

.register-submit:disabled {
    box-shadow: none;
    cursor: not-allowed;
    opacity: 0.5;
}

.register-footer-link {
    margin-top: 32px;
}

.register-footer-link p {
    margin: 0;
    color: #414755;
    font-size: 13px;
    line-height: 18px;
    font-weight: 600;
    text-align: center;
}

.register-footer-link a {
    color: #007aff;
    font-weight: 700;
    text-decoration: none;
}

.register-footer-link a:hover {
    text-decoration: underline;
}

.register-orb {
    position: fixed;
    z-index: 0;
    border-radius: 999px;
    pointer-events: none;
}

.register-orb--top {
    top: 0;
    right: 0;
    width: 500px;
    height: 500px;
    background: rgba(0, 122, 255, 0.05);
    filter: blur(100px);
    transform: translate(50%, -50%);
}

.register-orb--bottom {
    bottom: 0;
    left: 0;
    width: 400px;
    height: 400px;
    background: rgba(76, 74, 202, 0.05);
    filter: blur(80px);
    transform: translate(-50%, 50%);
}

.register-toast {
    position: fixed;
    top: 50%;
    left: 50%;
    z-index: 100;
    display: flex;
    min-width: 200px;
    max-width: 80%;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 20px 32px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 24px;
    color: #1a1b1f;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.18);
    text-align: center;
    transform: translate(-50%, -50%);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: opacity 300ms ease, transform 300ms ease;
}

.register-toast.is-leaving {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.95);
}

.register-toast .material-symbols-outlined {
    font-size: 32px;
}

.register-toast.is-error {
    color: #ffffff;
    background: rgba(186, 26, 26, 0.9);
}

.register-toast p {
    margin: 0;
    font-size: 15px;
    line-height: 20px;
    font-weight: 600;
}

@media (max-width: 420px) {
    .register-card {
        padding: 28px;
    }
}

body.auth-forgot-page {
    display: flex;
    min-height: 100vh;
    flex-direction: column;
    align-items: center;
    overflow-x: hidden;
    background: #f4f3f8;
}

.forgot-shell {
    display: flex;
    width: 100%;
    min-height: 100vh;
    flex-direction: column;
    align-items: center;
}

.forgot-topbar {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 50;
    display: flex;
    height: 64px;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    border-bottom: 1px solid rgba(227, 226, 231, 0.3);
    background: rgba(255, 255, 255, 0.49);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.forgot-back,
.forgot-topbar-spacer {
    width: 40px;
    height: 40px;
}

.forgot-back {
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 999px;
    color: #007aff;
    background: transparent;
    cursor: pointer;
    transition: background-color 150ms ease, transform 150ms ease;
}

.forgot-back:hover {
    background: rgba(233, 231, 237, 0.5);
}

.forgot-back:active {
    transform: scale(0.95);
}

.forgot-back .material-symbols-outlined {
    font-size: 24px;
}

.forgot-topbar h1 {
    margin: 0;
    color: #1a1b1f;
    font-size: 20px;
    line-height: 25px;
    font-weight: 600;
}

.forgot-main {
    display: flex;
    width: 100%;
    flex: 1 1 auto;
    align-items: flex-start;
    justify-content: center;
    padding: 144px 20px 40px;
}

.forgot-card {
    display: flex;
    width: 100%;
    max-width: 448px;
    min-height: 472px;
    flex-direction: column;
    align-items: center;
    align-self: flex-start;
    padding: 40px;
    border-radius: 32px;
    background: #ffffff;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
    transition: transform 300ms ease, box-shadow 300ms ease;
    animation: authFadeIn 700ms ease both;
}

.forgot-logo {
    display: flex;
    width: 80px;
    height: 80px;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    border-radius: 24px;
    color: #007aff;
    background: rgba(1, 88, 188, 0.05);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.forgot-logo .material-symbols-outlined {
    font-size: 40px;
    font-variation-settings: "FILL" 1, "wght" 400, "GRAD" 0, "opsz" 24;
}

.forgot-heading {
    text-align: center;
}

.forgot-heading h2 {
    margin: 0 0 8px;
    color: #1a1b1f;
    font-size: 28px;
    line-height: 34px;
    font-weight: 700;
}

.forgot-heading p {
    max-width: 280px;
    margin: 0 auto 40px;
    color: #717786;
    font-size: 15px;
    line-height: 20px;
    font-weight: 400;
}

.forgot-form {
    display: flex;
    width: 100%;
    flex-direction: column;
    gap: 24px;
    margin-top: auto;
}

.forgot-input-container {
    position: relative;
    transition: none;
}

.forgot-input-bg {
    position: absolute;
    inset: 0;
    border-radius: 24px;
    background: #e9e7ed;
    transition: background-color 200ms ease, box-shadow 200ms ease;
}

.forgot-input-container.is-focused .forgot-input-bg {
    background: #ffffff;
    box-shadow: 0 0 0 2px rgba(0, 122, 255, 0.3);
}

.forgot-input-container.is-error .forgot-input-bg {
    background: #fff1f1;
    box-shadow: inset 0 0 0 1px rgba(186, 26, 26, 0.32);
}

.forgot-input-row {
    position: relative;
    display: flex;
    height: 56px;
    align-items: center;
    padding: 0 24px;
}

.forgot-input-icon {
    margin-right: 12px;
    color: #717786;
    font-size: 24px;
    transition: color 200ms ease;
}

.forgot-input-container.is-error .forgot-input-icon {
    color: #ba1a1a;
}

.forgot-input-container.is-error .forgot-input::placeholder {
    color: #ba1a1a;
    opacity: 1;
}

.forgot-input {
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    outline: 0;
    color: #1a1b1f;
    background: transparent;
    font-size: 17px;
    line-height: 22px;
    font-weight: 400;
}

.forgot-input::placeholder {
    color: rgba(113, 119, 134, 0.6);
}

.forgot-submit {
    display: flex;
    width: 100%;
    height: 56px;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 24px;
    color: #ffffff;
    background: #007aff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
    font-size: 20px;
    line-height: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 200ms ease, transform 200ms ease, opacity 200ms ease;
}

.forgot-submit:hover {
    background: #0066d6;
}

.forgot-submit:active {
    transform: scale(0.98);
}

.forgot-submit:disabled {
    cursor: default;
    opacity: 0.7;
}

.forgot-footer-link {
    margin-top: auto;
    padding-top: 40px;
}

.forgot-footer-link a {
    color: #007aff;
    font-size: 13px;
    line-height: 18px;
    font-weight: 600;
    text-decoration: none;
}

.forgot-footer-link a:hover {
    text-decoration: underline;
}

.forgot-toast-portal {
    position: fixed;
    top: 50%;
    left: 50%;
    z-index: 100;
    display: flex;
    width: 100%;
    max-width: 80%;
    justify-content: center;
    pointer-events: none;
    transform: translate(-50%, -50%);
}

.forgot-toast {
    display: flex;
    min-width: 200px;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 20px 32px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 24px;
    color: #1a1b1f;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.18);
    text-align: center;
    pointer-events: auto;
    transform: scale(0.9);
    opacity: 0;
    animation: forgotToastIn 350ms cubic-bezier(0.19, 1, 0.22, 1) forwards;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.forgot-toast.is-error {
    color: #ffffff;
    background: rgba(186, 26, 26, 0.9);
}

.forgot-toast.is-leaving {
    opacity: 0;
    transition: opacity 300ms ease;
}

@keyframes forgotToastIn {
    from {
        opacity: 0;
        transform: translateY(10%) scale(0.9);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.forgot-toast .material-symbols-outlined {
    font-size: 32px;
}

.forgot-toast span:last-child {
    font-size: 13px;
    line-height: 18px;
    font-weight: 600;
}

@media (max-width: 420px) {
    .forgot-card {
        padding: 36px 28px;
    }
}

@media (max-width: 420px) {
    .auth-card,
    .register-card,
    .forgot-card {
        min-height: 472px;
    }
}

.reset-form {
    gap: 24px;
}

.reset-inputs {
    display: flex;
    width: 100%;
    flex-direction: column;
    gap: 24px;
}

.reset-toggle {
    display: inline-flex;
    margin-left: 12px;
    align-items: center;
    justify-content: center;
    border: 0;
    color: #717786;
    background: transparent;
    cursor: pointer;
    transition: color 200ms ease;
}

.reset-toggle:hover {
    color: #1a1b1f;
}

.reset-toggle .material-symbols-outlined {
    font-size: 24px;
}
