/**
 * Customer Dashboard Widget Styles
 * Unified styles for tabbed invoices and orders interface
 */

/* Custom Font Declarations */
@font-face {
	font-family: 'NewRailAlphabet';
	src: url('https://malmsteypa.pineapple.is/wp-content/uploads/2025/08/NewRailAlphabet-BoldWEB.woff2') format('woff2');
	font-weight: 700;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'NewRailAlphabet';
	src: url('https://malmsteypa.pineapple.is/wp-content/uploads/2025/08/NewRailAlphabet2021-LightWEB.woff2') format('woff2');
	font-weight: 300;
	font-style: normal;
	font-display: swap;
}

/* ==============================
   DASHBOARD CONTAINER
   ============================== */
.bcc-customer-dashboard {
	width: 100% !important;
	max-width: none !important;
	margin: 0;
	padding: 0;
	background: transparent;
	font-family: 'NewRailAlphabet', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
	box-sizing: border-box;
}

.bcc-customer-dashboard *,
.bcc-customer-dashboard *::before,
.bcc-customer-dashboard *::after {
	box-sizing: border-box;
}

/* ==============================
   CUSTOMER SELECTOR
   ============================== */
.bcc-customer-selector-section {
	margin-bottom: 30px;
	display: flex;
	align-items: center;
	justify-content: flex-start;
	gap: 16px;
	flex-wrap: wrap;
}

.bcc-customer-select {
	min-width: 300px;
	flex: 1;
	max-width: 500px;
	padding: 12px 16px;
	border: 2px solid #a2b7bf;
	border-radius: 8px;
	font-size: 16px;
	background-color: #FFFFFF;
	color: #30261c;
	transition: all 0.2s ease;
	appearance: none;
	background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2330261c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
	background-repeat: no-repeat;
	background-position: right 12px center;
	background-size: 20px;
	padding-right: 48px;
	font-family: inherit;
}

.bcc-customer-select:focus {
	outline: none;
	border-color: #e65500;
	box-shadow: 0 0 0 3px rgba(230, 85, 0, 0.1);
}

/* ==============================
   TAB NAVIGATION
   ============================== */
.bcc-tabs-nav {
	display: flex;
	gap: 8px;
	margin-bottom: 24px;
	padding: 4px;
	background: #f5f5f5;
	border-radius: 10px;
	width: fit-content;
}

.bcc-tab-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 10px 20px;
	background: transparent;
	border: 1px solid transparent;
	border-radius: 6px;
	font-size: 14px;
	font-weight: 500;
	color: #30261c;
	cursor: pointer;
	transition: all 0.2s ease;
	font-family: inherit;
	white-space: nowrap;
}

.bcc-tab-btn:hover {
	background: rgba(162, 183, 191, 0.1);
	color: #30261c;
}

.bcc-tab-btn:focus {
	outline: none;
}

.bcc-tab-btn:focus-visible {
	outline: 2px solid #e65500;
	outline-offset: 2px;
}

.bcc-tab-btn.active {
	background: #FFFFFF;
	color: #e65500;
	font-weight: 600;
	border-color: rgba(162, 183, 191, 0.3);
}

/* ==============================
   TAB CONTENT
   ============================== */
.bcc-tab-content {
	display: none;
	width: 100%;
}

.bcc-tab-content.active {
	display: block;
}

/* ==============================
   TABLE CONTAINER (Shared) - Clean Design
   ============================== */
.bcc-table-container {
	width: 100% !important;
	background: transparent;
	overflow: visible;
	border: none;
	border-radius: 0;
	box-sizing: border-box;
}

/* ==============================
   TABLE HEADER (Shared)
   ============================== */
.bcc-table-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 16px 4px;
	background: transparent;
	border-bottom: none !important;
	margin: 0 0 8px 0;
	box-shadow: none !important;
}

