
.chatbot-window {
    display: none;
    position: fixed;
    bottom: 8rem;
    right: 2rem;
    width: 350px;
    max-height: 500px;
    background: var(--card-background);
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
    flex-direction: column;
    overflow: hidden;
    z-index: 1001;
}

.chatbot-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: var(--primary-color);
    color: var(--light-text);
}

.chatbot-header h3 {
    margin: 0;
    font-size: 1.2rem;
}

.chatbot-header button {
    background: none;
    border: none;
    color: var(--light-text);
    font-size: 1.2rem;
    cursor: pointer;
}

.chatbot-body {
    flex-grow: 1;
    padding: 1rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.chat-message {
    padding: 0.75rem 1rem;
    border-radius: 10px;
    max-width: 80%;
}

.user-message {
    background: var(--primary-color);
    color: var(--light-text);
    align-self: flex-end;
    border-bottom-right-radius: 0;
}

.bot-message {
    background: #e9e9eb;
    color: var(--text-color);
    align-self: flex-start;
    border-bottom-left-radius: 0;
}


.chatbot-footer {
    display: flex;
    padding: 1rem;
    border-top: 1px solid #eee;
}

.chatbot-footer input {
    flex-grow: 1;
    border: 1px solid #ccc;
    padding: 0.75rem;
    border-radius: 20px;
    margin-right: 0.5rem;
}

.chatbot-footer button {
    background: var(--primary-color);
    color: var(--light-text);
    border: none;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    transition: background-color 0.3s ease;
}

.chatbot-footer button:hover {
    background: var(--secondary-color);
}
