.wc-orders-scope{
	background: #f7fafc;
	padding: 12px 8px;
	direction: rtl;
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Tahoma, Arial, sans-serif;
}

.wc-orders-scope *{
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

.wc-orders-scope .wrap{
	max-width: 1100px;
	margin: 0 auto;
}

.wc-orders-scope .head{
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 12px;
	gap: 10px;
	padding: 0 4px;
}

.wc-orders-scope .head h2{
	font-size: 20px;
	font-weight: 700;
	color: #2d3748;
}

.wc-orders-scope .filter-toggle{
	height: 36px;
	border-radius: 8px;
	padding: 0 14px;
	font-weight: 600;
	font-size: 13px;
	border: 1px solid #8B0E0E;
	background: #8B0E0E;
	color: #fff;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	cursor: pointer;
	transition: all .2s ease;
}

.wc-orders-scope .filter-toggle:hover{
	background: #a83232;
	border-color: #a83232;
}

.wc-orders-scope .filter-toggle svg{
	width: 16px;
	height: 16px;
}

.wc-orders-scope .filter-badge{
	min-width: 18px;
	height: 18px;
	border-radius: 9px;
	background: #fff;
	color: #8B0E0E;
	font-size: 11px;
	font-weight: 700;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0 5px;
}

.wc-orders-scope .filter-modal{
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	display: flex;
	opacity: 0;
	pointer-events: none;
	align-items: center;
	justify-content: center;
	z-index: 99999;
	transition: opacity .25s ease;
	padding: 16px;
}

.wc-orders-scope .filter-modal.show{
	opacity: 1;
	pointer-events: auto;
}

.wc-orders-scope .filter-overlay{
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0,0,0,.4);
	backdrop-filter: blur(4px);
	z-index: -1;
}

.wc-orders-scope .filter-content{
	background: #ffffff;
	border-radius: 12px;
	box-shadow: 0 8px 24px rgba(0,0,0,.15);
	max-width: 550px;
	width: 100%;
	max-height: 85vh;
	overflow-y: auto;
	transform: scale(0.95);
	transition: transform .25s ease;
}

.wc-orders-scope .filter-modal.show .filter-content{
	transform: scale(1);
}

.wc-orders-scope .filter-header{
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 14px 16px;
	border-bottom: 1px solid #e2e8f0;
	position: sticky;
	top: 0;
	background: #ffffff;
	z-index: 10;
	border-radius: 12px 12px 0 0;
}

.wc-orders-scope .filter-header h3{
	font-size: 16px;
	font-weight: 700;
	color: #2d3748;
}

.wc-orders-scope .close-filter{
	width: 30px;
	height: 30px;
	border-radius: 50%;
	border: none;
	background: #f5f5f5;
	color: #718096;
	font-size: 22px;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all .2s ease;
	line-height: 1;
}

.wc-orders-scope .close-filter:hover{
	background: #fee;
	color: #8B0E0E;
}

.wc-orders-scope .filter-body{
	padding: 16px;
}

.wc-orders-scope .filter-body form{
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
}

.wc-orders-scope .f{
	display: flex;
	flex-direction: column;
	gap: 5px;
}

.wc-orders-scope .f.full{
	grid-column: 1 / -1;
}

.wc-orders-scope .f label{
	font-size: 12px;
	font-weight: 600;
	color: #2d3748;
}

.wc-orders-scope .f input,
.wc-orders-scope .f select{
	height: 40px;
	border-radius: 8px;
	border: 1px solid #e2e8f0;
	background: #fafafa;
	padding: 0 12px;
	font-size: 13px;
	color: #2d3748;
	outline: none;
	width: 100%;
	transition: all .2s ease;
}

.wc-orders-scope .f input:focus,
.wc-orders-scope .f select:focus{
	border-color: #8B0E0E;
	background: #fff;
}

.wc-orders-scope .actions{
	display: flex;
	gap: 8px;
	grid-column: 1 / -1;
	margin-top: 4px;
}

