.tg-auth-development-otp {
    margin: 0 0 var(--tg-space-lg);
    padding: 0.75rem;
    border: 1px dashed var(--tg-color-warning);
    border-radius: var(--tg-radius-sm);
    background: var(--tg-color-surface-muted);
    text-align: center;
}

.tg-auth-development-label {
    margin: 0;
    color: var(--tg-color-text-strong);
    font-size: var(--tg-font-size-xs);
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.tg-auth-development-copy {
    margin: 0.3rem 0 0.65rem;
    color: var(--tg-color-muted);
    font-size: var(--tg-font-size-xs);
    line-height: var(--tg-line-height);
}

.tg-auth-development-otp .tg-auth-code {
    margin: 0 auto;
}

html[data-tg-theme="dark"] .tg-auth-development-otp {
    background: var(--tg-color-surface-muted);
}

.tg-auth-shell {
    overflow-x: hidden;
    overflow-x: clip;
}

.tg-auth-card.tg-auth-departing {
    opacity: 0;
    transform: translateX(-12px);
    pointer-events: none;
    transition: opacity 140ms ease, transform 140ms ease;
}

[dir="rtl"] .tg-auth-card.tg-auth-departing {
    transform: translateX(12px);
}

.tg-auth-departure-loader {
    position: fixed;
    inset: 0;
    z-index: 20;
    display: grid;
    place-items: center;
    background: transparent;
    pointer-events: none;
}

.tg-auth-departure-loader::before {
    width: 22px;
    height: 22px;
    content: "";
    border: 2px solid var(--tg-color-border);
    border-block-start-color: var(--tg-color-primary);
    border-radius: 50%;
    background: var(--tg-color-surface);
    box-shadow: var(--tg-shadow-card);
    animation: tg-auth-departure-loader-spin 700ms linear infinite;
}

@keyframes tg-auth-departure-loader-spin {
    to {
        transform: rotate(1turn);
    }
}

@media (prefers-reduced-motion: reduce) {
    .tg-auth-card.tg-auth-departing {
        transition: none;
    }

    .tg-auth-departure-loader::before {
        animation: none;
    }
}
