/* The preparation summary and quantity controls use light surfaces in dark mode. */
[data-bs-theme="dark"] .order-details-modal .order-fulfillment-summary {
    color: #27343d;
    --bs-secondary-color: #435462;
    --bs-warning-text-emphasis: #765000;
}

[data-bs-theme="dark"] .order-details-modal .fulfillment-control-strip {
    --bs-secondary-color: #435462;
}

[data-bs-theme="dark"] .order-details-modal .order-fulfillment-summary .text-muted,
[data-bs-theme="dark"] .order-details-modal .fulfillment-control-strip .text-muted {
    color: var(--bs-secondary-color) !important;
}

[data-bs-theme="dark"] .order-details-modal .order-fulfillment-summary .text-warning,
[data-bs-theme="dark"] .order-details-modal .order-fulfillment-summary .text-warning-emphasis {
    color: var(--bs-warning-text-emphasis) !important;
}

[data-bs-theme="dark"] .order-details-modal .fulfillment-product-row.is-fully-prepared .order-product-card::after {
    content: none;
}

[data-bs-theme="dark"] .order-details-modal .fulfillment-product-row.is-fully-prepared .order-product-card-header {
    background-image: repeating-linear-gradient(135deg, transparent 0 9px, rgba(220, 225, 230, .25) 9px 18px);
}

[data-bs-theme="dark"] .order-details-modal .fulfillment-product-row.is-fully-prepared .order-product-metrics {
    background-image: repeating-linear-gradient(135deg, transparent 0 9px, #d6dce0 9px 18px);
}

[data-bs-theme="dark"] .order-details-modal .fulfillment-product-row.is-fully-prepared .order-product-metric-label {
    color: #364754;
}

[data-bs-theme="dark"] .order-details-modal .order-fulfillment-summary .text-success,
[data-bs-theme="dark"] .order-details-modal .fulfillment-product-row.is-fully-prepared .order-product-metrics strong.text-success {
    color: #14613d !important;
}

[data-bs-theme="dark"] .order-details-modal .order-fulfillment-summary .text-danger {
    color: #a12b36 !important;
}
