.help-center-toggle {
    display: inline-flex;
    align-items: center;
    flex-wrap: nowrap;
    border: gray solid 1.5px;
    background: rgba(128, 128, 128, 0.263);
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 12px;
    margin-left: 12px;
    max-width: fit-content;
    color: gray;
    width: 100%;
}

.help-center-toggle svg {
    width: 20px;
    height: 20px;
}

.help-center-toggle h3 {
    margin: 0;
    font-size: 14px;
    margin-left: 8px;
}

.help-center-toggle:hover {
    background: blueviolet;
    border: none;
    color: white;
}












































:root {
    --auth-bg: #f6f5fb;
    --auth-surface: rgba(255, 255, 255, 0.78);
    --auth-surface-strong: #ffffff;
    --auth-border: rgba(109, 53, 244, 0.14);
    --auth-text: #17131f;
    --auth-muted: #70688b;
    --auth-primary: #6d35f4;
    --auth-primary-strong: #5320d6;
    --auth-primary-soft: rgba(109, 53, 244, 0.12);
    --auth-shadow: 0 28px 80px rgba(26, 20, 47, 0.14);
    --auth-shadow-soft: 0 16px 40px rgba(39, 28, 72, 0.08);
    --auth-radius-xl: 36px;
    --auth-radius-lg: 24px;
    --auth-radius-md: 18px;
    --auth-radius-sm: 14px;
    --auth-transition: 220ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

* {
    box-sizing: border-box;
}

html,
body {
    min-height: 100%;
}

body.auth-page {
    margin: 0;
    font-family: 'DM Sans', sans-serif;
    color: var(--auth-text);
    background:
        radial-gradient(circle at top left, rgba(109, 53, 244, 0.12), transparent 30%),
        linear-gradient(180deg, #fbfbfe 0%, #f3f1f9 100%);
    overflow-x: hidden;
}

.auth-page-bg {
    position: fixed;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.auth-blob {
    position: absolute;
    border-radius: 999px;
    filter: blur(30px);
    opacity: 0.55;
    animation: authFloat 15s ease-in-out infinite;
}

.auth-blob-one {
    width: 340px;
    height: 340px;
    top: -80px;
    left: -60px;
    background: rgba(109, 53, 244, 0.22);
}

.auth-blob-two {
    width: 260px;
    height: 260px;
    right: 5%;
    top: 18%;
    background: rgba(129, 211, 248, 0.2);
    animation-delay: -4s;
}

.auth-blob-three {
    width: 300px;
    height: 300px;
    bottom: -120px;
    left: 36%;
    background: rgba(255, 186, 133, 0.18);
    animation-delay: -8s;
}

.auth-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(109, 53, 244, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(109, 53, 244, 0.04) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(circle at center, black 30%, transparent 80%);
}

.auth-layout {
    position: relative;
    z-index: 1;
    width: min(1320px, calc(100% - 48px));
    min-height: 100vh;
    margin: 0 auto;
    padding: 32px 0;
    display: grid;
    grid-template-columns: minmax(0, 1.04fr) minmax(420px, 0.96fr);
    gap: 28px;
    align-items: stretch;
}

.auth-left-panel-shell,
.auth-right-panel {
    min-width: 0;
}

.auth-right-panel {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.auth-mobile-brand {
    display: none;
    align-items: center;
    gap: 14px;
    width: min(100%, 620px);
    margin-bottom: 16px;
    padding: 18px 20px;
    border-radius: 24px;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.68);
    background:
        linear-gradient(135deg, rgba(109, 53, 244, 0.95), rgba(143, 102, 255, 0.86)),
        radial-gradient(circle at top right, rgba(255, 255, 255, 0.25), transparent 36%);
    box-shadow: var(--auth-shadow-soft);
}

.auth-mobile-brand::before,
.auth-mobile-brand::after {
    content: '';
    position: absolute;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
}

.auth-mobile-brand::before {
    width: 120px;
    height: 120px;
    top: -36px;
    right: -22px;
}

.auth-mobile-brand::after {
    width: 84px;
    height: 84px;
    bottom: -24px;
    left: 24px;
}

.auth-mobile-brand-mark {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    color: #fff;
    background: linear-gradient(135deg, var(--auth-primary), #8d69ff);
    box-shadow: 0 16px 28px rgba(34, 14, 92, 0.24);
    position: relative;
    z-index: 1;
}

.auth-mobile-brand-logo-card {
    width: 58px;
    height: 58px;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.55);
    box-shadow: 0 14px 24px rgba(34, 14, 92, 0.22);
    background: rgba(255, 255, 255, 0.92);
    position: relative;
    z-index: 1;
    flex-shrink: 0;
}

.auth-mobile-brand-logo-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.auth-mobile-brand strong,
.auth-mobile-brand span {
    display: block;
    position: relative;
    z-index: 1;
    color: #fff;
}

.auth-mobile-brand span {
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.78);
}

.auth-card {
    position: relative;
    width: min(100%, 620px);
    min-height: 0;
    height: auto;
    align-self: center;
    border: 1px solid rgba(255, 255, 255, 0.65);
    border-radius: var(--auth-radius-xl);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(250, 248, 255, 0.82));
    backdrop-filter: blur(18px);
    box-shadow: var(--auth-shadow);
    overflow: hidden;
}

.auth-card::before {
    content: '';
    position: absolute;
    inset: 0 auto auto 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.95), transparent);
}