.bcc-table-title {
	font-size: 18px;
	font-weight: 600;
	color: #e65500 !important;
	margin: 0;
	font-family: 'NewRailAlphabet', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.bcc-search-container {
	display: flex;
	align-items: center;
	gap: 12px;
}

.bcc-search-input {
	padding: 10px 12px 10px 40px !important;
	border: 1px solid #a2b7bf !important;
	border-radius: 8px !important;
	font-size: 14px !important;
	width: 280px !important;
	background-color: #FFFFFF !important;
	color: #30261c !important;
	background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a2b7bf' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3ccircle cx='11' cy='11' r='8'%3e%3c/circle%3e%3cpath d='m21 21-4.35-4.35'%3e%3c/path%3e%3c/svg%3e") !important;
	background-repeat: no-repeat !important;
	background-position: 12px center !important;
	background-size: 16px !important;
	transition: all 0.2s ease !important;
	box-sizing: border-box !important;
	font-family: inherit;
}

.bcc-search-input:focus {
	outline: none;
	border-color: #e65500 !important;
	box-shadow: 0 0 0 3px rgba(230, 85, 0, 0.1);
}

/* ==============================
   DATA TABLE (Shared) - Clean Minimal Design
   ============================== */
.bcc-data-table {
	width: 100% !important;
	border-collapse: separate;
	border-spacing: 0 4px;
	font-size: 14px;
	background: transparent;
	font-family: 'NewRailAlphabet', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.bcc-data-table thead {
	background: transparent;
}

.bcc-data-table th {
	padding: 12px 20px;
	text-align: left;
	font-weight: 600;
	color: #30261c;
	font-size: 14px;
	text-transform: none;
	letter-spacing: 0;
	cursor: pointer;
	transition: color 0.2s ease;
	position: relative;
	user-select: none;
	font-family: inherit;
	border: none;
	background: transparent;
}

.bcc-data-table th:hover {
	color: #30261c;
}

.bcc-data-table th.sortable::after {
	content: "⇅";
	margin-left: 6px;
	color: #30261c;
	font-size: 11px;
	opacity: 0.5;
}

.bcc-data-table th.sort-asc::after {
	content: "↑";
	color: #e65500;
	opacity: 1;
}

.bcc-data-table th.sort-desc::after {
	content: "↓";
	color: #e65500;
	opacity: 1;
}

/* Alternating row backgrounds - defaults (Elementor controls override these) */
.bcc-data-table tbody tr {
	transition: background-color 0.2s ease;
}

.bcc-data-table tbody tr:nth-child(odd) {
	background-color: rgba(162, 183, 191, 0.08);
}

.bcc-data-table tbody tr:nth-child(even) {
	background-color: #FFFFFF;
}

/* Rounded corners on rows */
.bcc-data-table tbody tr td:first-child {
	border-radius: 8px 0 0 8px;
}

.bcc-data-table tbody tr td:last-child {
	border-radius: 0 8px 8px 0;
}

.bcc-data-table tbody tr:hover {
	background-color: rgba(162, 183, 191, 0.15);
}

.bcc-data-table td {
	padding: 16px 20px !important;
	color: #30261c !important;
	font-weight: 400 !important;
	vertical-align: middle !important;
	text-align: left !important;
	font-family: inherit !important;
	border: none !important;
	background: inherit !important;
}

/* ==============================
   COLUMN SPECIFIC STYLES
   ============================== */
/* Number columns (Invoice/Order) */
.bcc-col-number,
.bcc-cell-number {
	font-weight: 600 !important;
	color: #30261c !important;
	font-family: inherit !important;
}

/* Date columns */
.bcc-col-date,
.bcc-cell-date {
	color: #30261c !important;
	font-weight: 400 !important;
	white-space: nowrap;
}

/* Amount columns */
.bcc-col-amount,
.bcc-cell-amount {
	font-weight: 600 !important;
	font-family: inherit !important;
	text-align: right !important;
	color: #30261c !important;
}

/* Actions column */
.bcc-col-actions {
	white-space: nowrap !important;
	text-align: right !important;
}

/* Actions column header and cell */
.bcc-data-table th:last-child,
.bcc-data-table td:last-child {
	text-align: right !important;
}

/* Status column - right align header and content */
.bcc-data-table th:nth-last-child(2) {
	text-align: right !important;
}

.bcc-data-table td:nth-last-child(2) {
	text-align: right !important;
}

/* Amount column - right align header and content (4th column / 3rd from last) */
.bcc-data-table th:nth-last-child(3),
.bcc-data-table td:nth-last-child(3),
.bcc-data-table th.bcc-col-amount-header {
	text-align: right !important;
}

/* ==============================
   STATUS BADGES
   ============================== */
.bcc-status-badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 4px 12px;
	border-radius: 20px;
	font-size: 12px;
	font-weight: 500;
	text-transform: capitalize;
	white-space: nowrap;
}

.bcc-status-badge::before {
	content: "";
	width: 6px;
	height: 6px;
	border-radius: 50%;
	flex-shrink: 0;
}

/* Status Colors */
.bcc-status-paid {
	background: #d1fae5;
	color: #065f46;
	border: 1px solid #6ee7b7;
	font-weight: 700;
}

.bcc-status-paid::before {
	background: #10b981;
}

.bcc-status-open,
.bcc-status-pending {
	background: #dbeafe;
	color: #1e40af;
	border: 1px solid #93c5fd;
	font-weight: 700;
}

.bcc-status-open::before,
.bcc-status-pending::before {
	background: #3b82f6;
}

.bcc-status-unpaid {
	background: rgba(48, 38, 28, 0.1);
	color: #30261c;
	border: 1px solid rgba(48, 38, 28, 0.3);
	font-weight: 700;
}

.bcc-status-unpaid::before {
	background: #30261c;
}

.bcc-status-draft {
	background: rgba(162, 183, 191, 0.08);
	color: #a2b7bf;
	border: 1px solid rgba(162, 183, 191, 0.5);
	font-weight: 300;
}

.bcc-status-draft::before {
	background: #a2b7bf;
}

.bcc-status-overdue {
	background: rgba(0, 0, 0, 0.1);
	color: #000000;
	border: 1px solid rgba(0, 0, 0, 0.3);
	font-weight: 700;
}

.bcc-status-overdue::before {
	background: #000000;
}

.bcc-status-cancelled,
.bcc-status-canceled {
	background: rgba(162, 183, 191, 0.05);
	color: #a2b7bf;
	border: 1px solid rgba(162, 183, 191, 0.4);
	font-weight: 300;
}

.bcc-status-cancelled::before,
.bcc-status-canceled::before {
	background: #a2b7bf;
}

.bcc-status-released {
	background: #cce5ff;
	color: #004085;
	border: 1px solid #93c5fd;
	font-weight: 700;
}

.bcc-status-released::before {
	background: #0073aa;
}

/* ==============================
   ACTION BUTTONS - Clean Outlined Style
   ============================== */
.bcc-action-btn {
	background: #FFFFFF !important;
	border: 1px solid rgba(162, 183, 191, 0.4) !important;
	border-radius: 6px !important;
	padding: 8px !important;
	cursor: pointer !important;
	transition: all 0.2s ease !important;
	color: #a2b7bf !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	margin-left: 8px !important;
	min-width: 36px !important;
	height: 36px !important;
	box-sizing: border-box !important;
}

.bcc-action-btn:first-child {
	margin-left: 0 !important;
}

.bcc-action-btn:hover {
	background: rgba(230, 85, 0, 0.05) !important;
	border-color: #e65500 !important;
	color: #e65500 !important;
}

.bcc-action-btn:disabled {
	opacity: 0.4 !important;
	cursor: not-allowed !important;
	pointer-events: none !important;
}

.bcc-action-btn svg {
	width: 18px;
	height: 18px;
	stroke-width: 1.5;
}

/* ==============================
   EXPORT BUTTON
   ============================== */
.bcc-export-btn {
	display: inline-flex !important;
	align-items: center !important;
	gap: 8px !important;
	padding: 8px 16px !important;
	background: #E65500 !important;
	color: #FFFFFF !important;
	border: none !important;
	border-radius: 8px !important;
	font-size: 14px !important;
	font-weight: 500 !important;
	cursor: pointer !important;
	transition: all 0.2s ease !important;
	white-space: nowrap !important;
	font-family: inherit !important;
	box-sizing: border-box !important;
}

.bcc-export-btn:hover {
	background: #cc4a00 !important;
	transform: translateY(-1px) !important;
	box-shadow: 0 4px 8px rgba(230, 85, 0, 0.2) !important;
}

.bcc-export-btn:active {
	transform: translateY(0) !important;
	box-shadow: 0 2px 4px rgba(230, 85, 0, 0.2) !important;
}

.bcc-export-btn:disabled {
	opacity: 0.6 !important;
	cursor: not-allowed !important;
	pointer-events: none !important;
}

.bcc-export-btn svg {
	flex-shrink: 0 !important;
}

/* ==============================
   LOADING STATE
   ============================== */
.bcc-loading-state {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 60px 20px;
	text-align: center;
}

.bcc-loading-spinner {
	width: 48px;
	height: 48px;
	border: 4px solid #e5e7eb;
	border-top: 4px solid #e65500;
	border-radius: 50%;
	animation: bcc-spin 1s linear infinite;
	margin-bottom: 16px;
}

@keyframes bcc-spin {
	0% { transform: rotate(0deg); }
	100% { transform: rotate(360deg); }
}

.bcc-loading-state p {
	font-size: 16px;
	color: #6b7280;
	margin: 0;
	font-family: inherit;
}

/* ==============================
   ERROR STATE
   ============================== */
.bcc-error-state {
	background: #fef2f2;
	border: 1px solid #fecaca;
	border-radius: 8px;
	padding: 20px;
	text-align: center;
	color: #991b1b;
}

.bcc-error-state p {
	margin: 0;
	font-size: 16px;
	font-family: inherit;
}

/* ==============================
   EMPTY STATE
   ============================== */
.bcc-empty-state {
	text-align: center;
	padding: 60px 20px;
	color: #6b7280;
	font-size: 16px;
}

/* ==============================
   MODAL STYLES
   ============================== */
.bcc-modal-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.5);
	z-index: 10000;
	display: flex;
	align-items: center;
	justify-content: center;
	backdrop-filter: blur(2px);
	opacity: 0;
	visibility: hidden;
	transition: all 0.2s ease;
}

