/**
 * PrintPOS Pro - CTA WhatsApp para login demo publico.
 */

.auth-whatsapp-cta {
    position: relative;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 14px;
    align-items: center;
    margin-top: 18px;
    padding: 16px;
    border: 1px solid rgba(34, 197, 94, .22);
    border-radius: 24px;
    background:
        radial-gradient(circle at 10% 10%, rgba(34, 197, 94, .16), transparent 34%),
        linear-gradient(135deg, rgba(236, 253, 245, .94), rgba(255, 255, 255, .92));
    box-shadow: 0 18px 46px rgba(15, 23, 42, .08);
    overflow: hidden;
}

.auth-whatsapp-cta::after {
    content: "";
    position: absolute;
    inset: auto -20px -40px auto;
    width: 120px;
    height: 120px;
    border-radius: 999px;
    background: rgba(34, 197, 94, .12);
    pointer-events: none;
}

.auth-whatsapp-cta__icon {
    position: relative;
    z-index: 1;
    display: grid;
    width: 48px;
    height: 48px;
    place-items: center;
    border-radius: 18px;
    color: #fff;
    background: linear-gradient(135deg, #22c55e, #16a34a);
    box-shadow: 0 14px 28px rgba(22, 163, 74, .28);
    font-size: 1.35rem;
}

.auth-whatsapp-cta__copy {
    position: relative;
    z-index: 1;
    display: grid;
    min-width: 0;
    gap: 2px;
}

.auth-whatsapp-cta__copy small {
    color: #047857;
    font-size: .72rem;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.auth-whatsapp-cta__copy strong {
    color: #0f172a;
    font-size: 1rem;
    line-height: 1.15;
}

.auth-whatsapp-cta__copy span {
    color: #64748b;
    font-size: .82rem;
    line-height: 1.35;
}

.auth-whatsapp-cta__button {
    position: relative;
    z-index: 1;
    grid-column: 1 / -1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 0 16px;
    border-radius: 999px;
    color: #fff;
    background: linear-gradient(135deg, #16a34a, #059669);
    box-shadow: 0 16px 34px rgba(5, 150, 105, .24);
    font-size: .9rem;
    font-weight: 900;
    text-decoration: none;
    transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}

.auth-whatsapp-cta__button:hover {
    color: #fff;
    filter: saturate(1.05);
    transform: translateY(-1px);
    box-shadow: 0 20px 42px rgba(5, 150, 105, .3);
}

.auth-whatsapp-cta__button:focus-visible {
    outline: 3px solid rgba(34, 197, 94, .28);
    outline-offset: 3px;
}

.auth-whatsapp-cta.is-clicked .auth-whatsapp-cta__button {
    transform: scale(.99);
}

html[data-bs-theme="dark"] .auth-whatsapp-cta {
    border-color: rgba(34, 197, 94, .24);
    background:
        radial-gradient(circle at 10% 10%, rgba(34, 197, 94, .14), transparent 36%),
        linear-gradient(135deg, rgba(15, 23, 42, .95), rgba(17, 24, 39, .94));
    box-shadow: 0 22px 48px rgba(0, 0, 0, .28);
}

html[data-bs-theme="dark"] .auth-whatsapp-cta__copy strong {
    color: #f8fafc;
}

html[data-bs-theme="dark"] .auth-whatsapp-cta__copy span {
    color: #aab8cc;
}

@media (max-width: 520px) {
    .auth-whatsapp-cta {
        margin-top: 16px;
        padding: 14px;
        border-radius: 22px;
    }

    .auth-whatsapp-cta__icon {
        width: 44px;
        height: 44px;
        border-radius: 16px;
    }
}
