body {
    font-family: "Poppins", sans-serif;
}

.chat-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
    z-index: 10000;
}

.chat-button img {
    width: 60px;
    height: 60px;
    cursor: pointer;
}

.chat-widget {
    position: fixed;
    bottom: 85px;
    right: 20px;
    width: 300px;
    min-height: 550px;
    max-height: 550px;
    border: 1px solid #ccc;
    border-radius: 10px;
    background-color: #f9f9f9;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    display: none;
    flex-direction: column;
    animation: slideInUp 0.5s forwards;
    z-index: 100000;
}

@keyframes slideInUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes slideOutDown {
    from {
        transform: translateY(0);
        opacity: 1;
    }

    to {
        transform: translateY(100%);
        opacity: 0;
    }
}

.chat-header {
    background-color: #8710b6;
    color: white;
    padding: 10px;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    display: flex;
    align-items: center;
}

.chat-header h6 {
    margin: 0;
}

.chat-header button {
    background: none;
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
}

.chat-logo {
    width: 40px;
    height: 40px;
    margin-right: 10px;
    border-radius: 50%;
}

.chat-container {
    flex-grow: 1;
    padding: 10px;
    overflow-y: auto;
    font-size: small;
}

.message {
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 5px;
}

.from-bot {
    background-color: #f0f0f0;
    text-align: left;
    width: 90%;
    border-radius: 5px 5px 5px 0;
    float: left;
}

.from-user {
    background-color: #430d6e;
    color: white;
    text-align: right;
    width: 90%;
    border-radius: 5px 5px 0 5px;
    float: right;
}

.input-container {
    display: flex;
    padding: 10px;
    border-top: 1px solid #ccc;
}

.input-container input {
    flex-grow: 1;
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #ccc;
}

.input-container button {
    padding: 10px;
    border-radius: 5px;
    border: none;
    background-color: #8710b6;
    color: white;
    margin-left: 10px;
    cursor: pointer;
}

.quick-reply {
    padding: 6px 10px;
    border-radius: 10px;
    border: 1px solid #ccc;
    background-color: #d9c0ff;
    color: #333;
    cursor: pointer;
    margin-right: 5px;
    margin-bottom: 5px;
    font-weight: bold;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease, color 0.3s ease;
}

.quick-reply:hover {
    background-color: #e0e0e0;
    color: #000;
}
