/**
 * Restaurant admin shell — layout, RTL, dashboard density.
 * Loaded after Davur style.css; does not replace Bootstrap.
 */

:root {
	/* Warm ember / copper — overrides Davur blues after load */
	--primary: #c2410c;
	--primary-hover: #9a3412;
	--primary-dark: #7c2d12;
	--secondary: #57534e;
	--rgba-primary-1: rgba(194, 65, 12, 0.1);
	--rgba-primary-2: rgba(194, 65, 12, 0.2);
	--rgba-primary-3: rgba(194, 65, 12, 0.3);
	--rgba-primary-4: rgba(194, 65, 12, 0.4);
	--rgba-primary-5: rgba(194, 65, 12, 0.5);
	--rgba-primary-6: rgba(194, 65, 12, 0.6);
	--rgba-primary-7: rgba(194, 65, 12, 0.7);
	--rgba-primary-8: rgba(194, 65, 12, 0.8);
	--rgba-primary-9: rgba(194, 65, 12, 0.9);
	--bs-primary: #c2410c;
	--bs-primary-rgb: 194, 65, 12;
	--bs-secondary: #57534e;
	--bs-secondary-rgb: 87, 83, 78;
	--bs-body-bg: #f5f3f0;
	--bs-body-bg-rgb: 245, 243, 240;

	--rs-radius: 12px;
	--rs-radius-sm: 10px;
	--rs-shadow-card: 0 1px 2px rgba(28, 25, 23, 0.06), 0 1px 3px rgba(28, 25, 23, 0.08);
	--rs-shadow-card-hover: 0 4px 12px rgba(28, 25, 23, 0.1);
	--rs-border: 1px solid rgba(68, 64, 60, 0.12);
	--rs-surface: #fff;
	--rs-surface-muted: #faf8f5;
	--rs-text-muted: #78716c;
	--rs-app-bg: #f5f3f0;
	--rs-ink: #1c1917;
	--rs-kpi-accent: var(--primary);
	--rs-space-section: 1.75rem;
}

/* Softer page canvas (Bootstrap body uses --bs-body-bg) */
html body {
	background-color: var(--rs-app-bg);
}

/* ------------------------------------------------------------------------- */
/* RTL: mirror vertical sidebar shell (theme assumes LTR + margin-left)     */
/* ------------------------------------------------------------------------- */

html[dir="rtl"] .nav-header {
	left: auto !important;
	right: 0 !important;
	text-align: right;
}

html[dir="rtl"] .nav-header .brand-logo {
	justify-content: flex-end;
}

html[dir="rtl"] .nav-header .brand-title {
	margin-left: 0;
	margin-right: 20px;
}

html[dir="rtl"] .nav-control {
	right: auto !important;
	left: -4.0625rem;
}

@media only screen and (max-width: 74.9375rem) {
	html[dir="rtl"] .nav-control {
		left: -3.75rem;
	}
}

@media only screen and (max-width: 47.9375rem) {
	html[dir="rtl"] .nav-control {
		left: -2.75rem;
	}
}

@media only screen and (max-width: 35.9375rem) {
	html[dir="rtl"] .nav-control {
		left: -1.75rem;
	}
}

/* RTL sidebar position: desktop & tablet only. On small screens theme uses */
/* data-sidebar-style="overlay" + right:-100% until .menu-toggle — do not force right:0 here. */
@media only screen and (min-width: 768px) {
	html[dir="rtl"] .deznav {
		left: auto !important;
		right: 0 !important;
		box-shadow: -12px 0 24px rgba(15, 23, 42, 0.06);
	}
}

html[dir="rtl"] .header {
	padding-left: 0 !important;
	padding-right: 18.563rem !important;
}

@media only screen and (min-width: 1200px) and (max-width: 1350px) {
	html[dir="rtl"] .header {
		padding-right: 17rem !important;
	}
}

@media only screen and (max-width: 1023px) {
	html[dir="rtl"] .header {
		padding-right: 5rem !important;
	}
}

html[dir="rtl"] .header .header-content {
	padding-left: 1.875rem !important;
	padding-right: 5.3125rem !important;
}

@media only screen and (max-width: 767px) {
	html[dir="rtl"] .header .header-content {
		padding-left: 0.938rem !important;
		padding-right: 3.75rem !important;
	}
}

