.cits-my-account nav.woocommerce-MyAccount-navigation {
	background: #15192b !important;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
	border: 1px solid rgba(255, 255, 255, 0.03);
}

.cits-my-account nav.woocommerce-MyAccount-navigation ul {
	border: none !important;
	background: transparent !important;
	margin: 0 !important;
	padding: 0 !important;
}

.cits-my-account nav.woocommerce-MyAccount-navigation ul li {
	padding: 0 !important;
	margin: 0 !important;
	background: transparent !important;
}

.cits-my-account nav.woocommerce-MyAccount-navigation ul li a {
	border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
	padding: 16px 20px !important;
	background: transparent !important;
	color: #94a3b8 !important;
	font-size: 14px;
	font-weight: 500;
	transition: all 0.3s ease;
	display: flex !important;
	align-items: center !important;
	justify-content: flex-start !important;
	gap: 10px !important;
}

.cits-my-account nav.woocommerce-MyAccount-navigation ul li a:hover {
	background: rgba(255, 255, 255, 0.03) !important;
	color: #fff !important;
	padding-left: 25px !important;
}

.cits-my-account nav.woocommerce-MyAccount-navigation ul li.is-active a {
	background: linear-gradient(120deg, #354060, #262D47) !important;
	color: #FFF !important;
	border-left: 4px solid #3b82f6 !important;
	box-shadow: inset 10px 0 20px rgba(59, 130, 246, 0.1);
}

.woocommerce-MyAccount-content {
	padding: 30px !important;
	box-sizing: border-box;
	background: #1D2238;
	color: #e2e8f0;
	border-radius: 12px;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
	border: 1px solid rgba(255, 255, 255, 0.03);
}

.cits-dashbord-single-item {
	padding: 30px 10px;
	width: 100%;
	text-align: center;
	background: linear-gradient(120deg, #354060, #262D47) !important;
	color: #FFF;
	border-radius: 12px;
	transition: all 0.3s ease;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}

.cits-dashbord-single-item:hover {
	background: linear-gradient(120deg, #262D47, #354060) !important;
	transform: translateY(-5px);
	box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.cits-dashbord-single-item span svg {
	fill: #FFF !important;
	width: 30px;
	height: 30px;
	object-fit: contain;
	margin-bottom: 15px;
}

.cits-dashbord-single-item span .dashicons {
	color: #FFF !important;
	display: block !important;
	font-size: 38px !important;
	width: 38px !important;
	height: 38px !important;
	line-height: 38px !important;
	margin: 0 auto 15px !important;
}

.cits-dashbord-single-item span img {
	filter: brightness(0) invert(1) !important;
	width: 30px;
	height: 30px;
	object-fit: contain;
	margin-bottom: 15px;
}

.cits-dashbord-single-item strong {
	font-size: 14px;
	display: block;
	color: #fff !important;
}

/* Sidebar Dashicons */
.cits-my-account nav.woocommerce-MyAccount-navigation ul li a .dashicons {
	color: #fff !important;
	opacity: 0.8;
}

.cits-my-account nav.woocommerce-MyAccount-navigation ul li a:hover .dashicons,
.cits-my-account nav.woocommerce-MyAccount-navigation ul li.is-active a .dashicons {
	opacity: 1;
}

/* User Avatar Dark Style - Refined */
.cits-user-profile {
	padding: 40px 20px;
	background: #0f172a;
	border-bottom: 1px solid rgba(255, 255, 255, 0.05);
	text-align: center;
}

.cits-user-avatar {
	display: inline-block;
	position: relative;
}

.cits-user-avatar img {
	border: 3px solid #1e293b !important;
	border-radius: 50% !important;
	box-shadow: 0 0 25px rgba(59, 130, 246, 0.3), 0 0 0 5px rgba(59, 130, 246, 0.05);
}

.cits-user-name {
	margin-top: 15px;
}

.cits-user-name strong {
	color: #fff !important;
	font-size: 16px;
	font-weight: 700;
	letter-spacing: -0.01em;
}

.cits-user-name::before {
	content: 'DASHBOARD';
	display: block;
	font-size: 9px;
	font-weight: 600;
	color: #475569;
	letter-spacing: 0.2em;
	margin-bottom: 5px;
}

.woocommerce-MyAccount-content h2 {
	color: #FFF;
	font-weight: 700;
	margin-bottom: 25px;
}

.cits-my-account .woocommerce-Button,
.woocommerce-address-fields .button.wp-element-button {
	background: #3b82f6 !important;
	color: #FFF !important;
	border-radius: 8px;
	padding: 12px 25px !important;
	font-weight: 600;
	border: none;
	margin-top: 25px;
}

.woocommerce-Button:hover {
	background: #2563eb !important;
	box-shadow: 0 0 15px rgba(59, 130, 246, 0.4);
}

.woocommerce-account .addresses .title .edit {
	color: #FFF;
}

/* ==========================================================================
   DARK DESIGN: FORM CONTRAST & 2FA STYLING FIXES
   ========================================================================== */

/* 1. Labels, Titles and Legends */
.cits-my-account .woocommerce-MyAccount-content label,
.cits-my-account .woocommerce-MyAccount-content legend,
.cits-my-account .woocommerce-MyAccount-content h3,
.cits-my-account .woocommerce-MyAccount-content h4,
.cits-my-account .woocommerce-MyAccount-content .macfw-2fa-account h3,
.cits-my-account .woocommerce-MyAccount-content .macfw-passkeys-section h3 {
	color: #f1f5f9 !important;
}

/* 2. Subtexts, descriptions, descriptions and minor notes */
.cits-my-account .woocommerce-MyAccount-content p,
.cits-my-account .woocommerce-MyAccount-content em,
.cits-my-account .woocommerce-MyAccount-content small,
.cits-my-account .woocommerce-MyAccount-content .macfw-2fa-account p,
.cits-my-account .woocommerce-MyAccount-content .macfw-passkeys-section p {
	color: #94a3b8 !important;
}

/* 3. WooCommerce Required Star */
.cits-my-account .woocommerce-MyAccount-content .required {
	color: #ef4444 !important;
}

/* 4. Form inputs (Premium Dark Input styling) */
.cits-my-account .woocommerce-MyAccount-content input[type="text"],
.cits-my-account .woocommerce-MyAccount-content input[type="email"],
.cits-my-account .woocommerce-MyAccount-content input[type="password"],
.cits-my-account .woocommerce-MyAccount-content input[type="tel"],
.cits-my-account .woocommerce-MyAccount-content select,
.cits-my-account .woocommerce-MyAccount-content textarea {
	background: #15192b !important;
	border: 1px solid rgba(255, 255, 255, 0.08) !important;
	color: #f1f5f9 !important;
	border-radius: 8px !important;
}

.cits-my-account .woocommerce-MyAccount-content input[type="text"]:focus,
.cits-my-account .woocommerce-MyAccount-content input[type="email"]:focus,
.cits-my-account .woocommerce-MyAccount-content input[type="password"]:focus,
.cits-my-account .woocommerce-MyAccount-content input[type="tel"]:focus,
.cits-my-account .woocommerce-MyAccount-content select:focus,
.cits-my-account .woocommerce-MyAccount-content textarea:focus {
	border-color: #3b82f6 !important;
	box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.25) !important;
}

/* 5. 2FA Method cards & Passkey registration card */
.cits-my-account .woocommerce-MyAccount-content .macfw-2fa-account #macfw-2fa-methods>div,
.cits-my-account .woocommerce-MyAccount-content .macfw-passkeys-section #macfw-pk-reg-row {
	background: #15192b !important;
	border-color: rgba(255, 255, 255, 0.05) !important;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2) !important;
}

.cits-my-account .woocommerce-MyAccount-content .macfw-2fa-account #macfw-2fa-methods>div:hover,
.cits-my-account .woocommerce-MyAccount-content .macfw-passkeys-section #macfw-pk-reg-row:hover {
	border-color: rgba(255, 255, 255, 0.1) !important;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3) !important;
}

