/* Belino WhatsApp auth — scoped, self-contained (no Tailwind dependency). */

.belino-wa-auth {
    display: flex;
    justify-content: center;
    padding: 1rem 0 2rem;
}

.belino-wa-card {
    width: 100%;
    max-width: 26rem;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    padding: 1.75rem 1.5rem;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.belino-wa-title {
    margin: 0 0 0.25rem;
    font-size: 1.35rem;
    font-weight: 800;
    color: #0f172a;
}

.belino-wa-sub {
    margin: 0 0 1.25rem;
    color: #64748b;
    font-size: 0.95rem;
}

.belino-wa-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: #334155;
    margin-bottom: 0.4rem;
}

.belino-wa-input {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #cbd5e1;
    border-radius: 0.625rem;
    padding: 0.7rem 0.85rem;
    font-size: 1rem;
    margin-bottom: 0.9rem;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.belino-wa-input:focus {
    outline: none;
    border-color: #407bff;
    box-shadow: 0 0 0 3px rgba(64, 123, 255, 0.15);
}

.belino-wa-code {
    letter-spacing: 0.5em;
    text-align: center;
    font-size: 1.35rem;
    font-weight: 700;
    padding-left: 0.5em; /* offset the trailing letter-spacing so digits look centered */
}

.belino-wa-btn {
    width: 100%;
    border: 0;
    border-radius: 9999px;
    background: #407bff;
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    padding: 0.8rem 1rem;
    cursor: pointer;
    transition: background-color 0.15s ease, opacity 0.15s ease;
}

.belino-wa-btn:hover:not(:disabled) {
    background: #2d5bc7;
}

.belino-wa-btn:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.belino-wa-actions {
    display: flex;
    justify-content: space-between;
    margin-top: 0.9rem;
}

.belino-wa-link {
    background: none;
    border: 0;
    padding: 0;
    color: #407bff;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
}

.belino-wa-link:hover {
    text-decoration: underline;
}

.belino-wa-link:disabled {
    color: #94a3b8;
    cursor: not-allowed;
    text-decoration: none;
}

.belino-wa-target {
    margin: 0 0 1rem;
    color: #334155;
    font-size: 0.92rem;
}

.belino-wa-help {
    margin: 1.1rem 0 0;
    color: #94a3b8;
    font-size: 0.8rem;
    text-align: center;
}

.belino-wa-msg {
    display: none;
    border-radius: 0.625rem;
    padding: 0.65rem 0.85rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    font-weight: 600;
}

.belino-wa-msg.is-visible {
    display: block;
}

.belino-wa-msg.is-error {
    background: #fef2f2;
    color: #b91c1c;
}

.belino-wa-msg.is-info {
    background: #eff6ff;
    color: #1d4ed8;
}

.belino-wa-msg.is-success {
    background: #f0fdf4;
    color: #15803d;
}

.belino-wa-step.is-hidden {
    display: none;
}