html[dir="rtl"] .content-body {
	margin-left: 0 !important;
	margin-right: 18.563rem !important;
}

@media only screen and (min-width: 1200px) and (max-width: 1400px) {
	html[dir="rtl"] .content-body {
		margin-right: 17rem !important;
	}
}

html[dir="rtl"] .footer {
	padding-left: 0 !important;
	padding-right: 17.1875rem !important;
}

@media only screen and (max-width: 767px) {
	html[dir="rtl"] .footer {
		padding-right: 0 !important;
	}
}

/* Mobile overlay: keep drawer above content; optional dim behind drawer when open */
@media only screen and (max-width: 767.98px) {
	[data-sidebar-style="overlay"][data-layout="vertical"] .deznav {
		z-index: 1040;
	}

	[data-sidebar-style="overlay"][data-layout="vertical"] .nav-header {
		z-index: 1041;
	}

}

/* Sidebar link row: icon + label alignment */
.deznav .metismenu > li > a.ai-icon {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	flex-direction: row;
	border-radius: var(--rs-radius-sm);
	margin: 0.125rem 0.5rem;
	padding: 0.65rem 0.85rem !important;
	transition: background-color 0.15s ease, color 0.15s ease;
}

html[dir="rtl"] .deznav .metismenu > li a > i {
	padding: 0 0 0 0.5rem !important;
}

.deznav .metismenu > li > a .nav-text {
	flex: 1;
}

.deznav .metismenu > li.mm-active > a,
.deznav .metismenu > li > a.active {
	background-color: var(--rgba-primary-1);
	color: var(--primary) !important;
	font-weight: 600;
}

.deznav .metismenu > li.mm-active > a i,
.deznav .metismenu > li > a.active i {
	color: var(--primary);
}

.deznav .copyright {
	padding: 1rem 1.25rem 2rem;
	margin-top: auto;
	border-top: var(--rs-border);
}

.deznav-scroll {
	display: flex;
	flex-direction: column;
}

/* Header bar */
.header .navbar-nav.header-right {
	align-items: center;
	gap: 0.25rem;
}

.header .header-left {
	min-width: 0;
}

.rs-header-avatar {
	width: 32px;
	height: 32px;
	object-fit: cover;
	border-radius: 50%;
}

/* Main content rhythm */
#main-wrapper .content-body .container-fluid {
	padding-top: clamp(1.25rem, 2vw, 2rem) !important;
	padding-left: clamp(1rem, 2.5vw, 2.5rem) !important;
	padding-right: clamp(1rem, 2.5vw, 2.5rem) !important;
}

/* ------------------------------------------------------------------------- */
/* Dashboard (Control Center)                                                */
/* ------------------------------------------------------------------------- */

.rs-dashboard {
	max-width: 1400px;
	margin-inline: auto;
}

.rs-page-head .rs-page-title {
	font-size: clamp(1.35rem, 2vw, 1.65rem);
	font-weight: 700;
	letter-spacing: -0.02em;
	color: var(--rs-ink);
	margin-bottom: 0.35rem;
}

.rs-page-head .rs-page-lead {
	color: var(--rs-text-muted);
	font-size: 0.95rem;
	max-width: 42rem;
	margin-bottom: 0;
}

html[dir="rtl"] .rs-page-head .rs-page-lead {
	margin-right: 0;
	margin-left: auto;
}

.rs-kpi-grid .rs-stat-card {
	height: 100%;
	border: var(--rs-border);
	border-radius: var(--rs-radius);
	box-shadow: var(--rs-shadow-card);
	background: var(--rs-surface);
	transition: box-shadow 0.2s ease, transform 0.15s ease;
}

.rs-kpi-grid .rs-stat-card:hover {
	box-shadow: var(--rs-shadow-card-hover);
}

.rs-kpi-grid .rs-stat-card .card-body {
	padding: 1.25rem 1.35rem;
	display: flex;
	flex-direction: column;
	min-height: 112px;
}

.rs-kpi-grid .rs-stat-label {
	font-size: 0.8rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: var(--rs-text-muted);
	margin-bottom: 0.5rem;
}

.rs-kpi-grid .rs-stat-value {
	font-size: clamp(1.75rem, 3vw, 2.15rem);
	font-weight: 700;
	line-height: 1.15;
	color: var(--rs-ink);
	margin-bottom: 0;
}

