/* css/style.css */
#custom-chat-bubble {
    box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 4px, rgba(0, 0, 0, 0.2) 0px 2px 12px;
    border-radius: 20%;
    width: 100px;
    height: 100px;
    background-color: #FF9900;
    position: fixed;
    top: 130px;
    right: 10px;
    display: flex;
    align-items: center;
    cursor: pointer;
    justify-content: center;
    font-size: 32px;
    color: white;
    z-index: 1000;
}

#custom-chat-bubble:hover {
    box-shadow: rgba(0, 0, 0, 0.1) 0px 2px 6px, rgba(0, 0, 0, 0.2) 0px 4px 16px;
    transform: scale(1.1);
}

/* css/style.css */
.custom-chat {
    border: 2px solid rgb(207, 207, 207);
    background-color: #fafafa;
    box-sizing: content-box;
    border-radius: 25px;
    height: 580px;
    width: 420px;
    flex-direction: column;
    z-index: 1000;
    display: flex;
}

#custom-chat-window {
    position: fixed;
    top: 240px;
    right: 10px;
}

#chat-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
}

#chat-header {
    height: 80px;
    background-color: rgb(99, 147, 199);
    width: 420px;
    border-radius: 20px 20px 0px 0px;
    color: white;
    font-weight: bold;
    gap: 10px;
    display: flex;
    align-items: center;
    font-size: 22px;
    justify-content: space-between;
}

#csIcon {
    height: 38px;
    width: 38px;
    background-color: white;
    border-radius: 50%;
    padding: 5px;
    margin-left: 20px;
}

#input-area {
    width: auto;
    height: 70px;
    min-height: 70px;
    font-size: 16px;
    border-radius: 0px 0px 20px 20px;
    border: 2px solid rgba(169, 169, 169, 0.574);
    border-left: none;
    border-right: none;
    border-bottom: none;
    padding: 10px 20px;
    padding-right: 58px;
    resize: none;
    outline: none;
}

#chat-area {
    width: 420px;
    height: 100%;
    overflow: auto;
}

#close-button {
    padding-right: 20px;
    cursor: pointer;
}

.iconAndText {
    display: flex;
    align-items: center;
    gap: 10px;
}

.response-message {
    padding: 20px 30px;
    gap: 10px;
    display: flex;
    font-size: 16px;
}

.response-text {
    padding: 8px 12px;
    border-radius: 10px;
    overflow-wrap: break-word;
    max-width: 240px;
    background-color: #f2f2f2;
}


.request-text {
    padding: 8px 12px;
    border-radius: 10px;
    overflow-wrap: break-word;
    max-width: 345px;
    background-color: rgb(99, 147, 199);
    color: rgb(239, 239, 239);
}

.request-message {
    padding: 20px 30px;
    width: 345px;
    font-size: 16px;
}

.fa-comment {
    font-size: 48px;
}

#send_button {
    display: none;
}

/*page*/
.chat-page {
    border: 2px solid rgb(207, 207, 207);
    background-color: #fafafa;
    box-sizing: content-box;
    border-radius: 25px;
    height: 580px;
    width: 820px;
    flex-direction: column;
    z-index: 1000;
    display: flex;
}

#close-button {
    padding-right: 10px;
    cursor: pointer;
}

#chat-page-header {
    height: 80px;
    background-color: rgb(99, 147, 199);
    width: 820px;
    border-radius: 20px 20px 0px 0px;
    color: white;
    font-weight: bold;
    gap: 10px;
    display: flex;
    align-items: center;
    font-size: 22px;
    justify-content: center;
}

#csIcon-page {
    height: 38px;
    width: 38px;
    background-color: white;
    border-radius: 50%;
    padding: 5px;
    margin-left: 20px;
}

#input-area-page {
    width: auto;
    height: 70px;
    min-height: 70px;
    font-size: 16px;
    border-radius: 0px 0px 20px 20px;
    border: 2px solid rgba(169, 169, 169, 0.574);
    border-left: none;
    border-right: none;
    border-bottom: none;
    padding: 10px 20px;
    padding-right: 58px;
    resize: none;
    outline: none;
}

#chat-page-area {
    width: 820px;
    height: 100%;
    overflow: auto;
}

#send_button-page {
    display: none;
}

.response-message-page {
    padding: 20px 30px;
    gap: 10px;
    display: flex;
    font-size: 16px;
}

.response-text-page {
    padding: 8px 12px;
    border-radius: 10px;
    overflow-wrap: break-word;
    max-width: 640px;
    background-color: #f2f2f2;
}

.request-text-page {
    padding: 8px 12px;
    border-radius: 10px;
    overflow-wrap: break-word;
    max-width: 745px;
    background-color: rgb(99, 147, 199);
    color: rgb(239, 239, 239);
}

.request-message-page {
    padding: 20px 30px;
    width: 745px;
    font-size: 16px;
}

/*page*/

@media (max-width: 600px) {
    #custom-chat-window {
        width: 360px;
        height: 460px;
    }

    #chat-header {
        width: 360px;
        justify-content: space-between;
    }

    .response-text {
        max-width: 200px;
    }

    .request-text {
        max-width: 300px;
    }

    #custom-chat-bubble {
        width: 60px;
        height: 60px;
        top: 100px
    }

    .fa-comment {
        font-size: 36px;
    }

    #custom-chat-window {
        top: 170px;
    }

    #send_button {
        display: block;
        border-radius: 10px 10px 10px 10px;
        width: 30px;
        padding: 0px;
        height: 30px;
        position: absolute;
        bottom: 20px;
        right: 8px;
        background-color: rgb(99, 147, 199);
        border: none;
        color: white;
        z-index: 10;

    }

    #send_button:focus {
        outline: none;
    }

    #close-button {
        padding-right: 10px;
        cursor: pointer;
    }

}

@media (max-width: 390px) {
    #custom-chat-window {
        width: 300px;
        height: 420px;
    }

    #chat-header {
        width: 300px;
        justify-content: space-between;
    }

    .response-text {
        max-width: 160px;
    }

    .request-text {
        max-width: 200px;
    }

    .response-message {
        padding: 20px 10px;
    }

    #custom-chat-bubble {
        width: 60px;
        height: 60px;
        top: 100px
    }

    .fa-comment {
        font-size: 36px;
    }

    #custom-chat-window {
        top: 170px;
    }

    #send_button {
        display: block;
        border-radius: 10px 10px 10px 10px;
        width: 30px;
        padding: 0px;
        height: 30px;
        position: absolute;
        bottom: 20px;
        right: 8px;
        background-color: rgb(99, 147, 199);
        border: none;
        color: white;
        z-index: 10;

    }

    #send_button:focus {
        outline: none;
    }

    #close-button {
        padding-right: 10px;
        cursor: pointer;
    }
}

.btnx {
    border-radius: 20px;
}