#sldp-location-fields .select2-container { width: 100% !important; }
#sldp-location-fields .select2-container--focus .select2-selection,
#sldp-location-fields .select2-container--open .select2-selection {
	border-color: #e83e8c;
	box-shadow: 0 0 0 2px rgba(232, 62, 140, .2);
}
.select2-container--default .select2-results__option--highlighted[aria-selected],
.select2-container--default .select2-results__option--highlighted[data-selected] {
	background-color: #e83e8c;
	color: #fff;
}

.sldp-missing { display: none; margin: 4px 0 12px; color: #b45309; font-size: 13px; }
.sldp-missing.is-on { display: block; }
.sldp-warning, .sldp-mismatch { display: flex; gap: 12px; align-items: flex-start; border-radius: 8px; padding: 14px 16px; margin: 0 0 16px; line-height: 1.5; font-size: 14px; }
.sldp-warning { background: #fff7ed; border: 1px solid #f59e0b; border-left-width: 5px; color: #1f2937; }
.sldp-warning-icon { flex: 0 0 24px; height: 24px; border-radius: 50%; background: #f59e0b; color: #fff; font-weight: 700; text-align: center; line-height: 24px; }
.sldp-mismatch { display: block; background: #fef2f2; border: 1px solid #ef4444; border-left-width: 5px; color: #7f1d1d; }
.sldp-mismatch ul { margin: 6px 0 6px 18px; list-style: disc; }
#place_order[disabled] { opacity: .55; cursor: not-allowed; }

/* Delivery Location widget */
.sldp-widget { background: #fff; border: 2px solid #e83e8c; border-radius: 12px; padding: 16px 16px 6px; margin: 0 0 20px; box-shadow: 0 2px 8px rgba(232, 62, 140, .12); }
.sldp-widget-head { display: flex; gap: 10px; align-items: center; margin-bottom: 12px; }
.sldp-widget-head .sldp-pin { flex: 0 0 22px; color: #e83e8c; }
.sldp-widget-head strong { display: block; font-size: 16px; color: #1f2937; }
.sldp-widget-head span { display: block; font-size: 13px; color: #6b7280; }
.sldp-widget .form-row { margin-bottom: 12px; }
.sldp-widget .sldp-hidden, .sldp-hidden { display: none !important; }
.sldp-widget select { width: 100%; }
.sldp-summary { display: none; background: rgba(16, 185, 129, .1); color: #047857; border-radius: 8px; padding: 8px 12px; margin: 0 0 12px; font-size: 13px; }
.sldp-summary.is-on { display: block; }
.sldp-missing { margin: 0 0 12px; }

/* Bank slip uploader */
.sldp-slip { background: #fff; border: 2px dashed #e83e8c; border-radius: 14px; padding: 16px; margin: 14px 0; color: #1f2937; }
.sldp-slip--order { margin: 0 0 24px; background: linear-gradient(135deg, #fff, #fdeaf3); border-style: solid; box-shadow: 0 6px 20px rgba(232, 62, 140, .14); }
.sldp-slip-head { display: flex; gap: 10px; align-items: center; margin-bottom: 10px; }
.sldp-slip-head svg { flex: 0 0 22px; color: #fff; background: #e83e8c; border-radius: 50%; padding: 7px; box-sizing: content-box; }
.sldp-slip-head strong { display: block; font-size: 15px; }
.sldp-slip-head span { display: block; font-size: 12px; color: #6b7280; }
.sldp-req { color: #e83e8c; font-style: normal; }
.sldp-slip-list { list-style: none; margin: 0 0 10px; padding: 0; }
.sldp-slip-item { display: flex; align-items: center; gap: 8px; background: rgba(16, 185, 129, .1); color: #047857; border-radius: 8px; padding: 8px 10px; margin-bottom: 6px; font-size: 13px; }
.sldp-slip-item a { color: inherit; font-weight: 600; }
.sldp-slip-name { flex: 1; word-break: break-all; }
.sldp-slip-remove { background: none; border: 0; color: #b91c1c; cursor: pointer; font-size: 12px; text-decoration: underline; padding: 0; }
.sldp-slip-drop { display: block; cursor: pointer; }
.sldp-slip-drop input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.sldp-slip-btn { display: block; text-align: center; background: #e83e8c; color: #fff; font-weight: 700; border-radius: 10px; padding: 12px 16px; }
.sldp-slip-drop:hover .sldp-slip-btn, .sldp-slip-drop:focus-within .sldp-slip-btn { background: #cf2b78; }
.sldp-slip.is-busy { opacity: .6; pointer-events: none; }
.sldp-slip-msg { font-size: 13px; margin-top: 8px; }
.sldp-slip-msg.is-ok { color: #047857; }
.sldp-slip-msg.is-err { color: #b91c1c; }
.sldp-slip-hint { font-size: 12px; color: #6b7280; margin: 6px 0 0; }
.sldp-slip-prompt { background: #fdeaf3; border: 1.5px solid #e83e8c; border-radius: 14px; padding: 14px 16px; margin: 0 0 18px; display: flex; flex-direction: column; gap: 6px; }
.sldp-slip-prompt a { color: #cf2b78; font-weight: 700; text-decoration: none; }
.sldp-slip-inline { display: block; font-size: 12px; color: #047857; margin-top: 4px; }
.sldp-slip-inline.is-err { color: #b91c1c; }
a.sldp_slip.is-busy { opacity: .6; pointer-events: none; }
.sldp-slip--order { margin: 24px 0; }
