#aibc-chat-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 999999;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

#aibc-chat-toggle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transition: transform 0.3s;
}

#aibc-chat-toggle:hover { transform: scale(1.05); }

#aibc-chat-window {
    width: 350px;
    height: 500px;
    max-height: 80vh;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.2);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: absolute;
    bottom: 80px;
    right: 0;
    border: 1px solid;
}

#aibc-chat-header {
    color: #fff;
    padding: 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.aibc-avatar { width: 30px; height: 30px; border-radius: 50%; margin-right: 10px; }
.aibc-bot-name { font-weight: bold; flex-grow: 1; }
#aibc-close-chat { background: none; border: none; color: #fff; font-size: 24px; cursor: pointer; }

#aibc-chat-messages {
    flex-grow: 1;
    padding: 15px;
    overflow-y: auto;
    background: #f9f9f9;
}

.aibc-message { margin-bottom: 15px; max-width: 85%; padding: 10px 15px; border-radius: 15px; line-height: 1.4; font-size: 14px; }
.aibc-message.user { background: #e0e0e0; align-self: flex-end; margin-left: auto; border-bottom-right-radius: 2px; }
.aibc-message.bot { background: #fff; border: 1px solid #eee; margin-right: auto; border-bottom-left-radius: 2px; }

#aibc-gdpr-screen { padding: 20px; text-align: center; display: flex; flex-direction: column; justify-content: center; height: 100%; }
#aibc-gdpr-screen p { font-size: 14px; margin-bottom: 15px; }
#aibc-gdpr-screen label { font-size: 12px; display: block; margin-bottom: 20px; text-align: left; }
#aibc-start-chat-btn { color: #fff; border: none; padding: 10px; border-radius: 5px; cursor: pointer; font-weight: bold; }
#aibc-start-chat-btn:disabled { background: #ccc !important; cursor: not-allowed; }

#aibc-chat-input-area {
    display: flex;
    padding: 10px;
    background: #fff;
    border-top: 1px solid #eee;
}

#aibc-chat-input { flex-grow: 1; border: 1px solid #ddd; padding: 10px; border-radius: 20px; outline: none; font-size: 14px;}
#aibc-voice-btn, #aibc-send-btn { background: none; border: none; cursor: pointer; font-weight: bold; padding: 0 10px; }
#aibc-voice-btn.recording { color: red; animation: pulse 1.5s infinite; }

@keyframes pulse { 0% { transform: scale(1); } 50% { transform: scale(1.2); } 100% { transform: scale(1); } }

/* Responsive per mobile */
@media (max-width: 480px) {
    #aibc-chat-window { width: calc(100vw - 40px); height: calc(100vh - 120px); }
}