/* Night order lookup: use the existing query controller and delivery widgets. */
.night-query{min-height:calc(100vh - 250px);padding-bottom:30px}
.night-query-heading{display:flex;justify-content:space-between;align-items:center;gap:24px;margin:24px 0 30px}
.night-query-heading h1{font-size:36px;font-weight:750;line-height:1.3;margin:0 0 12px;color:var(--night-text)}
.night-query-heading .night-eyebrow{margin:0 0 12px}
.night-query-heading .night-muted{font-size:14px;margin:0}
.night-query-back,.night-query-support{color:#83dafa;font-size:13px;white-space:nowrap}
.night-query-search{padding:32px}
.night-query-panel-title{display:flex;gap:14px;align-items:center;margin-bottom:28px}
.night-query-panel-title>.material-icons-outlined{display:grid;place-items:center;width:50px;height:50px;border:1px solid #624481;border-radius:14px;background:#34214766;color:#cb98fa;font-size:27px;flex-shrink:0}
.night-query-panel-title h2{font-size:21px;margin:0 0 5px}
.night-query-panel-title .night-muted{margin:0;font-size:13px}
.night-query .form-label{font-size:13px;color:#d5c7e3;margin-bottom:10px}
.night-query-controls{display:flex;align-items:stretch;gap:14px}
.night-query-field{flex:1;min-width:0;position:relative}
.night-query-field>.material-icons-outlined{position:absolute;left:16px;top:50%;transform:translateY(-50%);font-size:21px;color:#a88bc1;pointer-events:none}
.night-query-field .form-control{padding-left:48px;min-height:54px;font-size:15px}
.night-query-controls .night-button{min-height:54px;padding:12px 28px;white-space:nowrap;cursor:pointer}
.night-query-controls .material-icons-outlined{font-size:21px}
.night-query-hint{display:flex;gap:8px;align-items:flex-start;color:#a696b8;font-size:12px;margin:16px 0 0;line-height:1.7}
.night-query-hint>.material-icons-outlined{font-size:17px;flex-shrink:0;margin-top:2px;color:#8daecf}
.night-query-state{margin-top:28px}
.night-query-results-heading{display:flex;align-items:baseline;justify-content:space-between;gap:20px;margin-bottom:18px}
.night-query-results-heading h2{font-size:21px;color:#f0e7fa;margin:0}
.night-query .order-list{gap:20px}
.night-query .order-item{background:linear-gradient(145deg,#191124,#100c1a);border:1px solid #4c3262;border-radius:20px;padding:26px;box-shadow:none;transition:border-color .18s}
.night-query .order-item:hover{border-color:#8160a1;box-shadow:none}
.night-query .order-header{gap:22px}
.night-query .order-basic{color:#b7a6c7;line-height:2;overflow-wrap:anywhere}
.night-query .order-no{color:#ece1f7;font-variant-numeric:tabular-nums;margin-bottom:4px}
.night-query .order-amount{gap:8px}
.night-query .amount-label{color:#a696b8}
.night-query .amount-value{color:var(--night-pink);font-size:30px}
.night-query .status-pending,.night-query .status-waiting-shipment,.night-query .shipment-waiting{color:#f5ce83;background:#6c4a182f;border:1px solid #725123}
.night-query .status-paid,.night-query .shipment-paid{color:#89e5bf;background:#124d3b40;border:1px solid #287a5e}
.night-query .status-cancelled{color:#efb0bf;background:#5a243642;border:1px solid #8c425b}
.night-query .goods-section,.night-query .card-section{border-color:#3e2a50;padding-top:20px;margin-top:20px}
.night-query .goods-section{gap:16px}
.night-query .goods-image{width:76px;height:76px;border:1px solid #513665;background:#171021}
.night-query .goods-name{color:#f0e7fa;font-size:16px;line-height:1.6;overflow-wrap:anywhere}
.night-query .goods-sku{color:#cdb6e6!important;background:#36204380!important;border:1px solid #553a6a}
.night-query .card-header{background:transparent;border:0;padding:0}
.night-query .shipment-title{color:#e8d9f5}
.night-query .card-display{background:#0d0a14;color:#e1d1ef;border:1px solid #4e3660;padding:16px;white-space:pre-wrap;overflow-wrap:anywhere}
.night-query .card-loading{color:#b8a1cd;padding:18px 0}
.night-query .card-password-section .input-group{gap:10px;flex-wrap:wrap}
.night-query .card-password-section .form-control{min-width:180px;border-radius:10px!important}
.night-query .view-card-btn{background:linear-gradient(115deg,#ad2ce3,#6151dc,#19badb);border:1px solid #9470f5;border-radius:10px!important;color:#fff;min-height:48px;padding:10px 18px}
.night-query .acg-delivery{--acg-delivery-accent:#a781ed;--acg-delivery-accent-soft:#382349;--acg-delivery-surface:#130d1d;--acg-delivery-border:#4e3660;--acg-delivery-on-accent:#fff}
.night-query .acg-delivery__name{color:#ece1f7!important}
.night-query .acg-delivery__sub,.night-query .acg-delivery__url{color:#b7a6c7!important}
.night-query-empty{text-align:center;padding:42px 24px}
.night-query-state-icon{font-size:42px;color:#ad83da;margin-bottom:16px;display:inline-block}
.night-query-empty h2{font-size:20px;margin-bottom:12px}
.night-query-empty .night-muted{font-size:13px;margin-bottom:14px}
.night-query-help{display:flex;gap:14px;align-items:center;padding:23px 26px;border:1px solid #39284c;background:#130e1e;border-radius:16px;margin-top:24px;color:#cfbcdf}
.night-query-help>.material-icons-outlined{font-size:28px;color:#af8ce1;flex-shrink:0}
.night-query-help strong{font-size:14px;color:#e5d8ef}
.night-query-help p{margin:4px 0 0;font-size:12px;color:#a696b8;line-height:1.7}
.night-query-help>a{margin-left:auto;font-size:12px;color:#83dafa;white-space:nowrap}
@media(max-width:767px){
  .night-query{min-height:calc(100vh - 240px);padding-bottom:10px}
  .night-query-heading{display:block;margin:14px 0 22px}
  .night-query-heading h1{font-size:28px;margin-bottom:9px}
  .night-query-heading .night-eyebrow{font-size:9px;margin-bottom:10px}
  .night-query-heading .night-muted{font-size:12px}
  .night-query-back{display:inline-block;font-size:11px;margin-top:16px}
  .night-query-search{padding:22px 17px}
  .night-query-panel-title{gap:11px;margin-bottom:22px}
  .night-query-panel-title>.material-icons-outlined{width:42px;height:42px;font-size:24px;border-radius:12px}
  .night-query-panel-title h2{font-size:19px;margin-bottom:4px}
  .night-query-panel-title .night-muted{font-size:11px}
  .night-query-controls{flex-direction:column;gap:12px}
  .night-query-field .form-control{font-size:16px;min-height:52px}
  .night-query-controls .night-button{width:100%;min-height:49px;font-size:14px;justify-content:center}
  .night-query-hint{font-size:10px;margin-top:14px}
  .night-query-state{margin-top:22px}
  .night-query-results-heading{display:block;margin-bottom:14px}
  .night-query-results-heading h2{font-size:19px;margin-bottom:6px}
  .night-query-results-heading .night-muted{font-size:10px}
  .night-query .order-item{padding:20px 16px;border-radius:17px}
  .night-query .order-header{gap:15px}
  .night-query .order-left{width:100%}
  .night-query .order-right{width:100%;padding-top:14px;border-top:1px solid #3e2a50}
  .night-query .order-amount{flex-direction:row;justify-content:space-between;align-items:center}
  .night-query .amount-value{font-size:26px}
  .night-query .order-basic{font-size:12px}
  .night-query .goods-image{width:62px;height:62px}
  .night-query .goods-name{font-size:14px}
  .night-query .goods-sku{font-size:10px}
  .night-query .shipment-title{font-size:13px}
  .night-query .card-title.shipment-content{flex-wrap:wrap}
  .night-query .card-display{font-size:12px;padding:12px}
  .night-query .card-password-section .form-control{width:100%;flex-basis:100%;font-size:16px}
  .night-query .view-card-btn{width:100%;font-size:13px}
  .night-query-empty{padding:32px 17px}
  .night-query-help{padding:19px 16px;gap:11px;flex-wrap:wrap}
  .night-query-help>div{flex:1;min-width:0}
  .night-query-help strong{font-size:13px}
  .night-query-help p{font-size:10px}
  .night-query-help>a{font-size:11px}
}
@media(prefers-reduced-motion:reduce){.night-query .order-item{transition:none}}