.rs-kpi-grid .rs-stat-meta {
	font-size: 0.8125rem;
	color: var(--rs-text-muted);
	margin-top: auto;
	padding-top: 0.5rem;
}

.rs-kpi-grid .rs-stat-card.rs-stat-primary {
	border-color: rgba(194, 65, 12, 0.35);
	background: linear-gradient(145deg, #fff 0%, rgba(194, 65, 12, 0.06) 100%);
}

.rs-kpi-grid .rs-stat-card.rs-stat-primary .rs-stat-value {
	color: var(--primary);
}

.rs-panel-secondary {
	border: var(--rs-border);
	border-radius: var(--rs-radius);
	background: var(--rs-surface-muted);
	box-shadow: none;
}

.rs-panel-secondary .card-body {
	padding: 1.15rem 1.25rem;
}

.rs-panel-secondary .rs-panel-title {
	font-size: 0.95rem;
	font-weight: 600;
	color: #475569;
	margin-bottom: 0.85rem;
}

.rs-panel-secondary .btn {
	border-radius: var(--rs-radius-sm);
}

.rs-empty-state {
	text-align: center;
	padding: 2.5rem 1.5rem;
	color: var(--rs-text-muted);
	border: 1px dashed rgba(15, 23, 42, 0.12);
	border-radius: var(--rs-radius);
	background: var(--rs-surface-muted);
}

.rs-empty-state strong {
	display: block;
	color: #44403c;
	margin-bottom: 0.35rem;
}

/* Softer alerts on dashboard (keep readable, less “alarmist”) */
.rs-dashboard .alert-danger {
	background: #fef2f2;
	border-color: #fecaca;
	color: #991b1b;
}

.rs-dashboard .alert-success {
	background: #f0fdf4;
	border-color: #bbf7d0;
	color: #166534;
}

/* Footer: slimmer */
.footer {
	background-color: var(--rs-surface-muted) !important;
	border-top: var(--rs-border);
}

.footer .copyright p {
	font-size: 0.8125rem;
	color: var(--rs-text-muted);
}

/* Reduce visual weight of legacy Dexign badges in KPI area */
.rs-kpi-grid .badge {
	font-weight: 600;
	font-size: 0.7rem;
	padding: 0.35em 0.55em;
	vertical-align: middle;
}

/* ------------------------------------------------------------------------- */
/* Small screens — Davur defaults assume desktop sidebar gutter on .content-body */
/* and `[data-sidebar-style="full"]` on body; our pages often omit those attrs. */
/* ------------------------------------------------------------------------- */

@media only screen and (max-width: 1023.98px) {
	#main-wrapper {
		overflow-x: hidden;
		max-width: 100vw;
	}

	#main-wrapper > .header {
		padding-left: 5rem !important;
		padding-right: 0 !important;
		width: 100% !important;
		box-sizing: border-box;
	}

	html[dir="rtl"] #main-wrapper > .header {
		padding-right: 5rem !important;
		padding-left: 0 !important;
	}

	#main-wrapper > .content-body {
		margin-left: 0 !important;
		margin-right: 0 !important;
		width: 100%;
		max-width: 100%;
		box-sizing: border-box;
	}

	html[dir="rtl"] #main-wrapper > .content-body {
		margin-right: 0 !important;
		margin-left: 0 !important;
	}

	#main-wrapper > .footer {
		padding-left: 0 !important;
		padding-right: 0 !important;
		margin-left: 0 !important;
		margin-right: 0 !important;
		width: 100%;
		box-sizing: border-box;
	}

	#main-wrapper .header .header-content {
		padding-left: 0.65rem !important;
		padding-right: 0.65rem !important;
	}

	html[dir="rtl"] #main-wrapper .header .header-content {
		padding-right: 0.65rem !important;
		padding-left: 0.65rem !important;
	}
}

@media only screen and (max-width: 575.98px) {
	#main-wrapper .content-body .container-fluid {
		padding-left: 0.75rem !important;
		padding-right: 0.75rem !important;
	}

	.header .header-info span {
		font-size: 0.78rem;
		max-width: 46vw;
		display: inline-block;
		overflow: hidden;
		text-overflow: ellipsis;
		vertical-align: bottom;
		white-space: nowrap;
	}

	.rs-kpi-grid .rs-stat-card .card-body {
		padding: 1rem 1.1rem;
		min-height: 0;
	}

	.d-flex.flex-wrap.gap-2 .btn-sm {
		min-height: 2.5rem;
	}
}

