.zgf-auth-shell {
    width: min(1080px, 100%);
    min-height: 620px;
    display: grid;
    grid-template-columns: minmax(0, 0.82fr) minmax(460px, 1.18fr);
    grid-template-areas: "visual stage";
    gap: 10px;
    padding: 10px;
    overflow: hidden;
    border: 1px solid #d3d1d7;
    border-radius: 28px;
    background: #dfe0e4;
    box-shadow: 0 24px 65px rgba(42, 38, 49, 0.12);
    direction: ltr;
}

.zgf-auth-visual {
    position: relative;
    grid-area: visual;
    min-width: 0;
    min-height: 600px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 34px;
    overflow: hidden;
    border-radius: 19px;
    background-color: #45375a;
    background-image: var(--zgf-desktop-banner, none);
    background-position: center;
    background-size: cover;
    color: #ffffff;
    direction: rtl;
}

.zgf-auth-visual::before {
    content: "";
    position: absolute;
    z-index: 1;
    inset: 16px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 13px;
    pointer-events: none;
}

.zgf-auth-visual::after {
    content: "";
    position: absolute;
    z-index: 1;
    right: 34px;
    bottom: 103px;
    width: 54px;
    height: 5px;
    border-radius: 5px;
    background: var(--zgf-accent);
}

.zgf-auth-visual__shade {
    position: absolute;
    z-index: 0;
    inset: 0;
    background: rgba(34, 25, 47, 0.56);
}

.zgf-auth-visual.has-custom-banner::before,
.zgf-auth-visual.has-custom-banner::after,
.zgf-auth-visual.has-custom-banner > :not(.zgf-auth-banner-link) {
    display: none !important;
}

.zgf-ui .zgf-auth-banner-link {
    position: absolute;
    z-index: 3;
    inset: 0;
    display: block;
    overflow: hidden;
    border-radius: inherit;
    color: inherit;
    text-decoration: none;
    cursor: pointer;
}

.zgf-ui .zgf-auth-banner-link::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.04);
    opacity: 0;
    transition: opacity 180ms ease;
}

.zgf-ui .zgf-auth-banner-link:hover::after {
    opacity: 1;
}

.zgf-ui .zgf-auth-banner-link:focus-visible {
    outline: 3px solid #ffffff;
    outline-offset: -6px;
}

.zgf-auth-wordmark {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    min-width: 0;
    color: #312c38;
}

.zgf-auth-wordmark b {
    overflow: hidden;
    font-size: 17px;
    font-weight: 900;
    line-height: 1.5;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.zgf-auth-wordmark__symbol {
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    display: grid;
    place-items: center;
    padding: 4px;
    overflow: hidden;
    border: 1px solid #d6d1db;
    border-radius: 11px;
    background: #ffffff;
}

.zgf-auth-wordmark__symbol img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
}

.zgf-auth-wordmark--light {
    position: relative;
    z-index: 2;
    color: #ffffff;
}

.zgf-auth-wordmark--light .zgf-auth-wordmark__symbol {
    border-color: rgba(255, 255, 255, 0.42);
    background: #ffffff;
}

.zgf-auth-story {
    position: relative;
    z-index: 2;
    max-width: 380px;
    margin-block: auto;
    padding: 52px 8px 68px;
}

.zgf-auth-story__eyebrow {
    display: inline-block;
    margin-bottom: 13px;
    color: #e5daf6;
    font-size: 13px;
    font-weight: 800;
}

.zgf-auth-story h1 {
    margin: 0;
    color: #ffffff;
    font-size: clamp(31px, 3vw, 43px);
    font-weight: 900;
    line-height: 1.55;
    letter-spacing: -0.6px;
}

.zgf-auth-story p {
    max-width: 340px;
    margin: 13px 0 0;
    color: rgba(255, 255, 255, 0.76);
    font-size: 14px;
    line-height: 2;
}

.zgf-auth-visual__notes {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 7px;
}

.zgf-auth-visual__notes span {
    min-height: 65px;
    display: grid;
    align-content: center;
    justify-items: center;
    gap: 4px;
    padding: 8px 5px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.84);
    font-size: 10px;
    font-weight: 700;
    text-align: center;
}

.zgf-auth-visual__notes i {
    width: 21px;
    height: 21px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #ffffff;
    color: #443456;
    font-size: 9px;
    font-style: normal;
    font-weight: 900;
}

