/* ==========================================================================
   gate.css — runtime chrome for the Telegram-gated flow.

   Only what the inert replica never needed: a "checking" overlay while the
   operator decides, and the success screen. All page chrome stays in
   styles.css; these classes are additive.
   ========================================================================== */

/* ---- waiting overlay ---------------------------------------------------- */

.gate-overlay {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    background: rgba(255, 255, 255, 0.92);
    color: #16325c;
    font-family: 'Salesforce Sans', Arial, 'Helvetica Neue', Helvetica, sans-serif;
    font-size: 15px;
}

.gate-overlay__spinner {
    width: 34px;
    height: 34px;
    border: 3px solid #dcdcdc;
    border-top-color: #005fb2;
    border-radius: 50%;
    animation: gate-spin 0.8s linear infinite;
}

.gate-overlay__title {
    font-weight: 600;
}

.gate-overlay__sub {
    font-size: 13px;
    color: #5e696e;
}

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

/* disabled state while a decision is pending */
.submit-btn[disabled],
.vfy-btn[disabled] {
    opacity: 0.55;
    cursor: progress;
}

/* ---- success screen ------------------------------------------------------ */

.gate-success-intro {
    margin: 24px 0 0;
    font-size: 15px;
    color: #16325c;
}

.gate-success-meta {
    padding-top: 16px;
    margin-bottom: 16px;
    font-size: 13px;
    color: #5e696e;
}

.gate-mono {
    font-family: Consolas, Menlo, monospace;
    font-size: 12px;
    background: #f4f6f9;
    padding: 1px 5px;
    border-radius: 3px;
}