#main-wrapper .table-responsive {
	-webkit-overflow-scrolling: touch;
	max-width: 100%;
}

/* ------------------------------------------------------------------------- */
/* Cashier POS — warm dark shell (loads with restaurant-admin.css)          */
/* ------------------------------------------------------------------------- */

body.pos-shell {
	--pos-bg-page: #171311;
	--pos-bg-topbar: linear-gradient(90deg, #120f0d 0%, #231c16 100%);
	--pos-border: #40332a;
	--pos-border-ui: #524438;
	--pos-surface-deep: #1e1915;
	--pos-surface-mid: #252019;
	--pos-surface-tab: #2e2620;
	--pos-surface-hover: #3a312a;
	--pos-text: #f5f0eb;
	--pos-muted: #a8988c;
	--pos-accent: #f59e0b;
	--pos-accent-soft: rgba(245, 158, 11, 0.14);
	--pos-danger: #f87171;
	padding-top: 52px;
	min-height: 100vh;
	background: var(--pos-bg-page);
	color: var(--pos-text);
}

body.pos-shell .pos-topbar {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 1030;
	height: 52px;
	background: var(--pos-bg-topbar);
	border-bottom: 1px solid var(--pos-border);
}

body.pos-shell .pos-topbar .navbar-brand {
	font-weight: 700;
	letter-spacing: 0.03em;
	color: var(--pos-accent) !important;
}

body.pos-shell .pos-tabbar {
	position: fixed;
	top: 52px;
	left: 0;
	right: 0;
	z-index: 1029;
	min-height: 42px;
	background: var(--pos-surface-deep);
	border-bottom: 1px solid var(--pos-border);
	padding: 4px 8px 0;
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	gap: 4px;
}

body.pos-shell .pos-tab {
	border: 1px solid var(--pos-border-ui);
	border-bottom: none;
	border-radius: 8px 8px 0 0;
	padding: 6px 12px;
	background: var(--pos-surface-tab);
	color: #d6cfc7;
	font-size: 0.85rem;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	max-width: 200px;
}

body.pos-shell .pos-tab.active {
	background: var(--pos-surface-deep);
	color: var(--pos-accent);
	border-color: var(--pos-accent);
	font-weight: 600;
}

body.pos-shell .pos-tab .pos-tab-x {
	opacity: 0.7;
	font-weight: 700;
	padding: 0 4px;
	border: none;
	background: transparent;
	color: inherit;
	line-height: 1;
}

body.pos-shell .pos-tab .pos-tab-x:hover {
	opacity: 1;
	color: var(--pos-danger);
}

body.pos-shell .pos-body-wrap {
	margin-top: 42px;
}

body.pos-shell .pos-sidebar {
	width: 220px;
	min-width: 220px;
	background: var(--pos-surface-deep);
	border-right: 1px solid var(--pos-border);
	height: calc(100vh - 94px);
	overflow: hidden;
	display: flex;
	flex-direction: column;
}

body.pos-shell .pos-sidebar h6 {
	font-size: 0.7rem;
	letter-spacing: 0.06em;
}

body.pos-shell .pos-sidebar-scroll {
	flex: 1 1 auto;
	min-height: 0;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
}

body.pos-shell .pos-side-item {
	width: 100%;
	text-align: left;
	border: 1px solid var(--pos-border);
	border-radius: 8px;
	padding: 8px 10px;
	margin-bottom: 6px;
	background: var(--pos-surface-mid);
	color: var(--pos-text);
	font-size: 0.82rem;
	cursor: pointer;
	transition: background 0.15s;
}

body.pos-shell .pos-side-item:hover {
	background: var(--pos-surface-hover);
}

body.pos-shell .pos-side-item.active {
	border-color: var(--pos-accent);
	background: var(--pos-accent-soft);
}

body.pos-shell .pos-side-item .small {
	font-size: 0.72rem;
	color: var(--pos-muted);
}

body.pos-shell .pos-main-area {
	flex: 1;
	min-width: 0;
	height: calc(100vh - 94px);
}

body.pos-shell .pos-col {
	height: 100%;
	overflow-y: auto;
	overflow-x: hidden;
}

body.pos-shell .pos-col-left {
	background: var(--pos-surface-deep);
	border-right: 1px solid var(--pos-border);
}

body.pos-shell .pos-col-center {
	background: var(--pos-bg-page);
	border-right: 1px solid var(--pos-border);
}

body.pos-shell .pos-col-right {
	background: var(--pos-surface-mid);
}

body.pos-shell .pos-menu-btn {
	text-align: left;
	white-space: normal;
	font-size: 0.82rem;
	line-height: 1.25;
	border-radius: 10px;
	margin-bottom: 6px;
	border: 1px solid var(--pos-border-ui);
	color: var(--pos-text);
	background: var(--pos-surface-tab);
}

body.pos-shell .pos-menu-btn:hover {
	background: var(--pos-surface-hover);
	color: #fff;
}

body.pos-shell .pos-menu-btn:disabled {
	opacity: 0.45;
}

body.pos-shell .pos-order-card {
	border-radius: 12px;
	border: 1px solid var(--pos-border-ui);
	background: var(--pos-surface-tab);
	margin-bottom: 12px;
}

body.pos-shell .pos-order-card .card-header {
	background: rgba(0, 0, 0, 0.2);
	border-bottom: 1px solid var(--pos-border-ui);
	font-size: 0.9rem;
}

body.pos-shell .pos-total-display {
	font-size: 1.75rem;
	font-weight: 700;
	color: var(--pos-accent);
}

body.pos-shell .pos-badge-paid {
	background: #6d7c1f !important;
}

body.pos-shell .text-pos-muted {
	color: var(--pos-muted);
}

body.pos-shell .pos-target-banner {
	font-size: 0.8rem;
	border-radius: 8px;
	padding: 6px 10px;
	background: var(--pos-surface-tab);
	border: 1px dashed var(--pos-accent);
}

body.pos-shell .pos-activity-feed {
	max-height: 28vh;
	overflow-y: auto;
	font-size: 0.78rem;
}

body.pos-shell .pos-activity-feed .ae {
	border-bottom: 1px solid var(--pos-border);
	padding: 6px 0;
}

body.pos-shell .pos-empty-overlay {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 100%;
	color: var(--pos-muted);
}

body.pos-shell .pos-test-fab {
	position: fixed;
	bottom: 10px;
	left: 10px;
	z-index: 1040;
	font-size: 0.7rem;
	padding: 0.25rem 0.5rem;
	max-width: 42vw;
}

body.pos-shell .pos-test-log {
	position: fixed;
	bottom: 48px;
	left: 10px;
	right: 10px;
	max-width: 520px;
	z-index: 1039;
	max-height: 30vh;
	overflow: auto;
	background: var(--pos-bg-page);
	border: 1px solid var(--pos-accent);
	border-radius: 8px;
	font-size: 0.68rem;
	color: #fcd34d;
}

body.pos-shell .pos-test-log pre {
	margin: 0;
	padding: 8px;
	white-space: pre-wrap;
	word-break: break-word;
	color: #fde68a;
}

/* Cashier POS — mobile layout */
@media only screen and (max-width: 991.98px) {
	body.pos-shell {
		padding-top: 0;
	}

	body.pos-shell .pos-topbar {
		position: sticky;
		top: 0;
		height: auto;
		min-height: 52px;
		z-index: 1030;
	}

	body.pos-shell .pos-tabbar {
		position: sticky;
		top: 0;
		z-index: 1028;
	}

	body.pos-shell .pos-body-wrap {
		margin-top: 0;
		flex-direction: column !important;
		align-items: stretch;
		min-height: auto;
	}

	body.pos-shell .pos-sidebar {
		width: 100% !important;
		min-width: 0 !important;
		height: auto !important;
		max-height: min(38vh, 280px);
		border-right: none !important;
		border-bottom: 1px solid var(--pos-border);
		flex-shrink: 0;
	}

	body.pos-shell .pos-main-area {
		height: auto !important;
		min-height: 50vh;
		flex: 1 1 auto;
	}

	body.pos-shell .pos-col {
		height: auto !important;
		min-height: 0;
	}

	body.pos-shell #posWorkspace .row.h-100 {
		height: auto !important;
		min-height: 0;
	}

	body.pos-shell .pos-total-display {
		font-size: 1.45rem;
	}
}

