/* ── RTCL Login Page — Telegram Button ─────────────── */
/* The Telegram sign-in button is styled by
   assets/scss/components/_telegram-login-button.scss (compiled into
   ayneta-style.css) so the account page and the login/register modals
   share a single design. Only the web-login banner styles remain here. */

/* ── Web Login Processing Banner ──────────────────── */
.ayneta-tg-web-login-banner {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 14px 20px;
    background: #fff;
    border-bottom: 1px solid #e5e7eb;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #334155;
    animation: ayneta-tg-slide-down 0.3s ease;
}

@keyframes ayneta-tg-slide-down {
    from { transform: translateY(-100%); opacity: 0; }
    to   { transform: translateY(0);     opacity: 1; }
}

.ayneta-tg-web-login-banner__spinner {
    width: 18px;
    height: 18px;
    border: 2px solid #e5e7eb;
    border-top-color: #0088cc;
    border-radius: 50%;
    animation: ayneta-tg-spin 0.6s linear infinite;
}

@keyframes ayneta-tg-spin {
    to { transform: rotate(360deg); }
}

/* ═══ Dark Mode ═════════════════════════════════════ */
.ayneta-dark-mode .ayneta-tg-web-login-banner,
[data-theme="dark"] .ayneta-tg-web-login-banner {
    background: #1e1e2e;
    border-bottom-color: #313244;
    color: #cdd6f4;
}

.ayneta-dark-mode .ayneta-tg-web-login-banner__spinner,
[data-theme="dark"] .ayneta-tg-web-login-banner__spinner {
    border-color: #313244;
    border-top-color: #89b4fa;
}