/* 6. 2FA Backup codes card styling */
.cits-my-account .woocommerce-MyAccount-content .macfw-backup-codes-box {
	background: #15192b !important;
	border: 1px solid rgba(255, 255, 255, 0.05) !important;
}

.cits-my-account .woocommerce-MyAccount-content .macfw-backup-codes-box strong {
	color: #f1f5f9 !important;
}

.cits-my-account .woocommerce-MyAccount-content .macfw-backup-codes-box .macfw-backup-codes-desc {
	color: #94a3b8 !important;
}

.cits-my-account .woocommerce-MyAccount-content .macfw-backup-codes-box code,
.cits-my-account .woocommerce-MyAccount-content .macfw-backup-codes-box .macfw-code-item {
	background: #0f172a !important;
	border: 1px solid rgba(255, 255, 255, 0.05) !important;
	color: #38bdf8 !important;
}

/* 7. TOTP code input */
.cits-my-account .woocommerce-MyAccount-content #macfw-totp-confirm-code {
	background: #15192b !important;
	border-color: rgba(255, 255, 255, 0.08) !important;
	color: #f1f5f9 !important;
}

/* 8. 2FA Backup codes Copy/Download Actions */
.cits-my-account .woocommerce-MyAccount-content .macfw-backup-actions-container .button {
	background: #1e293b !important;
	border: 1px solid rgba(255, 255, 255, 0.1) !important;
	color: #f1f5f9 !important;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2) !important;
	text-shadow: none !important;
}

