/* APK order confirmation sheet; Bootstrap still owns the modal lifecycle. */
html[data-dm-customer-theme] #orderSuccess.dm-order-sheet .modal-dialog { width:calc(100% - 20px); max-width:520px; margin:0 auto; min-height:100%; display:flex; align-items:flex-end; transform:none!important; animation:none!important; }
html[data-dm-customer-theme] #orderSuccess.dm-order-sheet .modal-content { width:100%; border:0; border-radius:28px 28px 0 0!important; overflow:auto; max-height:calc(100dvh - 32px); background:#fff!important; text-align:left; box-shadow:0 -8px 50px #030e1f33; }
html[data-dm-customer-theme] #orderSuccess.dm-order-sheet.show .modal-content { animation:dm-order-rise 400ms cubic-bezier(.16,1,.3,1) both; }
html[data-dm-customer-theme] #orderSuccess.dm-order-sheet .modal-content > :not(.dm-order-panel) { display:none!important; }
#orderSuccess.dm-order-sheet .dm-order-panel { color:#173c69; font-family:inherit; }
#orderSuccess.dm-order-sheet .dm-order-banner { padding:12px 23px 20px; background:#0b2949; color:#f1f8ff; }
#orderSuccess.dm-order-sheet .dm-order-handle { width:40px; height:4px; background:#44637e; border-radius:2px; margin:0 auto 33px; }
#orderSuccess.dm-order-sheet .dm-order-heading { display:flex; align-items:center; gap:14px; }
#orderSuccess.dm-order-sheet .dm-order-heading h2 { font-size:21px; line-height:28px; color:#f1f8ff; margin:0; font-weight:700; }
#orderSuccess.dm-order-sheet .dm-order-subtitle { font-size:13px; line-height:21px; color:#aac6df; margin:3px 0 0; }
#orderSuccess.dm-order-sheet .dm-order-mark { width:60px; height:60px; flex:0 0 60px; overflow:visible; }
#orderSuccess.dm-order-sheet .dm-order-mark circle { fill:#133c5e; stroke:#2d5d7d; stroke-width:1; }
#orderSuccess.dm-order-sheet .dm-order-spinner { fill:none; stroke:#62dbff; stroke-width:2.7; stroke-linecap:round; transform-origin:30px 30px; animation:dm-order-spin 1200ms linear infinite; }
#orderSuccess.dm-order-sheet .dm-order-check { fill:none; stroke:#68f0cc; stroke-width:3.1; stroke-linecap:round; stroke-linejoin:round; stroke-dasharray:45; stroke-dashoffset:45; display:none; }
#orderSuccess.dm-order-sheet[data-state=accepted] .dm-order-mark circle { fill:#104e54; }
#orderSuccess.dm-order-sheet[data-state=accepted] .dm-order-spinner { display:none; }
#orderSuccess.dm-order-sheet[data-state=accepted] .dm-order-check { display:block; animation:dm-order-check 350ms linear both; }
#orderSuccess.dm-order-sheet[data-state=unknown] .dm-order-spinner { animation:none; stroke:#f6c976; }
#orderSuccess.dm-order-sheet .dm-order-labels { display:flex; justify-content:space-between; gap:12px; margin-top:23px; color:#6ca6cb; font-size:9px; font-weight:700; letter-spacing:.3px; }
#orderSuccess.dm-order-sheet .dm-order-body { padding:24px 23px calc(24px + env(safe-area-inset-bottom)); }
#orderSuccess.dm-order-sheet .dm-order-service-row { display:flex; align-items:flex-start; gap:8px; padding-bottom:12px; border-bottom:1px solid #e3ebf3; }
#orderSuccess.dm-order-sheet .dm-order-service-copy { flex:1; min-width:0; }
#orderSuccess.dm-order-sheet .dm-order-service { font-size:20px; line-height:27px; font-weight:700; margin:0; color:#173c69; overflow:hidden; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; }
#orderSuccess.dm-order-sheet .dm-order-caption { font-size:13px; line-height:20px; color:#7b90a6; margin:3px 0 0; }
#orderSuccess.dm-order-sheet .dm-order-quantity { flex:none; font-size:12px; font-weight:700; color:#4e6a86; background:#f0f5fa; border-radius:9px; padding:5px 10px; }
#orderSuccess.dm-order-sheet .dm-order-total { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-top:18px; color:#6b829b; font-size:13px; }
#orderSuccess.dm-order-sheet .dm-order-total strong { font-size:25px; line-height:34px; font-weight:700; color:#153c67; text-align:right; overflow-wrap:anywhere; }
#orderSuccess.dm-order-sheet .dm-order-progress { font-size:12px; line-height:20px; color:#6486aa; padding:10px 14px; border-radius:11px; background:#f0f5fb; margin:16px 0 0; }
#orderSuccess.dm-order-sheet[data-state=accepted] .dm-order-progress { color:#39836c; background:#eff9f5; }
#orderSuccess.dm-order-sheet[data-state=unknown] .dm-order-progress { color:#7b581c; background:#fff7e7; }
#orderSuccess.dm-order-sheet .dm-order-primary { display:flex; align-items:center; justify-content:center; width:100%; min-height:53px; margin:23px 0 0; padding:12px; background:#096de1; color:#fff; font-size:15px; font-weight:700; border:0; border-radius:14px; text-decoration:none; }
#orderSuccess.dm-order-sheet .dm-order-primary[aria-disabled=true] { color:#7e9abb; background:#dce9f7; pointer-events:none; }
#orderSuccess.dm-order-sheet .dm-order-secondary { display:flex; justify-content:center; align-items:center; min-height:44px; margin-top:13px; color:#52708e; font-size:13px; font-weight:700; text-decoration:none; width:100%; background:transparent; border:0; }
#orderSuccess.dm-order-sheet .dm-order-home { margin-top:0; }
#orderSuccess.dm-order-sheet .dm-order-close { position:absolute; right:12px; top:10px; width:32px; min-height:32px; height:32px; margin:0; padding:0; border-radius:50%; color:#aac6df; background:#173955; font-size:23px; font-weight:400; }
html[data-dm-customer-theme] body:has(#orderSuccess.dm-order-sheet.show) > .pace { display:none!important; }
#orderSuccess.dm-order-sheet [hidden] { display:none!important; }
#orderSuccess.dm-order-sheet[data-state=sending] .dm-order-secondary { visibility:hidden; }
@media(min-width:992px){html[data-dm-customer-theme] #orderSuccess.dm-order-sheet .modal-dialog { align-items:center; padding:24px 0; } html[data-dm-customer-theme] #orderSuccess.dm-order-sheet .modal-content { border-radius:28px!important; }}
@keyframes dm-order-rise { from { opacity:0; transform:translateY(235px); } to { opacity:1; transform:translateY(0); } }
@keyframes dm-order-spin { to { transform:rotate(360deg); } }
@keyframes dm-order-check { to { stroke-dashoffset:0; } }
@media(prefers-reduced-motion:reduce){html[data-dm-customer-theme] #orderSuccess.dm-order-sheet.show .modal-content,#orderSuccess.dm-order-sheet .dm-order-spinner { animation:none; } #orderSuccess.dm-order-sheet[data-state=accepted] .dm-order-check { animation:none; stroke-dashoffset:0; }}