.wc-orders-scope .btn{
	height: 40px;
	border-radius: 8px;
	padding: 0 18px;
	font-weight: 600;
	font-size: 13px;
	border: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	text-decoration: none;
	cursor: pointer;
	transition: all .2s ease;
	flex: 1;
	gap: 6px;
}

.wc-orders-scope .btn-primary{
	background: #8B0E0E;
	color: #fff;
}

.wc-orders-scope .btn-primary:hover{
	background: #a83232;
}

.wc-orders-scope .btn-ghost{
	background: #f5f5f5;
	color: #2d3748;
	border: 1px solid #e2e8f0;
}

.wc-orders-scope .btn-ghost:hover{
	background: #eee;
}

.wc-orders-scope .list{
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.wc-orders-scope .card{
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 10px;
	overflow: hidden;
	transition: all .2s ease;
}

.wc-orders-scope .card:hover{
	box-shadow: 0 2px 8px rgba(0,0,0,.08);
	border-color: #cbd5e0;
}

.wc-orders-scope .top{
	padding: 12px 14px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	border-bottom: 1px solid #f7fafc;
}

.wc-orders-scope .id{
	display: flex;
	flex-direction: column;
	gap: 5px;
	min-width: 0;
	flex: 1;
}

.wc-orders-scope .order-number{
	display: flex;
	align-items: center;
	gap: 8px;
}

.wc-orders-scope .bag-icon{
	width: 20px;
	height: 20px;
	color: #718096;
	flex-shrink: 0;
}

.wc-orders-scope .id a{
	color: #2d3748;
	text-decoration: none;
	font-weight: 700;
	font-size: 15px;
	transition: color .2s ease;
}

.wc-orders-scope .id a:hover{
	color: #8B0E0E;
}

.wc-orders-scope .sub{
	color: #718096;
	font-size: 12px;
	padding-right: 28px;
}

.wc-orders-scope .pill{
	display: inline-flex;
	align-items: center;
	padding: 6px 12px;
	border-radius: 6px;
	font-weight: 600;
	font-size: 11px;
	white-space: nowrap;
	flex-shrink: 0;
}

.wc-orders-scope .pill.wc-completed{ 
	background: #d1fae5;
	color: #065f46;
}

.wc-orders-scope .pill.wc-processing{ 
	background: #dbeafe;
	color: #1e40af;
}

.wc-orders-scope .pill.wc-on-hold{ 
	background: #fed7aa;
	color: #92400e;
}

.wc-orders-scope .pill.wc-cancelled,
.wc-orders-scope .pill.wc-failed{ 
	background: #fecaca;
	color: #991b1b;
}

.wc-orders-scope .pill.wc-pending{ 
	background: #f1f5f9;
	color: #475569;
}

.wc-orders-scope .pill.wc-refunded{ 
	background: #f3e8ff;
	color: #6b21a8;
}

.wc-orders-scope .mid{
	padding: 12px 14px;
	background: #fafafa;
	display: flex;
	align-items: center;
	gap: 20px;
}

.wc-orders-scope .mid-item{
	display: flex;
	align-items: center;
	gap: 6px;
}

.wc-orders-scope .mid-label{
	font-size: 12px;
	font-weight: 600;
	color: #718096;
}

.wc-orders-scope .mid-value{
	font-size: 14px;
	font-weight: 700;
	color: #2d3748;
}

.wc-orders-scope .card-actions{
	padding: 10px 14px;
	border-top: 1px solid #f7fafc;
	display: flex;
	gap: 8px;
	justify-content: space-between;
	align-items: center;
}

.wc-orders-scope .card-actions .btn{
	flex: initial;
	height: 34px;
	font-size: 12px;
	padding: 0 14px;
}

.wc-orders-scope .order-price{
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-weight: 700;
	font-size: 15px;
	color: #2d3748;
}

.wc-orders-scope .eye-icon,
.wc-orders-scope .money-icon{
	width: 14px;
	height: 14px;
	flex-shrink: 0;
}

.wc-orders-scope .money-icon{
	color: #8B0E0E;
}

.wc-orders-scope .pagination{
	margin: 16px 0 8px;
	display: flex;
	justify-content: center;
	gap: 6px;
}

.wc-orders-scope .page{
	min-width: 36px;
	height: 36px;
	border-radius: 8px;
	border: 1px solid #e2e8f0;
	background: #ffffff;
	color: #2d3748;
	font-weight: 600;
	font-size: 13px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	text-decoration: none;
	transition: all .2s ease;
	padding: 0 10px;
}

.wc-orders-scope .page:hover{
	background: #f7fafc;
	border-color: #a0aec0;
}

.wc-orders-scope .page.active{
	background: #8B0E0E;
	color: #fff;
	border-color: #8B0E0E;
}

.wc-orders-scope .dots{
	display: inline-flex;
	align-items: center;
	padding: 0 6px;
	color: #718096;
	font-weight: 700;
}

.wc-orders-scope .empty{
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 10px;
	padding: 40px 20px;
	text-align: center;
}

.wc-orders-scope .empty h3{
	margin-bottom: 8px;
	font-weight: 700;
	font-size: 18px;
	color: #2d3748;
}

.wc-orders-scope .empty p{
	margin-bottom: 20px;
	color: #718096;
	font-size: 14px;
}

@media (max-width: 768px){
	.wc-orders-scope{
		padding: 8px 6px;
	}

	.wc-orders-scope .head{
		margin-bottom: 10px;
		padding: 0 2px;
	}

	.wc-orders-scope .head h2{
		font-size: 18px;
	}

	.wc-orders-scope .filter-toggle{
		height: 34px;
		padding: 0 12px;
		font-size: 12px;
		gap: 5px;
	}

	.wc-orders-scope .filter-modal{
		padding: 12px;
	}

	.wc-orders-scope .filter-content{
		max-width: 95%;
		max-height: 80vh;
	}

	.wc-orders-scope .filter-body{
		padding: 14px;
	}

	.wc-orders-scope .filter-body form{
		grid-template-columns: 1fr;
		gap: 10px;
	}

	.wc-orders-scope .actions{
		flex-direction: row;
		gap: 8px;
	}

	.wc-orders-scope .card{
		border-radius: 8px;
	}

	.wc-orders-scope .top{
		padding: 10px 12px;
		flex-direction: row;
		align-items: center;
	}

	.wc-orders-scope .id{
		width: auto;
		flex: 1;
	}

	.wc-orders-scope .bag-icon{
		width: 18px;
		height: 18px;
	}

	.wc-orders-scope .id a{
		font-size: 14px;
	}

	.wc-orders-scope .sub{
		font-size: 11px;
		padding-right: 26px;
	}

	.wc-orders-scope .pill{
		padding: 5px 10px;
		font-size: 10px;
	}

	.wc-orders-scope .mid{
		padding: 10px 12px;
		gap: 15px;
	}

	.wc-orders-scope .mid-label{
		font-size: 11px;
	}

	.wc-orders-scope .mid-value{
		font-size: 13px;
	}

	.wc-orders-scope .card-actions{
		padding: 8px 12px;
	}

	.wc-orders-scope .card-actions .btn{
		height: 38px;
		font-size: 13px;
	}

	.wc-orders-scope .order-price{
		font-size: 16px;
	}

	.wc-orders-scope .eye-icon,
	.wc-orders-scope .money-icon{
		width: 16px;
		height: 16px;
	}

	.wc-orders-scope .list{
		gap: 8px;
	}

	.wc-orders-scope .pagination{
		margin: 12px 0 6px;
		gap: 5px;
	}

	.wc-orders-scope .page{
		min-width: 32px;
		height: 32px;
		font-size: 12px;
	}
}

@media (max-width: 380px){
	.wc-orders-scope .head h2{
		font-size: 16px;
	}

	.wc-orders-scope .filter-toggle{
		height: 32px;
		padding: 0 10px;
		font-size: 11px;
	}

	.wc-orders-scope .bag-icon{
		width: 16px;
		height: 16px;
	}

	.wc-orders-scope .id a{
		font-size: 13px;
	}

	.wc-orders-scope .pill{
		padding: 4px 8px;
		font-size: 9px;
	}

	.wc-orders-scope .sub{
		font-size: 10px;
	}

	.wc-orders-scope .mid{
		gap: 12px;
		flex-wrap: wrap;
	}
}


/* ============================================================
   DARK MODE - ORDERS & ORDER DETAILS
   ============================================================ */
[data-theme="dark"] .wc-orders-scope,
body.dark-mode.woocommerce-account,
body.dark-mode .wc-orders-scope {
    background: #0b0f19 !important;
    color: #f8fafc !important;
}

[data-theme="dark"] .wc-orders-scope .card,
[data-theme="dark"] .wc-orders-scope .filter-bar,
[data-theme="dark"] body.woocommerce-account .wo-card,
[data-theme="dark"] .compact-order-details,
body.dark-mode .wc-orders-scope .card,
body.dark-mode .wc-orders-scope .filter-bar,
body.dark-mode body.woocommerce-account .wo-card,
body.dark-mode .compact-order-details {
    background: #161f30 !important;
    border: 1px solid #273549 !important;
    color: #f8fafc !important;
}

[data-theme="dark"] .wc-orders-scope input,
[data-theme="dark"] .wc-orders-scope select,
body.dark-mode .wc-orders-scope input,
body.dark-mode .wc-orders-scope select {
    background: #0d1424 !important;
    border: 1px solid #273549 !important;
    color: #f8fafc !important;
}

[data-theme="dark"] .compact-order-details .main-section,
[data-theme="dark"] .compact-order-details .section-title,
body.dark-mode .compact-order-details .main-section,
body.dark-mode .compact-order-details .section-title {
    background: #161f30 !important;
    border-color: #273549 !important;
    color: #f8fafc !important;
}

[data-theme="dark"] .dlm-card,
[data-theme="dark"] .dlm-key-item,
[data-theme="dark"] .lmfwc-key,
body.dark-mode .dlm-card,
body.dark-mode .dlm-key-item,
body.dark-mode .lmfwc-key {
    background: #0d1424 !important;
    border: 1px solid #273549 !important;
    color: #38bdf8 !important;
}


/* ==========================================================================
   Mezo Orders ("طلباتي") Dedicated Dark Mode Styles
   ========================================================================== */
html[data-theme="dark"] body.woocommerce-account,
body.dark-mode.woocommerce-account,
html[data-theme="dark"] .woocommerce-account .woocommerce,
body.dark-mode .woocommerce-account .woocommerce,
html[data-theme="dark"] .woocommerce-account .woocommerce-MyAccount-content,
body.dark-mode .woocommerce-account .woocommerce-MyAccount-content,
html[data-theme="dark"] .wc-orders-scope,
body.dark-mode .wc-orders-scope {
    background: #0b0f19 !important;
    color: #f8fafc !important;
}

/* Head & Title */
html[data-theme="dark"] .wc-orders-scope .head h2,
body.dark-mode .wc-orders-scope .head h2 {
    color: #f8fafc !important;
}

html[data-theme="dark"] .wc-orders-scope .filter-toggle,
body.dark-mode .wc-orders-scope .filter-toggle {
    background: #8B0E0E !important;
    border-color: #8B0E0E !important;
    color: #ffffff !important;
}

html[data-theme="dark"] .wc-orders-scope .filter-toggle:hover,
body.dark-mode .wc-orders-scope .filter-toggle:hover {
    background: #ff5722 !important;
    border-color: #ff5722 !important;
}

html[data-theme="dark"] .wc-orders-scope .filter-badge,
body.dark-mode .wc-orders-scope .filter-badge {
    background: #ff5722 !important;
    color: #ffffff !important;
}

/* Filter Modal */
html[data-theme="dark"] .wc-orders-scope .filter-overlay,
body.dark-mode .wc-orders-scope .filter-overlay {
    background: rgba(0, 0, 0, 0.75) !important;
}

html[data-theme="dark"] .wc-orders-scope .filter-content,
body.dark-mode .wc-orders-scope .filter-content {
    background: #1e293b !important;
    border: 1px solid #334155 !important;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6) !important;
    color: #f8fafc !important;
}

html[data-theme="dark"] .wc-orders-scope .filter-header,
body.dark-mode .wc-orders-scope .filter-header {
    background: #1e293b !important;
    border-bottom: 1px solid #334155 !important;
}

html[data-theme="dark"] .wc-orders-scope .filter-header h3,
body.dark-mode .wc-orders-scope .filter-header h3 {
    color: #f8fafc !important;
}

html[data-theme="dark"] .wc-orders-scope .close-filter,
body.dark-mode .wc-orders-scope .close-filter {
    background: #0f172a !important;
    border: 1px solid #334155 !important;
    color: #cbd5e1 !important;
}

html[data-theme="dark"] .wc-orders-scope .close-filter:hover,
body.dark-mode .wc-orders-scope .close-filter:hover {
    background: rgba(220, 38, 38, 0.25) !important;
    color: #f87171 !important;
}

html[data-theme="dark"] .wc-orders-scope .f label,
body.dark-mode .wc-orders-scope .f label {
    color: #cbd5e1 !important;
}

html[data-theme="dark"] .wc-orders-scope .f input,
html[data-theme="dark"] .wc-orders-scope .f select,
body.dark-mode .wc-orders-scope .f input,
body.dark-mode .wc-orders-scope .f select {
    background: #0f172a !important;
    border: 1px solid #334155 !important;
    color: #f8fafc !important;
}

html[data-theme="dark"] .wc-orders-scope .f input:focus,
html[data-theme="dark"] .wc-orders-scope .f select:focus,
body.dark-mode .wc-orders-scope .f input:focus,
body.dark-mode .wc-orders-scope .f select:focus {
    border-color: #ff5722 !important;
    background: #0b0f19 !important;
    box-shadow: 0 0 0 3px rgba(255, 87, 34, 0.2) !important;
}

html[data-theme="dark"] .wc-orders-scope .btn-ghost,
body.dark-mode .wc-orders-scope .btn-ghost {
    background: #0f172a !important;
    border: 1px solid #334155 !important;
    color: #cbd5e1 !important;
}

html[data-theme="dark"] .wc-orders-scope .btn-ghost:hover,
body.dark-mode .wc-orders-scope .btn-ghost:hover {
    background: #1e293b !important;
    border-color: #475569 !important;
    color: #ffffff !important;
}

/* Order Cards */
html[data-theme="dark"] .wc-orders-scope .card,
body.dark-mode .wc-orders-scope .card {
    background: #1e293b !important;
    border: 1px solid #334155 !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3) !important;
}

html[data-theme="dark"] .wc-orders-scope .card:hover,
body.dark-mode .wc-orders-scope .card:hover {
    border-color: #ff5722 !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45) !important;
}

html[data-theme="dark"] .wc-orders-scope .top,
body.dark-mode .wc-orders-scope .top {
    background: transparent !important;
    border-bottom: 1px solid #334155 !important;
}

html[data-theme="dark"] .wc-orders-scope .bag-icon,
body.dark-mode .wc-orders-scope .bag-icon {
    color: #94a3b8 !important;
}

html[data-theme="dark"] .wc-orders-scope .id a,
body.dark-mode .wc-orders-scope .id a {
    color: #f8fafc !important;
}

html[data-theme="dark"] .wc-orders-scope .id a:hover,
body.dark-mode .wc-orders-scope .id a:hover {
    color: #ff5722 !important;
}

html[data-theme="dark"] .wc-orders-scope .sub,
body.dark-mode .wc-orders-scope .sub {
    color: #94a3b8 !important;
}

/* Status Pills */
html[data-theme="dark"] .wc-orders-scope .pill.wc-completed,
body.dark-mode .wc-orders-scope .pill.wc-completed { 
    background: rgba(16, 185, 129, 0.2) !important;
    border: 1px solid rgba(16, 185, 129, 0.35) !important;
    color: #34d399 !important;
}

html[data-theme="dark"] .wc-orders-scope .pill.wc-processing,
body.dark-mode .wc-orders-scope .pill.wc-processing { 
    background: rgba(59, 130, 246, 0.2) !important;
    border: 1px solid rgba(59, 130, 246, 0.35) !important;
    color: #60a5fa !important;
}

html[data-theme="dark"] .wc-orders-scope .pill.wc-on-hold,
body.dark-mode .wc-orders-scope .pill.wc-on-hold { 
    background: rgba(245, 158, 11, 0.2) !important;
    border: 1px solid rgba(245, 158, 11, 0.35) !important;
    color: #fbbf24 !important;
}

html[data-theme="dark"] .wc-orders-scope .pill.wc-cancelled,
html[data-theme="dark"] .wc-orders-scope .pill.wc-failed,
body.dark-mode .wc-orders-scope .pill.wc-cancelled,
body.dark-mode .wc-orders-scope .pill.wc-failed { 
    background: rgba(239, 68, 68, 0.2) !important;
    border: 1px solid rgba(239, 68, 68, 0.35) !important;
    color: #f87171 !important;
}

html[data-theme="dark"] .wc-orders-scope .pill.wc-pending,
body.dark-mode .wc-orders-scope .pill.wc-pending { 
    background: rgba(148, 163, 184, 0.2) !important;
    border: 1px solid rgba(148, 163, 184, 0.35) !important;
    color: #cbd5e1 !important;
}

html[data-theme="dark"] .wc-orders-scope .pill.wc-refunded,
body.dark-mode .wc-orders-scope .pill.wc-refunded { 
    background: rgba(168, 85, 247, 0.2) !important;
    border: 1px solid rgba(168, 85, 247, 0.35) !important;
    color: #c084fc !important;
}

/* Card Mid Details */
html[data-theme="dark"] .wc-orders-scope .mid,
body.dark-mode .wc-orders-scope .mid {
    background: #0f172a !important;
    border-bottom: 1px solid #334155 !important;
}

html[data-theme="dark"] .wc-orders-scope .mid-label,
body.dark-mode .wc-orders-scope .mid-label {
    color: #94a3b8 !important;
}

html[data-theme="dark"] .wc-orders-scope .mid-value,
body.dark-mode .wc-orders-scope .mid-value {
    color: #f8fafc !important;
}

/* Card Bottom Actions */
html[data-theme="dark"] .wc-orders-scope .card-actions,
body.dark-mode .wc-orders-scope .card-actions {
    background: #1e293b !important;
    border-top: 1px solid #334155 !important;
}

html[data-theme="dark"] .wc-orders-scope .order-price,
html[data-theme="dark"] .wc-orders-scope .order-price span,
html[data-theme="dark"] .wc-orders-scope .order-price bdi,
body.dark-mode .wc-orders-scope .order-price,
body.dark-mode .wc-orders-scope .order-price span,
body.dark-mode .wc-orders-scope .order-price bdi {
    color: #ff6b6b !important;
    font-weight: 800 !important;
}

html[data-theme="dark"] .wc-orders-scope .money-icon,
body.dark-mode .wc-orders-scope .money-icon {
    color: #ff6b6b !important;
}

html[data-theme="dark"] .wc-orders-scope .card-actions .btn-primary,
body.dark-mode .wc-orders-scope .card-actions .btn-primary {
    background: #8B0E0E !important;
    border: none !important;
    color: #ffffff !important;
}

html[data-theme="dark"] .wc-orders-scope .card-actions .btn-primary:hover,
body.dark-mode .wc-orders-scope .card-actions .btn-primary:hover {
    background: #ff5722 !important;
}

/* Pagination */
html[data-theme="dark"] .wc-orders-scope .page,
body.dark-mode .wc-orders-scope .page {
    background: #0f172a !important;
    border: 1px solid #334155 !important;
    color: #cbd5e1 !important;
}

html[data-theme="dark"] .wc-orders-scope .page:hover,
body.dark-mode .wc-orders-scope .page:hover {
    background: #1e293b !important;
    border-color: #ff5722 !important;
    color: #ffffff !important;
}

html[data-theme="dark"] .wc-orders-scope .page.active,
body.dark-mode .wc-orders-scope .page.active {
    background: #ff5722 !important;
    border-color: #ff5722 !important;
    color: #ffffff !important;
}

html[data-theme="dark"] .wc-orders-scope .dots,
body.dark-mode .wc-orders-scope .dots {
    color: #64748b !important;
}

/* Empty State */
html[data-theme="dark"] .wc-orders-scope .empty,
body.dark-mode .wc-orders-scope .empty {
    background: #1e293b !important;
    border: 1px solid #334155 !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3) !important;
}

html[data-theme="dark"] .wc-orders-scope .empty h3,
body.dark-mode .wc-orders-scope .empty h3 {
    color: #f8fafc !important;
}

html[data-theme="dark"] .wc-orders-scope .empty p,
body.dark-mode .wc-orders-scope .empty p {
    color: #94a3b8 !important;
}



/* ==========================================================================
   إخفاء إشعار تأكيد البريد الإلكتروني للطلبات السابقة
   ========================================================================== */
.woocommerce-info:has(a[href*="wc_send_verification"]),
.woocommerce-message:has(a[href*="wc_send_verification"]),
div:has(> a[href*="wc_send_verification"]),
div[role="status"]:has(a[href*="wc_send_verification"]),
a[href*="wc_send_verification"] {
    display: none !important;
}

/* ==========================================================================
   Mobile Bottom Navigation Bar (mnav__wrap) Dark Mode
   ========================================================================== */
html[data-theme="dark"] .mnav,
body.dark-mode .mnav {
    background: transparent !important;
    border: none !important;
}

html[data-theme="dark"] .mnav__wrap,
body.dark-mode .mnav__wrap {
    background: rgba(15, 23, 42, 0.90) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    backdrop-filter: blur(24px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(24px) saturate(180%) !important;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.05) !important;
}

html[data-theme="dark"] .mnav__wrap:before,
body.dark-mode .mnav__wrap:before {
    background: rgba(15, 23, 42, 0.92) !important;
}

html[data-theme="dark"] .mnav__item,
body.dark-mode .mnav__item {
    color: #94a3b8 !important;
}

html[data-theme="dark"] .mnav__item:hover,
body.dark-mode .mnav__item:hover {
    color: #ff5722 !important;
}

html[data-theme="dark"] .mnav__item:hover .mnav__ico,
body.dark-mode .mnav__item:hover .mnav__ico {
    background: rgba(255, 87, 34, 0.12) !important;
}

html[data-theme="dark"] .mnav__item.is-active,
body.dark-mode .mnav__item.is-active {
    color: #ff5722 !important;
}

html[data-theme="dark"] .mnav__item.is-active .mnav__ico,
body.dark-mode .mnav__item.is-active .mnav__ico {
    background: linear-gradient(135deg, rgba(255, 87, 34, 0.25), rgba(255, 87, 34, 0.10)) !important;
    box-shadow: 0 8px 20px rgba(255, 87, 34, 0.25) !important;
}

html[data-theme="dark"] .mnav__item.is-active:after,
body.dark-mode .mnav__item.is-active:after {
    background: #ff5722 !important;
    box-shadow: 0 0 10px rgba(255, 87, 34, 0.5) !important;
}

