.order-confirm-overlay {
    position: fixed;
    inset: 0;
    z-index: 10050;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
    background: rgba(6, 18, 31, .52);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .2s ease, visibility .2s ease;
}
.order-confirm-overlay.is-visible { opacity: 1; visibility: visible; }
body.order-confirm-open { overflow: hidden; }
.order-confirm-dialog {
    position: relative;
    width: min(440px, 100%);
    max-height: calc(100vh - 36px);
    overflow-y: auto;
    padding: 28px;
    border: 1px solid rgba(15, 157, 139, .18);
    border-radius: 22px;
    background: #fff;
    color: #172033;
    box-shadow: 0 24px 80px rgba(3, 20, 35, .24);
    text-align: center;
}
.order-confirm-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 50%;
    background: #f0f5f7;
    color: #68758a;
}
.order-confirm-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    margin-bottom: 15px;
    border-radius: 18px;
    background: rgba(15, 157, 139, .12);
    color: #0f9d8b;
    font-size: 1.45rem;
}
.order-confirm-icon.is-warning { background: #fff4d6; color: #d08a00; }
.order-confirm-icon.is-success { background: #dcf8ef; color: #078c78; }
.order-confirm-icon.is-danger { background: #ffe7e8; color: #d5404d; }
.order-confirm-dialog h3 { margin: 0 35px 8px; color: inherit; font-size: 1.18rem; font-weight: bold; }
.order-confirm-message { margin: 0 0 18px; color: #6a778a; line-height: 1.55; }
.order-confirm-details {
    margin-bottom: 20px;
    padding: 15px;
    border: 1px solid #e4ebf1;
    border-radius: 16px;
    background: #f8fafb;
    text-align: left;
}
.order-price-row,
.order-price-total { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 6px 0; }
.order-price-row span,
.order-price-total span { color: #6d7b8d; }
.order-price-row.is-current strong,
.order-price-total strong { color: #0f9d8b; font-size: 1.08rem; }
.order-price-change { margin: 8px 0; padding: 8px 10px; border-radius: 10px; text-align: center; font-weight: bold; }
.order-price-change.is-up { background: #fff0f1; color: #d44652; }
.order-price-change.is-down { background: #e4f8f2; color: #078c78; }
.order-price-total { margin-top: 8px; padding-top: 12px; border-top: 1px dashed #ccd8e2; }
.order-confirm-details small { display: block; margin-top: 9px; color: #7a8798; line-height: 1.45; }
.order-confirm-actions { display: flex; justify-content: center; gap: 10px; }
.order-confirm-actions .btn { min-width: 130px; padding: .72rem 1rem; border-radius: 12px; font-weight: bold; }
.order-confirm-cancel { background: #eef2f5; color: #536174; }
[data-theme="dark"] .order-confirm-dialog { border-color: #263b4c; background: #101e2b; color: #ecf6f5; }
[data-theme="dark"] .order-confirm-close,
[data-theme="dark"] .order-confirm-cancel { background: #1d3040; color: #c5d2dc; }
[data-theme="dark"] .order-confirm-message,
[data-theme="dark"] .order-price-row span,
[data-theme="dark"] .order-price-total span,
[data-theme="dark"] .order-confirm-details small { color: #9fb1bf; }
[data-theme="dark"] .order-confirm-details { border-color: #294052; background: #132432; }
[data-theme="dark"] .order-price-total { border-top-color: #355064; }
@media (max-width: 575.98px) {
    .order-confirm-dialog { padding: 24px 18px 20px; border-radius: 19px; }
    .order-confirm-actions { flex-direction: column-reverse; }
    .order-confirm-actions .btn { width: 100%; }
}