.cits-my-account .woocommerce-MyAccount-content .macfw-backup-actions-container .button:hover {
	background: #334155 !important;
	border-color: rgba(255, 255, 255, 0.2) !important;
	color: #ffffff !important;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3) !important;
}

/* ============================================================
   DARK DESIGN — WooCommerce Button Styles (expanded selectors)
   ============================================================ */
.cits-my-account .woocommerce-MyAccount-content .button,
.cits-my-account .woocommerce-MyAccount-content .woocommerce-Button,
.cits-my-account .woocommerce-MyAccount-content .wp-element-button,
.cits-my-account .woocommerce-MyAccount-content input[type="submit"],
.cits-my-account .woocommerce-MyAccount-content button[type="submit"] {
	background: #3b82f6 !important;
	color: #ffffff !important;
	border: none !important;
	border-radius: 8px !important;
	padding: 11px 24px !important;
	font-size: 14px !important;
	font-weight: 600 !important;
	cursor: pointer !important;
	text-decoration: none !important;
	display: inline-block !important;
	transition: background 0.2s, box-shadow 0.2s !important;
	box-shadow: 0 4px 14px rgba(59, 130, 246, 0.35) !important;
	line-height: 1.5 !important;
}

.cits-my-account .woocommerce-MyAccount-content .button:hover,
.cits-my-account .woocommerce-MyAccount-content .woocommerce-Button:hover,
.cits-my-account .woocommerce-MyAccount-content .wp-element-button:hover,
.cits-my-account .woocommerce-MyAccount-content input[type="submit"]:hover,
.cits-my-account .woocommerce-MyAccount-content button[type="submit"]:hover {
	background: #2563eb !important;
	box-shadow: 0 6px 20px rgba(59, 130, 246, 0.5) !important;
	color: #ffffff !important;
}

/* Nav count badge — dark design (dark nav bg) */
.cits-my-account .macfw-nav-count {
	background: rgba(59, 130, 246, 0.15);
	color: #93c5fd;
}

