.admin-header{
    background:#fff;
    border-bottom:1px solid #e9ecef;
    position:sticky;
    top:0;
    z-index:1000;
}

.header-icon-btn{
    width:42px;
    height:42px;
    border-radius:10px;
    display:flex;
    align-items:center;
    justify-content:center;
    transition:.25s;
    color: var(--accent);
}

.header-icon-btn:hover{
    background: var(--accent);
    color:#fff;
}

.user-avatar{
    width:44px;
    height:44px;
    border-radius:12px;
    object-fit:cover;
    border:2px solid  var(--accent);
    padding:2px;
    background:#fff;
}

.page-title{
    margin-bottom:0;
    font-size:1.15rem;
    font-weight:600;
}

.vr{
    height:40px;
}

.admin-header{
    padding-left: 0px;
    padding-right: 0px;
}

.text-role{
    font-size: 12px;
    line-height: 0px;
}

.text-username{
    font-size: 15px;
    line-height: 16px;
    text-align: center;
}

.header-page-title{
    font-size: 24px;
    font-weight: 700;
    color: var(--accent);
}

.company-name{
    font-size: 20px;
    font-weight: 700;
    line-height: 25px;
}
/*seller components*/

.sales-hero{
    position:relative;
    overflow:hidden;
    border-radius:8px;
    background:var(--accent);
    width:100%
}

.hero-bg{
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    object-fit:cover;
    opacity:.35;
    transition:transform .6s ease;
}

.sales-hero:hover .hero-bg{
    transform:scale(1.08);
}
.hero-overlay{
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(18, 19, 20, 0.98) 0%,
        rgba(21, 23, 27, 0.88) 35%,
        rgba(33, 46, 37, 0.65) 45%,
        rgba(99, 106, 60, 0.55) 60%
    );
}

.sales-hero .card-body{
    position:relative;
    z-index:2;
    padding:2rem;
}

.sales-badge{
    background:var(--accent);
    color:var(--white);
    font-size:.75rem;
    font-weight:700;
    padding:.6rem 1rem;
    border-radius:50rem;
}

.sales-avatar{
    width:72px;
    height:72px;
    object-fit:cover;
    border-radius:14%;
    border:4px solid var(--accent);
    background:#fff;
}

.sales-hero h3{
    font-size:1.6rem;
}

.sales-hero p{
    font-size:.95rem;
}

.sales-hero .btn{
    border-radius:10px;
    padding:.7rem 1.5rem;
}

.text-hero-cdescription{
    font-size: 13px !important;
}

.btn-main-big{
    background: var(--accent);
    color: var(--white) !important;
}

.btn-main-big:hover{
    background: var(--accent-hover);

}

@media (max-width:768px){

    .sales-hero{
        min-height:auto;
    }

    .sales-hero .card-body{
        padding:1.5rem;
    }

    .sales-avatar{
        width:55px;
        height:55px;
    }

    .sales-hero h3{
        font-size:1.25rem;
    }

}

/*best seller*/

.sales-ranking-card{
    border-radius:8px;
    width: 100%;
}

.sales-ranking-card .card-header{
    padding:20px;
}

.seller-item{
    display:flex;
    align-items:center;
    padding:16px 10px;
    border-bottom:1px solid var(--border);
    transition:.25s;
}

.seller-item:hover{
    background:var(--border);
}


.seller-avatar{
    width:52px;
    height:52px;
    margin-left:15px;
    object-fit:cover;
    border-radius:14px;
    border:4px solid var(--secondary-bg);
}

.seller-avatar-active{
    width:52px;
    height:52px;
    margin-left:15px;
    object-fit:cover;
    border-radius:14px;
    border:2px solid var(--accent);
}

.seller-percent{
    font-size:15px;
    font-weight:700;
    display:block;
    margin-bottom:6px;
}

.seller-progress{
    width:70px;
    height:6px;
    border-radius:20px;
}

.progress-bar{
    border-radius:20px;
}

@media(max-width:576px){

    .seller-item{
        padding:14px;
    }

    .seller-avatar{
        width:45px;
        height:45px;
    }

    .seller-progress{
        width:50px;
    }

}

.seller-avatar-wrapper{
    position:relative;
    flex-shrink:0;
}

.seller-rank{
    position:absolute;
    right:-6px;
    bottom:-6px;

    width:22px;
    height:22px;

    border-radius:50%;
    border:2px solid var(--white);

    display:flex;
    align-items:center;
    justify-content:center;

    color:#fff;
    font-size:11px;
    font-weight:700;

    box-shadow:0 2px 8px rgba(0,0,0,.25);
}

