.user-profile-sidebar {
    background: #ffffff;
    border-radius: 10px;
    margin-bottom: 25px;
    padding: 20px;
    box-shadow: 0 0 40px 5px rgb(0 0 0 / 5%);
}

ul.user-profile-sidebar-list {
    padding: 0;
    margin: 0;
    list-style: none;
}

.user-profile-sidebar-top {
    text-align: center;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-info-color)
}

.user-profile-img {
    position: relative;
    width: 100px;
    height: 100px;
    margin: 0 auto 15px;
    border-radius: 50px
}
.user-profile-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.user-profile-img img {
    border-radius: 50%
}

.profile-img-file {
    display: none
}

.user-profile-img button {
    position: absolute;
    border-radius: 50px;
    background: var(--theme-color);
    color: var(--color-white);
    width: 30px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    border: none;
    right: 0;
    bottom: 0
}

.user-profile-sidebar-list li {
    margin: 5px 0
}

.user-profile-sidebar-list li a {
    color: var(--color-dark);
    padding: 6px 6px 6px 15px;
    display: block;
    font-weight: 500;
    transition: all .5s ease-in-out;
}

.user-profile-sidebar-list li a:hover {
    padding-left: 20px
}

.user-profile-sidebar-list li a i {
    margin-right: 5px;
    color: var(--theme-color)
}

.user-profile-sidebar-list .active i {
    color: var(--color-white)
}

.user-profile-sidebar-list .active {
    background: var(--theme-color);
    color: var(--color-white);
    border-radius: 8px
}

.user-profile-card {
    background: var(--color-white);
    padding: 15px 20px;
    border-radius: 10px;
    margin-bottom: 25px;
    box-shadow: 0 0 40px 5px rgb(0 0 0 / 5%);
}

.my_order_header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    padding-bottom: 10px;
    margin-bottom: 10px;
}

.user-profile-card-title {
    color: var(--color-dark);
    font-size: 20px;
}

.user-profile-card .text-success {
    color: var(--theme-color)!important
}

.user-profile-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 15px;
    margin-bottom: 15px;
    border-bottom: 1px solid var(--border-info-color)
}

.user-profile-card-header .user-profile-card-title {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0
}

.user-profile-card-header-right {
    display: flex;
    align-items: center;
    gap: 20px
}

.user-profile-search .form-group {
    position: relative
}

.user-profile-search .form-control {
    padding: 10px 12px 10px 35px;
    box-shadow: none;
    border-radius: 10px
}

.user-profile-search .form-control:focus {
    border-color: var(--theme-color)
}

.user-profile-search i {
    position: absolute;
    left: 12px;
    top: 15px
}

.user-profile-card-header .theme-btn {
    padding: 8px 15px
}

.profile-info-list li {
    margin: 12px 0;
    font-weight: 500
}

.profile-info-list li span {
    float: right;
    font-weight: 400
}

.user-profile-form .form-group {
    margin-bottom: 20px
}

.user-profile-form .form-group label {
    color: var(--color-dark);
    margin-bottom: 5px
}

.user-profile-form .form-control {
    padding: 14px 20px;
    border-radius: 10px;
    box-shadow: none;
    border-color: #e8e8e8
}

.user-profile-form .form-control:focus {
    border-color: var(--theme-color)
}

.user-profile-form .theme-btn {
    width: unset
}

.user-profile .badge-success {
    background: #dcfce7;
    color: #ff6000;
}

.user-profile .badge-info {
    background: #f3e8ff;
    color: #a855f7
}

.user-profile .badge-primary {
    background: #dbf7fd;
    color: #0dcaf0
}

.user-profile .badge-danger {
    background: #fee2e2;
    color: #ef4444
}

.dashboard-widget {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 30px 20px;
    border-radius: 10px;
    margin-bottom: 30px;
    box-shadow: 0 0 40px 5px rgb(0 0 0/3%)
}

.dashboard-widget-info span {
    font-weight: 500
}

.dashboard-widget-info h1 {
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 5px
}

.dashboard-widget-icon {
    width: 65px;
    height: 65px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    border-radius: 50px
}

.dashboard-widget-color-1 {
    background: rgba(98,89,202,.15);
    color: #6259ca
}

.dashboard-widget-color-1 h1 {
    color: #6259ca
}

.dashboard-widget-color-1 .dashboard-widget-icon {
    background: #6259ca;
    color: #fff
}

.dashboard-widget-color-2 {
    background: rgba(14,198,198,.15);
    color: #29bf6c
}

.dashboard-widget-color-2 h1 {
    color: #29bf6c
}

.dashboard-widget-color-2 .dashboard-widget-icon {
    background: #29bf6c;
    color: #fff
}

