/* Chatbot Styles */
.chatbot-toggle {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #6b46c1;
    color: white;
    border: none;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    z-index: 1000;
    transition: all 0.3s ease;
}

.chatbot-toggle:hover {
    background: #553c9a;
    transform: scale(1.1);
}

.chatbot-container {
    position: fixed;
    bottom: 90px;
    right: 20px;
    width: 350px;
    height: 500px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
    display: none;
    flex-direction: column;
    z-index: 1001;
    overflow: hidden;
}

.chatbot-container.active {
    display: flex;
}

.chatbot-header {
    background: #6b46c1;
    color: white;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: bold;
}

.chatbot-close {
    background: none;
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
    padding: 0;
    width: 24px;
    height: 24px;
}

.chatbot-messages {
    flex: 1;
    padding: 15px;
    overflow-y: auto;
    background: #f8f9fa;
}

.bot-message, .user-message {
    margin-bottom: 10px;
    padding: 10px 12px;
    border-radius: 18px;
    max-width: 80%;
    word-wrap: break-word;
}

.bot-message {
    background: #e9ecef;
    color: #333;
    margin-right: auto;
}

.user-message {
    background: #6b46c1;
    color: white;
    margin-left: auto;
    text-align: right;
}

.chatbot-input {
    padding: 15px;
    display: flex;
    gap: 10px;
    background: white;
    border-top: 1px solid #dee2e6;
}

.chatbot-input input {
    flex: 1;
    padding: 10px;
    border: 1px solid #dee2e6;
    border-radius: 20px;
    outline: none;
}

.chatbot-input button {
    padding: 10px 20px;
    background: #6b46c1;
    color: white;
    border: none;
    border-radius: 20px;
    cursor: pointer;
}

.chatbot-input button:hover {
    background: #553c9a;
}

@media (max-width: 768px) {
    .chatbot-container {
        width: calc(100vw - 40px);
        height: 400px;
        bottom: 80px;
        right: 20px;
        left: 20px;
    }
}