/*market header*/

.marketplace-header{

    position:sticky;
    top:0;
    z-index:1000;

    background:#ffffff;

    border-radius:8px;

    padding:12px 12px;

    margin-bottom:20px;

    box-shadow:
        0 8px 24px rgba(0,0,0,.06);

    border:1px solid #edf2f7;

}

/* Search */

.marketplace-search{

    position:relative;

    flex:1;

    max-width:500px;

}

.marketplace-search i{

    position:absolute;

    left:10px;
    top:50%;

    transform:translateY(-50%);

    color:var(--accent);

    font-size:16px;

}

.marketplace-search input{

    height:38px;

    padding-left:38px;

    border-radius:8px;

    border:2px solid #e9ecef;

    box-shadow:none;

    transition:.25s;

}

.marketplace-search input:focus{

    border-color:var(--accent);

    box-shadow:0 0 0 .1rem rgba(0,88,190,.15);

}

/* Cart */

.marketplace-cart{

    width:40px;

    height:40px;

    border-radius:14px;

    border:none;

    display:flex;

    align-items:center;

    justify-content:center;

    transition:.25s;

    color:var(--accent);

    font-size:18px;

    box-shadow:0 4px 12px rgba(0,88,190,.12);

}

.marketplace-cart:hover{

    background:var(--accent);

    color:#fff;

    transform:translateY(-2px);

}

.marketplace-cart .badge{

    font-size:.7rem;

}

.product-card{

    background:#fff;

    border:1px solid #ececec;

    border-radius:8px;

    overflow:hidden;

    transition:.3s;

    height:100%;

}

.product-card:hover{

    transform:translateY(-6px);

    box-shadow:0 12px 28px rgba(0,0,0,.08);

}

.product-image{

    position:relative;

    overflow:hidden;

    background:var(--accent);

}

.product-image img{

    width:100%;

    height:220px;

    object-fit:cover;

    transition:transform .45s ease;

}

.product-card:hover .product-image img{

    transform:scale(1.08);

}

.product-share{

    position:absolute;

    top:12px;

    right:12px;

    width:38px;

    height:38px;

    border-radius:50%;

    background:#fff;

    color:var(--accent);

    border:none;

    display:flex;

    align-items:center;

    justify-content:center;

    box-shadow:0 4px 15px rgba(0,0,0,.12);

}

.product-share:hover{

    background:var(--accent);

    color:#fff;

}

.product-body{

    padding:16px;

}

.product-title{

    font-weight:700;

    margin-bottom:1px;

    white-space:nowrap;

    overflow:hidden;

    text-overflow:ellipsis;

}

.product-title::first-letter{
    text-transform: uppercase;
}

.product-desc{

    color:#6c757d;

    font-size:.88rem;

    margin-bottom:0;

}

.product-price{

    color:var(--accent);
    font-weight:800;
    margin:0;

}

.product-cart{

    width:35px;

    height:35px;

    border-radius:8px;

    background:var(--accent);

    color:#fff;

    display:flex;

    align-items:center;

    justify-content:center;

    border:none;

    transition:.25s;

}

.product-cart:hover{

    background:var(--accent);

    transform:scale(1.08);
    color:#fff;

}

@media(max-width:768px){

    .product-image img{

        height:auto;

    }

    .product-body{

        padding:12px;

    }

    .product-title{

        font-size:.95rem;

    }

    .product-price{

        font-size:1rem;

    }
    .product-cart{

    width:30px;

    height:30px;
    }

}

/* Wrapper */

.pagination-wrapper{

    display:flex;

    justify-content:center;

    align-items:center;

    flex-wrap:wrap;

    gap:10px;

    margin-top:30px;

}

/* Common */

.pagination-wrapper button{

    border:none;

    outline:none;

    cursor:pointer;

    transition:.25s ease;

    font-weight:600;

}

/* Prev & Next */

.pagination-btn{

    background:#ffffff;

    color:#495057;

    border:1px solid #dee2e6 !important;

    border-radius:10px;

    padding:10px 18px;

    min-width:95px;

    box-shadow:0 2px 8px rgba(0,0,0,.05);

}

.pagination-btn:hover:not(:disabled){

    background:var(--accent-hover);

    color:#fff;

    border-color:var(--accent-hover) !important;

    transform:translateY(-2px);

}

