/* Botão do chatbot */
#chatbot-button {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1000;
}

#chatbot-button img {
    width: 60px;
    height: auto;
}

/* Container do chatbot */
#chatbot-container {
    position: fixed;
    bottom: 80px; /* Mantendo a posição correta */
    left: 20px;
    width: 400px;
    height: 90vh; /* Ajustado para ocupar 90% da tela */
    max-height: 640px; /* Impede que fique muito grande */
    background: white;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    display: none;
    overflow: hidden;
    z-index: 1100;
}

/* Quando o chat estiver aberto */
#chatbot-container.open {
    display: block;
}

/* Cabeçalho do chat */
#chatbot-header {
    background: #f8f8f8;
    padding: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: bold;
    border-bottom: 1px solid #ddd;
}

/* Botão de fechar */
#chatbot-close {
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
}

/* Corpo do chatbot */
#chatbot-body {
    height: calc(100% - 50px); /* Mantendo o ajuste correto */
    max-height: calc(90vh - 50px); /* Garante que não corte */
    overflow-y: auto;
}

/* Garante que o iframe do Zapier não ultrapassa a altura */
zapier-interfaces-chatbot-embed {
    width: 100% !important;
    height: 100% !important;
    display: block;
    overflow: hidden;
}