.bcc-modal-overlay.is-open {
	opacity: 1;
	visibility: visible;
}

.bcc-modal {
	background: #FFFFFF !important;
	border-radius: 12px;
	max-width: 850px !important;
	width: 90% !important;
	max-height: 80vh;
	overflow: hidden;
	box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
	transform: scale(0.95);
	transition: transform 0.2s ease;
}

.bcc-modal-overlay.is-open .bcc-modal {
	transform: scale(1);
}

.bcc-modal-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 20px 24px;
	border-bottom: 1px solid rgba(162, 183, 191, 0.15);
	background: #FFFFFF;
}

.bcc-modal-header h3 {
	margin: 0;
	font-size: 18px;
	font-weight: 600;
	color: #30261c;
	font-family: inherit;
}

.bcc-modal-header h3 span {
	color: #e65500;
	font-weight: 700;
}

.bcc-modal-close {
	background: none;
	border: none;
	font-size: 24px;
	color: #a2b7bf;
	cursor: pointer;
	padding: 0;
	width: 32px;
	height: 32px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 4px;
	transition: all 0.2s ease;
}

.bcc-modal-close:hover {
	background: rgba(162, 183, 191, 0.1);
	color: #30261c;
}

.bcc-modal-content {
	padding: 24px;
	max-height: 60vh;
	overflow-y: auto;
}

