.container {
    top: clamp(40px, 5vw, 50px);
}

.nav {
    height: clamp(40px, 5vw, 50px);
}

.nav--item {
    padding: 10px;
    cursor: pointer;
    font-size: clamp(13px, 2vw, 16px);
    height: 100%;
}

.nav--link:has(.nav--item.active) {
    pointer-events: none;
}

.nav--item.active {
    border-bottom: 4px solid transparent;
    border-image: linear-gradient(162.63deg, #8d4df3 0%, #0120d4 98.99%);
    border-image-slice: 1;
    width: 100%;
    background: linear-gradient(162.63deg, #8d4df3 0%, #0120d4 98.99%);
    background-clip: text;
    color: transparent;
}

.nav--item:not(.active):hover {
    background: linear-gradient(162.63deg, #8D4DF3 0%, #0120D4 98.99%);
    background-clip: text;
    color: transparent;
    border-bottom: 4px solid transparent;
    border-image: linear-gradient(162.63deg, #8D4DF3 0%, #0120D4 98.99%);
    border-image-slice: 1;
    width: 100%;
    transition: all 0.1s ease;
}

.content-header {
    margin: 20px;
}

.nav__list {
    display: flex;
    background: #FFFFFF;
    gap: 24px;
    opacity: 1;
    border-radius: 8px;
    padding: 8px;
}

.nav-list-item.active {
    background: linear-gradient(119.16deg, #8D4DF3 0%, #0120D4 100%);
    padding: 8px 16px;
    gap: 10px;
    opacity: 1;
    border-radius: 4px;
    color: #FFFFFF;
    font-weight: 600;
    font-size: 16px;
    line-height: 100%;
    text-align: center;
}

.nav-list-item {
    display: flex;
    align-items: center;
    padding: 8px 16px;
    gap: 10px;
    opacity: 1;
    border-radius: 4px;
    color: #0120D4;
    font-weight: 600;
    font-size: 16px;
    line-height: 100%;
    text-align: center;
    white-space: nowrap;
}

.search-group {
    background: #FFFFFF;
    padding: 12px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid #ddd;
    width: 100%;
}

.search-group i {
    color: #888;
    font-size: 16px;
}

.search-group input {
    border: none;
    outline: none;
    flex: 1;
    font-size: 14px;
}

.btn-filter {
    background-color: #FFFFFF;
    border-radius: 4px;
    padding: 12px;
    border: none;
    font-weight: 400;
    font-size: 14px;
}

.content-body {
    background-color: #FFFFFF;
    margin: 20px;
    border-radius: 8px;
    border-width: 1px;
    padding: 32px 24px;
    gap: 32px;
    opacity: 1;

}

.order-count-text{
    font-weight: 700;
    font-size: 20px;
    line-height: 20px;
    color: #202224;
}

.order-count{
    font-weight: 700;
    font-size: 20px;
    line-height: 20px;
    text-align: right;
    vertical-align: bottom;
    color: #202224;
}

.order-count span{
    color: #848484;
}

.tbl-data {
    table-layout: fixed !important;
    width: 100%;
}

.tbl-data thead tr {
    padding: 16px 4px;
    border-bottom: 1px solid #D8D8D8;
}

.tbl-data thead tr th {
    font-weight: 700;
    font-size: 16px;
    line-height: 20px;
    padding: 12px 8px;
    white-space: nowrap;
}

.tbl-data th, .tbl-data td {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    vertical-align: middle;
}

.tbl-data-img {
    border-radius: 6px;
    object-fit: cover;
}

.tbl-data-text {
    font-size: 14px;
    line-height: 20px;
    color: #000;
}

.tbl-data-checked {
    border-radius: 4px;
    padding-top: 4px;
    padding-bottom: 4px;
    gap: 10px;
    opacity: 1;
    background: #4880FF;
    border: none;
}

.tbl-data-checked i{
    color: #FFFFFF;
}

.tbl-data-cancel {
    border-radius: 4px;
    padding-top: 4px;
    padding-bottom: 4px;
    gap: 10px;
    opacity: 1;
    border: 1px solid #EF3826
}

.tbl-data-cancel i{
    color: #EF3826;
}

.ez-pagination-wrapper {
    background-color: #FFFFFF;
    height: 3rem;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding-bottom: 0.5rem;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    padding-top: 0.5rem;
}

.ez-pagination-wrapper-left {
    display: flex;
}

.ez-pagination-wrapper-left > span {
    align-self: center;
    font-size: 0.85rem;
}

.ez-pagination-wrapper-right {
    display: flex;
    flex-direction: row;
    gap: 1rem;
}

.order-card {
    background: #fff;
    border-radius: 10px;
    padding: 14px;
    margin-bottom: 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

/* HEADER */
.order-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.order-user {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
}

/* ITEMS */
.order-items {
    margin-top: 12px;
}

.order-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
}

.order-item + .order-item {
    border-top: 1px dashed #eee;
}

.product-img {
    width: 70px;
    height: 70px;
    border-radius: 6px;
    object-fit: cover;
    border: 1px solid #eee;
}

.item-info {
    flex: 1;
}

.item-name {
    font-weight: 600;
    margin-bottom: 4px;
}

.product-attributes {
    font-size: 13px;
    color: #666;
}

.item-qty {
    font-size: 13px;
    color: #555;
}

.item-price {
    font-weight: 600;
    color: #e53935;
    white-space: nowrap;
}

/* BUYER INFO */
.order-buyer-info {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: #555;
    margin-top: 10px;
    padding-top: 8px;
    border-top: 1px solid #eee;
}

/* FOOTER */
.order-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
}

.total-price {
    font-weight: 600;
}

.money {
    color: #e53935;
    margin-left: 4px;
}

/* STATUS */
.order-status {
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 12px;
    font-weight: 500;
}

.status-success {
    background: #e6f4ea;
    color: #2e7d32;
}

.status-warning {
    background: #fff4e5;
    color: #b26a00;
}

.status-default {
    background: #eee;
    color: #555;
}
/**/
/* ===== MODAL ===== */
#orderDetailModal .modal-content {
    border-radius: 16px;
    border: none;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
}

#orderDetailModal .modal-header {
    border-bottom: none;
    padding: 20px 24px;
}

#orderDetailModal .modal-title {
    font-weight: 700;
    font-size: 18px;
}

#orderDetailModal .modal-body {
    padding: 0 24px 24px;
}

