.hidden {
    display: none !important;
}

.content1 {
    text-align: center;
    display: inline-block;
}

#chat1 .form-outline .form-control~.form-notch div {
    pointer-events: none;
    border: 1px solid;
    border-color: #eee;
    box-sizing: border-box;
    background: transparent;
}

#chat1 .form-outline .form-control~.form-notch .form-notch-leading {
    left: 0;
    top: 0;
    height: 100%;
    border-right: none;
    border-radius: .65rem 0 0 .65rem;
}

#chat1 .form-outline .form-control~.form-notch .form-notch-middle {
    flex: 0 0 auto;
    max-width: calc(100% - 1rem);
    height: 100%;
    border-right: none;
    border-left: none;
}

#chat1 .form-outline .form-control~.form-notch .form-notch-trailing {
    flex-grow: 1;
    height: 100%;
    border-left: none;
    border-radius: 0 .65rem .65rem 0;
}

#chat1 .form-outline .form-control:focus~.form-notch .form-notch-leading {
    border-top: 0.125rem solid #39c0ed;
    border-bottom: 0.125rem solid #39c0ed;
    border-left: 0.125rem solid #39c0ed;
}

#chat1 .form-outline .form-control:focus~.form-notch .form-notch-leading,
#chat1 .form-outline .form-control.active~.form-notch .form-notch-leading {
    border-right: none;
    transition: all 0.2s linear;
}

#chat1 .form-outline .form-control:focus~.form-notch .form-notch-middle {
    border-bottom: 0.125rem solid;
    border-color: #39c0ed;
}

#chat1 .form-outline .form-control:focus~.form-notch .form-notch-middle,
#chat1 .form-outline .form-control.active~.form-notch .form-notch-middle {
    border-top: none;
    border-right: none;
    border-left: none;
    transition: all 0.2s linear;
}

#chat1 .form-outline .form-control:focus~.form-notch .form-notch-trailing {
    border-top: 0.125rem solid #39c0ed;
    border-bottom: 0.125rem solid #39c0ed;
    border-right: 0.125rem solid #39c0ed;
}

#chat1 .form-outline .form-control:focus~.form-notch .form-notch-trailing,
#chat1 .form-outline .form-control.active~.form-notch .form-notch-trailing {
    border-left: none;
    transition: all 0.2s linear;
}

#chat1 .form-outline .form-control:focus~.form-label {
    color: #39c0ed;
}

#chat1 .form-outline .form-control~.form-label {
    color: #bfbfbf;
}

.content-message-left .content-message {
    color: #000;
}

.content-message-right div div {
    border-radius: 10px;
    background-color: #005f69;
    color: #fff;
}

.content-message-right div .message-timespan {
    margin: auto !important;
    font-size: 9px;
    color: #fff;
}

.content-message-left {
    margin-top: 10px;
}

.content-message-left div .message-timespan {
    margin: auto !important;
    font-size: 9px;
    color: #000;
}

.content-message-left div>img,
.content-message-right div>img {
    width: 100%;
    object-fit: contain;
    min-width: 100px;
}

.content-message-left>div {
    border-radius: 10px;
    background-color: #e9e9eb;
    border: none;
    padding: 7px 15px;
    max-width: 310px;
}

.content-message-right>div {
    border-radius: 10px;
    background-color: #005f69;
    border: none;
    padding: 7px 15px;
    max-width: 300px;
    border: 1px solid #005f69;
    margin-top: 10px;
}

div:has(.content-message-right):has(img) {
    border-radius: none !important;
    background-color: none !important;
    border: none;
}

div:has(.content-message-left):has(img) {
    border-radius: none !important;
    background-color: none !important;
    border: none;
}

.text-area-message {
    border: 1px solid #eee !important;
    padding: 5px !important;
    border-radius: 3px !important;
    width: 100%;
    height: 100%;
    margin: auto;
    outline: none !important;
    resize: none;
}

.form-outline {
    box-shadow: 2px 0 3px #eee;
    display: flex;
    justify-content: center;
    padding: 15px;
}

.container {
    height: 100vh;
    margin: auto;
}

.card-body {
    background-color: #fff;
    overflow-x: hidden;
    height: 400px;
}


/* scroll */

 ::-webkit-scrollbar {
    width: 7px;
}

 ::-webkit-scrollbar-track {
    background: #f1f1f1;
}

 ::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 10px;
}

 ::-webkit-scrollbar-thumb:hover {
    background: #555;
}

.person-name {
    font-size: 15px;
    margin-left: 7px;
    cursor: pointer;
    font-weight: bold;
    color: #f26f33;
}

.img-send-container {
    position: relative;
}

.close-img-send {
    cursor: pointer;
    position: absolute;
    top: 0;
    right: 0;
    background-color: #ccc;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.btn-delete-box {
    border-radius: 5px;
    background-color: #54b4d3;
    padding: 5px 10px;
    width: 100px;
    color: #fff;
    font-weight: bold;
    margin-bottom: 5px;
    text-align: center;
    cursor: pointer;
    margin-left: auto;
}

.btn-delete-box:hover {
    opacity: 0.8;
}

.area-chat {
    position: fixed;
}

#reply_box .reply-content {
    border-left: 2px solid #f26f33;
    padding-left: 7px;
}

#reply_box .reply-content .reply-body {
    font-size: 12px;
    word-wrap: break-word;
    padding-right: 30px;
}

#reply_box .reply-content .reply-user {
    margin: 0px;
    font-weight: bold;
    font-size: 13px;
}

#reply_box .reply-content img.content-message {
    width: 100px;
    height: 100px;
}

#delete_reply {
    position: absolute;
    right: 5px;
    top: -4px;
    font-weight: bold;
    padding: 5px;
    cursor: pointer;
}

#delete_reply:hover {
    color: #f26f33;
}

.content-message-right .reply-content {
    border-left: 2px solid #f26f33;
    padding-left: 9px;
    margin-bottom: 0px;
    border-radius: 0px;
}

.content-message-right .reply-content .reply-user {
    margin: 0px;
    font-weight: bold;
    font-size: 13px;
    color: #ffd200;
}

.content-message-right .reply-content .reply-body {
    font-size: 12px;
    word-wrap: break-word;
}

.content-message-right .message-box {
    margin-top: 0px;
    border-top-left-radius: 0px;
    border-top-right-radius: 0px;
}

.content-message-left .reply-content {
    border-left: 2px solid #f26f33;
    padding-left: 9px;
    margin-bottom: 0px;
}

.content-message-left .reply-content .reply-user {
    margin: 0px;
    font-weight: bold;
    font-size: 13px;
    color: #000;
}

.content-message-left .reply-content .reply-body {
    font-size: 12px;
    word-wrap: break-word;
}

.content-message-left .message-box {
    margin-top: 0px;
    border-top-left-radius: 0px;
    border-top-right-radius: 0px;
}