/**
 * Laundry Pickup Estimator — front-end styles.
 * All selectors are namespaced under .laundry_estimator_root to avoid theme conflicts.
 */

.laundry_estimator_root {
	--le-primary: #3474e8;
	--le-primary-dark: #2a5fc4;
	--le-navy: #071b3d;
	--le-body: #52627a;
	--le-bg: #f5f8fc;
	--le-border: #d9e3f0;
	--le-success: #22c55e;
	--le-button: var(--le-primary);
	--le-font: inherit;
	--le-radius-card: 16px;
	--le-radius-btn: 10px;
	--le-radius-input: 16px;
	--le-border-width: 1px;
	--le-btn-pad-y: 16px;
	--le-btn-pad-x: 20px;
	--le-btn-font: 16px;
	--le-shadow: 0 1px 2px rgba(7, 27, 61, 0.04), 0 6px 24px rgba(7, 27, 61, 0.06);
	--le-shadow-sm: 0 1px 2px rgba(7, 27, 61, 0.06);

	font-family: var(--le-font);
	font-size: var(--le-base-font, inherit);
	color: var(--le-body);
	line-height: 1.5;
	box-sizing: border-box;
}

.laundry_estimator_root *,
.laundry_estimator_root *::before,
.laundry_estimator_root *::after {
	box-sizing: border-box;
}

.laundry_estimator_app {
	max-width: 460px;
	margin: 0 auto;
	background: var(--le-bg);
	padding: 8px;
	border-radius: var(--le-radius-card);
}

.laundry_estimator_dashboard,
.laundry_estimator_auth-page {
	max-width: 1040px;
}

/* ---------- Card ---------- */
.le-card {
	background: #fff;
	border: var(--le-border-width) solid var(--le-border);
	border-radius: var(--le-radius-card);
	box-shadow: var(--le-shadow);
	padding: 24px;
}

.le-card + .le-card {
	margin-top: 16px;
}

/* ---------- Typography ---------- */
.le-eyebrow {
	text-transform: uppercase;
	letter-spacing: 0.08em;
	font-size: 11px;
	font-weight: 700;
	color: var(--le-primary);
	margin: 0 0 6px;
}

.le-title {
	color: var(--le-navy);
	font-size: 24px;
	font-weight: 800;
	margin: 0 0 8px;
	line-height: 1.2;
}

.le-subtitle {
	font-size: 14px;
	color: var(--le-body);
	margin: 0 0 4px;
}

.le-label {
	display: block;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	font-size: 11px;
	font-weight: 700;
	color: var(--le-navy);
	margin: 0 0 8px;
}

.le-help {
	font-size: 12px;
	color: var(--le-body);
	opacity: 0.85;
}

/* Larger, sentence-case section heading (delivery speed / fold / detergent) */
.le-label.le-label-lg {
	text-transform: none;
	letter-spacing: normal;
	font-size: 17px;
	font-weight: 700;
	color: var(--le-navy);
	margin-bottom: 12px;
}

.le-label.le-label-lg .le-label-suffix {
	font-weight: 500;
	color: var(--le-body);
	opacity: 0.75;
}

.le-muted { color: var(--le-body); opacity: 0.75; }
.le-pill-note { color: var(--le-primary); font-weight: 600; }

/* ---------- Progress ---------- */
.le-progress {
	display: flex;
	align-items: center;
	gap: 6px;
	padding: 4px 12px 16px;
}

.le-progress-step {
	flex: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	position: relative;
}

.le-progress-dot {
	width: 26px;
	height: 26px;
	border-radius: 50%;
	background: #fff;
	border: 2px solid var(--le-border);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 12px;
	font-weight: 700;
	color: var(--le-body);
	z-index: 1;
	transition: all 0.2s ease;
}

.le-progress-step.is-active .le-progress-dot {
	background: var(--le-primary);
	border-color: var(--le-primary);
	color: #fff;
}

.le-progress-step.is-done .le-progress-dot {
	background: var(--le-success);
	border-color: var(--le-success);
	color: #fff;
}

.le-progress-label {
	font-size: 11px;
	font-weight: 600;
	color: var(--le-body);
	text-align: center;
}

