/* ===== CUSTOMER MY ORDERS ===== */
#ordersList{display:block}
.orders-split{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;align-items:stretch}
.orders-section{display:flex;flex-direction:column;height:680px;min-width:0;overflow:hidden;border:1px solid #d7e5dc;border-radius:18px;background:#f8fbf9;box-shadow:0 8px 24px rgba(18,77,43,.07)}
.orders-section-header{display:flex;flex:0 0 auto;align-items:center;justify-content:space-between;padding:15px 18px;border-bottom:1px solid #dce9e1;background:#edf7f1}
.orders-section-header h2{margin:0;color:var(--green-dark);font-size:17px;font-weight:900}
.orders-count{display:inline-flex;align-items:center;justify-content:center;min-width:28px;height:28px;padding:0 8px;border-radius:999px;background:var(--green);color:#fff;font-size:12px;font-weight:900}
.orders-section-list{display:grid;flex:1;min-height:0;grid-auto-rows:max-content;align-content:start;gap:14px;padding:14px 9px 14px 14px;overflow-y:auto;scrollbar-gutter:stable}
.orders-empty{padding:28px 16px;border:1px dashed #cbdad1;border-radius:12px;background:#fff;color:var(--gray-500);text-align:center;font-size:13px}
.orders-section-list>.order-card{height:max-content;min-height:max-content;align-self:start}
.orders-section-list::-webkit-scrollbar{width:7px}
.orders-section-list::-webkit-scrollbar-track{background:#e8f1eb;border-radius:999px;margin:4px 0}
.orders-section-list::-webkit-scrollbar-thumb{background:linear-gradient(180deg,#9abca7,#59a677);border-radius:999px}
.orders-section-list::-webkit-scrollbar-thumb:hover{background:var(--green)}
.order-card{position:relative;overflow:hidden;background:linear-gradient(145deg,#fff 0%,#fbfdfb 100%);border-radius:16px;border:1px solid #dbe6df;padding:0;margin:0;box-shadow:0 8px 24px rgba(18,77,43,.09)}
.order-card:before{content:"";position:absolute;inset:0 auto 0 0;width:5px;background:linear-gradient(180deg,var(--green),var(--orange))}
.order-card-header{display:flex;align-items:center;justify-content:space-between;padding:11px 16px 9px 19px;border-bottom:1px solid #e7eee9;background:rgba(241,248,244,.7)}
.order-ref{font-size:15px;font-weight:900;color:var(--green-dark);letter-spacing:.15px}
.order-meta{display:grid;gap:10px;font-size:12.5px}
.order-meta-item{min-width:0;padding:3px 0}
.order-meta-item strong{display:block;font-size:10px;text-transform:uppercase;letter-spacing:.65px;color:var(--gray-500);margin-bottom:3px}
.order-meta--details{grid-template-columns:repeat(5,minmax(0,1fr));gap:7px 14px;padding:10px 16px 8px 19px}
.order-meta-item span{display:inline-block;font-size:13px;font-weight:650;color:var(--gray-800)}
.order-card-actions{padding:8px 16px 10px 19px;margin:0;gap:7px;border-top:1px dashed #dbe6df}
.order-card-actions .btn{min-width:96px;padding:6px 12px;border-radius:8px}
.my-order-modal-box{width:min(760px,calc(100vw - 32px))}
.my-order-modal-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;padding:18px 0}
.my-order-modal-item{padding:10px 12px;border:1px solid var(--gray-200);border-radius:10px;background:#f8fbf9}
.my-order-modal-item strong{display:block;margin-bottom:4px;font-size:10px;text-transform:uppercase;letter-spacing:.55px;color:var(--gray-500)}
.my-order-modal-item span{font-size:13px;font-weight:700;color:var(--gray-800);overflow-wrap:anywhere}
.my-order-modal-actions{justify-content:flex-end;border-top:1px solid var(--gray-200);padding-top:14px}
.badge-partially-paid{background:#fef3c7;color:#92400e}
.badge-pending{background:#fef3c7;color:#92400e}
.badge-in-kitchen{background:#dbeafe;color:#1e40af}
.badge-ready-for-delivery{background:#ede9fe;color:#5b21b6}
.badge-assigned-for-driver{background:#fce7f3;color:#9d174d}
.badge-delivered{background:#d1fae5;color:#065f46}
@media(max-width:1200px){.orders-split{grid-template-columns:1fr}.orders-section{height:620px}.order-meta--details{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:700px){.order-meta--details{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.my-order-modal-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:440px){.order-meta--details{grid-template-columns:1fr}.order-card-header,.order-meta--details,.order-card-actions{padding-left:16px;padding-right:14px}}
