/* Phase 7: page-specific styles extracted from order.php for maintainability. */

/* Original style block 1 */
@keyframes spin { to { transform: rotate(360deg); } }
.ord-card { background: rgba(255,255,255,0.03); border: 1px solid rgba(69,248,130,0.22); border-radius: 18px; padding: 26px; }
.ord-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; flex-wrap: wrap; }
.ord-code { background: rgba(69,248,130,0.1); border: 1px solid rgba(69,248,130,0.35); color: #45F882; font-weight: 800; font-size: 12px; letter-spacing: 0.1em; padding: 4px 12px; border-radius: 20px; }
.ord-total { font-family: 'Goldman', sans-serif; font-size: 26px; color: #45F882; }
.ord-live { display: inline-flex; align-items: center; gap: 8px; color: rgba(255,255,255,0.5); font-size: 12px; margin: 14px 0 8px; }
.ord-eta { align-items: center; gap: 7px; color: #FFBE18; font-size: 12.5px; background: rgba(255,190,24,0.08); border: 1px solid rgba(255,190,24,0.25); border-radius: 8px; padding: 8px 13px; margin: 0 0 12px; }
.ord-live-dot { width: 8px; height: 8px; border-radius: 50%; background: #45F882; animation: ordPulse 1.6s infinite; }
@keyframes ordPulse { 0%,100% { opacity: 1; box-shadow: 0 0 0 0 rgba(69,248,130,0.5);} 50% { opacity: 0.6; box-shadow: 0 0 0 6px rgba(69,248,130,0);} }
.ord-steps { display: flex; flex-direction: column; gap: 0; margin: 8px 0 4px; }
.ord-step { display: flex; gap: 14px; align-items: flex-start; position: relative; padding-bottom: 22px; }
.ord-step::before { content: ""; position: absolute; left: 13px; top: 28px; bottom: 0; width: 2px; background: rgba(255,255,255,0.08); }
.ord-step:last-child::before { display: none; }
.ord-step .dot { width: 28px; height: 28px; border-radius: 50%; flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-size: 12px; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.15); color: rgba(255,255,255,0.35); }
.ord-step.done .dot { background: rgba(69,248,130,0.15); border-color: #45F882; color: #45F882; }
.ord-step.active .dot { background: rgba(255,190,24,0.15); border-color: #FFBE18; color: #FFBE18; animation: ordPulse 1.6s infinite; }
.ord-step h6 { color: rgba(255,255,255,0.4); font-size: 14px; margin: 4px 0 2px; }
.ord-step.done h6, .ord-step.active h6 { color: #fff; }
.ord-step p { color: rgba(255,255,255,0.35); font-size: 12px; margin: 0; }
.ord-panel { background: rgba(0,0,0,0.25); border: 1px solid rgba(255,255,255,0.1); border-radius: 14px; padding: 18px; margin-top: 14px; }
.ord-panel h5 { color: #fff; font-size: 15px; margin: 0 0 8px; }
.ord-panel p { color: rgba(255,255,255,0.55); font-size: 13px; margin: 0 0 8px; }
.ord-paynum { display: inline-flex; align-items: center; gap: 10px; background: rgba(0,0,0,0.4); border: 1px dashed rgba(69,248,130,0.5); border-radius: 10px; padding: 8px 14px; font-family: 'Goldman', sans-serif; font-size: 19px; color: #45F882; letter-spacing: 2px; }
.ord-paynum button { background: none; border: none; color: rgba(255,255,255,0.5); cursor: pointer; }
.ord-paynum button:hover { color: #45F882; }
.ord-pay-hint { display: flex; gap: 10px; align-items: flex-start; background: rgba(69,248,130,0.06); border: 1px solid rgba(69,248,130,0.14); border-radius: 10px; padding: 12px; margin-bottom: 12px; }
.ord-pay-hint i { color: #45F882; font-size: 18px; margin-top: 2px; flex: 0 0 auto; }
.ord-pay-hint span { color: rgba(255,255,255,0.65); font-size: 13px; line-height: 1.5; }
#o-paymethod-label:empty { display: none; }


/* Phase 9: reusable order state borders replace duplicate inline style attributes. */
.ord-panel--success { border-color: rgba(69,248,130,0.4); }
.ord-panel--success-strong { border-color: rgba(69,248,130,0.6); background: rgba(69,248,130,0.06); }
.ord-panel--warning { border-color: rgba(255,190,24,0.5); }
.ord-panel--warning-soft { border-color: rgba(255,190,24,0.45); }
.ord-panel--danger { border-color: rgba(255,101,132,0.5); }

/* V25: make crypto fees explicit without inventing a wallet-specific fee. */
.ord-crypto-fee{margin:0 0 14px;padding:10px 12px;border:1px solid rgba(255,190,24,.24);border-radius:10px;background:rgba(255,190,24,.055)}
.ord-crypto-fee>div{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap}
.ord-crypto-fee span{color:rgba(255,255,255,.5);font-size:11px;font-weight:700;letter-spacing:.08em}
.ord-crypto-fee strong{color:#ffd77a;font-size:12.5px;text-align:right}
.ord-crypto-fee small{display:block;margin-top:4px;color:rgba(255,255,255,.42);font-size:11.5px;line-height:1.45}
@media(max-width:575px){.ord-crypto-fee>div{align-items:flex-start;flex-direction:column;gap:3px}.ord-crypto-fee strong{text-align:left}}

/* V69 order issue reporting */
.ord-report-toggle{width:100%;border:1px solid rgba(255,190,24,.3);background:rgba(255,190,24,.055);color:#ffd263;border-radius:12px;padding:11px 14px;font-size:13px;font-weight:800;display:flex;align-items:center;justify-content:center;gap:8px}.ord-report-toggle:hover{border-color:rgba(255,190,24,.6);background:rgba(255,190,24,.09)}
.ord-report-panel{margin-top:9px;padding:14px;border:1px solid rgba(255,255,255,.09);border-radius:12px;background:rgba(0,0,0,.2)}.ord-report-panel strong{color:#fff}.ord-report-panel p{font-size:11px;color:rgba(255,255,255,.52);margin:3px 0 9px}.ord-report-panel textarea,.ord-report-panel input{width:100%;background:rgba(0,0,0,.32);border:1px solid rgba(255,255,255,.11);border-radius:9px;color:#fff;padding:10px 11px;font-size:13px;margin-bottom:8px}.ord-report-panel textarea:focus,.ord-report-panel input:focus{outline:none;border-color:rgba(69,248,130,.48)}.ord-report-panel .th-btn{font-size:12px;padding:9px 14px}.ord-report-panel #o-report-status{display:block;font-size:11px;color:#83dba8;margin-top:7px}

/* V71 — roomier fulfillment layout + gift-code redemption */
#order-sec .ord-card{max-width:none}.ord-head{gap:24px}.ord-steps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-top:18px}.ord-step{min-width:0}.ord-step:before{display:none}.ord-step{border:1px solid rgba(255,255,255,.06);border-radius:12px;padding:12px;background:rgba(0,0,0,.12)}.ord-step .dot{margin-bottom:8px}.ord-delivery-ready-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.ord-delivery-ready-head span{display:block;color:#45F882;font-size:9px;font-weight:900;letter-spacing:.13em}.ord-delivery-ready-head h5{color:#fff!important;font-size:18px!important;margin:3px 0 0!important}.ord-delivery-ready-head>i{font-size:26px;color:#45F882}.ord-code-shell{margin-top:12px;border:1px solid rgba(69,248,130,.25);background:rgba(0,0,0,.32);border-radius:12px;padding:11px 13px}.ord-code-shell>span{display:block;color:#6e8078;font-size:9px;font-weight:900;letter-spacing:.1em;margin-bottom:5px}.ord-code-shell pre{white-space:pre-wrap;word-break:break-word;margin:0!important;color:#fff;font-family:'Goldman','Rajdhani',monospace;font-size:16px;letter-spacing:.02em;background:none!important;border:0!important;padding:0!important}.ord-redeem-help{margin-top:10px;border:1px solid rgba(255,255,255,.08);border-radius:11px;background:rgba(255,255,255,.018);overflow:hidden}.ord-redeem-help summary{list-style:none;cursor:pointer;display:flex;align-items:center;justify-content:space-between;padding:11px 12px;color:#dfe7e4;font-size:12px;font-weight:800}.ord-redeem-help summary::-webkit-details-marker{display:none}.ord-redeem-help summary span{display:flex;gap:7px;align-items:center}.ord-redeem-help[open] summary>i{transform:rotate(180deg)}.ord-redeem-help ol{margin:0;padding:10px 30px 4px;color:rgba(255,255,255,.66);font-size:12px;line-height:1.7;border-top:1px solid rgba(255,255,255,.05)}.ord-redeem-help p{padding:0 12px 11px;margin:4px 0 0!important;color:#83dba8!important;font-size:11px!important}.ord-panel{padding:20px}.ord-report{margin-top:18px!important}
@media(max-width:991px){.ord-steps{grid-template-columns:repeat(2,1fr)}}@media(max-width:575px){.ord-steps{grid-template-columns:1fr}.ord-head{align-items:flex-start;flex-direction:column}.ord-total{text-align:left}.ord-panel{padding:15px}.ord-code-shell pre{font-size:14px}}


/* V81 — order page polish: compact progress, clearer delivery card, stronger mobile. */
.nx81-order-page{background:radial-gradient(circle at 18% 6%,rgba(69,248,130,.09),transparent 28%),linear-gradient(180deg,#050a0f,#071018 48%,#050b10)}
.nx81-order-page #order-sec{position:relative;overflow:hidden}.nx81-order-page #order-sec:before{content:"";position:absolute;inset:0;pointer-events:none;background-image:linear-gradient(rgba(69,248,130,.035) 1px,transparent 1px),linear-gradient(90deg,rgba(69,248,130,.035) 1px,transparent 1px);background-size:96px 96px;opacity:.32;mask-image:linear-gradient(180deg,#000,transparent 90%)}
.nx81-order-page #order-sec>.container{position:relative;z-index:1}.nx81-order-page #order-sec .col-xl-9{max-width:1080px}
.ord-card{padding:24px!important;border-radius:20px!important;background:linear-gradient(180deg,rgba(10,19,23,.96),rgba(7,13,18,.96))!important;box-shadow:0 26px 70px rgba(0,0,0,.28)}
.ord-head{align-items:center!important;padding-bottom:16px;border-bottom:1px solid rgba(255,255,255,.06)}.ord-head h2{font-size:clamp(26px,3vw,38px)!important}.ord-total{font-size:clamp(24px,2.8vw,34px)!important}
.ord-live{margin:14px 0 2px!important}.ord-eta{display:inline-flex!important;width:auto}
.ord-steps{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:10px!important;margin:18px 0 8px!important}.ord-step{padding:13px!important;border-radius:14px!important;min-height:98px}.ord-step h6{font-size:13px!important}.ord-step p{font-size:11.5px!important;line-height:1.45}.ord-step .dot{margin-bottom:6px!important}
.ord-panel{border-radius:16px!important;background:linear-gradient(180deg,rgba(255,255,255,.028),rgba(255,255,255,.016))!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.025)}.ord-panel h5{font-size:17px!important}
.ord-delivery-ready-head{padding-bottom:8px}.ord-code-shell{padding:14px 15px!important;border-radius:14px!important}.ord-code-shell pre{font-size:17px!important}.ord-redeem-help{border-radius:13px!important}.ord-report-toggle{margin-top:4px;min-height:46px;border-radius:13px!important}
.ord-report-panel{border-radius:14px!important}.ord-report-panel textarea,.ord-report-panel input{min-height:44px;border-radius:11px!important}
#o-invoice-link{display:inline-flex!important;width:max-content;padding:7px 10px;border:1px solid rgba(69,248,130,.15);border-radius:9px;background:rgba(69,248,130,.05)}
@media(max-width:900px){.ord-card{padding:19px!important}.ord-steps{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:575px){.nx81-order-page .breadcumb-wrapper{padding:18px 0!important}.nx81-order-page #order-sec{padding-top:28px!important}.ord-card{padding:14px!important;border-radius:16px!important}.ord-head{gap:10px!important}.ord-head h2{font-size:28px!important}.ord-total{font-size:24px!important}.ord-steps{grid-template-columns:1fr 1fr!important;gap:8px!important}.ord-step{min-height:88px;padding:11px!important}.ord-step p{font-size:10.5px!important}.ord-panel{padding:14px!important}.ord-code-shell pre{font-size:14px!important}.ord-pay-hint{padding:10px!important}.ord-report-toggle{font-size:12px}.ord-delivery-ready-head h5{font-size:16px!important}}
@media(max-width:390px){.ord-steps{grid-template-columns:1fr!important}.ord-step{min-height:auto!important}}

