#vci-chatbot-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 999999;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* Botão Flutuante */
#vci-chatbot-toggle {
width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #1a365d;
    border: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, background-color 0.3s ease;
    padding: 0;          /* Remove espaçamentos internos para a foto caber */
    overflow: hidden;    /* Garante que a foto fique perfeitamente redonda */
}

#vci-chatbot-toggle:hover {
    transform: scale(1.08);
    background-color: #10223d;
}

.vci-chat-icon {
    font-size: 30px;
    color: #ffffff;
}

/* Janela do Chatbot */
#vci-chatbot-window {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 350px;
    max-width: calc(100vw - 40px);
    height: 500px;
    max-height: calc(100vh - 120px);
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: all 0.3s ease;
}

/* Cabeçalho do Chat */
.vci-chatbot-header {
    background-color: #1a365d;
    color: #ffffff;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.vci-chatbot-title {
    font-weight: 600;
    font-size: 16px;
}

#vci-chatbot-close {
    background: none;
    border: none;
    color: #ffffff;
    font-size: 24px;
    cursor: pointer;
    line-height: 1;
    opacity: 0.8;
    padding: 0;
}

#vci-chatbot-close:hover {
    opacity: 1;
}

/* Corpo do Chat */
.vci-chatbot-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 15px;
    overflow-y: auto;
    background-color: #f7fafc;
}

/* Histórico de Mensagens */
#vci-chat-history {
    flex: 1;
    overflow-y: auto;
    margin-bottom: 15px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-right: 5px;
}

/* Scrollbars customizadas */
#vci-chat-history::-webkit-scrollbar,
.vci-chatbot-body::-webkit-scrollbar {
    width: 6px;
}
#vci-chat-history::-webkit-scrollbar-thumb,
.vci-chatbot-body::-webkit-scrollbar-thumb {
    background-color: #cbd5e0;
    border-radius: 3px;
}

/* Balões de Mensagem */
.vci-message {
    max-width: 85%;
    padding: 10px 14px;
    border-radius: 12px;
    font-size: 14px;
    line-height: 1.4;
    word-wrap: break-word;
}

.vci-bot-msg {
    background-color: #edf2f7;
    color: #2d3748;
    align-self: flex-start;
    border-bottom-left-radius: 2px;
}

.vci-user-msg {
    background-color: #3182ce;
    color: #ffffff;
    align-self: flex-end;
    border-bottom-right-radius: 2px;
}

/* Botões de Opção */
#vci-chat-options {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.vci-opt-btn {
    display: block;
    width: 100%;
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 10px 12px;
    font-size: 13px;
    text-align: left;
    color: #4a5568;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    box-sizing: border-box;
}

.vci-opt-btn:hover {
    background-color: #ebf8ff;
    border-color: #bee3f8;
    color: #2b6cb0;
}

/* Botão do WhatsApp */
.vci-wa-btn {
    background-color: #25d366;
    color: #ffffff;
    border-color: #25d366;
    font-weight: 600;
    text-align: center;
}

.vci-wa-btn:hover {
    background-color: #128c7e;
    color: #ffffff;
    border-color: #128c7e;
}

/* Container do Formulário */
#vci-chat-form-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.vci-form-group {
    width: 100%;
}

.vci-form-group input,
.vci-form-group select,
.vci-form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #cbd5e0;
    border-radius: 6px;
    font-size: 13px;
    box-sizing: border-box;
    font-family: inherit;
    background: #ffffff;
}

.vci-form-group input:focus,
.vci-form-group select:focus,
.vci-form-group textarea:focus {
    border-color: #3182ce;
    outline: none;
    box-shadow: 0 0 0 3px rgba(66, 153, 225, 0.15);
}

/* Container Checkbox LGPD (REQ-012) */
.vci-lgpd-checkbox {
    margin: 5px 0;
    text-align: left;
}

.vci-lgpd-checkbox label {
    cursor: pointer;
    line-height: 1.2;
}

.vci-lgpd-checkbox input[type="checkbox"] {
    width: auto !important;
    display: inline-block;
    margin-right: 5px;
    cursor: pointer;
}

/* Botões do Formulário */
.vci-form-actions {
    display: flex;
    gap: 8px;
}

#vci-btn-voltar-opcoes,
#vci-btn-enviar-lead {
    flex: 1;
    padding: 10px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: background-color 0.2s ease;
}

#vci-btn-voltar-opcoes {
    background-color: #e2e8f0;
    color: #4a5568;
}

#vci-btn-voltar-opcoes:hover {
    background-color: #cbd5e0;
}

#vci-btn-enviar-lead {
    background-color: #1a365d;
    color: #ffffff;
}

#vci-btn-enviar-lead:hover {
    background-color: #10223d;
}

/* Adaptação para Celulares */
@media (max-width: 480px) {
    #vci-chatbot-container {
        bottom: 30px;
        right: 30px;
    }
    #vci-chatbot-window {
        position: fixed;
        bottom: 0;
        right: 0;
        width: 100vw;
        height: 100vh;
        max-width: 100vw;
        max-height: 100vh;
        border-radius: 0;
    }
}
/* Estilo para o ícone vetorizado */
.vci-chat-svg {
    width: 30px;
    height: 30px;
    display: block;
}

/* Estilo para caso queira usar uma foto de perfil */
.vci-chat-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}