/* Modal Sections - Clean Design */
.bcc-modal-section {
	margin-bottom: 28px;
}

.bcc-modal-section:last-child {
	margin-bottom: 0;
}

.bcc-modal-section h4 {
	margin: 0 0 16px 0;
	font-size: 14px;
	font-weight: 600;
	color: #e65500;
	font-family: inherit;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.bcc-info-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px 24px;
	font-size: 14px;
	font-family: inherit;
	background: rgba(162, 183, 191, 0.05);
	padding: 16px;
	border-radius: 8px;
}

.bcc-info-grid div {
	color: #30261c;
	font-weight: 400;
}

.bcc-info-grid div strong {
	font-weight: 600;
	display: block;
	font-size: 12px;
	color: rgba(48, 38, 28, 0.6);
	margin-bottom: 2px;
}

/* Modal Line Items Table - Clean Design */
.bcc-lines-table-container {
	border: none;
	border-radius: 8px;
	overflow: hidden;
	background: transparent;
}

.bcc-lines-table {
	width: 100%;
	border-collapse: separate;
	border-spacing: 0 4px;
	font-size: 13px;
	font-family: inherit;
	background: transparent;
}

.bcc-lines-table thead {
	background: rgba(162, 183, 191, 0.1);
}

.bcc-lines-table th {
	padding: 12px 16px;
	text-align: left;
	font-weight: 600;
	color: #30261c;
	font-size: 13px;
	text-transform: none;
	letter-spacing: 0;
	border: none;
	background: rgba(162, 183, 191, 0.1);
}

