/* Chatbot Widget Styles */
#chatbot-widget {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    font-family: 'Inter', sans-serif;
}

#chatbot-button {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #10b981, #06b6d4);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

#chatbot-button:hover {
    transform: scale(1.1);
}

#chatbot-button svg {
    width: 30px;
    height: 30px;
    fill: white;
}

#chatbot-window {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 350px;
    height: 500px;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    display: none;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

#chatbot-window.visible {
    display: flex;
}

.chatbot-header {
    padding: 15px;
    background: rgba(16, 185, 129, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    gap: 10px;
}

.chatbot-header h3 {
    margin: 0;
    font-size: 1rem;
    color: #f8fafc;
}

.chatbot-messages {
    flex: 1;
    overflow-y: auto;
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.message {
    max-width: 85%;
    padding: 10px 15px;
    border-radius: 12px;
    font-size: 0.9rem;
    line-height: 1.4;
    word-wrap: break-word;
}

.message.bot {
    align-self: flex-start;
    background: rgba(255, 255, 255, 0.05);
    color: #e2e8f0;
}

.message.user {
    align-self: flex-end;
    background: #10b981;
    color: white;
}

.message img {
    max-width: 100%;
    border-radius: 8px;
    margin-top: 8px;
}

.chatbot-input {
    padding: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    gap: 10px;
}

.chatbot-input input {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 8px 12px;
    color: white;
    outline: none;
}

.chatbot-input button {
    background: #10b981;
    border: none;
    border-radius: 8px;
    padding: 8px 15px;
    color: white;
    cursor: pointer;
}

/* Typing Indicator */
.typing {
    font-style: italic;
    font-size: 0.8rem;
    color: #94a3b8;
    margin-bottom: 5px;
}
