#chatbot-widget {
    position: fixed;
    bottom: 100px;
    right: 30px;
    z-index: 10000;
    font-family: 'Inter', sans-serif;
}

#chatbot-button {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #d4af37;
    color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
}

#chatbot-button:hover {
    transform: scale(1.1);
}

#chatbot-window {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 350px;
    height: 500px;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    display: none;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid #eee;
}

#chatbot-window.active {
    display: flex;
}

.chatbot-header {
    background: #101820;
    color: #fff;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chatbot-header h4 {
    margin: 0;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.chatbot-messages {
    flex: 1;
    padding: 15px;
    overflow-y: auto;
    background: #f9fafb;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.message {
    max-width: 80%;
    padding: 10px 12px;
    border-radius: 12px;
    font-size: 0.9rem;
    line-height: 1.4;
}

.message.user {
    background: #d4af37;
    color: #000;
    align-self: flex-end;
    border-bottom-right-radius: 2px;
}

.message.bot {
    background: #fff;
    color: #333;
    align-self: flex-start;
    border-bottom-left-radius: 2px;
    border: 1px solid #eee;
}

.message.bot ul {
    margin: 8px 0;
    padding-left: 18px;
}

.message.bot li {
    margin-bottom: 4px;
}

.message.bot strong {
    color: #101820;
    font-weight: 700;
}

.chatbot-input {
    padding: 10px;
    border-top: 1px solid #eee;
    display: flex;
    gap: 8px;
}

.chatbot-input input {
    flex: 1;
    border: 1px solid #ddd;
    border-radius: 20px;
    padding: 8px 15px;
    outline: none;
}

.chatbot-input button {
    background: #101820;
    color: #fff;
    border: none;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    cursor: pointer;
}

@media (max-width: 480px) {
    #chatbot-window {
        width: calc(100vw - 40px);
        right: -10px;
    }
}

/* Typing Animation */
.message.typing {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 12px 15px;
}

.dot {
    width: 6px;
    height: 6px;
    background: #bbb;
    border-radius: 50%;
    animation: typing-dot 1.4s infinite;
}

.dot:nth-child(2) { animation-delay: 0.2s; }
.dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes typing-dot {
    0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
    30% { transform: translateY(-4px); opacity: 1; }
}
