/* TiziShop · 07-order-history.css */
/* Lịch sử mua hàng: hàng gọn, thông tin nhận hàng chỉ mở qua Chi Tiết */
        .order-compact-card {
            padding: 14px 16px;
            border: 1px solid #e2e8f0;
            background: #ffffff;
            border-radius: 18px;
            box-shadow: 0 5px 16px -14px rgba(79,70,229,.22);
            transition: border-color .18s ease, box-shadow .18s ease;
        }
        .order-compact-card:hover { border-color: #c7d2fe; box-shadow: 0 9px 20px -15px rgba(79,70,229,.35); }
        .order-compact-code {
            display:inline-flex; align-items:center; border-radius: 8px;
            background:#eef2ff; color:#4f46e5; padding:3px 7px; font-weight:700;
        }
        .order-compact-status {
            display:inline-flex; align-items:center; gap:4px; padding:3px 8px;
            border:1px solid #bbf7d0; border-radius:999px;
            background:#ecfdf5; color:#047857; font-weight:700;
        }
        .order-compact-detail {
            border-radius: 12px; background: #4f46e5; color: white;
            padding: 10px 15px; font-size: 12px; font-weight: 700;
            transition: background-color .18s, transform .18s;
        }
        .order-compact-detail:hover { background:#4338ca; }
        .order-compact-detail:active { transform:scale(.97); }
        .order-compact-detail:focus-visible { outline:3px solid #a5b4fc; outline-offset:2px; }

/* Giữ trang Lịch Sử Mua Hàng ngắn gọn ngay cả khi mua nhiều trong 5 ngày. */
#orderHistoryList {
    max-height: 520px;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 2px 5px 4px 1px;
    scrollbar-gutter: stable;
}
#orderHistoryList::-webkit-scrollbar { width: 6px; }
#orderHistoryList::-webkit-scrollbar-thumb {
    background: rgba(130, 133, 153, .4);
    border-radius: 99px;
}
@media (max-width: 640px) {
    #orderHistoryList { max-height: 450px; }
}
