/* Bidaabak order center — Phase 16 */
.bdb-orders-page,.bdb-order-detail{--order-accent:#f27a1a;--order-ink:#222831;--order-muted:#697382;--order-line:#e7ebef;--order-soft:#f7f8fa}
.bdb-orders-page>.card{border:1px solid var(--order-line)!important;border-radius:14px!important;padding:21px!important;box-shadow:0 4px 19px rgba(15,23,42,.045)}
.bdb-orders-page>.card>h5{font-size:19px!important;font-weight:600!important;letter-spacing:-.015em;margin-bottom:15px!important}
.bdb-orders-page .purchase-history-tab{gap:5px;flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;margin-left:0!important}
.bdb-orders-page .purchase-history-tab::-webkit-scrollbar{display:none}
.bdb-orders-page .purchase-history-tab .nav-link{white-space:nowrap;border:0;border-radius:8px;padding:9px 12px;color:#5e6876;background:transparent;font-size:12px;font-weight:500;transition:background-color .18s ease,color .18s ease}
.bdb-orders-page .purchase-history-tab .nav-link:hover{background:#f4f5f7;color:#303844}
.bdb-orders-page .purchase-history-tab .nav-link.active{background:#fff2e8;color:#c75a08;box-shadow:inset 0 0 0 1px #f6dfce}
.bdb-orders-page #delivery_status+.dropdown-toggle,.bdb-orders-page .purchase-history+.dropdown-toggle{border:1px solid #dfe4e9!important;border-radius:8px!important;min-height:40px;background:#fff!important}
.bdb-orders-page #tab-content>.d-flex{background:#fff;border:1px solid var(--order-line);border-bottom:0;border-radius:12px 12px 0 0;padding:15px 17px;margin-bottom:0!important}
.bdb-orders-page #tab-content>.d-flex+div.row{border-left:1px solid var(--order-line);border-right:1px solid var(--order-line);padding:0 17px 12px;margin:0}
.bdb-orders-page #tab-content>hr.border-dashed{display:none}
.bdb-orders-page #tab-content>div.row.align-items-center{border:1px solid var(--order-line);border-top:1px dashed #e4e7eb;border-radius:0 0 12px 12px;padding:15px 17px;margin:0 0 15px;background:#fff;box-shadow:0 4px 15px rgba(15,23,42,.035)}
.bdb-orders-page #tab-content .deep-blue{color:#283444!important;font-weight:600!important}
.bdb-orders-page #tab-content .rounded-pill{border-radius:999px!important;padding:5px 9px!important;font-weight:500!important}
.bdb-orders-page #tab-content .btn-paid{background:#eaf7ee;color:#287a43}
.bdb-orders-page #tab-content .btn-unpaid{background:#fff0ee;color:#bd4338}
.bdb-orders-page #tab-content .btn-on-the-way{background:#edf4ff;color:#316aa4}
.bdb-orders-page #tab-content .reorder-btn,.bdb-orders-page #tab-content .btn-options{border-radius:8px!important;padding:7px 12px!important;font-weight:500}
.bdb-orders-page #tab-content .btn-options{background:#2e3743!important}
.bdb-orders-page #tab-content .product-history-img{width:58px;height:58px;object-fit:contain;border-radius:8px;background:#fafafa}
.bdb-orders-page #tab-content .product-name-color{color:#2b333e;font-weight:500!important}
.bdb-orders-page #tab-content .hr-split{border-color:#edf0f2;margin:13px 0}
.bdb-orders-page #tab-content .dropdown-menu{border:1px solid var(--order-line);border-radius:9px;padding:6px;box-shadow:0 9px 25px rgba(15,23,42,.12)}
.bdb-orders-page #tab-content .dropdown-item{border-radius:6px;font-size:12px;padding:8px 10px}
.bdb-orders-page #tab-content>.mb-4{border:1px solid var(--order-line);border-radius:12px;padding:17px;margin-bottom:14px!important;box-shadow:0 4px 15px rgba(15,23,42,.035)}
.bdb-orders-page .aiz-pagination .pagination{justify-content:center}
.bdb-order-detail .aiz-titlebar h1{font-size:20px!important;font-weight:600!important;letter-spacing:-.015em}
.bdb-order-detail .card{border:1px solid var(--order-line)!important;border-radius:13px!important;box-shadow:0 4px 18px rgba(15,23,42,.045)!important;overflow:hidden}
.bdb-order-detail .card-header{background:#fff;padding:19px 20px 8px!important}
.bdb-order-detail .card-header h5{font-size:15px!important;font-weight:600!important}
.bdb-order-detail .card-body{padding:17px 20px 20px}
.bdb-order-detail .table-borderless td{padding:7px 8px;font-size:13px;line-height:1.5;color:#4c5663}
.bdb-order-detail .table-borderless td:first-child{font-weight:500!important;color:#7a8491}
.bdb-order-detail .aiz-table thead th{background:#f7f8fa;border:0;color:#687281;font-weight:500;padding:11px 9px}
.bdb-order-detail .aiz-table tbody td{border-color:#edf0f2;padding:13px 9px;vertical-align:middle}
.bdb-order-detail .aiz-table a{color:#26384a;font-weight:500}
.bdb-order-detail .btn{border-radius:8px!important;font-weight:500}
.bdb-order-detail .col-md-3>.card .table tr:last-child{border-top:1px solid #e6e9ed;font-size:15px}
#delete-modal .modal-content,#payment_select_type_modal .modal-content,#offline_order_re_payment_modal .modal-content{border:0;border-radius:13px;box-shadow:0 18px 55px rgba(15,23,42,.2)}
@media(max-width:767.98px){.bdb-orders-page>.card{padding:15px!important}.bdb-orders-page>.card>.d-flex{display:block!important}.bdb-orders-page>.card>.d-flex>.form-group{width:100%!important;margin-top:12px}.bdb-orders-page .purchase-history-tab{padding-bottom:5px}.bdb-orders-page #tab-content>.d-flex,.bdb-orders-page #tab-content>div.row.align-items-center{padding:14px}.bdb-orders-page #tab-content .col-md-3.text-right{text-align:left!important;margin-top:8px;padding-left:83px}.bdb-order-detail .card-header{padding:16px 16px 7px!important}.bdb-order-detail .card-body{padding:14px 16px 17px}.bdb-order-detail .table-borderless td{display:block;width:100%!important;padding:3px 0}.bdb-order-detail .table-borderless td:first-child{padding-top:11px}.bdb-order-detail .aiz-table{min-width:690px}}
@media(prefers-reduced-motion:reduce){.bdb-orders-page .purchase-history-tab .nav-link{transition:none}}