/* ===== SECTION ===== */
.detail-section {
    background: #f9fafb;
    border-radius: 12px;
    padding: 14px 16px;
    margin-bottom: 14px;
    font-size: 14px;
    color: #333;
}

.detail-section > div {
    margin-bottom: 6px;
}

.detail-section > div:last-child {
    margin-bottom: 0;
}

/* ===== STATUS BADGE ===== */
.order-status,
.payment-status {
    font-size: 12px;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 999px;
}

/* Order */
.status-pending {
    background: #fff3cd;
    color: #856404;
}

.status-confirmed {
    background: #e7f1ff;
    color: #084298;
}

.status-shipping {
    background: #ede7f6;
    color: #4527a0;
}

.status-completed {
    background: #e6f4ea;
    color: #1e7e34;
}

.status-canceled {
    background: #fdecea;
    color: #b71c1c;
}

/* Payment */
.payment-pending {
    background: #fff8e1;
    color: #f57c00;
}

.payment-completed {
    background: #e8f5e9;
    color: #2e7d32;
}

.payment-canceled {
    background: #fbe9e7;
    color: #d84315;
}

/* ===== ITEMS ===== */
.detail-items {
    margin-top: 16px;
}

.detail-item {
    display: flex;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px dashed #e0e0e0;
}

.detail-item:last-child {
    border-bottom: none;
}

.detail-img {
    width: 76px;
    height: 76px;
    border-radius: 10px;
    object-fit: cover;
    border: 1px solid #eee;
    background: #fff;
}

/* ===== ITEM INFO ===== */
.detail-info {
    flex: 1;
}

.detail-name {
    font-weight: 600;
    font-size: 15px;
    margin-bottom: 6px;
}

.product-attributes {
    font-size: 13px;
    color: #666;
    margin-bottom: 4px;
}

.product-attributes .attr-item {
    margin-right: 6px;
}

.detail-qty {
    font-size: 13px;
    color: #555;
}

/* ===== PRICE ===== */
.detail-price {
    font-weight: 700;
    font-size: 14px;
    color: #e53935;
    white-space: nowrap;
}

/* ===== TOTAL ===== */
.detail-total {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid #eee;
    text-align: right;
    font-size: 17px;
    font-weight: 700;
}

.detail-total span {
    margin-left: 6px;
    color: #e53935;
}

/* ===== FOOTER ===== */
#orderDetailModal .modal-footer {
    border-top: none;
    padding: 16px 24px 24px;
}

#orderDetailModal .btn-secondary {
    border-radius: 8px;
    padding: 6px 18px;
}