/* Numbers */

.pagination-number{

    width:42px;

    height:42px;

    border-radius:10px;

    background:#fff;

    border:1px solid #dee2e6 !important;

    color:#495057;

    display:flex;

    align-items:center;

    justify-content:center;

    box-shadow:0 2px 8px rgba(0,0,0,.05);

}

.pagination-number:hover{

    background:var(--accent-hover);

    color:#fff;

    border-color:var(--accent-hover) !important;

    transform:translateY(-2px);

}

.pagination-number.active{

    background:var(--accent-hover);

    color:#fff;

    border-color:var(--accent-hover) !important;

    box-shadow:0 6px 16px rgba(0,88,190,.25);

}

/* Disabled */

.pagination-wrapper button:disabled{

    opacity:.45;

    cursor:not-allowed;

    transform:none;

}

/* Mobile */

@media (max-width:576px){

    .pagination-btn{

        min-width:80px;

        padding:8px 14px;

        font-size:.9rem;

    }

    .pagination-number{

        width:38px;

        height:38px;

        font-size:.9rem;

    }

}

.cart-modal{

    border:none;

    border-radius:16px;

    overflow:hidden;

}

.cart-modal .modal-header{

    padding:18px 25px;

    border-bottom:1px solid #edf2f7;

}

.cart-modal .modal-body{

    max-height:60vh;

    overflow-y:auto;

}

.cart-item{

    display:flex;
    gap:20px;
    padding:20px 20px 0px 20px;
}

.cart-thumbnail{

    width:120px;

    height:120px;

    border-radius:10px;

    object-fit:cover;

    border:1px solid #dee2e6;

    flex-shrink:0;

}

.cart-details{

    flex:1;

    display:flex;

    flex-direction:column;

    justify-content:space-between;

    

}

.cart-title{

    font-size:18px;

    font-weight:700;

    margin-bottom:4px;

}

.cart-bottom{

    display:flex;

    justify-content:space-between;

    align-items:center;

    margin-top:18px;

}

.quantity-box{

    display:flex;

    align-items:center;

    border:1px solid #dee2e6;

    border-radius:10px;

    overflow:hidden;

}

.qty-btn{

    width:40px;

    height:35px;

    border:none;

    background:var(--accent);

    transition:.25s;

}

.qty-btn:hover{

    background:var(--accent-hover);

    color:#fff;

}

.quantity-box input{

    width:50px;
    height: 35px;
    border:none;

    text-align:center;

    font-weight:700;

    outline:none;

}

.remove-item{

    width:35px;

    height:35px;

    border-radius:6px;

}

.cart-footer{

    display:flex;

    justify-content:space-between;

    align-items:center;

    padding:20px 25px;

    border-top:1px solid #edf2f7;

}

@media(max-width:768px){

    .cart-item{

        flex-direction:column;

    }

    .cart-thumbnail{

        width:100%;

        height:220px;

    }

    .cart-bottom{

        flex-wrap:wrap;

        gap:15px;

    }

    .cart-footer{

        flex-direction:column;

        gap:20px;

    }

    .cart-footer button{

        width:100%;

    }

}

.cart-footer{

    background:#fafbfc;

    border-top:1px solid #e9ecef;

    padding:25px;

}

.cart-input{

    border-radius:10px;

    border:1px solid #dee2e6;

    height:46px;

}

.cart-input:focus{

    border-color:var(--accent);

    box-shadow:0 0 0 .2rem rgba(0,88,190,.15);

}

textarea.cart-input{

    height:auto;

    resize:none;

}

.create-order-btn{

    height:52px;

    min-width:220px;

    border-radius:10px;

    font-weight:700;

    letter-spacing:.5px;

}

@media(max-width:768px){

    .create-order-btn{

        width:100%;

    }

}
.order-actions{
    display:flex;
    justify-content:flex-end;
    align-items:center;
    gap:8px;
}

.action-btn{

    width:34px;
    height:34px;

    display:flex;
    align-items:center;
    justify-content:center;

    border:1px solid var(--accent);

    border-radius:8px;

    background:#fff;

    color:var(--accent);

    text-decoration:none;

    transition:all .25s ease;

    font-size:14px;

    cursor:pointer;
}

.action-btn:hover{

    background:var(--accent);

    color:#fff;

    border-color:var(--accent);

    transform:translateY(-2px);

    box-shadow:0 6px 14px rgba(0,88,190,.25);

}

