.chatbot-hel-container {
    max-width: 500px;
    margin: 20px auto;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    overflow: hidden;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    background: #fff;
}
.chatbot-hel-header {
    background: linear-gradient(135deg, #1e3a5f, #2d5a87);
    color: #fff;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.chatbot-hel-title { font-weight: 600; font-size: 16px; }
.chatbot-hel-clear {
    background: rgba(255,255,255,0.2);
    border: none;
    color: #fff;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.2s;
}
.chatbot-hel-clear:hover { background: rgba(255,255,255,0.3); }
.chatbot-hel-messages {
    height: 400px;
    overflow-y: auto;
    padding: 20px;
    background: #f8f9fa;
}
.chatbot-hel-message {
    display: flex;
    gap: 10px;
    margin-bottom: 16px;
    animation: fadeIn 0.3s ease;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}
.chatbot-hel-message.user { flex-direction: row-reverse; }
.chatbot-hel-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}
.chatbot-hel-message.bot .chatbot-hel-avatar { background: #e3f2fd; }
.chatbot-hel-message.user .chatbot-hel-avatar { background: #e8f5e9; }
.chatbot-hel-bubble {
    max-width: 75%;
    padding: 12px 16px;
    border-radius: 16px;
    line-height: 1.5;
    font-size: 14px;
    word-wrap: break-word;
}
.chatbot-hel-message.bot .chatbot-hel-bubble {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 16px 16px 16px 4px;
}
.chatbot-hel-message.user .chatbot-hel-bubble {
    background: #1e3a5f;
    color: #fff;
    border-radius: 16px 16px 4px 16px;
}
.chatbot-hel-input-container {
    display: flex;
    gap: 10px;
    padding: 15px;
    background: #fff;
    border-top: 1px solid #e0e0e0;
}
.chatbot-hel-input {
    flex: 1;
    border: 1px solid #e0e0e0;
    border-radius: 20px;
    padding: 10px 16px;
    font-size: 14px;
    resize: none;
    font-family: inherit;
    outline: none;
    transition: border-color 0.2s;
}
.chatbot-hel-input:focus { border-color: #1e3a5f; }
.chatbot-hel-send {
    width: 44px;
    height: 44px;
    border: none;
    background: #1e3a5f;
    color: #fff;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    transition: background 0.2s, transform 0.1s;
    display: flex;
    align-items: center;
    justify-content: center;
}
.chatbot-hel-send:hover { background: #2d5a87; }
.chatbot-hel-send:active { transform: scale(0.95); }
.chatbot-hel-send:disabled { background: #ccc; cursor: not-allowed; }
.chatbot-hel-url-box {
    background: #f5f5f5;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 10px;
    margin-top: 10px;
    word-break: break-all;
    font-family: monospace;
    font-size: 12px;
}
.chatbot-hel-url-box a { color: #1e3a5f; text-decoration: none; }
.chatbot-hel-url-box a:hover { text-decoration: underline; }
.chatbot-hel-copy-btn {
    display: inline-block;
    margin-top: 8px;
    margin-right: 5px;
    padding: 6px 12px;
    background: #1e3a5f;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    text-decoration: none;
}
.chatbot-hel-copy-btn:hover { background: #2d5a87; }
.chatbot-hel-typing {
    display: flex;
    gap: 4px;
    padding: 12px 16px;
}
.chatbot-hel-typing span {
    width: 8px;
    height: 8px;
    background: #1e3a5f;
    border-radius: 50%;
    animation: bounce 1.4s infinite ease-in-out;
}
.chatbot-hel-typing span:nth-child(1) { animation-delay: -0.32s; }
.chatbot-hel-typing span:nth-child(2) { animation-delay: -0.16s; }
@keyframes bounce {
    0%, 80%, 100% { transform: scale(0); }
    40% { transform: scale(1); }
}
.chatbot-hel-messages::-webkit-scrollbar { width: 6px; }
.chatbot-hel-messages::-webkit-scrollbar-track { background: #f1f1f1; }
.chatbot-hel-messages::-webkit-scrollbar-thumb { background: #ccc; border-radius: 3px; }
@media (max-width: 600px) {
    .chatbot-hel-container { margin: 10px; max-width: none; }
    .chatbot-hel-messages { height: 350px; }
    .chatbot-hel-bubble { max-width: 85%; }
}