.dashboard-widget-color-3 {
    background: rgba(239,29,38,.15);
    color: #ef1d26
}

.dashboard-widget-color-3 h1 {
    color: #ef1d26
}

.dashboard-widget-color-3 .dashboard-widget-icon {
    background: #ef1d26;
    color: #fff
}

.table-list-info a {
    display: flex;
    align-items: center;
    gap: 10px
}

.table-list-info h6 {
    transition: all .5s ease-in-out
}

.table-list-info p {
    color: var(--color-dark)
}

.table-list-info:hover h6 {
    color: var(--theme-color)
}

.table-list-info span {
    color: var(--color-dark)
}

.table-list-info img {
    width: 46px;
    border-radius: 8px;
}

.user-profile-card .table>:not(caption)>*>* {
    vertical-align: middle;
    padding: .8rem
}
.table>:not(:last-child)>:last-child>* {
    border-bottom-color: var(--border-color);
}

.profile-store .store-file {
    display: none
}

.profile-store .store-logo-preview {
    margin-bottom: 30px
}

.profile-store .store-logo-preview img {
    width: 100px;
    border-radius: 50px
}

.profile-store .store-banner-preview {
    margin-top: 50px;
    margin-bottom: 30px
}

.profile-store .store-banner-preview img {
    border-radius: 12px
}

.add-listing-form .form-group {
    margin-top: 15px
}

.add-listing-form .form-group label {
    margin-bottom: 5px;
    color: var(--color-dark)
}

.add-listing-form .form-control {
    border-radius: 10px;
    padding: 15px 20px;
    box-shadow: none;
    color: #757f95;
    border-color: #e8e8e8
}

.add-listing-form .form-control:focus {
    border-color: var(--theme-color)
}

.add-listing-form .list-img-upload {
    width: 100%;
    height: 140px;
    border: 2px dashed var(--border-color);
    border-radius: 10px;
    cursor: pointer
}

.add-listing-form .list-img-file {
    display: none
}

.add-listing-form .list-img-upload span {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 100%
}

.add-listing-form .list-img-upload span i {
    margin-right: 5px
}

.add-listing-form .form-check {
    margin-bottom: 15px
}

.add-listing-form .form-check-input {
    margin-top: 6.5px;
    box-shadow: none
}

.add-listing-form .form-check-input:focus {
    border-color: var(--theme-color)
}

.add-listing-form .form-check label {
    color: var(--color-dark)
}

.profile-favorite .car-item {
    box-shadow: none;
    border: 2px solid var(--border-info-color)
}

.profile-setting .form-check {
    margin-bottom: 10px
}

.profile-setting .form-check-input {
    margin-top: 6.5px;
    box-shadow: none
}

.profile-message-wrapper {
    display: flex
}

.profile-message-inbox {
    max-width: 340px;
    border: 1px solid #edf1f9;
    border-radius: 10px
}

.profile-message-inbox {
    overflow: hidden
}

.message-content {
    padding-left: 30px;
    position: relative;
    overflow: hidden
}

.message-content-info {
    max-height: 750px;
    overflow-y: scroll;
    margin-right: -50px;
    padding-right: 50px
}

.profile-message-inbox,.message-content {
    flex: 1
}

.profile-message-inbox ul {
    max-height: 950px;
    overflow-y: scroll;
    width: 357px;
    list-style: none;
    padding: 0;
    margin: 0
}

.profile-message-inbox ul li.message-active {
    border-left: 3px solid #29bf6c
}

.profile-message-inbox ul li {
    border-bottom: 1px solid #edf1f9;
    transition: .2s;
    list-style: none
}

.profile-message-inbox ul li:last-child {
    border-bottom: none
}

.message-by-content h5 {
    margin-bottom: 0;
    font-size: 14px;
    line-height: 1
}

.profile-message-inbox ul li a {
    position: relative;
    display: block;
    padding: 30px
}

.profile-message-inbox .message-avatar {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%)
}

.message-avatar img {
    display: inline-block;
    width: 54px;
    height: 54px;
    border-radius: 50%
}

.message-avatar img {
    width: 50px;
    height: 50px
}

.profile-message-inbox .message-by {
    margin-left: 50px
}

.message-by-content h5 i {
    background: #f98f14;
    padding: 3px 8px;
    border-radius: 50px;
    color: #fff;
    font-size: 13px
}

.message-by-content span {
    font-size: 13px;
    position: absolute;
    top: 25.5px;
    right: 25px;
    float: right;
    color: #888
}

.profile-message-inbox .message-by p {
    height: 26px;
    max-width: 205px;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    font-size: 14px;
    margin: 0;
    padding: 0;
    color: #6b747d;
    line-height: 27px
}