.action-btn:focus{
    color:#fff;
    background:var(--accent);
    outline:none;
    box-shadow:0 0 0 .2rem rgba(0,88,190,.15);
}

.customer-card{
    border-radius:8px;
    background:#fff;
}

.customer-card-title{
    margin:0;
    font-size:1.35rem;
    font-weight:600;
    color:#212529;
}

.customer-card-subtitle{
    margin:.35rem 0 0;
    color:#6c757d;
    font-size:.9rem;
}

.customer-status-badge{
    background:#d1fae5;
    color:#198754;
    font-size:.8rem;
    font-weight:500;
    padding:7px 14px;
    border-radius:14px;
    white-space:nowrap;
}

.customer-info-item{
    display:flex;
    align-items:flex-start;
    gap:15px;
}

.customer-icon{
    width:46px;
    height:46px;
    border-radius:6px;
    background:rgba(0,88,190,.08);
    color:var(--accent);
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:18px;
    flex-shrink:0;
}

.customer-label{
    display:block;
    margin-bottom:4px;
    font-size:.72rem;
    font-weight:500;
    color:#6c757d;
    letter-spacing:.8px;
}

.customer-value{
    margin:0;
    font-size:.85rem;
    font-weight:600;
    color:#212529;
}

@media(max-width:767px){
    .customer-status-badge{
        margin-top:10px;
    }
}

.manager-card{
    border-radius:8px;
    background:#fff;
}

.manager-title{
    margin-bottom:18px;
    font-size:.8rem;
    font-weight:700;
    letter-spacing:1px;
    color:#6c757d;
}

.manager-box{
    display:flex;
    align-items:center;
    gap:15px;
    padding:14px;
    background:#f8f9fa;
    border:1px solid #e9ecef;
    border-radius:8px;
}

.manager-avatar{
    width:50px;
    height:50px;
    border-radius:50%;
    background:var(--accent);
    color:#fff;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:20px;
    font-weight:700;
    flex-shrink:0;
    box-shadow:0 4px 10px rgba(0,88,190,.2);
}

.manager-details{
    flex:1;
}

.manager-name{
    margin:0;
    font-size:1rem;
    font-weight:700;
    color:#212529;
}

.manager-position{
    margin:3px 0 0;
    font-size:.85rem;
    color:#6c757d;
}

.manager-chat-btn{
    width:36px;
    height:36px;
    border:none;
    border-radius:50%;
    background:#fff;
    color:var(--accent);
    display:flex;
    align-items:center;
    justify-content:center;
    transition:.25s;
    box-shadow:0 2px 8px rgba(0,0,0,.08);
}

.manager-chat-btn:hover{
    background:var(--accent);
    color:#fff;
    transform:translateY(-2px);
    box-shadow:0 6px 16px rgba(0,88,190,.25);
}

.manager-avatar{
    width:48px;
    height:48px;
    border-radius:10px;
    border:2px solid var(--accent);
    overflow:hidden;
    flex-shrink:0;
    background:#f8f9fa;
    box-shadow:0 4px 10px rgba(0,88,190,.15);
}

.manager-avatar img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
}

.ordered-products-card{
    border-radius:14px;
    overflow:hidden;
}

.ordered-products-header{
    background:#fff;
    border-bottom:1px solid #e9ecef;
    padding:24px 22px;
}

.ordered-products-header h5{
    margin:0;
    font-size:1.1rem;
    font-weight:600;
    color:#212529;
}

.ordered-products-card .card-body{
    padding:20px;
}

.card{
    border-radius: 8px !important;
}

.cart-item{
    padding:18px 0;
    
}

.cart-item:last-child{
    border-bottom:none;
}

.cart-title::first-letter{
    text-transform: uppercase;
}

.payment-section-title{
    font-size:.95rem;
    font-weight:700;
    margin-bottom:18px;
}

.payment-divider{
    margin:28px 0;
    opacity:.15;
}

.payment-input{
    height:46px;
    border-radius:10px;
    border:1px solid #dee2e6;
}

.payment-input:focus{
    border-color:var(--accent);
    box-shadow:0 0 0 .2rem rgba(0,88,190,.15);
}

.payment-btn{
    height:46px;
    border-radius:10px;
    font-weight:600;
}

