﻿#chatgptid {
    position: fixed;
    bottom: 0;
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
    background-color: lightseagreen;
    padding: 0px;
}
/*lightseagreen*/

.input-container {
    position: relative;
    border-top: 0px solid lightseagreen;
    border: none;
    display: flex; /* ใช้ flexbox ในการจัด textarea */
    align-items: center; /* จัด textarea ให้อยู่กึ่งกลางตามแนวตั้ง */
    justify-content: center; /* จัด textarea ให้อยู่กึ่งกลางตามแนวนอน */
    height: 100%; /* เพื่อให้ input-container มีความสูงเต็มตาม parent div */
}

    .input-container textarea {
        align-items: center;
        width: 100%;
        border: none;
        padding: 10px;
        padding-right: 50px;
        border-radius: 20px;
        outline: none;
        box-shadow: 0 0 10px rgba(0,0,0,0.1);
        resize: none;
        overflow: hidden;
        box-sizing: border-box;
        background-color: #fff;
        color: #000;
    }

.input-container button {
        position: absolute;
        transform: translateY(-50%);
        top: 50%;
        right: 25px;
        background-color: #fff;
        border: none;
        color: #008000;
        padding: 4px 8px;
        text-align: center;
        text-decoration: none;
        display: inline-block;
        font-size: 18px;
        cursor: pointer;
        border-radius: 5px;
    }




.close-chat {
    position: absolute;
    top: 0px; /* Adjust the position */
    right: 10px; /* Adjust the position */
    width: 10px; /* Adjust the size */
    height: 10px; /* Adjust the size */
    color: white; /* Black color for the icon */
    border: none;
    cursor: pointer;
    font-size: 1.2em; /* Adjust the font size */
    background-color: lightseagreen;
}
/*#06C755*/
.close-chat i {
    line-height: 30px; /* Center the icon vertically */
}
