/* Chat Button */
.chat-button {
    z-index: 9999;
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #00aaff;
    color: white;
    border: none;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    font-size: 24px;
}


.chat-button:hover {
    background-color: #008ecc;
}

/* Chat Container */
.chat-container {
    z-index: 9999;
    background-color: rgba(0, 0, 0, 0.4);
    border-radius: 25px;
    box-shadow: 0px 0px 10px 5px rgba(0, 0, 0, 0.7);
    overflow: hidden;
    padding: 15px;
    position: fixed;
    bottom: 90px;
    right: 20px;
    width: 320px;
    max-width: 100%;
    display: flex;
    flex-direction: column;
}

.hidden {
    display: none;
}

/* Chat Styling */
.chat {
    flex-grow: 1;
    list-style-type: none;
    padding: 0;
    margin: 0;
    max-height: 300px;
    overflow-y: auto;
}

.chat-header {
    background-color: #0078d7;
    color: white;
    padding: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 8px 8px 0 0;
}

.chat-header h5 {
    margin: 0;
    color: white;
}
.close-btn {
    background: none;
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
}


.message {
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 50px;
    box-shadow: 0px 15px 5px 0px rgba(0, 0, 0, 0.5);
    position: relative;
    margin-bottom: 15px;
}

.message.left {
    padding: 15px 20px 15px 70px;
}

.message.right {
    align-self: flex-end;
    padding: 15px 70px 15px 20px;
}

.logo {
    border-radius: 50%;
    position: absolute;
    left: 10px;
    top: -10px;
    width: 50px;
    height: 50px;
}

.message.right .logo {
    left: auto;
    right: 10px;
}

.text_input {
    font-size: 16px;
    padding: 10px 15px;
    width: 100%;
}