.btn-primary{
    background:var(--accent);
    border-color:var(--accent);
    color:#fff;
    font-weight:600;
    transition:all .25s ease;
}
.btn-primary:hover{
    background:#004a9f;
    border-color:#004a9f;
    color:#fff;
}
.btn-primary:focus,
.btn-primary:active,
.btn-primary.active{
    background:#00428f !important;
    border-color:#00428f !important;
    color:#fff !important;
    box-shadow:0 0 0 .2rem rgba(0,88,190,.25) !important;
}
.btn-primary:disabled{
    background:var(--accent);
    border-color:var(--accent);
    opacity:.65;
}

.payment-summary-card{
    background:#0058be;
    color:#fff;
    border-radius:14px;
}
.payment-summary-card .card-body{
    padding:24px;
}
.payment-summary-title{
    font-size:.8rem;
    font-weight:700;
    letter-spacing:2px;
    opacity:.8;
    margin-bottom:24px;
}
.payment-summary-list{
    border-bottom:1px solid rgba(255,255,255,.2);
    padding-bottom:20px;
    margin-bottom:22px;
}
.payment-summary-row{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:14px;
    font-size:.95rem;
}
.payment-summary-row:last-child{
    margin-bottom:0;
}
.payment-summary-row span{
    opacity:.8;
}
.payment-summary-row strong{
    font-weight:700;
    color:#fff;
}
.payment-summary-row .text-success{
    color:#8df5a6!important;
}
.payment-summary-total{
    display:flex;
    justify-content:space-between;
    align-items:flex-end;
}
.payment-summary-total small{
    display:block;
    font-size:.8rem;
    font-weight:700;
    letter-spacing:2px;
    opacity:.8;
}
.payment-total-amount{
    font-size:1.85rem;
    font-weight:700;
    line-height:1;
}

.order-progress-card{
    border-radius:14px;
}
.progress-card-title{
    font-size:.82rem;
    font-weight:700;
    letter-spacing:1px;
    color:#6c757d;
    margin-bottom:24px;
}
.order-timeline{
    position:relative;
    padding-left:34px;
}
.order-timeline::before{
    content:"";
    position:absolute;
    left:11px;
    top:6px;
    bottom:6px;
    width:2px;
    background:#dee2e6;
}
.timeline-item{
    position:relative;
    padding-bottom:28px;
}
.timeline-item:last-child{
    padding-bottom:0;
}
.timeline-dot{
    position:absolute;
    left:-34px;
    top:0;
    width:24px;
    height:24px;
    border-radius:50%;
    border:4px solid #fff;
    box-shadow:0 2px 8px rgba(0,0,0,.12);
    display:flex;
    align-items:center;
    justify-content:center;
    z-index:2;
}
.timeline-content h6{
    margin:0;
    font-size:.95rem;
    font-weight:700;
    color:#212529;
}
.timeline-content small{
    color:#6c757d;
}
.timeline-item.completed .timeline-dot{
    background:#198754;
    color:#fff;
}

.timeline-item.danger .timeline-dot{
    background:var(--danger);
    color:#fff;
}
.timeline-item.danger .timeline-dot i{
    font-size:10px;
}
.timeline-item.info .timeline-dot{
    background:var(--info);
    color:#fff;
}
.timeline-item.info .timeline-dot i{
    font-size:10px;
}
.timeline-item.orange .timeline-dot{
    background:var(--orange);
    color:#fff;
}
.timeline-item.orange .timeline-dot i{
    font-size:10px;
}
.timeline-item.primary .timeline-dot{
    background:var(--accent);
    color:#fff;
}
.timeline-item.primary .timeline-dot i{
    font-size:10px;
}
.timeline-item.completed .timeline-dot i{
    font-size:10px;
}
.timeline-item.active .timeline-dot{
    background:#0058be;
    animation:timelinePulse 1.5s infinite;
}
.timeline-item.active .timeline-content h6{
    color:#0058be;
}
.timeline-item.pending{
    opacity:.45;
}
.timeline-item.pending .timeline-dot{
    background:#ced4da;
}
@keyframes timelinePulse{
    0%{
        box-shadow:0 0 0 0 rgba(0,88,190,.45);
    }
    70%{
        box-shadow:0 0 0 10px rgba(0,88,190,0);
    }
    100%{
        box-shadow:0 0 0 0 rgba(0,88,190,0);
    }
}