.bcc-lines-table th:first-child {
	border-radius: 8px 0 0 8px;
}

.bcc-lines-table th:last-child {
	border-radius: 0 8px 8px 0;
	text-align: right;
}

.bcc-lines-table td {
	padding: 12px 16px;
	border: none;
	color: #30261c;
	font-weight: 400;
	vertical-align: middle;
}

.bcc-lines-table tbody tr {
	background-color: #FFFFFF;
	transition: background-color 0.2s ease;
}

.bcc-lines-table tbody tr:nth-child(odd) {
	background-color: rgba(162, 183, 191, 0.05);
}

.bcc-lines-table tbody tr:nth-child(even) {
	background-color: #FFFFFF;
}

.bcc-lines-table tbody tr:hover {
	background-color: rgba(162, 183, 191, 0.12);
}

.bcc-lines-table tbody tr td:first-child {
	border-radius: 6px 0 0 6px;
}

.bcc-lines-table tbody tr td:last-child {
	border-radius: 0 6px 6px 0;
	text-align: right;
	font-weight: 600;
}

/* Quantity column styling */
.bcc-lines-table td:nth-child(2) {
	text-align: center;
	font-weight: 500;
}

/* Price/Amount columns styling */
.bcc-lines-table td:nth-child(3),
.bcc-lines-table td:nth-child(4) {
	text-align: right;
}

.bcc-lines-table th:nth-child(2) {
	text-align: center;
}

.bcc-lines-table th:nth-child(3),
.bcc-lines-table th:nth-child(4) {
	text-align: right;
}

/* Totals Grid - Clean Design */
.bcc-totals-grid {
	display: flex;
	flex-direction: column;
	gap: 0;
	background: rgba(162, 183, 191, 0.05);
	border-radius: 8px;
	padding: 16px;
	margin-top: 16px;
}

.bcc-total-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 10px 0;
	border-bottom: 1px solid rgba(162, 183, 191, 0.15);
	font-size: 14px;
	font-family: inherit;
}

.bcc-total-row:last-child {
	border-bottom: none;
	font-size: 18px;
	font-weight: 700;
	padding-top: 14px;
	margin-top: 4px;
	border-top: 2px solid rgba(162, 183, 191, 0.2);
}

.bcc-total-row span {
	color: #30261c;
	font-weight: 400;
}

.bcc-total-row strong {
	color: #30261c;
	font-weight: 600;
}

.bcc-total-row:last-child strong {
	color: #e65500;
	font-weight: 700;
}

/* ==============================
   EDITOR PREVIEW
   ============================== */
.elementor-editor-active .bcc-customer-dashboard {
	min-height: 200px;
}

/* Tab content in editor - only show active tab */
.elementor-editor-active .bcc-customer-dashboard .bcc-tab-content {
	display: none !important;
}

.elementor-editor-active .bcc-customer-dashboard .bcc-tab-content.active {
	display: block !important;
}

