body {
    font-family: Arial, sans-serif;
    background-color: #f5f5f5;
    margin: 0;
    padding: 0;
}

/* 🤖 Chat Icon */
#chat-icon {
    width: 60px;
    height: 60px;
    background-color: #6A0DAD;
    color: white;
    font-size: 30px;
    text-align: center;
    line-height: 60px;
    border-radius: 50%;
    position: fixed;
    bottom: 20px;
    right: 20px;
    cursor: grab;
    user-select: none;
    transition: 0.3s ease-in-out;
}

#chat-icon:active {
    cursor: grabbing;
}

/* Chat Popup */
#chat-popup {
    width: 320px;
    background-color: white;
    position: fixed;
    bottom: 90px;
    right: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    display: none;
    flex-direction: column;
    animation: fadeIn 0.3s ease-in-out;
}

/* Header */
#chat-header {
    background-color: #6A0DAD;
    color: white;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 10px 10px 0 0;
}

#icons-container span {
    cursor: pointer;
    margin-left: 10px;
}

/* Chat Body */
#chat-body {
    padding: 15px;
    background-color: #fff;
    max-height: 300px;
    overflow-y: auto;
}

/* User & Bot Messages */
.user-message, .bot-message {
    padding: 10px;
    margin: 5px;
    border-radius: 5px;
}

.user-message {
    background-color: #d1e7fd;
    text-align: right;
}

.bot-message {
    background-color: #eee;
    text-align: left;
}

/* Chat Footer */
#chat-footer {
    display: flex;
    padding: 10px;
    border-top: 1px solid #ddd;
    background: white;
}

#user-input {
    flex: 1;
    padding: 10px;
    border: none;
    outline: none;
}

#send-btn {
    background-color: #6A0DAD;
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    font-size: 20px;
}

@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}