.operator-modal{
    border:none;
    border-radius:14px;
    overflow:hidden;
}
.operator-modal .modal-header{
    background:#fff;
    border-bottom:1px solid #e9ecef;
    padding:18px 22px;
}
.operator-modal .modal-title{
    font-weight:700;
}
.operator-modal .modal-body{
    padding:22px;
}
.operator-modal .modal-footer{
    padding:18px 22px;
    border-top:1px solid #e9ecef;
}
.operator-input{
    border-radius:10px;
    min-height:46px;
}
.operator-input:focus{
    border-color:#0058be;
    box-shadow:0 0 0 .2rem rgba(0,88,190,.15);
}

.quantity-display{
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    min-width:70px;
}

.quantity-label{
    font-size:.75rem;
    color:#6c757d;
    margin-bottom:2px;
}

.quantity-value{
    background:#e9f2ff;
    color:#0058be;
    font-weight:700;
    font-size:.9rem;
    padding:4px 12px;
    border-radius:20px;
    border:1px solid rgba(0,88,190,.15);
}

.page-header{
    display:flex;
    align-items:center;
    justify-content:space-between;
    background:#fff;
    padding:14px 20px;
    border-radius:12px;
    border:1px solid #e9ecef;
    box-shadow:0 2px 10px rgba(0,0,0,.05);
    margin-bottom:20px;
}

.back-btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    min-width:90px;
    height:40px;
    padding:0 18px;
    border:1px solid #0058be;
    border-radius:10px;
    color:#0058be;
    text-decoration:none;
    font-weight:600;
    transition:.25s;
}

.back-btn:hover{
    background:#0058be;
    color:#fff;
}

.page-title{
    font-size:1.2rem;
    font-weight:700;
    color:#212529;
    text-align:center;
}

.page-placeholder{
    width:90px;
}

@media(max-width:576px){
    .page-header{
        padding:12px 15px;
    }
    .page-title{
        font-size:1rem;
    }
    .back-btn{
        min-width:75px;
        height:36px;
        padding:0 14px;
        font-size:.9rem;
    }
    .page-placeholder{
        width:75px;
    }
}

.page-status{
    display:flex;
    justify-content:flex-end;
    align-items:center;
}

.status-badge{
    display:inline-flex;
    align-items:center;
    padding:8px 16px;
    border-radius:50px;
    font-size:.85rem;
    font-weight:600;
    border:1px solid transparent;
}
/*
.status-pending{
    background:#fff3cd;
    color:#856404;
    border-color:#ffe69c;
}

.status-operation{
    background:#cfe2ff;
    color:#084298;
    border-color:#9ec5fe;
}

.status-delivery{
    background:#cff4fc;
    color:#055160;
    border-color:#9eeaf9;
}

.status-complete{
    background:#d1e7dd;
    color:#0f5132;
    border-color:#a3cfbb;
}

.status-cancelled{
    background:#f8d7da;
    color:#842029;
    border-color:#f1aeb5;
}*/

.customer-edit-btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:7px 16px;
    border:1px solid #0058be;
    border-radius:8px;
    background:#fff;
    color:#0058be;
    font-size:.85rem;
    font-weight:600;
    transition:all .25s ease;
}
.customer-edit-btn:hover{
    background:#0058be;
    color:#fff;
    border-color:#0058be;
    box-shadow:0 4px 12px rgba(0,88,190,.2);
}
.customer-edit-btn:focus{
    outline:none;
    box-shadow:0 0 0 .2rem rgba(0,88,190,.15);
}

.user-avatar-profile{
    width:84px;
    height:84px;
    border-radius:12px;
    object-fit:cover;
    border:2px solid  var(--accent);
    padding:2px;
    background:#fff;
}

.user-avatar-profile{
    width:64px;
    height:64px;
}

tr.deliver_1 td {
    background-color: #dcfce7 !important;
}
/* ==========================================
   Additional Product Information
========================================== */

.cart-extra-info {
    width: 100%;
    padding-bottom:20px;
    border-bottom: 1px solid #333;
    box-sizing: border-box;
}


/* ==========================================
   Rows
========================================== */

.extra-row {
    width: 100%;

    display: flex;
    align-items: center;

    box-sizing: border-box;
}


/* First row */

.extra-row-one {
    display: grid;

    grid-template-columns: 130px minmax(0, 1fr);

    gap: 25px;

    margin-bottom: 18px;
}


/* Second row */

.extra-row-two {
    display: grid;

    grid-template-columns: 130px minmax(180px, 1fr) 50px;

    gap: 25px;

    align-items: center;
}


/* ==========================================
   Labels
========================================== */

.extra-label {
    display: block;

    font-size: 11px;
    font-weight: 600;

    text-transform: uppercase;

    letter-spacing: .5px;

    color: var(--text-muted);

    margin-bottom: 6px;
}