.le-progress-step.is-active .le-progress-label { color: var(--le-navy); }

.le-progress-bar {
	height: 4px;
	background: var(--le-border);
	border-radius: 4px;
	margin: 0 12px 16px;
	overflow: hidden;
}

.le-progress-bar span {
	display: block;
	height: 100%;
	background: var(--le-primary);
	border-radius: 4px;
	transition: width 0.3s ease;
}

/* ---------- Segmented control ---------- */
.le-segment {
	display: flex;
	background: #eef3fb;
	border-radius: 999px;
	padding: 5px;
	gap: 4px;
}

.le-segment button {
	flex: 1;
	border: none;
	background: transparent;
	padding: 12px 10px;
	border-radius: 999px;
	font-size: 14px;
	font-weight: 600;
	color: var(--le-body);
	cursor: pointer;
	transition: all 0.2s ease;
	font-family: inherit;
}

.le-segment button.is-active {
	background: var(--le-primary);
	color: #fff;
	box-shadow: 0 2px 8px rgba(52, 116, 232, 0.35);
}

/* ---------- Option cards ---------- */
.le-options {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
}

.le-option {
	flex: 1 1 45%;
	min-width: 130px;
	border: 1.5px solid var(--le-border);
	border-radius: 12px;
	background: #fff;
	padding: 16px 14px;
	cursor: pointer;
	text-align: left;
	transition: all 0.15s ease;
	font-family: inherit;
	position: relative;
}

