.zgf-auth-document {
    margin-top: 0 !important;
    background: #ececef;
}

body.zgf-auth-page {
    min-height: 100vh;
    min-height: 100svh;
    margin: 0 !important;
    padding: 0 !important;
    overflow-x: hidden;
    background: #ececef !important;
}

body.zgf-auth-page > :not(.zgf-auth-page__main):not(script):not(style):not(link) {
    display: none !important;
}

.zgf-auth-page__main {
    min-height: 100vh;
    min-height: 100svh;
    display: grid;
    place-items: center;
    padding: 32px;
    background: #ececef;
}

.zgf-auth-shell,
.zgf-auth-shell * {
    box-sizing: border-box;
}

.zgf-auth-shell {
    --zgf-primary: #6d3cc6;
    --zgf-secondary: #5f9f8c;
    --zgf-accent: #d6c6f0;
    --zgf-auth-ink: #26232b;
    --zgf-auth-muted: #75717d;
    --zgf-auth-line: #dedce2;
    --zgf-auth-canvas: #ececef;
    --zgf-auth-paper: #ffffff;
    color: var(--zgf-auth-ink);
    direction: rtl;
    font-size: 15px;
    line-height: 1.8;
}

.zgf-auth-shell [hidden] {
    display: none !important;
}

.zgf-auth-shell :where(button, input, select, textarea) {
    font-family: inherit !important;
}

.zgf-auth-shell :where(button, a, input, select, textarea):focus-visible {
    outline: 3px solid #d8c7f2 !important;
    outline-offset: 2px;
}

.zgf-auth-shell svg {
    display: block;
}

@keyframes zgfPanelIn {
    from {
        opacity: 0;
        transform: translateY(6px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

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