/* ==========================================
   Status Toggle
========================================== */

.status-toggle {

    position: relative;

    width: 72px;
    height: 30px;

    border: none;

    border-radius: 50px;

    display: flex;
    align-items: center;

    padding: 3px;

    cursor: pointer;

    transition: all .25s ease;
}


.status-on {
    background: #198754;

    justify-content: flex-end;
}


.status-off {
    background: var(--danger);

    justify-content: flex-start;
}


.toggle-circle {

    width: 24px;
    height: 24px;

    background: #fff;

    border-radius: 50%;

    box-shadow: 0 2px 5px rgba(0,0,0,.2);

    transition: all .25s ease;
}


.toggle-text {

    position: absolute;

    top: 50%;

    transform: translateY(-50%);

    color: white;

    font-size: 9px;

    font-weight: 700;
}


.status-on .toggle-text {
    left: 10px;
}


.status-off .toggle-text {
    right: 9px;
}


/* ==========================================
   Description
========================================== */

.product-description {
    min-width: 0;
}


.product-description p {

    margin: 0;

    font-size: 13px;

    line-height: 1.5;

    color: #596579;

    max-width: 100%;

    display: -webkit-box;

    -webkit-line-clamp: 2;

    -webkit-box-orient: vertical;

    overflow: hidden;

    word-break: break-word;
}


/* ==========================================
   Unit
========================================== */

.product-unit {
    min-width: 0;
}


.unit-value {

    display: inline-flex;

    align-items: center;

    padding: 5px 10px;

    border-radius: 8px;

    background: #f1f5f9;

    color: #475569;

    font-size: 12px;

    font-weight: 600;

    text-transform: capitalize;

    max-width: 100%;

    overflow: hidden;

    text-overflow: ellipsis;
}


/* ==========================================
   Color
========================================== */

.product-color {
    min-width: 0;
}


.color-preview {

    display: flex;

    align-items: center;

    gap: 8px;

    min-width: 0;
}


.color-circle {

    width: 60px;
    height: 27px;

    min-width: 27px;

    border-radius: 8px;

    border: 2px solid #fff;

    box-shadow:
        0 0 0 1px #d9dee7,
        0 2px 5px rgba(0,0,0,.08);
}


.color-info {

    display: flex;

    flex-direction: column;

    line-height: 1.2;

    min-width: 0;
}


.color-name {

    font-size: 12px;

    font-weight: 600;

    color: #374151;

    text-transform: capitalize;

    white-space: nowrap;

    overflow: hidden;

    text-overflow: ellipsis;
}


.color-info small {

    font-size: 10px;

    color: #9aa3b2;

    white-space: nowrap;
}


/* ==========================================
   Edit Button
========================================== */

.product-edit {

    display: flex;

    justify-content: flex-end;

    align-items: center;
}


.edit-product-btn {

    width: 38px;
    height: 38px;

    flex-shrink: 0;

    border: 1px solid #dbe3ef;

    background: #f8fafc;

    color: #0d6efd;

    border-radius: 10px;

    display: flex;

    align-items: center;
    justify-content: center;

    cursor: pointer;

    transition: all .2s ease;
}


.edit-product-btn:hover {

    background: #0d6efd;

    color: #fff;

    border-color: #0d6efd;

    transform: translateY(-2px);

    box-shadow: 0 5px 12px rgba(13,110,253,.2);
}

@media (max-width: 768px) {

    .extra-row-one {
        grid-template-columns: 1fr 2fr;
        gap: 15px;
    }

    .extra-row-two {
        grid-template-columns: 1fr 1fr auto;
        gap: 15px;
    }

}