/* Downloads cards — dark design */
.macfw-downloads-grid--dark_design .macfw-download-card {
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(255, 255, 255, 0.08);
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.macfw-downloads-grid--dark_design .macfw-download-card:hover {
	background: rgba(255, 255, 255, 0.07);
	box-shadow: 0 8px 28px rgba(0, 0, 0, 0.4);
}

.macfw-downloads-grid--dark_design .macfw-download-icon-wrap {
	background: rgba(59, 130, 246, 0.15);
}

.macfw-downloads-grid--dark_design .macfw-download-icon-wrap svg {
	color: #60a5fa;
}

.macfw-downloads-grid--dark_design .macfw-download-product {
	color: #f1f5f9 !important;
}

.macfw-downloads-grid--dark_design .macfw-download-product a {
	color: #93c5fd !important;
}

.macfw-downloads-grid--dark_design .macfw-download-filename {
	color: #64748b !important;
}

.macfw-downloads-grid--dark_design .macfw-download-meta {
	color: #475569;
}

.macfw-downloads-grid--dark_design .macfw-download-btn {
	background: linear-gradient(135deg, #2563eb, #1d4ed8);
	color: #fff !important;
}

.macfw-downloads-grid--dark_design .macfw-download-btn:hover {
	background: linear-gradient(135deg, #1d4ed8, #1e40af);
}

/* Orders cards — dark design */
.macfw-orders-list--dark_design .macfw-order-card {
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(255, 255, 255, 0.08);
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.macfw-orders-list--dark_design .macfw-order-card:hover {
	background: rgba(255, 255, 255, 0.07);
	box-shadow: 0 6px 24px rgba(0, 0, 0, 0.4);
}

.macfw-orders-list--dark_design .macfw-order-num-link {
	color: #f1f5f9 !important;
}

.macfw-orders-list--dark_design .macfw-order-num-link:hover {
	color: #93c5fd !important;
}

.macfw-orders-list--dark_design .macfw-order-hash {
	color: #475569;
}

.macfw-orders-list--dark_design .macfw-order-date,
.macfw-orders-list--dark_design .macfw-order-items {
	color: #64748b;
}

.macfw-orders-list--dark_design .macfw-order-total {
	color: #f1f5f9;
}

.macfw-orders-list--dark_design .macfw-order-card__body {
	border-color: rgba(255, 255, 255, 0.06);
}

.macfw-orders-list--dark_design .macfw-order-action {
	background: rgba(255, 255, 255, 0.06);
	border-color: rgba(255, 255, 255, 0.1);
	color: #94a3b8 !important;
}

.macfw-orders-list--dark_design .macfw-order-action:hover {
	background: rgba(255, 255, 255, 0.1);
	color: #f1f5f9 !important;
}

.macfw-orders-list--dark_design .macfw-order-action--primary {
	background: linear-gradient(135deg, #2563eb, #1d4ed8);
	border-color: transparent;
	color: #fff !important;
}

.macfw-orders-list--dark_design .macfw-order-action--primary:hover {
	background: linear-gradient(135deg, #1d4ed8, #1e40af);
	color: #fff !important;
}

.macfw-orders-list--dark_design .macfw-page-btn {
	background: rgba(255, 255, 255, 0.06);
	border-color: rgba(255, 255, 255, 0.1);
	color: #94a3b8 !important;
}

.macfw-orders-list--dark_design .macfw-page-btn:hover {
	background: rgba(255, 255, 255, 0.1);
	color: #f1f5f9 !important;
}

/* Status overrides for dark bg readability */
.macfw-orders-list--dark_design .macfw-order-status--completed {
	background: rgba(22, 163, 74, 0.15);
	color: #4ade80;
}

.macfw-orders-list--dark_design .macfw-order-status--processing {
	background: rgba(37, 99, 235, 0.15);
	color: #60a5fa;
}

.macfw-orders-list--dark_design .macfw-order-status--pending {
	background: rgba(217, 119, 6, 0.15);
	color: #fbbf24;
}

.macfw-orders-list--dark_design .macfw-order-status--on-hold {
	background: rgba(234, 88, 12, 0.15);
	color: #fb923c;
}

.macfw-orders-list--dark_design .macfw-order-status--cancelled {
	background: rgba(220, 38, 38, 0.15);
	color: #f87171;
}

.macfw-orders-list--dark_design .macfw-order-status--refunded {
	background: rgba(100, 116, 139, 0.15);
	color: #94a3b8;
}

/* Orders table — dark design */
.macfw-orders-table-wrap--dark_design {
	border-color: rgba(255, 255, 255, 0.08);
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.macfw-orders-table-wrap--dark_design .macfw-orders-table thead tr {
	background: rgba(255, 255, 255, 0.04);
	border-color: rgba(255, 255, 255, 0.08);
}

.macfw-orders-table-wrap--dark_design .macfw-orders-table thead th {
	color: #475569;
}

.macfw-orders-table-wrap--dark_design .macfw-orders-table tbody tr {
	border-color: rgba(255, 255, 255, 0.04);
}

.macfw-orders-table-wrap--dark_design .macfw-orders-table tbody tr:hover {
	background: rgba(255, 255, 255, 0.04);
}

.macfw-orders-table-wrap--dark_design .macfw-col-order .macfw-order-num-link {
	color: #f1f5f9 !important;
}

.macfw-orders-table-wrap--dark_design .macfw-col-order .macfw-order-num-link:hover {
	color: #93c5fd !important;
}

.macfw-orders-table-wrap--dark_design .macfw-col-date {
	color: #64748b;
}

.macfw-orders-table-wrap--dark_design .macfw-col-total {
	color: #e2e8f0;
}

.macfw-orders-table-wrap--dark_design .macfw-order-action {
	background: rgba(255, 255, 255, 0.06);
	border-color: rgba(255, 255, 255, 0.1);
	color: #94a3b8 !important;
}

.macfw-orders-table-wrap--dark_design .macfw-order-action:hover {
	background: rgba(255, 255, 255, 0.1);
	color: #f1f5f9 !important;
}

.macfw-orders-table-wrap--dark_design .macfw-order-action--primary {
	background: linear-gradient(135deg, #2563eb, #1d4ed8);
	border-color: transparent;
	color: #fff !important;
}

.macfw-orders-table-wrap--dark_design .macfw-order-action--primary:hover {
	background: linear-gradient(135deg, #1d4ed8, #1e40af);
}

/* View order — dark design */
.macfw-view-order--dark_design .macfw-order-header {
	background: rgba(255, 255, 255, 0.04);
	border-color: rgba(255, 255, 255, 0.08);
}

.macfw-view-order--dark_design .macfw-order-header__number strong {
	color: #f1f5f9;
}

.macfw-view-order--dark_design .macfw-oh-date {
	color: #64748b;
}

.macfw-view-order--dark_design .woocommerce-order-details {
	background: rgba(255, 255, 255, 0.04) !important;
	border-color: rgba(255, 255, 255, 0.08) !important;
}

.macfw-view-order--dark_design .woocommerce-order-details__title {
	color: #f1f5f9 !important;
	border-color: rgba(255, 255, 255, 0.06) !important;
}

.macfw-view-order--dark_design .woocommerce-table--order-details thead th {
	color: #475569 !important;
	border-color: rgba(255, 255, 255, 0.06) !important;
}

.macfw-view-order--dark_design .woocommerce-table--order-details tbody tr {
	border-color: rgba(255, 255, 255, 0.04) !important;
}

.macfw-view-order--dark_design .woocommerce-table--order-details tbody td,
.macfw-view-order--dark_design .woocommerce-table--order-details tbody th {
	color: #cbd5e1;
}

.macfw-view-order--dark_design .woocommerce-table--order-details tfoot tr th,
.macfw-view-order--dark_design .woocommerce-table--order-details tfoot tr td {
	color: #94a3b8;
	border-color: rgba(255, 255, 255, 0.06) !important;
}

.macfw-view-order--dark_design .woocommerce-table--order-details tfoot tr:last-child th,
.macfw-view-order--dark_design .woocommerce-table--order-details tfoot tr:last-child td {
	color: #f1f5f9;
	border-color: rgba(255, 255, 255, 0.1) !important;
}

.macfw-view-order--dark_design .woocommerce-column__title {
	color: #f1f5f9 !important;
}

.macfw-view-order--dark_design .woocommerce-customer-details address {
	background: rgba(255, 255, 255, 0.04);
	border-color: rgba(255, 255, 255, 0.08);
	color: #94a3b8;
}

.macfw-view-order--dark_design .macfw-order-notes {
	background: rgba(255, 255, 255, 0.04);
	border-color: rgba(255, 255, 255, 0.08);
}

.macfw-view-order--dark_design .macfw-section-title {
	color: #f1f5f9 !important;
}

.macfw-view-order--dark_design .macfw-note {
	border-color: rgba(255, 255, 255, 0.05);
}

.macfw-view-order--dark_design .macfw-note__text p {
	color: #94a3b8;
}

/* Status overrides */
.macfw-view-order--dark_design .macfw-order-status--completed,
.macfw-orders-table-wrap--dark_design .macfw-order-status--completed {
	background: rgba(22, 163, 74, 0.15);
	color: #4ade80;
}

.macfw-view-order--dark_design .macfw-order-status--processing,
.macfw-orders-table-wrap--dark_design .macfw-order-status--processing {
	background: rgba(37, 99, 235, 0.15);
	color: #60a5fa;
}

.macfw-view-order--dark_design .macfw-order-status--pending,
.macfw-orders-table-wrap--dark_design .macfw-order-status--pending {
	background: rgba(217, 119, 6, 0.15);
	color: #fbbf24;
}

.macfw-view-order--dark_design .macfw-order-status--cancelled,
.macfw-orders-table-wrap--dark_design .macfw-order-status--cancelled {
	background: rgba(220, 38, 38, 0.15);
	color: #f87171;
}

/* ── Dark theme: orders table + view-order fixes ─────────────── */

/* Orders table */
.macfw-orders-table-wrap--dark_design {
	background: rgba(255, 255, 255, 0.03) !important;
	border: 1px solid rgba(255, 255, 255, 0.07) !important;
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.25) !important;
}

.macfw-orders-table-wrap--dark_design .macfw-orders-table thead tr {
	background: rgba(255, 255, 255, 0.04) !important;
}

.macfw-orders-table-wrap--dark_design .macfw-orders-table thead th {
	color: #475569 !important;
	border-bottom: 1px solid rgba(255, 255, 255, 0.07) !important;
}

.macfw-orders-table-wrap--dark_design .macfw-orders-table tbody tr {
	border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
}

.macfw-orders-table-wrap--dark_design .macfw-orders-table tbody tr:last-child {
	border-bottom: none !important;
}

.macfw-orders-table-wrap--dark_design .macfw-orders-table tbody tr:hover {
	background: rgba(255, 255, 255, 0.04) !important;
}

.macfw-orders-table-wrap--dark_design .macfw-col-order .macfw-order-num-link {
	color: #f1f5f9 !important;
}

.macfw-orders-table-wrap--dark_design .macfw-col-order .macfw-order-num-link:hover {
	color: #93c5fd !important;
}

.macfw-orders-table-wrap--dark_design .macfw-col-date {
	color: #64748b !important;
}

.macfw-orders-table-wrap--dark_design .macfw-col-total {
	color: #cbd5e1 !important;
}

.macfw-orders-table-wrap--dark_design .macfw-order-action {
	background: rgba(255, 255, 255, 0.06) !important;
	border-color: rgba(255, 255, 255, 0.09) !important;
	color: #94a3b8 !important;
}

.macfw-orders-table-wrap--dark_design .macfw-order-action:hover {
	background: rgba(255, 255, 255, 0.1) !important;
	color: #f1f5f9 !important;
}

.macfw-orders-table-wrap--dark_design .macfw-order-action--primary {
	background: #2563eb !important;
	border-color: #2563eb !important;
	color: #fff !important;
}

.macfw-orders-table-wrap--dark_design .macfw-order-action--primary:hover {
	background: #1d4ed8 !important;
}

/* View order: header */
.macfw-view-order--dark_design .macfw-order-header {
	background: rgba(255, 255, 255, 0.04) !important;
	border: 1px solid rgba(255, 255, 255, 0.07) !important;
}

.macfw-view-order--dark_design .macfw-order-header__number span {
	color: #475569 !important;
}

.macfw-view-order--dark_design .macfw-order-header__number strong {
	color: #f1f5f9 !important;
}

.macfw-view-order--dark_design .macfw-oh-date {
	color: #64748b !important;
}

/* View order: order details card */
.macfw-view-order--dark_design .woocommerce-order-details {
	background: rgba(255, 255, 255, 0.04) !important;
	border: 1px solid rgba(255, 255, 255, 0.07) !important;
}

.macfw-view-order--dark_design .woocommerce-order-details__title {
	color: #f1f5f9 !important;
	border-color: rgba(255, 255, 255, 0.07) !important;
}

.macfw-view-order--dark_design .woocommerce-table--order-details thead th {
	color: #475569 !important;
	border-color: rgba(255, 255, 255, 0.07) !important;
}

.macfw-view-order--dark_design .woocommerce-table--order-details tbody tr {
	border-color: rgba(255, 255, 255, 0.05) !important;
}

.macfw-view-order--dark_design .woocommerce-table--order-details tbody tr:last-child {
	border-color: transparent !important;
}

.macfw-view-order--dark_design .woocommerce-table--order-details tbody td,
.macfw-view-order--dark_design .woocommerce-table--order-details tbody th {
	color: #cbd5e1 !important;
}

.macfw-view-order--dark_design .woocommerce-table--order-details tfoot th,
.macfw-view-order--dark_design .woocommerce-table--order-details tfoot td {
	color: #64748b !important;
	border-color: rgba(255, 255, 255, 0.06) !important;
}

.macfw-view-order--dark_design .woocommerce-table--order-details tfoot tr:first-child th,
.macfw-view-order--dark_design .woocommerce-table--order-details tfoot tr:first-child td {
	border-top: 1px solid rgba(255, 255, 255, 0.07) !important;
}

.macfw-view-order--dark_design .woocommerce-table--order-details tfoot tr:last-child th,
.macfw-view-order--dark_design .woocommerce-table--order-details tfoot tr:last-child td {
	color: #f1f5f9 !important;
	border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
}

/* View order: billing address */
.macfw-view-order--dark_design .woocommerce-customer-details address {
	background: rgba(255, 255, 255, 0.04) !important;
	border: 1px solid rgba(255, 255, 255, 0.07) !important;
	color: #94a3b8 !important;
}

.macfw-view-order--dark_design .woocommerce-column__title {
	color: #f1f5f9 !important;
}

.macfw-view-order--dark_design .woocommerce-customer-details--email,
.macfw-view-order--dark_design .woocommerce-customer-details--phone {
	color: #64748b !important;
}

/* Notes */
.macfw-view-order--dark_design .macfw-order-notes {
	background: rgba(255, 255, 255, 0.04) !important;
	border: 1px solid rgba(255, 255, 255, 0.07) !important;
}

.macfw-view-order--dark_design .macfw-section-title {
	color: #f1f5f9 !important;
}

.macfw-view-order--dark_design .macfw-note {
	border-color: rgba(255, 255, 255, 0.05) !important;
}

.macfw-view-order--dark_design .macfw-note__date {
	color: #475569 !important;
}

.macfw-view-order--dark_design .macfw-note__text p {
	color: #94a3b8 !important;
}

/* ── Dark theme: readability improvements ────────────────────── */

/* Column headers PRODUCT / TOTAL — bump from #475569 to readable slate */
.macfw-view-order--dark_design .woocommerce-table--order-details thead th {
	color: #8899b0 !important;
}

/* Product rows body text */
.macfw-view-order--dark_design .woocommerce-table--order-details tbody td,
.macfw-view-order--dark_design .woocommerce-table--order-details tbody th {
	color: #dde4ef !important;
}

/* Subtotal / Total / Payment method labels + values */
.macfw-view-order--dark_design .woocommerce-table--order-details tfoot th,
.macfw-view-order--dark_design .woocommerce-table--dark_design tfoot td {
	color: #a0aec0 !important;
}

.macfw-view-order--dark_design .woocommerce-table--order-details tfoot tr th,
.macfw-view-order--dark_design .woocommerce-table--order-details tfoot tr td {
	color: #a0aec0 !important;
}

/* Final Total row — keep bright */
.macfw-view-order--dark_design .woocommerce-table--order-details tfoot tr:last-child th,
.macfw-view-order--dark_design .woocommerce-table--order-details tfoot tr:last-child td {
	color: #f1f5f9 !important;
}

/* Billing address text */
.macfw-view-order--dark_design .woocommerce-customer-details address {
	color: #c4cfe0 !important;
}

/* Download card filename + meta */
.macfw-downloads-grid--dark_design .macfw-download-filename {
	color: #8899b0 !important;
}

.macfw-downloads-grid--dark_design .macfw-download-meta {
	color: #8899b0 !important;
}

.macfw-downloads-grid--dark_design .macfw-download-product {
	color: #dde4ef !important;
}