/* ==========================================================================
   Authentication screens — split layout: form on one side, brand panel on the
   other. The brand panel collapses away below 992px so the form is the first
   thing on a phone rather than something you scroll past.
   ========================================================================== */

.v2g-auth-body { background: var(--v2g-canvas); margin: 0; }

.v2g-auth {
    display: grid;
    grid-template-columns: 1fr;
    min-height: 100vh;
}

@media (min-width: 992px) {
    .v2g-auth { grid-template-columns: 1fr 42%; }
}

/* ------------------------------------------------------------ form side --- */

.v2g-auth__main {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px 20px;
    background: #fff;
}

.v2g-auth__inner {
    width: 100%;
    max-width: 460px;
    display: flex;
    flex-direction: column;
    min-height: min(100vh - 64px, 720px);
}

.v2g-auth__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 40px;
}

.v2g-auth__lang { display: flex; gap: 6px; }

.v2g-auth__lang a {
    font-size: 13px;
    font-weight: 600;
    color: var(--v2g-ink-500);
    text-decoration: none;
    padding: 6px 12px;
    border-radius: var(--v2g-r-pill);
    transition: all var(--v2g-dur) var(--v2g-ease);
}

.v2g-auth__lang a:hover { background: var(--v2g-line-soft); }
.v2g-auth__lang a.is-active { background: var(--v2g-primary-050); color: var(--v2g-primary); }

.v2g-auth__form { flex: 1; }

.v2g-auth__title {
    font-size: 30px;
    font-weight: 600;
    letter-spacing: -.02em;
    margin: 0 0 8px;
}

.v2g-auth__lead {
    font-size: 15px;
    color: var(--v2g-ink-500);
    line-height: 1.7;
    margin: 0 0 28px;
}

.v2g-auth__foot {
    font-size: 12.5px;
    color: var(--v2g-ink-400);
    margin: 40px 0 0;
    text-align: center;
}

.v2g-auth__alt {
    font-size: 14.5px;
    color: var(--v2g-ink-500);
    text-align: center;
    margin: 22px 0 0;
}

.v2g-auth__alt a { color: var(--v2g-primary); font-weight: 600; text-decoration: none; }

.v2g-auth__row { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.v2g-auth__row a { font-size: 14px; color: var(--v2g-primary); text-decoration: none; }

/* ----------------------------------------------------------- brand side --- */

.v2g-auth__aside {
    display: none;
    background: linear-gradient(150deg, var(--v2g-primary-600) 0%, #0B4FD1 100%);
    color: #fff;
    position: relative;
    overflow: hidden;
}

@media (min-width: 992px) { .v2g-auth__aside { display: flex; align-items: center; } }

.v2g-auth__aside::before,
.v2g-auth__aside::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, .07);
}

.v2g-auth__aside::before { width: 380px; height: 380px; top: -120px; inset-inline-end: -120px; }
.v2g-auth__aside::after  { width: 260px; height: 260px; bottom: -90px; inset-inline-start: -80px; }

.v2g-auth__aside-inner { position: relative; z-index: 1; padding: 56px; }

.v2g-auth__aside h2 {
    font-size: 30px;
    font-weight: 600;
    line-height: 1.3;
    margin: 0 0 28px;
    max-width: 14ch;
}

.v2g-auth__aside ul { list-style: none; padding: 0; margin: 0 0 40px; display: grid; gap: 16px; }

.v2g-auth__aside li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 15.5px;
    line-height: 1.6;
    color: rgba(255, 255, 255, .92);
}

.v2g-auth__stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding-top: 28px;
    border-top: 1px solid rgba(255, 255, 255, .2);
}

.v2g-auth__stats strong { display: block; font-size: 24px; font-weight: 600; line-height: 1.2; }
.v2g-auth__stats span { font-size: 12.5px; color: rgba(255, 255, 255, .75); }

/* Persian headline wraps differently — let it use the full column. */
html[dir="rtl"] .v2g-auth__aside h2 { max-width: none; }
html[dir="rtl"] .v2g-auth__title { letter-spacing: 0; }
