.icon-circle {
    background-color: #e5eef9;
    color: #3987ce;
    width: 5rem;
    height: 5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin: 0 auto;
    border-radius: 50%;
}

.message-body {
    /*display: flex;*/
    /*flex-direction: column-reverse; !* NEW: reverse order *!*/
    overflow-y: auto;
    min-height: 500px;
    max-height: 500px;
    padding: 15px;
    border-radius: 12px;
    border: 1px solid #e0e0e0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    scrollbar-width: thin;
    scrollbar-color: #c1c1c1 transparent;
}

.message-body::-webkit-scrollbar {
    width: 6px;
}

.message-body::-webkit-scrollbar-track {
    background: transparent;
}

.message-body::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 10px;
}

.message-body::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

.message-box {
    display: flex;
    gap: 0.5rem;
    padding: 0.7rem;
}
.message-box:hover {
    background: #f9f9f9;
}

.message-box .img-user {
    width: 35px;
    height: 35px;
    border-radius: 50%;
}

.message-box h5 {
    font-size: 0.79rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.message-box p {
    font-size: 0.79rem;
    margin-bottom: 0;
}
.text-center small.badge {
    background-color: #f1f1f1;
    padding: 4px 10px;
    border-radius: 10px;
    font-size: 0.8rem;
}

#order-table td input,
#order-table td select {
    width: 100%;
    min-width: 100px;
}

@media (max-width: 767px) {
    #order-table {
        width: 100%;
        min-width: 600px;
    }

    #order-table td input,
    #order-table td select {
        width: 100%;
        min-width: 120px;
        box-sizing: border-box;
    }

    #order-table td {
        white-space: nowrap;
    }

    .table-responsive {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
}