.le-option:hover { border-color: #b9cbe6; }

.le-option.is-active {
	border-color: var(--le-primary);
	background: #f2f7ff;
	box-shadow: 0 0 0 3px rgba(52, 116, 232, 0.12);
}

.le-option-title {
	display: block;
	font-weight: 700;
	color: var(--le-navy);
	font-size: 15px;
}

.le-option-sub {
	display: block;
	font-size: 13px;
	color: var(--le-body);
	margin-top: 3px;
}

.le-option.is-active .le-option-sub { color: var(--le-primary); font-weight: 600; }

/* segmented big pills (delivery/fold like reference) */
.le-pills {
	display: flex;
	background: #eef3fb;
	border-radius: 999px;
	padding: 6px;
	gap: 6px;
}

.le-pill {
	flex: 1;
	border: none;
	background: transparent;
	border-radius: 999px;
	padding: 16px 12px;
	cursor: pointer;
	text-align: center;
	font-family: inherit;
	transition: all 0.15s ease;
	color: var(--le-body);
}

.le-pill.is-active {
	background: var(--le-primary);
	color: #fff;
	box-shadow: 0 6px 14px rgba(52, 116, 232, 0.35);
}

.le-pill strong { display: block; font-size: 17px; font-weight: 700; color: var(--le-body); letter-spacing: -0.01em; }
.le-pill span { display: block; font-size: 14px; font-weight: 400; margin-top: 3px; color: var(--le-body); opacity: 0.8; }
.le-pill.is-active strong { color: #fff; }
.le-pill.is-active span { color: #fff; opacity: 0.92; }

/* ---------- Bag SVG + counter ---------- */
.le-bag-wrap {
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 8px 0 4px;
}

.laundry_estimator_bag-svg {
	width: 88px;
	height: 88px;
	color: var(--le-primary);
	display: block;
}

/* Grid of bag icons — one per bag. Flex + center keeps every row (including a
   single bag or a partial last row) horizontally centered. */
.laundry_estimator_root .le-bag-grid {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 16px 20px;
	max-width: 420px;
	margin: 0 auto 10px;
	min-height: 86px;
}

.laundry_estimator_root .le-bag-item {
	display: flex;
	flex: 0 0 auto;
	animation: le-fade 0.2s ease;
}

.laundry_estimator_root .le-bag-item .laundry_estimator_bag-svg {
	width: 86px;
	height: 86px;
}

@media (max-width: 420px) {
	.laundry_estimator_root .le-bag-grid { gap: 12px 14px; max-width: 340px; }
	.laundry_estimator_root .le-bag-item .laundry_estimator_bag-svg { width: 68px; height: 68px; }
}

.le-counter {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	width: 100%;
	margin-top: 8px;
}

.le-step-btn {
	width: 52px;
	height: 52px;
	border-radius: 14px;
	border: 1.5px solid var(--le-border);
	background: #fff;
	font-size: 24px;
	color: var(--le-navy);
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.15s ease;
	flex-shrink: 0;
}

.le-step-btn:hover:not(:disabled) { border-color: var(--le-primary); color: var(--le-primary); }
.le-step-btn:disabled { opacity: 0.4; cursor: not-allowed; }

.le-count-display {
	text-align: center;
	flex: 1;
}

.le-count-number {
	font-size: 34px;
	font-weight: 800;
	color: var(--le-navy);
	line-height: 1;
}

.le-count-caption {
	font-size: 13px;
	color: var(--le-body);
	margin-top: 4px;
}

/* "I know my weight" — big editable number + caption, matching the bag display */
.laundry_estimator_root .le-weight-inline {
	display: flex;
	align-items: baseline;
	justify-content: center;
	gap: 12px;
	padding: 8px 0 4px;
}

.laundry_estimator_root .le-weight-inline .le-count-caption {
	margin-top: 0;
	font-size: 15px;
	font-weight: 500;
	color: var(--le-body);
	white-space: nowrap;
}

/* Force a borderless, box-free field even if the active theme styles inputs.
   Font size / weight / color are set explicitly so the theme can't override. */
.laundry_estimator_root input.le-weight-input {
	border: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	outline: none !important;
	text-align: center;
	padding: 0 !important;
	margin: 0;
	min-width: 1ch;
	width: auto;
	height: auto;
	line-height: 1 !important;
	border-radius: 0 !important;
	font-family: inherit;
	font-size: 44px !important;
	font-weight: 800 !important;
	color: var(--le-navy) !important;
	letter-spacing: -0.02em;
	-moz-appearance: textfield;
	appearance: textfield;
}

.laundry_estimator_root input.le-weight-input:focus {
	border-bottom: 2px solid var(--le-primary) !important;
}

.laundry_estimator_root input.le-weight-input::-webkit-outer-spin-button,
.laundry_estimator_root input.le-weight-input::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

/* ---------- Range ---------- */
.le-range {
	-webkit-appearance: none;
	appearance: none;
	width: 100%;
	height: 6px;
	border-radius: 6px;
	background: var(--le-border);
	outline: none;
	margin: 18px 0 6px;
}

.le-range::-webkit-slider-thumb {
	-webkit-appearance: none;
	appearance: none;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: var(--le-primary);
	cursor: pointer;
	border: 3px solid #fff;
	box-shadow: 0 2px 6px rgba(52, 116, 232, 0.4);
}

.le-range::-moz-range-thumb {
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: var(--le-primary);
	cursor: pointer;
	border: 3px solid #fff;
}

/* ---------- Inputs ---------- */
.le-field { margin-bottom: 16px; }

.le-input,
.le-select,
.le-textarea {
	width: 100%;
	border: 1.5px solid var(--le-border);
	border-radius: var(--le-radius-btn);
	padding: 13px 14px;
	font-size: 15px;
	color: var(--le-navy);
	background: #fff;
	font-family: inherit;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.le-input:focus,
.le-select:focus,
.le-textarea:focus {
	border-color: var(--le-primary);
	box-shadow: 0 0 0 3px rgba(52, 116, 232, 0.12);
	outline: none;
}

.le-textarea { resize: vertical; min-height: 76px; }

/* Dropdowns — matches the reference: rounded, roomy, larger navy text.
   !important is used so theme rules (often ID-scoped, e.g. #top select) can't
   re-add the native arrow or override the box shape. */
.laundry_estimator_root select.le-select {
	appearance: none !important;
	-webkit-appearance: none !important;
	-moz-appearance: none !important;
	width: 100% !important;
	height: auto !important;
	border: var(--le-border-width) solid var(--le-border) !important;
	border-radius: var(--le-radius-input) !important;
	padding: 17px 46px 17px 20px !important;
	margin: 0 !important;
	font-size: 17px !important;
	font-weight: 500 !important;
	font-family: inherit !important;
	color: var(--le-navy) !important;
	line-height: 1.2 !important;
	background-color: #fff !important;
	background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20width%3D'14'%20height%3D'9'%20viewBox%3D'0%200%2014%209'%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%3E%3Cpath%20d%3D'M1%201.5l6%206%206-6'%20stroke%3D'%23071b3d'%20stroke-width%3D'1.6'%20fill%3D'none'%20stroke-linecap%3D'round'%20stroke-linejoin%3D'round'%2F%3E%3C%2Fsvg%3E") !important;
	background-repeat: no-repeat !important;
	background-position: right 20px center !important;
	text-indent: 0 !important;
}

/* Hide the legacy IE/Edge native arrow just in case. */
.laundry_estimator_root select.le-select::-ms-expand { display: none; }

.laundry_estimator_root select.le-select:focus {
	border-color: var(--le-primary) !important;
	box-shadow: 0 0 0 3px rgba(52, 116, 232, 0.12) !important;
	outline: none !important;
}

/* Text inputs & textareas — same rounded, roomy, white style as the dropdowns.
   !important so theme input styling (gray fills, square corners) can't win. */
.laundry_estimator_root input.le-input,
.laundry_estimator_root textarea.le-textarea {
	appearance: none !important;
	-webkit-appearance: none !important;
	width: 100% !important;
	border: var(--le-border-width) solid var(--le-border) !important;
	border-radius: var(--le-radius-input) !important;
	padding: 16px 20px !important;
	margin: 0 !important;
	font-size: 17px !important;
	font-weight: 400 !important;
	font-family: inherit !important;
	color: var(--le-navy) !important;
	line-height: 1.3 !important;
	background: #fff !important;
	box-shadow: none !important;
}

.laundry_estimator_root textarea.le-textarea {
	min-height: 92px !important;
	line-height: 1.5 !important;
	resize: vertical !important;
}

.laundry_estimator_root input.le-input::placeholder,
.laundry_estimator_root textarea.le-textarea::placeholder {
	color: var(--le-body) !important;
	opacity: 0.5 !important;
	font-weight: 400 !important;
}

.laundry_estimator_root input.le-input:focus,
.laundry_estimator_root textarea.le-textarea:focus {
	border-color: var(--le-primary) !important;
	box-shadow: 0 0 0 3px rgba(52, 116, 232, 0.12) !important;
	outline: none !important;
}

.le-row { display: flex; gap: 12px; }
.le-row > * { flex: 1; }

.le-error-text {
	color: #dc2626;
	font-size: 12px;
	margin-top: 5px;
}

.le-input.has-error,
.le-select.has-error { border-color: #dc2626; }

/* ---------- Add-on chips ---------- */
.le-chips { display: flex; flex-wrap: wrap; gap: 8px; }

.le-chip {
	border: 1.5px solid var(--le-border);
	background: #fff;
	border-radius: 10px;
	padding: 10px 14px;
	font-size: 13px;
	font-weight: 600;
	color: var(--le-navy);
	cursor: pointer;
	transition: all 0.15s ease;
	font-family: inherit;
}

.le-chip:hover { border-color: #b9cbe6; }

.le-chip.is-active {
	border-color: var(--le-primary);
	background: #f2f7ff;
	color: var(--le-primary);
}

.le-chip small { display: block; font-weight: 500; opacity: 0.8; }

/* ---------- Summary ---------- */
.le-summary-line {
	display: flex;
	justify-content: space-between;
	padding: 8px 0;
	font-size: 14px;
	border-bottom: 1px solid #f0f4fa;
}

.le-summary-line:last-child { border-bottom: none; }
.le-summary-line .le-k { color: var(--le-body); }
.le-summary-line .le-v { color: var(--le-navy); font-weight: 600; text-align: right; }
.le-summary-line.le-discount .le-v { color: var(--le-success); }

.le-total-row {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	margin-top: 8px;
	padding-top: 12px;
}

.le-total-label {
	text-transform: uppercase;
	letter-spacing: 0.06em;
	font-size: 11px;
	font-weight: 700;
	color: var(--le-navy);
}

.le-total-amount {
	font-size: 40px;
	font-weight: 800;
	color: var(--le-primary);
	line-height: 1;
}

.le-total-amount.is-updating { opacity: 0.5; }

/* ---------- Promo banner ---------- */
.le-promo {
	display: flex;
	align-items: center;
	gap: 10px;
	background: #eef3fb;
	border-radius: 12px;
	padding: 14px 16px;
	font-size: 13px;
	color: var(--le-navy);
	margin-top: 16px;
}

.le-promo-icon {
	width: 30px; height: 30px; border-radius: 8px;
	background: var(--le-primary); color: #fff;
	display: flex; align-items: center; justify-content: center;
	flex-shrink: 0;
}

.le-promo strong { color: var(--le-primary); }

/* ---------- Buttons ---------- */
.le-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 100%;
	border: none;
	border-radius: var(--le-radius-btn);
	padding: var(--le-btn-pad-y) var(--le-btn-pad-x);
	font-size: var(--le-btn-font);
	font-weight: 700;
	cursor: pointer;
	font-family: inherit;
	transition: all 0.15s ease;
	text-decoration: none;
}

.le-btn-primary {
	background: var(--le-button);
	color: #fff;
	box-shadow: 0 4px 14px rgba(52, 116, 232, 0.35);
}

.le-btn-primary:hover:not(:disabled) { filter: brightness(0.93); }

/* Anchor buttons (e.g. "View my dashboard") — themes style <a> link colors with
   high specificity, so force the button text colors and remove underlines. */
.laundry_estimator_root a.le-btn,
.laundry_estimator_root a.le-btn:hover,
.laundry_estimator_root a.le-btn:focus,
.laundry_estimator_root a.le-btn:visited,
.laundry_estimator_root a.le-btn:active {
	text-decoration: none !important;
}

.laundry_estimator_root .le-btn-primary,
.laundry_estimator_root a.le-btn-primary,
.laundry_estimator_root a.le-btn-primary:hover,
.laundry_estimator_root a.le-btn-primary:focus,
.laundry_estimator_root a.le-btn-primary:visited,
.laundry_estimator_root a.le-btn-primary:active {
	color: #fff !important;
}

.laundry_estimator_root .le-btn-ghost,
.laundry_estimator_root a.le-btn-ghost,
.laundry_estimator_root a.le-btn-ghost:hover,
.laundry_estimator_root a.le-btn-ghost:focus,
.laundry_estimator_root a.le-btn-ghost:visited {
	color: var(--le-navy) !important;
}
.le-btn-primary:disabled { opacity: 0.6; cursor: not-allowed; }

.le-btn-ghost {
	background: #fff;
	color: var(--le-navy);
	border: 1.5px solid var(--le-border);
	box-shadow: none;
}

.le-btn-ghost:hover { border-color: var(--le-primary); color: var(--le-primary); }

.le-btn-text {
	background: none;
	border: none;
	color: var(--le-primary);
	font-weight: 600;
	cursor: pointer;
	font-family: inherit;
	font-size: 14px;
	padding: 8px;
	width: auto;
}

.le-nav {
	display: flex;
	gap: 10px;
	margin-top: 16px;
}

.le-nav .le-btn { flex: 1; }
.le-nav .le-btn-back { flex: 0 0 auto; width: auto; padding-left: 24px; padding-right: 24px; }

.le-spinner {
	width: 18px; height: 18px;
	border: 2px solid rgba(255,255,255,0.5);
	border-top-color: #fff;
	border-radius: 50%;
	animation: le-spin 0.7s linear infinite;
	display: inline-block;
}

.laundry_estimator_spinner {
	width: 20px; height: 20px;
	border: 2px solid var(--le-border);
	border-top-color: var(--le-primary);
	border-radius: 50%;
	animation: le-spin 0.7s linear infinite;
	display: inline-block;
	margin-right: 8px;
	vertical-align: middle;
}

@keyframes le-spin { to { transform: rotate(360deg); } }

.laundry_estimator_loading {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 48px 16px;
	color: var(--le-body);
	font-size: 14px;
}

/* ---------- Step transitions ---------- */
.le-step { animation: le-fade 0.28s ease; }

@keyframes le-fade {
	from { opacity: 0; transform: translateY(8px); }
	to { opacity: 1; transform: translateY(0); }
}

/* ---------- Modal (login/register) ---------- */
.le-modal-overlay {
	position: fixed;
	inset: 0;
	background: rgba(7, 27, 61, 0.55);
	display: flex;
	align-items: flex-start;
	justify-content: center;
	padding: 24px 16px;
	z-index: 100000;
	overflow-y: auto;
	animation: le-fade 0.2s ease;
}

.le-modal {
	background: #fff;
	border-radius: var(--le-radius-card);
	max-width: 420px;
	width: 100%;
	padding: 28px;
	box-shadow: 0 20px 60px rgba(7, 27, 61, 0.35);
	margin: auto;
}

.le-modal-close {
	position: absolute;
	top: 16px; right: 16px;
	background: none; border: none;
	font-size: 22px; color: var(--le-body);
	cursor: pointer;
}

.le-auth-tabs {
	display: flex;
	background: #eef3fb;
	border-radius: 10px;
	padding: 4px;
	margin-bottom: 20px;
}

.le-auth-tabs button {
	flex: 1; border: none; background: transparent;
	padding: 10px; border-radius: 8px;
	font-weight: 600; cursor: pointer; color: var(--le-body);
	font-family: inherit;
}

.le-auth-tabs button.is-active { background: #fff; color: var(--le-navy); box-shadow: var(--le-shadow-sm); }

.le-checkbox {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	font-size: 13px;
	color: var(--le-body);
	cursor: pointer;
}

.le-checkbox input { margin-top: 2px; }

.le-alert {
	border-radius: 10px;
	padding: 12px 14px;
	font-size: 13px;
	margin-bottom: 16px;
}

.le-alert-error { background: #fef2f2; color: #b91c1c; border: 1px solid #fecaca; }
.le-alert-success { background: #f0fdf4; color: #15803d; border: 1px solid #bbf7d0; }

/* ---------- Confirmation ---------- */
.le-confirm { text-align: center; padding: 16px; }

.le-confirm-check {
	width: 72px; height: 72px; border-radius: 50%;
	background: #ecfdf5; color: var(--le-success);
	display: flex; align-items: center; justify-content: center;
	font-size: 36px; margin: 0 auto 16px;
}

.le-order-num {
	display: inline-block;
	background: var(--le-bg);
	border-radius: 8px;
	padding: 8px 16px;
	font-weight: 700;
	color: var(--le-navy);
	letter-spacing: 0.03em;
	margin: 8px 0 20px;
}

/* ---------- Dashboard ---------- */
.le-dash-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 20px;
	flex-wrap: wrap;
	gap: 12px;
}

.le-dash-nav {
	display: flex;
	gap: 6px;
	background: #fff;
	border: 1px solid var(--le-border);
	border-radius: 12px;
	padding: 6px;
	margin-bottom: 20px;
	overflow-x: auto;
}

.le-dash-nav button {
	border: none; background: transparent;
	padding: 10px 16px; border-radius: 8px;
	font-weight: 600; color: var(--le-body);
	cursor: pointer; white-space: nowrap;
	font-family: inherit; font-size: 14px;
}

.le-dash-nav button.is-active { background: var(--le-primary); color: #fff; }

.le-stat-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
	gap: 14px;
	margin-bottom: 20px;
}

.le-stat {
	background: #fff;
	border: 1px solid var(--le-border);
	border-radius: 14px;
	padding: 18px;
}

.le-stat-value { font-size: 26px; font-weight: 800; color: var(--le-navy); }
.le-stat-label { font-size: 12px; color: var(--le-body); text-transform: uppercase; letter-spacing: 0.05em; margin-top: 4px; }

.le-order-list { display: flex; flex-direction: column; gap: 12px; }

.le-order-item {
	background: #fff;
	border: 1px solid var(--le-border);
	border-radius: 14px;
	padding: 18px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
	flex-wrap: wrap;
}

.le-order-meta { display: flex; flex-direction: column; gap: 4px; }
.le-order-meta strong { color: var(--le-navy); font-size: 15px; }
.le-order-meta span { font-size: 13px; color: var(--le-body); }

.le-badge {
	display: inline-block;
	padding: 4px 10px;
	border-radius: 999px;
	font-size: 12px;
	font-weight: 700;
	background: #eef3fb;
	color: var(--le-primary);
}

.le-badge.is-delivered { background: #ecfdf5; color: var(--le-success); }
.le-badge.is-cancelled { background: #fef2f2; color: #b91c1c; }
.le-badge.is-progress { background: #fff7ed; color: #c2680c; }

/* Timeline */
.le-timeline { list-style: none; margin: 0; padding: 0; }
.le-timeline li {
	position: relative;
	padding: 0 0 20px 26px;
	border-left: 2px solid var(--le-border);
}
.le-timeline li:last-child { border-left-color: transparent; }
.le-timeline li::before {
	content: '';
	position: absolute; left: -7px; top: 2px;
	width: 12px; height: 12px; border-radius: 50%;
	background: var(--le-primary);
	border: 2px solid #fff;
	box-shadow: 0 0 0 2px var(--le-primary);
}
.le-timeline .le-tl-status { font-weight: 700; color: var(--le-navy); font-size: 14px; }
.le-timeline .le-tl-time { font-size: 12px; color: var(--le-body); }

/* ---------- Sticky mobile summary ---------- */
.le-sticky-bar {
	position: sticky;
	bottom: 0;
	background: #fff;
	border-top: 1px solid var(--le-border);
	padding: 12px 16px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	box-shadow: 0 -4px 20px rgba(7, 27, 61, 0.08);
	border-radius: 0 0 var(--le-radius-card) var(--le-radius-card);
	z-index: 10;
}

.le-sticky-total .le-sticky-label { font-size: 11px; text-transform: uppercase; color: var(--le-body); letter-spacing: 0.05em; }
.le-sticky-total .le-sticky-amount { font-size: 22px; font-weight: 800; color: var(--le-navy); }
.le-sticky-bar .le-btn { width: auto; flex: 0 0 auto; padding: 12px 24px; }

.le-hidden { display: none !important; }

/* ---------- ZIP service-area checker ---------- */
.le-zip-checker {
	max-width: 560px;
	margin: 0 auto;
}

.le-zip-row {
	display: flex;
	gap: 12px;
	align-items: stretch;
}

.le-zip-row .le-zip-input { flex: 1 1 auto; margin: 0; }

/* Custom placeholder color for the ZIP input (set via --le-zip-ph inline). */
.laundry_estimator_root .le-zip-input::placeholder {
	color: var(--le-zip-ph, var(--le-body)) !important;
	opacity: 1 !important;
}

.le-zip-row .le-zip-btn {
	width: auto !important;
	flex: 0 0 auto;
	white-space: nowrap;
}

.le-zip-result { margin-top: 16px; }

/* Result box — background / border / text color / radius are set inline from
   the admin ZIP-checker settings; these are just the base layout rules. */
.le-zip-msg {
	padding: 18px 22px;
	font-size: 16px;
	font-weight: 500;
	line-height: 1.5;
	animation: le-fade 0.2s ease;
}

.le-zip-msg .le-zip-text { color: inherit; }
.le-zip-msg strong { font-weight: 700; color: inherit; }
.le-zip-msg .le-zip-check { font-weight: 700; }

.le-zip-cta { margin-top: 12px; width: auto !important; display: inline-flex; }

@media (max-width: 520px) {
	.le-zip-row { flex-direction: column; }
	.le-zip-row .le-zip-btn { width: 100% !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 600px) {
	.le-card { padding: 18px; border-radius: 14px; }
	.le-title { font-size: 21px; }
	.le-progress-label { display: none; }
	.le-total-amount { font-size: 34px; }
	.le-row { flex-direction: column; gap: 0; }
	.le-dash-header { flex-direction: column; align-items: flex-start; }
}

@media (min-width: 720px) {
	.le-dashboard-grid {
		display: grid;
		grid-template-columns: 1fr;
		gap: 16px;
	}
}