.message-item {
    display: block;
    position: relative;
    margin-bottom: 25px
}

.message-item .message-avatar {
    position: absolute;
    left: 0;
    top: 0
}

.message-item .message-avatar img {
    width: 50px;
    height: 50px;
    display: inline-block;
    border-radius: 50%
}

.message-item .message-description {
    margin-left: 70px;
    background: #f4f5f7;
    border-radius: 12px;
    padding: 20px;
    position: relative
}

.message-item .message-description::before {
    position: absolute;
    top: 0;
    left: -9px;
    content: "\f0d9";
    font-family: "font awesome 6 pro";
    font-weight: 700;
    font-size: 31px;
    color: #f4f5f7
}

.message-item .message-description p {
    font-size: 15px;
    padding: 0;
    margin: 0;
    line-height: 27px
}

.message-item.me .message-avatar {
    left: auto;
    right: 0;
    position: absolute;
    top: 0
}

.message-item.me .message-description {
    color: #29bf6c;
    background-color: rgba(9,195,152,.1);
    margin-left: 0;
    margin-right: 70px;
    border-radius: 12px;
    padding: 20px;
    position: relative
}

.message-item.me .message-description::before {
    content: "\f0da";
    left: auto;
    right: -11px;
    color: #e6f9f4
}

.message-reply {
    margin-top: 15px;
    position: absolute;
    bottom: 0;
    left: 30px;
    right: 15px
}

.message-reply .form-control {
    padding: 15px 20px;
    box-shadow: none;
    border-radius: 10px
}

.message-reply .form-control:focus {
    border-color: #29bf6c
}

.message-reply .theme-btn {
    margin-top: 15px
}

.message-status {
    width: 12px;
    height: 12px;
    background: #252629;
    display: flex;
    border-radius: 50%;
    border: 3px solid #fff;
    position: absolute;
    right: -5px;
    top: 50%
}

.message-status.online {
    background: #29bf6c
}

.message-status.offline {
    background: #dd4b39
}

.message-status.busy {
    background: #f6b500
}

.profile-message .header-account:hover {
    cursor: pointer
}

.profile-message .header-account img {
    width: 45px;
    border-radius: 50%
}

.profile-message .header-account .dropdown-menu {
    border: none;
    border-radius: 10px;
    box-shadow: 0 0 40px 5px rgb(0 0 0 / 5%);
}

.profile-message .header-account .dropdown-item:hover {
    background: 0 0;
    color: #ef1d26;
    padding-left: 20px
}

@media all and (max-width: 991px) {
    .message-by-content span {
        right:65px
    }

    .message-reply {
        right: 0
    }
}

@media all and (max-width: 767px) {
    .table-listing-info a {
        display:block
    }

    .table-listing-info h6 {
        margin-top: 10px
    }

    .user-profile-card-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px
    }

    .user-profile-card-header-right {
        flex-direction: column-reverse;
        align-items: flex-start
    }

    .profile-message .profile-message-wrapper {
        flex-direction: column;
        gap: 50px
    }

    .profile-message .user-profile-card-header {
        flex-direction: row;
        align-items: center;
        gap: 20px
    }

    .profile-message .message-content {
        padding-left: 0;
        padding-bottom: 200px
    }

    .message-reply {
        left: 0
    }
}

.saved_add_header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
    padding: 12px 12px 0 12px;
}

.saved_add_header .add_name {
    margin-bottom: 0;
    font-size: 16px;
}

.address_field span {
    display: block;
    line-height: normal;
    font-size: 15px;
}

.add_footer {
    display: flex;
    justify-content: space-between;
    border-top: 1px solid var(--border-color);
    margin-top: 14px;
}

.add_mobile {
    margin-top: 10px;
}

.saved_address {
    border: 1px solid var(--border-color);
}
.saved_address:not(:last-child) {
    margin-bottom: 14px;
}
.add_footer a:last-child {
    border-left: 1px solid var(--border-color);
}

.view_product_myc {
    display: inline-block;
    padding: 4px 8px;
    line-height: normal;
    text-align: center;
    border: 1px solid var(--theme-color);
    border-radius: 25px;
    font-size: 14px;
    color: var(--theme-color);
    transition: 0.5s;
}

.view_product_myc:not(:last-child) {
    margin-bottom: 10px;
}

.view_product_myc:hover {
    background: var(--theme-color);
    color: #fff;
}

.user-profile-card table thead tr th:last-child {
    text-align: center;
}
.address_field {
    padding: 0 12px;
}

.add_footer a {
    display: block;
    width: 50%;
    text-align: center;
    padding: 6px;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--theme-color);
    font-size: 14px;
    transition: 0.5s;
}

.add_footer a:hover {
    color: var(--black-color);
}