:root {
    --vc-primary: #0056b3;
    --vc-bg: #ffffff;
    --vc-text: #333333;
}

#vc-chatbot-container {
    position: fixed;
    bottom: 20px;
    z-index: 999999;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 14px;
}

#vc-chatbot-container.vc-pos-left { left: 20px; }
#vc-chatbot-container.vc-pos-right { right: 20px; }

#vc-chat-toggle {
    background-color: var(--vc-primary);
    color: white;
    border: none;
    border-radius: 50px;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    font-weight: 600;
}

#vc-chat-window {
    position: absolute;
    bottom: 70px;
    width: 350px;
    height: 550px;
    background: var(--vc-bg);
    border-radius: 12px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.2);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: opacity 0.3s;
}

.vc-pos-left #vc-chat-window { left: 0; }
.vc-pos-right #vc-chat-window { right: 0; }

#vc-chat-window.vc-hidden { opacity: 0; pointer-events: none; }

#vc-chat-header {
    background: var(--vc-primary);
    color: white;
    padding: 15px;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.vc-header-info { display:flex; align-items:center; gap:10px; }
.vc-avatar { width:50px; height:50px; border-radius:50%; object-fit:cover; }
#vc-chat-close { background: none; border: none; color: white; font-size: 24px; cursor: pointer; }

#vc-chat-messages {
    flex: 1;
    padding: 15px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.vc-msg { padding: 10px 14px; border-radius: 8px; max-width: 85%; line-height: 1.4; }
.vc-msg.user { background: var(--vc-primary); color: white; align-self: flex-end; }
.vc-msg.assistant { background: #f1f1f1; color: var(--vc-text); align-self: flex-start; }

#vc-chat-input-area {
    display: flex;
    padding: 15px;
    border-top: 1px solid #eee;
}
#vc-chat-input { flex: 1; padding: 10px; border: 1px solid #ccc; border-radius: 4px; outline: none; }
#vc-chat-send { background: var(--vc-primary); color: white; border: none; padding: 10px 15px; margin-left: 10px; border-radius: 4px; cursor: pointer; }
