/* ==========================================================
   BusqueCasa Chat Framework - Estrutura
   Namespace obrigatorio: .bc-chat-
========================================================== */

.bc-chat-root,
.bc-chat-root *{
    box-sizing:border-box;
}

.bc-chat-root{
    font-family:Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color:#111827;
}

.bc-chat-launcher{
    position:fixed;
    right:22px;
    bottom:22px;
    width:68px;
    height:68px;
    border:0;
    border-radius:22px;
    background:linear-gradient(135deg,#2563eb,#0ea5e9);
    color:#fff;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:1px;
    cursor:pointer;
    z-index:99998;
    box-shadow:0 18px 45px rgba(37,99,235,.35);
    transition:transform .22s ease, box-shadow .22s ease, opacity .22s ease;
    animation:bc-chat-launcher-breathe 3.4s ease-in-out infinite;
}

.bc-chat-launcher:hover{
    transform:translateY(-2px) scale(1.04);
    box-shadow:0 22px 55px rgba(37,99,235,.45);
}

.bc-chat-launcher-icon{
    font-size:25px;
    line-height:1;
}

.bc-chat-launcher-text{
    font-size:12px;
    font-weight:800;
    letter-spacing:.08em;
}

.bc-chat-window{
    position:fixed;
    right:22px;
    bottom:104px;
    width:420px;
    height:min(710px, calc(100vh - 130px));
    max-width:calc(100vw - 32px);
    background:#ffffff;
    border:1px solid rgba(15,23,42,.08);
    border-radius:28px;
    box-shadow:0 30px 90px rgba(15,23,42,.22);
    overflow:hidden;
    z-index:99999;
    display:flex;
    flex-direction:column;
    opacity:0;
    transform:translateY(18px) scale(.97);
    pointer-events:none;
    transition:opacity .22s ease, transform .22s ease;
}

.bc-chat-root.is-open .bc-chat-window{
    opacity:1;
    transform:translateY(0) scale(1);
    pointer-events:auto;
}

.bc-chat-root.is-open .bc-chat-launcher{
    opacity:0;
    pointer-events:none;
    transform:scale(.9);
}

/* ==========================================================
   BOTÕES DO TYPEBOT
========================================================== */

.bc-chat-buttons{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
    margin:12px 0 18px 48px;
}

.bc-chat-button{
    appearance:none;
    border:1px solid #dbeafe;
    background:#ffffff;
    color:#2563eb;
    border-radius:999px;
    padding:12px 22px;
    font-size:16px;
    font-weight:700;
    cursor:pointer;
    transition:.20s;
}

.bc-chat-button:hover{
    background:#2563eb;
    color:#fff;
    border-color:#2563eb;
}

.bc-chat-button:active{
    transform:scale(.97);
}
/* ==========================================================
   ENTREGA C1 — SELEÇÃO E MÚLTIPLA ESCOLHA
========================================================== */
.bc-chat-button:disabled{
    cursor:default;
    opacity:.62;
}

.bc-chat-button-selected,
.bc-chat-button-selected:disabled{
    background:#2563eb;
    color:#fff;
    border-color:#2563eb;
    opacity:1;
}

.bc-chat-buttons-multi{
    flex-direction:column;
    align-items:flex-start;
}

.bc-chat-multi-options{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
}

.bc-chat-button-continue{
    margin-top:4px;
}
