/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Figtree", sans-serif;
    font-weight: bold;
}

/* Chatbot Button */
.chatbot-btn {
    position: fixed;
    bottom: 200px;
    right: 30px;
    background: linear-gradient(45deg, #0a0c09, #aeb0b4);
    color: white;
    border: none;
    border-radius: 50px;
    padding: 22px 30px;
    font-size: 22px;
    cursor: pointer;
    transition: 0.3s;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
}

.chatbot-btn:hover {
    transform: scale(1.4);
}

/* Chatbot Container */
.chatbot-container {
    position: fixed;
    bottom: 80px;
    right: 20px;
    width: 500px;
    background: white;
    border-radius: 10px;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.2);
    display: none;
    flex-direction: column;
    overflow: hidden;
    font-family: "Figtree", sans-serif;
}

.chat-header {
    background: linear-gradient(45deg, black, #1f1f1f);
    color: white;
    padding: 15px;
    text-align: center;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.chat-avatar {
    width: 40px;  /* Adjust size */
    height: 40px;
    border-radius: 50%;  /* Makes it circular */
    margin-right: 10px;
}

.chat-header h2 {
    flex-grow: 1;
    text-align: left;
    font-size: 18px;
    margin-left: 20px;
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    color: rgb(199, 185, 106);
    font-size: 20px;
    cursor: pointer;
}

/* Chatbot Body */
.chat-body {
    height: 250px;
    overflow-y: auto;
    padding: 10px;
    background: #a6a182;
}

/* Chatbot Messages */
.bot-message, .user-message {
    max-width: 80%;
    padding: 8px 12px;
    margin: 5px 0;
    border-radius: 8px;
    font-size: 14px;
    color:'black';
}

.bot-message {
    background: white;
    align-self: flex-start;
    
}

.user-message {
    background: black;
    color: white;
    align-self: flex-end;
    text-align: right;
}

/* Chatbot Footer */
.chat-footer {
    display: flex;
    padding: 10px;
    border-top: 1px solid #ddd;
    background: #fff;
}

.chat-footer input {
    flex: 1;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    outline: none;
}

.chat-footer button {
    background: black;
    color: white;
    border: none;
    padding: 10px 15px;
    margin-left: 5px;
    border-radius: 5px;
    cursor: pointer;
}

.chat-footer button:hover {
    background: #a6a182;
}

/* Responsive */
@media (max-width: 400px) {
    .chatbot-container {
        width: 90%;
        right: 5%;
    }
}
