:root {
    --wa-font: inherit;
}

/* ==============================
   BOTÃO WHATSAPP
================================ */
#wa-float-btn {
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 9999;
}

#wa-float-btn img {
    width: 32px;
}

/* ==============================
   POPUP (ESCONDIDO POR PADRÃO)
================================ */
#wa-modal {
    position: fixed;
    right: 20px;
    bottom: 90px; /* acima do botão */
    z-index: 9998;

    opacity: 0;
    pointer-events: none;
    transform: translateY(20px);

    transition:
        opacity 0.3s ease,
        transform 0.3s ease;
}

/* ==============================
   POPUP ATIVO (FADE IN UP)
================================ */
#wa-modal.wa-active {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

/* ==============================
   CAIXA
================================ */
.wa-box {
    width: 360px;
    background: #f3efe8;
    border-radius: 6px;
    overflow: visible;
    box-shadow: 0 10px 30px rgba(0,0,0,0.25);
}

/* ==============================
   HEADER
================================ */
.wa-header {
    background: #215a54;
    color: #fff;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.wa-header button {
    background: none;
    border: none;
    color: #fff;
    font-size: 22px;
    cursor: pointer;
}

/* ==============================
   FORMULÁRIO
================================ */
#wa-form {
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

#wa-form input {
    padding: 10px;
    border-radius: 4px;
    border: 1px solid #ccc;
    width: 100%;
}

#wa-form button {
    padding: 12px;
    border-radius: 4px;
    border: none;
    background: #5aa657;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
}

/* ==============================
   INTL TEL INPUT
================================ */
.iti {
    width: 100%;
}

.iti__country-list {
    max-height: 220px;
    overflow-y: auto;
    z-index: 99999 !important;
}

/* Fonte dinâmica do formulário */
#wa-form {
    font-family: var(--wa-font, inherit);
}