@media (max-width: 480px) {

    .extra-row-one {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .extra-row-two {
        grid-template-columns: 1fr 1fr auto;
        gap: 10px;
    }

    .product-description p {
        font-size: 12px;
    }

    .edit-product-btn {
        width: 36px;
        height: 36px;
    }

}

/* ==========================================
   EDIT ITEM MODAL
========================================== */

.edit-modal-backdrop {
    position: fixed;

    inset: 0;

    z-index: 9999;

    display: flex;

    align-items: center;
    justify-content: center;

    padding: 20px;

    background: rgba(15, 23, 42, 0.55);

    backdrop-filter: blur(3px);
}


/* Modal */

.edit-modal {

    width: 100%;

    max-width: 520px;

    max-height: calc(100vh - 40px);

    overflow-y: auto;

    background: #ffffff;

    border-radius: 18px;

    box-shadow:
        0 25px 60px rgba(0, 0, 0, 0.20);

    animation: editModalShow .2s ease-out;
}


@keyframes editModalShow {

    from {
        opacity: 0;
        transform: translateY(10px) scale(.98);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }

}


/* Header */

.edit-modal-header {

    display: flex;

    align-items: center;
    justify-content: space-between;

    padding: 18px 22px;

    border-bottom: 1px solid #edf0f4;
}


.edit-modal-title {

    margin: 0;

    color: #172033;

    font-size: 18px;

    font-weight: 700;
}


.edit-modal-close {

    width: 34px;
    height: 34px;

    border: none;

    border-radius: 9px;

    background: #f3f5f8;

    color: #697386;

    cursor: pointer;

    transition: .2s;
}


.edit-modal-close:hover {

    background: #fee2e2;

    color: #dc3545;

}


/* Product summary */

.edit-product-summary {

    margin: 18px 22px;

    padding: 15px;

    border-radius: 12px;

    background: #f8fafc;

    border: 1px solid #edf1f5;
}


.edit-product-info h6 {

    margin: 0 0 8px;

    color: #172033;

    font-size: 15px;

    font-weight: 700;
}


.edit-product-meta {

    display: flex;

    flex-wrap: wrap;

    gap: 20px;

    font-size: 12px;

    color: #7b8494;
}


.edit-product-meta strong {

    color: #334155;

    font-weight: 700;
}


/* Form */

.edit-form {

    padding: 0 22px 20px;
}


.edit-form-group {

    margin-bottom: 17px;
}


.edit-form-group label {

    display: block;

    margin-bottom: 7px;

    color: #374151;

    font-size: 13px;

    font-weight: 600;
}


.edit-form-control {

    width: 100%;

    min-height: 42px;

    padding: 9px 12px;

    border: 1px solid #dce2ea;

    border-radius: 9px;

    background: #fff;

    color: #374151;

    font-size: 13px;

    outline: none;

    transition: .2s;

    box-sizing: border-box;
}


.edit-form-control:focus {

    border-color: #0d6efd;

    box-shadow: 0 0 0 3px rgba(13, 110, 253, .10);

}


.edit-description {

    resize: vertical;

    min-height: 75px;
}


/* Selected color */

.selected-color {

    display: flex;

    align-items: center;

    gap: 8px;

    margin-top: 8px;

    color: #374151;

    font-size: 12px;
}


.selected-color-circle {

    width: 20px;
    height: 20px;

    border-radius: 6px;

    border: 2px solid white;

    box-shadow: 0 0 0 1px #d4d9e1;
}


.selected-color small {

    color: #9aa2af;

    font-size: 10px;
}


/* Description counter */

.description-count {

    margin-top: 4px;

    text-align: right;

    color: #9aa2af;

    font-size: 10px;
}


/* Footer */

.edit-modal-footer {

    display: flex;

    justify-content: flex-end;

    gap: 10px;

    padding: 15px 22px;

    border-top: 1px solid #edf0f4;

    background: #fafbfc;

    border-radius: 0 0 18px 18px;
}


.edit-cancel-btn,
.edit-save-btn {

    min-height: 40px;

    padding: 8px 16px;

    border-radius: 9px;

    font-size: 13px;

    font-weight: 600;

    cursor: pointer;

    transition: .2s;
}


.edit-cancel-btn {

    border: 1px solid #dce2ea;

    background: #fff;

    color: #64748b;
}


.edit-cancel-btn:hover {

    background: #f1f5f9;

}


.edit-save-btn {

    border: none;

    background: #0d6efd;

    color: white;

    box-shadow: 0 3px 8px rgba(13, 110, 253, .20);
}


.edit-save-btn:hover {

    background: #0b5ed7;

    transform: translateY(-1px);
}

@media (max-width: 480px) {

    .edit-modal-backdrop {
        padding: 10px;
    }

    .edit-modal {
        max-height: calc(100vh - 20px);
        border-radius: 14px;
    }

    .edit-product-meta {
        gap: 8px 15px;
    }

    .edit-modal-footer {
        padding: 12px 16px;
    }

    .color-circle {

    width: 30px;
    height: 27px;
    }

}

.item-description{
    font-size: 16px !important;
    font-weight: 400px !important;
    color: var(--text-muted) !important;
    
}