.zgf-auth-stage {
    position: relative;
    grid-area: stage;
    min-width: 0;
    display: grid;
    place-items: center;
    padding: 70px 58px 38px;
    border-radius: 19px;
    background: var(--zgf-auth-paper);
    direction: rtl;
}

.zgf-auth-exit {
    position: absolute;
    top: 25px;
    right: 28px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #716d78;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
}

.zgf-auth-exit:hover {
    color: var(--zgf-primary);
}

.zgf-auth-exit svg {
    width: 15px;
    height: 15px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.zgf-auth-card {
    width: min(470px, 100%);
    color: var(--zgf-auth-ink);
}

.zgf-auth-card__head {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 28px;
}

.zgf-auth-mobile-banner {
    position: relative;
    display: none;
    aspect-ratio: 20 / 7;
    margin: 0;
    overflow: hidden;
    border: 1px solid var(--zgf-auth-line);
    border-radius: 16px;
    background-color: #45375a;
    background-image: var(--zgf-mobile-banner, none);
    background-position: center;
    background-size: cover;
    color: #ffffff;
    direction: rtl;
}

.zgf-auth-mobile-banner::before {
    content: "";
    position: absolute;
    z-index: 2;
    inset: 9px;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 10px;
    pointer-events: none;
}

.zgf-auth-mobile-banner::after {
    content: "";
    position: absolute;
    z-index: 2;
    right: 24px;
    bottom: 20px;
    width: 38px;
    height: 4px;
    border-radius: 4px;
    background: var(--zgf-accent);
}

.zgf-auth-mobile-banner__shade {
    position: absolute;
    z-index: 0;
    inset: 0;
    background: linear-gradient(90deg, rgba(31, 23, 43, 0.28), rgba(31, 23, 43, 0.84));
}

.zgf-auth-mobile-banner.has-custom-banner::before,
.zgf-auth-mobile-banner.has-custom-banner::after,
.zgf-auth-mobile-banner.has-custom-banner > :not(.zgf-auth-banner-link) {
    display: none !important;
}

.zgf-auth-mobile-banner__content {
    position: relative;
    z-index: 1;
    min-height: 150px;
    display: grid;
    align-content: center;
    justify-items: start;
    padding: 24px 24px 32px;
}

.zgf-auth-mobile-banner__content span {
    color: #e5daf6;
    font-size: 10px;
    font-weight: 800;
}

.zgf-auth-mobile-banner__content strong {
    max-width: 86%;
    margin-top: 4px;
    color: #ffffff;
    font-size: 19px;
    font-weight: 900;
    line-height: 1.7;
}

.zgf-auth-mobile-banner__content p {
    max-width: 88%;
    margin: 2px 0 0;
    color: rgba(255, 255, 255, 0.7);
    font-size: 10px;
    line-height: 1.8;
}

.zgf-auth-progress {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
    margin: 0 0 34px;
    padding: 0;
    list-style: none;
}

.zgf-auth-progress li {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding-top: 8px;
    border-top: 3px solid #e5e3e8;
    color: #aaa6af;
    font-size: 11px;
    transition: border-color 0.18s ease, color 0.18s ease;
}

.zgf-auth-progress li span {
    font-size: 10px;
    font-weight: 900;
}

.zgf-auth-progress li small {
    font-size: 10px;
    font-weight: 700;
}

.zgf-auth-progress li.is-active {
    border-color: var(--zgf-primary);
    color: var(--zgf-primary);
}

.zgf-auth-progress li.is-complete {
    border-color: var(--zgf-secondary);
    color: #4f8174;
}

.zgf-auth-shell.is-compact {
    display: block;
    min-height: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.zgf-auth-shell.is-compact .zgf-auth-visual,
.zgf-auth-shell.is-compact .zgf-auth-exit,
.zgf-auth-shell.is-compact .zgf-auth-mobile-banner {
    display: none;
}

.zgf-auth-shell.is-compact .zgf-auth-stage {
    display: block;
    padding: 0;
    border-radius: 0;
    background: transparent;
}

.zgf-auth-shell.is-compact .zgf-auth-card {
    width: 100%;
    max-width: none;
    padding: 26px;
    border: 1px solid var(--zgf-auth-line);
    border-radius: 16px;
    background: #ffffff;
}