/* ==============================
   RESPONSIVE
   ============================== */
@media (max-width: 768px) {
	.bcc-customer-selector-section {
		flex-direction: column;
		align-items: stretch;
	}

	.bcc-customer-select {
		min-width: auto;
		max-width: none;
	}

	.bcc-tabs-nav {
		width: 100%;
		flex-wrap: wrap;
	}

	.bcc-tab-btn {
		flex: 1;
		min-width: 120px;
		justify-content: center;
	}

	.bcc-table-header {
		flex-direction: column;
		gap: 16px;
		align-items: stretch;
	}

	.bcc-search-container {
		justify-content: stretch;
	}

	.bcc-search-input {
		width: 100% !important;
	}

	.bcc-table-container {
		overflow-x: auto;
	}

	.bcc-data-table {
		min-width: 700px;
	}

	.bcc-data-table th,
	.bcc-data-table td {
		padding: 12px 16px !important;
	}

	.bcc-modal {
		width: 95% !important;
		max-height: 90vh;
	}

	.bcc-info-grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 480px) {
	.bcc-table-title {
		font-size: 18px;
	}

	.bcc-tab-btn {
		padding: 10px 16px;
		font-size: 13px;
	}

	.bcc-data-table th,
	.bcc-data-table td {
		padding: 8px 12px !important;
		font-size: 13px !important;
	}
}

/* ==============================
   ACCESSIBILITY
   ============================== */
@media (prefers-reduced-motion: reduce) {
	.bcc-customer-dashboard,
	.bcc-customer-dashboard * {
		transition: none !important;
		animation: none !important;
	}

	.bcc-loading-spinner {
		animation: none !important;
		border-color: #e65500 !important;
	}
}

/* High contrast mode support */
@media (prefers-contrast: high) {
	.bcc-tab-btn {
		border: 2px solid currentColor;
	}

	.bcc-tab-btn.active {
		border-color: #e65500;
	}

	.bcc-status-badge {
		border-width: 2px;
	}
}

/* Focus visible for keyboard navigation */
.bcc-customer-dashboard *:focus-visible {
	outline: 2px solid #e65500;
	outline-offset: 2px;
}

.bcc-customer-dashboard button:focus-visible,
.bcc-customer-dashboard select:focus-visible,
.bcc-customer-dashboard input:focus-visible {
	outline: 2px solid #e65500;
	outline-offset: 2px;
}

/* ==============================
   ORDERS TABLE (DIV-based) - Clean Minimal Design
   ============================== */
.bcc-orders-table {
	width: 100%;
	font-size: 14px;
	background: transparent;
	font-family: 'NewRailAlphabet', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.bcc-orders-table-header {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
	background: transparent;
	padding: 0 4px;
}

.bcc-order-header-cell {
	padding: 12px 20px;
	text-align: left;
	font-weight: 600;
	color: #30261c;
	font-size: 14px;
}

.bcc-order-row {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
	background: #FFFFFF;
	transition: background 0.2s ease;
	border-radius: 8px;
}

/* Alternating row backgrounds - defaults (Elementor controls override these) */
.bcc-order-row:nth-child(odd) {
	background-color: rgba(162, 183, 191, 0.08);
}

.bcc-order-row:nth-child(even) {
	background-color: #FFFFFF;
}

.bcc-order-row:hover {
	background-color: rgba(162, 183, 191, 0.15);
}

.bcc-order-cell {
	padding: 16px 20px;
	color: #30261c;
	font-weight: 400;
	vertical-align: middle;
	text-align: left;
}

/* Mobile responsiveness for orders table */
@media (max-width: 768px) {
	.bcc-orders-table-header {
		display: none;
	}

	.bcc-order-row {
		display: block;
		padding: 16px;
		margin-bottom: 8px;
		border-radius: 8px;
	}

	.bcc-order-cell {
		display: block;
		padding: 4px 0;
	}

	.bcc-order-cell.bcc-col-number {
		font-size: 16px;
		margin-bottom: 8px;
		font-weight: 600;
	}
}