/* ------------------------------------------------------------------------- */
/* Order detail — page-order.php                                              */
/* ------------------------------------------------------------------------- */

.rs-order-detail {
	max-width: 1320px;
	margin-inline: auto;
}

.rs-order-detail__head {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	justify-content: space-between;
	gap: 1rem 1.5rem;
	margin-bottom: 1.75rem;
}

.rs-order-detail__title {
	font-size: clamp(1.35rem, 2.2vw, 1.75rem);
	font-weight: 700;
	letter-spacing: -0.02em;
	color: var(--rs-ink);
	margin-bottom: 0.5rem;
}

.rs-order-detail__breadcrumb {
	font-size: 0.9rem;
}

.rs-order-detail__breadcrumb a {
	color: var(--primary);
	text-decoration: none;
	font-weight: 500;
}

.rs-order-detail__breadcrumb a:hover {
	text-decoration: underline;
}

.rs-order-detail__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5rem;
}

.rs-order-detail__status-badge {
	font-size: 0.8rem;
	font-weight: 600;
	padding: 0.45em 0.9em;
}

.rs-order-detail__card {
	border-radius: var(--rs-radius) !important;
	overflow: hidden;
}

.rs-order-detail__customer {
	display: flex;
	align-items: center;
	gap: 1rem;
}

