input[type="text"],
button {
    /* padding: 10px;
            margin: 5px; */
}

#messages {
    padding: 10px;
    margin-top: 20px;
    border: 1px solid #ccc;
    max-height: 300px;
    overflow-y: auto;
    margin-bottom: 20px;
}

.current-user-chat,
.other-user-chat {
    width: 100%;
    clear: both;
}

.other-user-chat h5 {
    /* float: right; */
}

.chat-message .flex-box .person-img {
    height: 80px;
    width: 80px;
    object-fit: cover;
    border-radius: 100px;
}

.chat-message .flex-box {
    display: flex;
    gap: 20px;
    align-items: flex-end;
    width: 50% !important;
}

.chat-message.current-user-chat .flex-box .data-box {
    background-color: #DCE8FF;
}

.chat-message.other-user-chat .flex-box .data-box {
    background-color: #F5E2C4;
}

.chat-message.current-user-chat {
    float: left;
}

.chat-message.other-user-chat .flex-box {
    float: right;
}

.chat-message .flex-box .data-box {
    padding: 25px 16px;
    border-radius: 20px;
    min-width: 200px;
    margin-bottom: 20px;
}

/* .chat-message,
.chat-message.other-user-chat .flex-box {
    margin-bottom: 35px;
} */

.chat-message .flex-box .data-box .sender::first-letter,
.chat-message .flex-box .data-box .sender p::first-letter,
.chat-message .flex-box .data-box .message::first-letter,
.chat-message .flex-box .data-box p::first-letter {
    text-transform: capitalize;
}

.chat-message .flex-box .data-box p {
    color: #000;
    font-size: 15px;
    margin-bottom: 6px;
    line-height: 27px;
}

.chat-message .flex-box .data-box p.time {
    font-size: 11px;
    text-align: right;
    color: #0009;
    line-height: 14px;
}

.chat-message .flex-box .data-box .sender {
    color: #000;
    font-weight: 500;
    font-size: 17px;
    width: 100%;
}

.chat-message.other-user-chat .flex-box {
    flex-direction: row-reverse;
}

.form-group .upload-file-label {
    background: #dce8ff;
    width: 150px;
    font-size: 16px;
    font-weight: 500;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 11px;
    padding: 13px;
    border-radius: 13px;
    color: #000;
    cursor: pointer;
}

.form-group .upload-file-label:hover {
    background: #b5ceff;
}

.submit-btn {
    width: 100px;
    height: 45px;
    float: right;
    clear: both;
    border-radius: 10px;
    border: 0;
    background: #f2b95e;
    color: #000;
    font-size: 15px;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;

}

.submit-btn:hover {
    background: #c89c55;
}

.accepted_order {
    background-color: green;
    padding: 2px 8px;
    border-radius: 5px;
    color: #fff;
    display: inline-block;
    margin-top: 4px;
    line-height: 21px;
}

.accepted_order:hover {
    background-color: #004800;
}

.rejected_order:hover {
    background-color: #c10101;
}

.rejected_order {
    background-color: red;
    padding: 2px 8px;
    border-radius: 5px;
    color: #fff;
    display: inline-block;
    margin-top: 4px;
    line-height: 21px;
}

.send-offer {
    width: 142px;
    padding: 10px 10px;
    border-radius: 14px;
    font-size: 17px;
    color: #fff;
    font-weight: 500;
    text-transform: uppercase;
    background: #0359ff;
    border: 0;
}

.send-offer:hover {
    background: #032b79
}

.file-icon-box {
    display: inline-block;
    height: 30px;
    width: 30px;
    background: #2b6be6;
    border-radius: 100px;
    margin-bottom: 0 !important;
}

.file-icon-box .file-icon {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.file-icon-box .file-icon i {
    color: #fff;
    font-size: 16px;
}

.file-icon-box:hover {
    background: #1b479d;
}

.file-icon-box:hover i {
    color: #dddada;
}

.order-deatil-cous .material-box h5 {
    margin-bottom: 0;
    font-size: 14px;
    color: #000;
    font-weight: 500;
}

.order-deatil-cous .material-box {
    margin-bottom: 11px;
    margin-top: 15px;
}

.order-deatil-cous .material-box p {
    color: #383838 !important;
    font-weight: 500;
    margin-bottom: 0 !important;
}

.order-deatil-cous .repair-box {
    margin-bottom: 20px;
}

.delete-drop {
    position: absolute;
    top: 0;
    right: 0;
}

.delete-drop .delte-btn-drop {
    background: transparent;

    border: 0;

}

.delete-drop .delte-btn-drop:focus-visible {
    box-shadow: none;
}

.copy-text {
    position: relative;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    display: flex;
}

.copy-text input.text {
    /* padding: 10px; */
    color: #555;
    border: none;
    outline: none;
    width: 450px;
}

.copy-text button {
    padding: 10px;
    background: #5784f5;
    color: #fff;
    /* font-size: 18px; */
    border: none;
    outline: none;
    border-radius: 10px;
    cursor: pointer;
}

.copy-text button:active {
    background: #809ce2;
}

.copy-text button:before {
    content: "Copied";
    position: absolute;
    top: -36px;
    right: 0px;
    background: #5c81dc;
    padding: 8px 10px;
    border-radius: 20px;
    font-size: 10px;
    display: none;
}

.copy-text button:after {
    content: "";
    position: absolute;
    top: -10px;
    right: 20px;
    width: 10px;
    height: 10px;
    background: #5c81dc;
    transform: rotate(45deg);
    display: none;
}

.person_img {
    height: 80px;
    width: 80px;
    margin-right: 10px;
    border-radius: 100%;
    object-fit: cover;
}

.copy-text.active button:before,
.copy-text.active button:after {
    display: block;
}


.label_url {
    background: #8a5604;
    padding: 8px 15px;
    border-radius: 10px;
    color: #fff;
    display: inline-block;
    margin-right: 10px;
}

#shipmentModal .modal-body {
    max-height: 500px;
    overflow-y: scroll;
}

#deliveryShipmentModal .modal-body {
    max-height: 500px;
    overflow-y: scroll;
}


@media(max-width:600px) {
    .chat-message .flex-box .person-img {
        height: 40px;
        width: 40px;
    }

    .chat-message .flex-box .data-box {
        padding: 16px 16px;
        border-radius: 20px;
        min-width: 152px;
    }

    .chat-message .flex-box {
        gap: 7px;
        width: 100%;
    }

    .chat-message,
    .chat-message.other-user-chat .flex-box {
        margin-bottom: 30px;
    }

    .chat-message .flex-box .data-box .sender {
        font-size: 16px;
    }

    .chat-message .flex-box .data-box p {
        font-size: 13px;
        line-height: 18px;
    }

}


.greenBackground{
    padding: 25px 16px;
    border-radius: 20px;
    min-width: 200px;
    background-color: #0ac520;
}

.greenBackground .time {
    text-align: right;
    margin-bottom: 0;
  }


.date-label{
    width: 100%;
    float: left;
    font-weight: 700;
}