.auth-card-entrance {
    animation: authCardEntrance 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.auth-card-head,
.auth-card-body {
    position: relative;
    z-index: 1;
    padding: 28px 30px;
}

.auth-card-head {
    padding-bottom: 18px;
}

.auth-card-body {
    padding-top: 0;
}

.auth-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    color: var(--auth-primary-strong);
    background: var(--auth-primary-soft);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.auth-card-title {
    margin: 18px 0 10px;
    font-family: 'Manrope', sans-serif;
    font-size: clamp(2rem, 2vw, 2.6rem);
    line-height: 1.08;
}

.auth-card-subtitle {
    margin: 0;
    color: var(--auth-muted);
    line-height: 1.7;
    max-width: 56ch;
}

.auth-divider {
    position: relative;
    text-align: center;
    margin: 24px 0 20px;
    color: var(--auth-muted);
    font-size: 0.9rem;
}

.auth-divider::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(109, 53, 244, 0.18), transparent);
}

.auth-divider span {
    position: relative;
    padding: 0 12px;
    background: rgba(252, 251, 255, 0.95);
}

.auth-switcher {
    position: relative;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    padding: 6px;
    border-radius: 18px;
    background: rgba(109, 53, 244, 0.08);
    margin-bottom: 24px;
}

.auth-switcher-btn {
    position: relative;
    z-index: 1;
    border: 0;
    background: transparent;
    color: var(--auth-muted);
    font-weight: 700;
    font-family: inherit;
    font-size: 0.98rem;
    padding: 14px 12px;
    cursor: pointer;
    transition: color var(--auth-transition), transform var(--auth-transition);
}

.auth-switcher-btn.is-active {
    color: var(--auth-primary-strong);
}

.auth-switcher-btn:hover {
    transform: translateY(-1px);
}

.auth-switcher-indicator {
    position: absolute;
    top: 6px;
    left: 6px;
    width: calc(50% - 6px);
    height: calc(100% - 12px);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 12px 24px rgba(109, 53, 244, 0.14);
    transition: transform 280ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.auth-switcher[data-auth-mode='register'] .auth-switcher-indicator,
.auth-forms-stage[data-auth-mode='register'] ~ .auth-switcher .auth-switcher-indicator {
    transform: translateX(100%);
}

.auth-forms-stage {
    position: relative;
    overflow: hidden;
}

.auth-form-panel {
    transition: opacity 260ms ease, transform 320ms cubic-bezier(0.2, 0.8, 0.2, 1), visibility 260ms ease;
}

.auth-form-panel-register {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateX(24px);
}

.auth-forms-stage[data-auth-mode='register'] .auth-form-panel-login {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-24px);
    pointer-events: none;
}

.auth-forms-stage[data-auth-mode='register'] .auth-form-panel-register {
    position: relative;
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.auth-toast-stack {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 11000;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.auth-google-onetap-anchor {
    position: fixed;
    top: 18px;
    right: 18px;
    z-index: 12000;
    pointer-events: none;
}

.auth-toast {
    min-width: 280px;
    max-width: 360px;
    padding: 14px 16px;
    border-radius: 18px;
    background: rgba(22, 18, 34, 0.92);
    color: #fff;
    box-shadow: var(--auth-shadow-soft);
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 12px;
    align-items: start;
    animation: authToastIn 260ms ease;
}

.auth-toast i {
    margin-top: 3px;
}

.auth-toast-title {
    display: block;
    font-weight: 700;
    margin-bottom: 4px;
}

.auth-toast-close {
    border: 0;
    background: transparent;
    color: inherit;
    cursor: pointer;
    padding: 0;
}

@keyframes authFloat {
    0%,
    100% { transform: translate3d(0, 0, 0) scale(1); }
    50% { transform: translate3d(0, 18px, 0) scale(1.05); }
}

@keyframes authCardEntrance {
    from {
        opacity: 0;
        transform: translateY(22px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes authToastIn {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 1080px) {
    .auth-layout {
        grid-template-columns: 1fr;
        width: min(920px, calc(100% - 32px));
        padding: 20px 0 32px;
    }

    .auth-left-panel-shell {
        order: 1;
    }

    .auth-right-panel {
        order: 2;
    }
}

@media (max-width: 768px) {
    .auth-layout {
        width: min(100%, calc(100% - 20px));
        gap: 18px;
    }

    .auth-mobile-brand {
        display: flex;
    }

    .auth-left-panel-shell {
        display: block;
    }

    .auth-card-head,
    .auth-card-body {
        padding-left: 18px;
        padding-right: 18px;
    }

    .auth-card {
        border-radius: 28px;
        width: 100%;
    }
}

@media (max-width: 640px) {
    .auth-left-panel-shell {
        display: none;
    }

    .auth-layout {
        min-height: auto;
        align-items: start;
        padding-top: 16px;
    }

    .auth-right-panel {
        align-items: stretch;
    }

    .auth-mobile-brand {
        display: flex;
        width: 100%;
    }

    .auth-card-title {
        font-size: 1.75rem;
    }

    .auth-toast-stack {
        left: 12px;
        right: 12px;
        bottom: 12px;
    }

    .auth-toast {
        min-width: 0;
        max-width: none;
        width: 100%;
    }

    .auth-google-onetap-anchor {
        top: 10px;
        right: 10px;
        left: 10px;
    }
}