.rs-order-detail__avatar {
	width: 3.25rem;
	height: 3.25rem;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 700;
	font-size: 1.1rem;
	color: #fff;
	background: linear-gradient(145deg, var(--primary) 0%, var(--primary-dark) 100%);
	flex-shrink: 0;
}

.rs-order-detail__eyebrow {
	font-size: 0.72rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--rs-text-muted);
	margin: 0;
}

.rs-order-detail__name {
	color: var(--rs-ink);
}

.rs-order-detail__meta dt {
	font-size: 0.75rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: var(--rs-text-muted);
	margin-bottom: 0.25rem;
}

.rs-order-detail__meta dd {
	font-size: 0.95rem;
	color: var(--rs-ink);
	margin: 0;
}

.rs-order-detail__total {
	font-size: 1.65rem;
	font-weight: 700;
	color: var(--primary);
	line-height: 1.2;
}

.rs-order-detail__timeline {
	position: relative;
	padding-inline-start: 0;
}

.rs-order-detail__timeline-item {
	position: relative;
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 0.65rem 1rem;
	padding-bottom: 1.15rem;
}

.rs-order-detail__timeline-item:last-child {
	padding-bottom: 0;
}

.rs-order-detail__timeline-item:not(:last-child)::before {
	content: "";
	position: absolute;
	width: 2px;
	background: rgba(68, 64, 60, 0.15);
	top: 1.45rem;
	bottom: 0.15rem;
	left: 0.36rem;
}

html[dir="rtl"] .rs-order-detail__timeline-item:not(:last-child)::before {
	left: auto;
	right: 0.36rem;
}

.rs-order-detail__timeline-dot {
	width: 0.85rem;
	height: 0.85rem;
	border-radius: 50%;
	margin-top: 0.2rem;
	background: rgba(120, 113, 108, 0.35);
	border: 2px solid var(--rs-surface);
	box-shadow: 0 0 0 2px rgba(194, 65, 12, 0.12);
	flex-shrink: 0;
}

.rs-order-detail__timeline-item.is-done .rs-order-detail__timeline-dot {
	background: var(--primary);
	box-shadow: 0 0 0 2px rgba(194, 65, 12, 0.3);
}

.rs-order-detail__timeline-label {
	font-weight: 600;
	font-size: 0.9rem;
	color: var(--rs-ink);
	margin: 0;
}

.rs-order-detail__timeline-item:not(.is-done) .rs-order-detail__timeline-label {
	color: var(--rs-text-muted);
	font-weight: 500;
}

.rs-order-detail__timeline-time {
	font-size: 0.82rem;
	color: var(--rs-text-muted);
	margin: 0;
}

.rs-order-detail__items thead th {
	font-size: 0.72rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: var(--rs-text-muted) !important;
	border-bottom-width: 1px;
}

.rs-order-detail__items tbody td {
	vertical-align: middle;
	padding-top: 0.9rem;
	padding-bottom: 0.9rem;
}

.rs-order-detail__thumb {
	width: 64px;
	height: 64px;
	object-fit: cover;
	border: 1px solid rgba(68, 64, 60, 0.12);
}

.rs-order-detail .letter-spacing-1 {
	letter-spacing: 0.08em;
}
