/* Chatbot Styles */
.chatbot-float {
    position: fixed;
    bottom: 2rem;
    right: 7rem;
    /* To avoid overlapping with WhatsApp */
    width: 60px;
    height: 60px;
    background: var(--accent-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
    z-index: 1000;
    border: none;
    transition: var(--transition);
}

.chatbot-float:hover {
    transform: scale(1.1);
}

.chatbot-container {
    position: fixed;
    bottom: 6rem;
    right: 2rem;
    width: 350px;
    height: 500px;
    background: var(--white);
    border-radius: 1rem;
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    z-index: 1001;
    overflow: hidden;
    transition: var(--transition);
}

.chatbot-container.hidden {
    opacity: 0;
    pointer-events: none;
    transform: translateY(20px);
}

.chatbot-header {
    padding: 1rem;
    background: var(--primary-color);
    color: var(--white);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chatbot-header button {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

.chatbot-messages {
    flex: 1;
    padding: 1rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.msg {
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    max-width: 80%;
    font-size: 0.9rem;
}

.msg.bot {
    background: var(--bg-light);
    align-self: flex-start;
}

.msg.user {
    background: var(--accent-color);
    color: var(--white);
    align-self: flex-end;
}

.chatbot-input {
    padding: 1rem;
    border-top: 1px solid #E5E7EB;
    display: flex;
    gap: 0.5rem;
}

.chatbot-input input {
    flex: 1;
    padding: 0.5rem;
}
