/* Bayliweb Portal Frontend Styles - LIME THEME with Dark/Light Mode */

/* ========================================
   Custom Scrollbar - Modern Minimal Design
   ======================================== */

/* Webkit browsers (Chrome, Safari, Edge) */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: rgba(180, 240, 0, 0.4);
    border-radius: 10px;
    border: 2px solid transparent;
    background-clip: padding-box;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(180, 240, 0, 0.7);
    border: 2px solid transparent;
    background-clip: padding-box;
}

::-webkit-scrollbar-thumb:active {
    background: #B4F000;
}

::-webkit-scrollbar-corner {
    background: transparent;
}

/* Dark theme scrollbar */
[data-theme="dark"] ::-webkit-scrollbar-thumb {
    background: rgba(180, 240, 0, 0.3);
}

[data-theme="dark"] ::-webkit-scrollbar-thumb:hover {
    background: rgba(180, 240, 0, 0.5);
}

/* Firefox */
* {
    scrollbar-width: thin;
    scrollbar-color: rgba(180, 240, 0, 0.4) transparent;
}

[data-theme="dark"] * {
    scrollbar-color: rgba(180, 240, 0, 0.3) transparent;
}

/* CSS Variables - Light Theme (Default) */
:root,
[data-theme="light"] {
	--bwp-primary: #B4F000;
	--bwp-primary-hover: #9FD600;
	--bwp-primary-glow: rgba(180, 240, 0, 0.3);
	--bwp-bg: #F3F4F6;
	--bwp-bg-secondary: #FFFFFF;
	--bwp-card: #FFFFFF;
	--bwp-card-hover: #FAFAFA;
	--bwp-hover: #F8F9FA;
	--bwp-sidebar: #EDEFF3;
	--bwp-sidebar-hover: #E2E5EB;
	--bwp-text-dark: #111111;
	--bwp-text-secondary: #374151;
	--bwp-text-muted: #9CA3AF;
	--bwp-border: #E5E7EB;
	--bwp-input-bg: #FFFFFF;
	--bwp-shadow: 0 10px 30px rgba(0,0,0,0.05);
	--bwp-shadow-hover: 0 15px 40px rgba(0,0,0,0.08);
	--bwp-radius: 20px;
	--bwp-radius-sm: 12px;
}

/* CSS Variables - Dark Theme */
[data-theme="dark"] {
	--bwp-primary: #B4F000;
	--bwp-primary-hover: #9FD600;
	--bwp-primary-glow: rgba(180, 240, 0, 0.2);
	--bwp-bg: #0F0F0F;
	--bwp-bg-secondary: #1A1A1A;
	--bwp-card: #1A1A1A;
	--bwp-card-hover: #222222;
	--bwp-hover: #252525;
	--bwp-sidebar: #141414;
	--bwp-sidebar-hover: #1F1F1F;
	--bwp-text-dark: #FFFFFF;
	--bwp-text-secondary: #E5E7EB;
	--bwp-text-muted: #6B7280;
	--bwp-border: #2D2D2D;
	--bwp-input-bg: #1F1F1F;
	--bwp-shadow: 0 10px 30px rgba(0,0,0,0.3);
	--bwp-shadow-hover: 0 15px 40px rgba(0,0,0,0.4);
}

/* Modern Dashboard Layout */
.bwp-portal-body {
	margin: 0;
	padding: 0;
	background: var(--bwp-bg);
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.bwp-portal-wrapper {
	display: flex;
	min-height: 100vh;
	width: 100%;
}

/* Sidebar Navigation */
.bwp-sidebar {
	width: 70px;
	background: var(--bwp-sidebar);
	min-height: 100vh;
	position: fixed;
	left: 0;
	top: 0;
	z-index: 1000;
	padding: 20px 0;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.bwp-sidebar-logo {
	width: 40px;
	height: 40px;
	background: var(--bwp-primary);
	border-radius: 10px;
	margin-bottom: 30px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #111;
	font-weight: bold;
	font-size: 18px;
}

.bwp-sidebar-nav {
	display: flex;
	flex-direction: column;
	gap: 10px;
	width: 100%;
}

.bwp-sidebar-item {
	width: 50px;
	height: 50px;
	margin: 0 auto;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 10px;
	color: var(--bwp-text-muted);
	cursor: pointer;
	transition: all 0.3s ease;
	text-decoration: none;
	font-size: 20px;
}

.bwp-sidebar-item:hover {
	background: rgba(180, 240, 0, 0.15);
	color: #111;
}

.bwp-sidebar-item.active {
	background: var(--bwp-primary);
	color: #111;
	box-shadow: 0 4px 12px rgba(180, 240, 0, 0.3);
}

/* Top Header */
.bwp-top-header {
	height: 70px;
	background: #fff;
	border-bottom: 1px solid #e9ecef;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0 30px;
	position: fixed;
	top: 0;
	left: 70px;
	right: 0;
	z-index: 999;
	box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.bwp-header-left {
	display: flex;
	align-items: center;
	gap: 20px;
}

.bwp-header-search {
	position: relative;
	width: 300px;
}

.bwp-header-search input {
	width: 100%;
	padding: 10px 15px 10px 40px;
	border: 1px solid #e9ecef;
	border-radius: 6px;
	font-size: 14px;
	background: #f8f9fa;
}

.bwp-header-search input:focus {
	outline: none;
	border-color: var(--bwp-primary);
	background: #fff;
	box-shadow: 0 0 0 3px rgba(180, 240, 0, 0.15);
}

.bwp-header-right {
	display: flex;
	align-items: center;
	gap: 15px;
}

.bwp-header-icon {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: #f8f9fa;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	position: relative;
	color: #495057;
	font-size: 18px;
	text-decoration: none;
	transition: all 0.3s;
}

.bwp-header-icon:hover {
	background: rgba(180, 240, 0, 0.15);
}

.bwp-header-icon .bwp-notification-badge {
	position: absolute;
	top: -5px;
	right: -5px;
	background: #f06548;
	color: #fff;
	border-radius: 10px;
	padding: 2px 6px;
	font-size: 10px;
	font-weight: bold;
	min-width: 18px;
	text-align: center;
}

.bwp-user-profile {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 5px 15px;
	border-radius: 8px;
	cursor: pointer;
	transition: background 0.3s;
}

.bwp-user-profile:hover {
	background: #f8f9fa;
}

.bwp-user-avatar {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: var(--bwp-primary);
	display: flex;
	align-items: center;
	justify-content: center;
	color: #111;
	color: #fff;
	font-weight: bold;
	font-size: 14px;
}

.bwp-user-info {
	display: flex;
	flex-direction: column;
}

.bwp-user-name {
	font-weight: 600;
	font-size: 14px;
	color: #212529;
	line-height: 1.2;
}

.bwp-user-role {
	font-size: 12px;
	color: #6c757d;
	line-height: 1.2;
}

/* Main Content Area */
.bwp-main-content {
	margin-left: 70px;
	margin-top: 70px;
	padding: 30px;
	width: calc(100% - 70px);
	background: #f8f9fa;
	min-height: calc(100vh - 70px);
}

.bwp-customer-dashboard,
.bwp-labour-dashboard {
	max-width: 100%;
	margin: 0;
	padding: 0;
}

/* Welcome Section */
.bwp-dashboard-welcome {
	margin-bottom: 24px;
}

.bwp-dashboard-welcome h3 {
	font-size: 16px;
	font-weight: 500;
	color: var(--bwp-text-secondary);
	margin: 0;
	line-height: 1.5;
}

.bwp-dashboard-welcome h3 strong {
	color: var(--bwp-text-dark);
	font-weight: 600;
}

/* KPI Cards - Modern Style */
/* KPI Cards - Lime Theme */
.bwp-kpi-cards {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 20px;
	margin-bottom: 30px;
}

.bwp-kpi-card {
	background: var(--bwp-card);
	border: none;
	border-radius: 20px;
	padding: 24px;
	box-shadow: var(--bwp-shadow);
	transition: all 0.3s ease;
	position: relative;
	overflow: hidden;
}

.bwp-kpi-card:first-child {
	background: #B4F000;
}

.bwp-kpi-card:first-child .bwp-kpi-card-title,
.bwp-kpi-card:first-child .bwp-kpi-value,
.bwp-kpi-card:first-child .bwp-kpi-card-link {
	color: #111;
}

.bwp-kpi-card:hover {
	box-shadow: var(--bwp-shadow-hover);
	transform: translateY(-4px);
}

.bwp-kpi-card-header {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	margin-bottom: 16px;
}

.bwp-kpi-card-title {
	font-size: 13px;
	font-weight: 500;
	color: var(--bwp-text-muted);
	text-transform: uppercase;
	letter-spacing: 0.5px;
	margin: 0;
}

.bwp-kpi-card-icon {
	width: 44px;
	height: 44px;
	border-radius: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 20px;
	background: var(--bwp-bg);
}

.bwp-kpi-card:first-child .bwp-kpi-card-icon {
	background: rgba(17,17,17,0.1);
}

.bwp-kpi-card-icon.traffic {
	background: var(--bwp-bg);
	color: var(--bwp-text-dark);
}

.bwp-kpi-card-icon.keywords {
	background: var(--bwp-bg);
	color: var(--bwp-text-dark);
}

.bwp-kpi-card-icon.leads {
	background: var(--bwp-bg);
	color: var(--bwp-text-dark);
}

.bwp-kpi-card-icon.calls {
	background: var(--bwp-bg);
	color: var(--bwp-text-dark);
}

.bwp-kpi-card-icon.conversions {
	background: var(--bwp-bg);
	color: var(--bwp-text-dark);
}

.bwp-kpi-value {
	font-size: 32px;
	font-weight: 600;
	color: var(--bwp-text-dark);
	margin-bottom: 8px;
	line-height: 1.2;
}

.bwp-kpi-trend {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 12px;
	font-weight: 500;
	margin-top: 8px;
	padding: 4px 10px;
	border-radius: 20px;
	width: fit-content;
}

.bwp-kpi-trend.up {
	color: #365314;
	background: #D9F99D;
}

.bwp-kpi-trend.down {
	color: #991B1B;
	background: #FEE2E2;
}

.bwp-kpi-trend-icon {
	font-size: 12px;
}

.bwp-kpi-card-link {
	display: inline-block;
	margin-top: 12px;
	font-size: 13px;
	color: var(--bwp-text-muted);
	text-decoration: none;
	font-weight: 500;
	transition: all 0.3s ease;
}

.bwp-kpi-card-link:hover {
	color: var(--bwp-primary);
}

/* Dashboard Grid */
.bwp-dashboard-grid {
	display: grid;
	grid-template-columns: 2fr 1fr;
	gap: 24px;
	margin-bottom: 24px;
}

.bwp-charts-section,
.bwp-projects-section {
	background: var(--bwp-card);
	border-radius: 20px;
	padding: 24px;
	box-shadow: var(--bwp-shadow);
}

.bwp-charts-section h3,
.bwp-projects-section h3 {
	font-size: 16px;
	font-weight: 600;
	color: var(--bwp-text-dark);
	margin: 0 0 8px 0;
}

.bwp-section-description {
	font-size: 13px;
	color: var(--bwp-text-muted);
	margin: 0 0 20px 0;
}

/* Updates Section */
.bwp-updates-section {
	background: var(--bwp-card);
	border-radius: 20px;
	padding: 24px;
	box-shadow: var(--bwp-shadow);
	margin-bottom: 24px;
	transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.bwp-updates-section h3 {
	font-size: 16px;
	font-weight: 600;
	color: var(--bwp-text-dark);
	margin: 0 0 8px 0;
}

.bwp-updates-list {
	list-style: none;
	padding: 0;
	margin: 20px 0 0 0;
}

.bwp-update-item {
	padding: 16px;
	border-bottom: 1px solid var(--bwp-border);
}

.bwp-update-item:last-child {
	border-bottom: none;
}

.bwp-update-item h4 {
	font-size: 14px;
	font-weight: 600;
	color: var(--bwp-text-dark);
	margin: 0 0 8px 0;
}

.bwp-update-content {
	font-size: 13px;
	color: var(--bwp-text-secondary);
	margin-bottom: 8px;
}

.bwp-update-meta {
	display: flex;
	gap: 16px;
	font-size: 12px;
	color: var(--bwp-text-muted);
}

/* Invoices Section */
.bwp-invoices-section {
	background: var(--bwp-card);
	border-radius: 20px;
	padding: 24px;
	box-shadow: var(--bwp-shadow);
	margin-bottom: 24px;
	transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.bwp-invoices-section h3 {
	font-size: 16px;
	font-weight: 600;
	color: var(--bwp-text-dark);
	margin: 0 0 8px 0;
}

.bwp-invoices-table {
	width: 100%;
	border-collapse: collapse;
	margin-top: 20px;
}

.bwp-invoices-table th {
	text-align: left;
	padding: 12px;
	font-size: 13px;
	font-weight: 600;
	color: var(--bwp-text-muted);
	border-bottom: 2px solid var(--bwp-border);
}

.bwp-invoices-table td {
	padding: 12px;
	font-size: 13px;
	color: var(--bwp-text-secondary);
	border-bottom: 1px solid var(--bwp-border);
}

.bwp-invoices-table tr:hover {
	background: var(--bwp-hover);
}

.bwp-btn-download {
	background: var(--bwp-primary);
	color: #111111;
	padding: 6px 12px;
	border-radius: 8px;
	text-decoration: none;
	font-size: 12px;
	font-weight: 500;
	transition: all 0.3s ease;
}

.bwp-btn-download:hover {
	background: var(--bwp-primary);
	color: #111;
	text-decoration: none;
}

.bwp-status-badge {
	padding: 4px 12px;
	border-radius: 4px;
	font-size: 12px;
	font-weight: 500;
	display: inline-block;
}

.bwp-status-badge.status-paid {
	background: #d1fae5;
	color: #065f46;
}

.bwp-status-badge.status-pending {
	background: #fef3c7;
	color: #92400e;
}

.bwp-status-badge.status-overdue {
	background: #fee2e2;
	color: #991b1b;
}

/* Dark mode status badges */
[data-theme="dark"] .bwp-status-badge.status-pending {
	background: #422006 !important;
	color: #FCD34D !important;
}

[data-theme="dark"] .bwp-status-badge.status-paid {
	background: #064E3B !important;
	color: #6EE7B7 !important;
}

[data-theme="dark"] .bwp-status-badge.status-overdue {
	background: #450A0A !important;
	color: #FCA5A5 !important;
}

/* Dark mode inline success badges (Paid, Completed, etc.) */
[data-theme="dark"] span[style*="background: #d4edda"],
[data-theme="dark"] span[style*="background:#d4edda"],
[data-theme="dark"] div[style*="background: #d4edda"],
[data-theme="dark"] div[style*="background:#d4edda"],
[data-theme="dark"] span[style*="background: #d1fae5"],
[data-theme="dark"] span[style*="background:#d1fae5"],
[data-theme="dark"] div[style*="background: #d1fae5"],
[data-theme="dark"] div[style*="background:#d1fae5"],
[data-theme="dark"] span[style*="background: #e8f5e9"],
[data-theme="dark"] span[style*="background:#e8f5e9"],
[data-theme="dark"] div[style*="background: #e8f5e9"],
[data-theme="dark"] div[style*="background:#e8f5e9"] {
	background: #064E3B !important;
	color: #6EE7B7 !important;
}

[data-theme="dark"] span[style*="background: #d4edda"] *,
[data-theme="dark"] div[style*="background: #d4edda"] *,
[data-theme="dark"] span[style*="background: #d1fae5"] *,
[data-theme="dark"] div[style*="background: #d1fae5"] *,
[data-theme="dark"] span[style*="background: #e8f5e9"] *,
[data-theme="dark"] div[style*="background: #e8f5e9"] * {
	color: #6EE7B7 !important;
}

/* Override green text colors in dark mode */
[data-theme="dark"] [style*="color: #155724"],
[data-theme="dark"] [style*="color:#155724"],
[data-theme="dark"] [style*="color: #065f46"],
[data-theme="dark"] [style*="color:#065f46"] {
	color: #6EE7B7 !important;
}

/* Tickets Section */
.bwp-tickets-section {
	background: var(--bwp-card);
	border-radius: 20px;
	padding: 24px;
	box-shadow: var(--bwp-shadow);
	transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.bwp-tickets-page-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
	gap: 24px;
}

.bwp-ticket-card {
	background: var(--bwp-card);
	border-radius: 16px;
	padding: 24px;
	box-shadow: var(--bwp-shadow);
	transition: all 0.3s;
	border-left: 4px solid #405189;
}

.bwp-ticket-card:hover {
	box-shadow: 0 4px 6px rgba(0,0,0,0.15), 0 2px 4px rgba(0,0,0,0.12);
	transform: translateY(-2px);
}

.bwp-ticket-card-header {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	margin-bottom: 16px;
	flex-wrap: wrap;
	gap: 12px;
}

.bwp-ticket-card-header h4 {
	font-size: 18px;
	font-weight: 600;
	color: #212529;
	margin: 0;
	flex: 1;
}

.bwp-ticket-badges {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
}

.bwp-ticket-card-body p {
	font-size: 14px;
	color: #495057;
	margin-bottom: 16px;
	line-height: 1.6;
}

.bwp-ticket-card-meta {
	display: flex;
	flex-direction: column;
	gap: 8px;
	font-size: 12px;
	color: #878a99;
}

.bwp-ticket-card-meta span {
	display: block;
}

.bwp-tickets-page-actions {
	display: flex;
	gap: 16px;
	margin-bottom: 24px;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
}

.bwp-invoices-page-content {
	background: var(--bwp-card);
	border-radius: 12px;
	padding: 24px;
	box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
}

.bwp-tickets-section h3 {
	font-size: 16px;
	font-weight: 600;
	color: var(--bwp-text-dark);
	margin: 0 0 8px 0;
}

.bwp-ticket-actions {
	margin: 20px 0;
}

.bwp-btn-primary {
	background: #405189;
	color: #fff;
	padding: 10px 20px;
	border: none;
	border-radius: 6px;
	font-size: 14px;
	font-weight: 500;
	cursor: pointer;
	transition: background 0.3s;
}

.bwp-btn-primary:hover {
	background: var(--bwp-primary-hover);
}

.bwp-btn-secondary {
	background: #6c757d;
	color: #fff;
	padding: 10px 20px;
	border: none;
	border-radius: 6px;
	font-size: 14px;
	font-weight: 500;
	cursor: pointer;
	transition: background 0.3s;
	margin-left: 10px;
}

.bwp-btn-secondary:hover {
	background: #5a6268;
}

.bwp-ticket-form {
	background: #f8f9fa;
	border-radius: 8px;
	padding: 20px;
	margin: 20px 0;
}

.bwp-ticket-form h4 {
	font-size: 16px;
	font-weight: 600;
	color: #212529;
	margin: 0 0 20px 0;
}

.bwp-ticket-form label {
	display: block;
	font-size: 13px;
	font-weight: 500;
	color: #495057;
	margin-bottom: 6px;
}

.bwp-ticket-form input,
.bwp-ticket-form textarea,
.bwp-ticket-form select {
	width: 100%;
	padding: 10px;
	border: 1px solid #e9ecef;
	border-radius: 6px;
	font-size: 14px;
	margin-bottom: 16px;
}

.bwp-ticket-form input:focus,
.bwp-ticket-form textarea:focus,
.bwp-ticket-form select:focus {
	outline: none;
	border-color: #405189;
}

.bwp-tickets-list {
	margin-top: 20px;
}

.bwp-ticket-item {
	background: #f8f9fa;
	border-radius: 8px;
	padding: 16px;
	margin-bottom: 12px;
	border-left: 4px solid #405189;
}

.bwp-ticket-item h4 {
	font-size: 14px;
	font-weight: 600;
	color: #212529;
	margin: 0 0 8px 0;
}

.bwp-ticket-item p {
	font-size: 13px;
	color: #495057;
	margin: 0 0 8px 0;
}

.bwp-ticket-meta {
	display: flex;
	gap: 16px;
	font-size: 12px;
	color: #878a99;
}

/* Projects List */
.bwp-projects-list {
	list-style: none;
	padding: 0;
	margin: 0;
}

.bwp-project-item {
	padding: 16px;
	border-bottom: 1px solid #e9ecef;
}

.bwp-project-item:last-child {
	border-bottom: none;
}

.bwp-project-item h4 {
	font-size: 14px;
	font-weight: 600;
	color: #212529;
	margin: 0 0 8px 0;
}

.bwp-project-item p {
	font-size: 13px;
	color: #495057;
	margin: 0;
}

/* Language Switcher */
.bwp-language-switcher {
	position: relative;
}

.bwp-language-select {
	padding: 8px 12px;
	border: 1px solid #e9ecef;
	border-radius: 6px;
	background: #fff;
	font-size: 14px;
	cursor: pointer;
	appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23495057' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 8px center;
	padding-right: 30px;
}

.bwp-language-select:focus {
	outline: none;
	border-color: #405189;
}

/* Notifications */
.bwp-notifications-icon {
	cursor: pointer;
}

.bwp-notifications-dropdown {
	position: absolute;
	top: calc(100% + 10px);
	right: 20px;
	width: 350px;
	background: #fff;
	border-radius: 8px;
	box-shadow: 0 4px 12px rgba(0,0,0,0.15);
	z-index: 1001;
	display: none;
	max-height: 500px;
	overflow-y: auto;
}

.bwp-notifications-dropdown.show,
.bwp-notifications-dropdown:not([style*="display: none"]) {
	display: block !important;
}

.bwp-notifications-header {
	padding: 16px;
	border-bottom: 1px solid #e9ecef;
	display: flex;
	justify-content: space-between;
	align-items: center;
	position: sticky;
	top: 0;
	background: #fff;
	z-index: 1;
}

.bwp-notifications-header h4 {
	margin: 0;
	font-size: 16px;
	font-weight: 600;
	color: #212529;
}

.bwp-mark-all-read {
	background: none;
	border: none;
	color: #405189;
	font-size: 12px;
	cursor: pointer;
	padding: 4px 8px;
	border-radius: 4px;
	transition: background 0.3s;
}

.bwp-mark-all-read:hover {
	background: #f8f9fa;
}

.bwp-notifications-list {
	padding: 0;
}

.bwp-notification-item {
	padding: 16px;
	border-bottom: 1px solid #f1f3f5;
	cursor: pointer;
	transition: background 0.3s;
}

.bwp-notification-item:hover {
	background: #f8f9fa;
}

.bwp-notification-item:last-child {
	border-bottom: none;
}

.bwp-notification-content h5 {
	margin: 0 0 6px 0;
	font-size: 14px;
	font-weight: 600;
	color: #212529;
}

.bwp-notification-content p {
	margin: 0 0 8px 0;
	font-size: 13px;
	color: #495057;
	line-height: 1.5;
}

.bwp-notification-time {
	font-size: 11px;
	color: #878a99;
}

.bwp-no-notifications {
	padding: 40px 20px;
	text-align: center;
	color: #878a99;
	font-size: 14px;
}

.bwp-notification-loading {
	padding: 40px 20px;
	text-align: center;
	color: #878a99;
	font-size: 14px;
}

/* Enhanced Analytics */
.bwp-charts-header {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	margin-bottom: 20px;
	flex-wrap: wrap;
	gap: 16px;
}

.bwp-chart-filters {
	display: flex;
	gap: 8px;
}

.bwp-filter-btn {
	padding: 6px 12px;
	border: 1px solid #e9ecef;
	border-radius: 6px;
	background: #fff;
	font-size: 13px;
	cursor: pointer;
	transition: all 0.3s;
}

.bwp-filter-btn:hover {
	background: #f8f9fa;
	border-color: #405189;
}

.bwp-filter-btn.active {
	background: #405189;
	color: #fff;
	border-color: #405189;
}

.bwp-analytics-summary {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 16px;
	margin-bottom: 24px;
}

.bwp-analytics-summary-card {
	background: #f8f9fa;
	border-radius: 8px;
	padding: 16px;
	text-align: center;
}

.bwp-summary-label {
	font-size: 12px;
	color: #878a99;
	margin-bottom: 8px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.bwp-summary-value {
	font-size: 20px;
	font-weight: 600;
	color: #212529;
}

.bwp-analytics-table-section {
	margin-top: 24px;
}

.bwp-analytics-table-section h4 {
	font-size: 16px;
	font-weight: 600;
	color: #212529;
	margin: 0 0 16px 0;
}

.bwp-analytics-table-wrapper {
	overflow-x: auto;
}

.bwp-analytics-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 13px;
}

.bwp-analytics-table th {
	text-align: left;
	padding: 12px;
	font-weight: 600;
	color: #495057;
	border-bottom: 2px solid #e9ecef;
	background: #f8f9fa;
}

.bwp-analytics-table td {
	padding: 12px;
	border-bottom: 1px solid #f1f3f5;
	color: #495057;
}

.bwp-analytics-table tr:hover {
	background: #f8f9fa;
}

.bwp-analytics-table .bwp-loading {
	text-align: center;
	color: #878a99;
	padding: 20px;
}

/* Responsive Design */
@media (max-width: 768px) {
	.bwp-sidebar {
		width: 60px;
	}
	
	.bwp-top-header {
		left: 60px;
		padding: 0 15px;
	}
	
	.bwp-main-content {
		margin-left: 60px;
		padding: 20px;
		width: calc(100% - 60px);
	}
	
	.bwp-header-search {
		width: 200px;
	}
	
	.bwp-dashboard-grid {
		grid-template-columns: 1fr;
	}
	
	.bwp-kpi-cards {
		grid-template-columns: 1fr;
	}
	
	.bwp-user-info {
		display: none;
	}
	
	.bwp-analytics-summary {
		grid-template-columns: repeat(2, 1fr);
	}
	
	.bwp-notifications-dropdown {
		width: 300px;
		right: 10px;
	}
	
	.bwp-charts-header {
		flex-direction: column;
	}
}

/* Success and Error Messages */
.bwp-success {
	background: #d1fae5;
	color: #065f46;
	padding: 12px 16px;
	border-radius: 6px;
	margin: 10px 0;
	font-size: 14px;
}

.bwp-error {
	background: #fee2e2;
	color: #991b1b;
	padding: 12px 16px;
	border-radius: 6px;
	margin: 10px 0;
	font-size: 14px;
}

/* Chart Container */
#bwp-analytics-chart {
	max-height: 400px;
}

/* Page Navigation */
.bwp-page {
	display: none;
}

.bwp-page.active {
	display: block;
}

.bwp-page-header {
	margin-bottom: 30px;
}

.bwp-page-header h2 {
	font-size: 24px;
	font-weight: 600;
	color: #212529;
	margin: 0 0 8px 0;
}

.bwp-page-description {
	font-size: 14px;
	color: #878a99;
	margin: 0;
}

/* Projects Page */
.bwp-projects-filters {
	display: flex;
	gap: 16px;
	margin-bottom: 24px;
	align-items: center;
}

.bwp-filter-select {
	padding: 10px 15px;
	border: 1px solid #e9ecef;
	border-radius: 6px;
	font-size: 14px;
	background: #fff;
	cursor: pointer;
}

.bwp-search-input {
	padding: 10px 15px;
	border: 1px solid #e9ecef;
	border-radius: 6px;
	font-size: 14px;
	flex: 1;
	max-width: 400px;
}

.bwp-projects-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
	gap: 24px;
}

.bwp-project-card {
	background: #fff;
	border-radius: 12px;
	padding: 24px;
	box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
	transition: all 0.3s;
}

.bwp-project-card:hover {
	box-shadow: 0 4px 6px rgba(0,0,0,0.15), 0 2px 4px rgba(0,0,0,0.12);
	transform: translateY(-2px);
}

.bwp-project-card-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 16px;
}

.bwp-project-card-header h3 {
	font-size: 18px;
	font-weight: 600;
	color: #212529;
	margin: 0;
}

.bwp-project-card-body p {
	font-size: 14px;
	color: #495057;
	margin-bottom: 16px;
	line-height: 1.6;
}

.bwp-project-metrics {
	display: flex;
	gap: 24px;
	margin-bottom: 16px;
}

.bwp-project-metric {
	display: flex;
	flex-direction: column;
}

.bwp-metric-label {
	font-size: 12px;
	color: #878a99;
	margin-bottom: 4px;
}

.bwp-metric-value {
	font-size: 20px;
	font-weight: 600;
	color: #212529;
}

.bwp-project-dates {
	display: flex;
	gap: 16px;
	font-size: 12px;
	color: #878a99;
}

/* Tasks Page */
.bwp-tasks-filters {
	margin-bottom: 24px;
}

.bwp-tasks-list {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.bwp-task-item {
	background: #fff;
	border-radius: 12px;
	padding: 20px;
	box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
}

.bwp-task-header {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 12px;
	flex-wrap: wrap;
}

.bwp-task-header h4 {
	font-size: 16px;
	font-weight: 600;
	color: #212529;
	margin: 0;
	flex: 1;
}

.bwp-task-item p {
	font-size: 14px;
	color: #495057;
	margin-bottom: 12px;
	line-height: 1.6;
}

.bwp-task-meta {
	font-size: 12px;
	color: #878a99;
}

/* Invoices Page */
.bwp-invoices-stats {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 20px;
	margin-bottom: 30px;
}

.bwp-invoice-stat-card {
	background: #fff;
	border-radius: 12px;
	padding: 20px;
	box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
	text-align: center;
}

.bwp-stat-label {
	font-size: 13px;
	color: #878a99;
	margin-bottom: 8px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.bwp-stat-value {
	font-size: 24px;
	font-weight: 600;
	color: #212529;
}

.bwp-invoices-filters {
	display: flex;
	gap: 16px;
	margin-bottom: 24px;
	align-items: center;
}

.bwp-invoices-list-page {
	background: var(--bwp-card);
	border-radius: 20px;
	padding: 24px;
	box-shadow: var(--bwp-shadow);
}

/* Reports Page */
.bwp-reports-filters {
	display: flex;
	gap: 16px;
	margin-bottom: 24px;
	align-items: center;
	justify-content: space-between;
}

.bwp-reports-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
	gap: 24px;
}

.bwp-report-card {
	background: #fff;
	border-radius: 12px;
	padding: 24px;
	box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
}

.bwp-report-card h3 {
	font-size: 18px;
	font-weight: 600;
	color: #212529;
	margin: 0 0 20px 0;
}

/* Settings Page */
.bwp-settings-tabs {
	display: flex;
	gap: 8px;
	margin-bottom: 24px;
	border-bottom: 2px solid #e9ecef;
}

.bwp-settings-tab {
	padding: 12px 24px;
	border: none;
	background: none;
	font-size: 14px;
	font-weight: 500;
	color: #878a99;
	cursor: pointer;
	border-bottom: 2px solid transparent;
	margin-bottom: -2px;
	transition: all 0.3s;
}

.bwp-settings-tab:hover {
	color: #405189;
}

.bwp-settings-tab.active {
	color: #405189;
	border-bottom-color: #405189;
}

.bwp-settings-panel {
	display: none;
	background: #fff;
	border-radius: 12px;
	padding: 24px;
	box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
}

.bwp-settings-panel.active {
	display: block;
}

.bwp-settings-panel h3 {
	font-size: 18px;
	font-weight: 600;
	color: #212529;
	margin: 0 0 20px 0;
}

.bwp-settings-panel form p {
	margin-bottom: 20px;
}

.bwp-settings-panel label {
	display: block;
	font-size: 14px;
	font-weight: 500;
	color: #495057;
	margin-bottom: 8px;
}

.bwp-settings-panel input[type="text"],
.bwp-settings-panel input[type="email"],
.bwp-settings-panel input[type="password"] {
	width: 100%;
	padding: 10px;
	border: 1px solid #e9ecef;
	border-radius: 6px;
	font-size: 14px;
}

.bwp-settings-panel input[readonly] {
	background: #f8f9fa;
	cursor: not-allowed;
}

.bwp-settings-panel small {
	display: block;
	font-size: 12px;
	color: #878a99;
	margin-top: 4px;
}

.bwp-settings-panel input[type="checkbox"] {
	margin-right: 8px;
}

.bwp-content-loaded {
	animation: fadeIn 0.3s;
}

@keyframes fadeIn {
	from { opacity: 0; }
	to { opacity: 1; }
}

/* Labour Portal - Distinct Styling */
.bwp-labour-dashboard {
	background: #f8f9fa;
	min-height: calc(100vh - 70px);
}

.bwp-labour-dashboard .bwp-kpi-card {
	background: var(--bwp-card);
	color: var(--bwp-text-dark);
}

.bwp-labour-dashboard .bwp-kpi-card:first-child {
	background: #B4F000;
}

.bwp-labour-dashboard .bwp-kpi-card-title,
.bwp-labour-dashboard .bwp-kpi-value,
.bwp-labour-dashboard .bwp-kpi-card-link {
	color: var(--bwp-text-dark);
}

.bwp-labour-dashboard .bwp-kpi-card:first-child .bwp-kpi-card-title,
.bwp-labour-dashboard .bwp-kpi-card:first-child .bwp-kpi-value,
.bwp-labour-dashboard .bwp-kpi-card:first-child .bwp-kpi-card-link {
	color: #111;
}

.bwp-labour-dashboard .bwp-kpi-card-link:hover {
	color: var(--bwp-primary);
}

/* Settings Page */
.bwp-settings-page {
	background: var(--bwp-card);
	border-radius: 20px;
	padding: 30px;
	margin-bottom: 30px;
	box-shadow: var(--bwp-shadow);
}

.bwp-settings-header {
	margin-bottom: 30px;
	padding-bottom: 20px;
	border-bottom: 1px solid var(--bwp-border);
}

.bwp-settings-header h2 {
	font-size: 24px;
	font-weight: 600;
	color: var(--bwp-text-dark);
	margin: 0 0 8px 0;
}

.bwp-settings-description {
	color: var(--bwp-text-muted);
	font-size: 14px;
	margin: 0;
}

.bwp-settings-tabs {
	display: flex;
	gap: 10px;
	margin-bottom: 30px;
	border-bottom: 2px solid #e9ecef;
	flex-wrap: wrap;
}

.bwp-settings-tab {
	background: none;
	border: none;
	padding: 12px 20px;
	font-size: 14px;
	font-weight: 500;
	color: #6c757d;
	cursor: pointer;
	border-bottom: 2px solid transparent;
	margin-bottom: -2px;
	transition: all 0.2s;
}

.bwp-settings-tab:hover {
	color: #405189;
	background: #f8f9fa;
}

.bwp-settings-tab.active {
	color: #405189;
	border-bottom-color: #405189;
}

.bwp-settings-panel {
	display: none;
}

.bwp-settings-panel.active {
	display: block;
	animation: fadeIn 0.3s;
}

.bwp-settings-section {
	margin-bottom: 40px;
	padding-bottom: 30px;
	border-bottom: 1px solid #e9ecef;
}

.bwp-settings-section:last-child {
	border-bottom: none;
}

.bwp-settings-section h3 {
	font-size: 18px;
	font-weight: 600;
	color: #212529;
	margin: 0 0 20px 0;
}

.bwp-settings-form {
	max-width: 600px;
}

.bwp-form-group {
	margin-bottom: 24px;
}

.bwp-form-group label {
	display: block;
	font-weight: 500;
	color: #212529;
	margin-bottom: 8px;
	font-size: 14px;
}

.bwp-form-control {
	width: 100%;
	padding: 10px 14px;
	border: 1px solid #dee2e6;
	border-radius: 6px;
	font-size: 14px;
	transition: border-color 0.2s;
}

.bwp-form-control:focus {
	outline: none;
	border-color: #405189;
	box-shadow: 0 0 0 3px rgba(64, 81, 137, 0.1);
}

.bwp-form-control:disabled {
	background: #f8f9fa;
	color: #6c757d;
	cursor: not-allowed;
}

.bwp-form-description {
	font-size: 12px;
	color: #6c757d;
	margin-top: 6px;
	margin-bottom: 0;
}

.bwp-form-actions {
	margin-top: 24px;
	display: flex;
	align-items: center;
	gap: 15px;
}

.bwp-form-message {
	margin-top: 10px;
}

.bwp-form-message .bwp-success {
	color: #0ab39c;
	font-size: 14px;
	padding: 8px 12px;
	background: #d1f2eb;
	border-radius: 6px;
}

.bwp-form-message .bwp-error {
	color: #f06548;
	font-size: 14px;
	padding: 8px 12px;
	background: #ffe5e0;
	border-radius: 6px;
}

.bwp-checkbox-label {
	display: flex;
	align-items: center;
	gap: 10px;
	cursor: pointer;
}

.bwp-checkbox-label input[type="checkbox"] {
	width: 18px;
	height: 18px;
	cursor: pointer;
}

.bwp-checkbox-label span {
	font-weight: 400;
}

.bwp-login-activity {
	background: #f8f9fa;
	padding: 20px;
	border-radius: 8px;
}

.bwp-login-activity p {
	margin: 8px 0;
	color: #495057;
}

.bwp-account-stats {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 20px;
	margin-top: 20px;
}

.bwp-stat-item {
	background: #f8f9fa;
	padding: 20px;
	border-radius: 8px;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.bwp-stat-label {
	color: #6c757d;
	font-size: 14px;
}

.bwp-stat-value {
	font-size: 24px;
	font-weight: 600;
	color: #405189;
}

.bwp-danger-text {
	color: #f06548;
	font-size: 14px;
	margin-bottom: 15px;
}

.bwp-btn-danger {
	background: #f06548;
	color: #fff;
	border: none;
	padding: 10px 20px;
	border-radius: 6px;
	font-size: 14px;
	font-weight: 500;
	cursor: pointer;
	transition: background 0.2s;
}

.bwp-btn-danger:hover:not(:disabled) {
	background: #d84a2f;
}

.bwp-btn-danger:disabled {
	opacity: 0.5;
	cursor: not-allowed;
}

.bwp-btn-secondary {
	background: #6c757d;
	color: #fff;
	border: none;
	padding: 10px 20px;
	border-radius: 6px;
	font-size: 14px;
	font-weight: 500;
	cursor: pointer;
	transition: background 0.2s;
}

.bwp-btn-secondary:hover {
	background: #5a6268;
}

/* Ticket Conversation Modal */
.bwp-modal {
	display: none;
	position: fixed;
	z-index: 10000;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.5);
	overflow: auto;
}

.bwp-modal-content {
	background-color: #fff;
	margin: 5% auto;
	width: 90%;
	max-width: 800px;
	border-radius: 20px;
	box-shadow: 0 25px 80px rgba(0, 0, 0, 0.15);
	max-height: 85vh;
	display: flex;
	flex-direction: column;
}

.bwp-modal-header {
	padding: 20px 30px;
	border-bottom: 1px solid #e9ecef;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.bwp-modal-header h3 {
	margin: 0;
	font-size: 20px;
	font-weight: 600;
	color: #212529;
}

.bwp-modal-close {
	background: none;
	border: none;
	font-size: 28px;
	color: #6c757d;
	cursor: pointer;
	padding: 0;
	width: 30px;
	height: 30px;
	line-height: 1;
	transition: color 0.2s;
}

.bwp-modal-close:hover {
	color: #212529;
}

.bwp-modal-body {
	padding: 30px;
	overflow-y: auto;
	flex: 1;
	display: flex;
	flex-direction: column;
}

.bwp-ticket-messages {
	flex: 1;
	max-height: 400px;
	overflow-y: auto;
	margin-bottom: 20px;
	padding: 20px;
	background: var(--bwp-bg);
	border-radius: 12px;
}

.bwp-messages-list {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.bwp-message-item {
	background: #fff;
	padding: 16px;
	border-radius: 8px;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.bwp-message-customer {
	border-left: 4px solid #405189;
}

.bwp-message-admin {
	border-left: 4px solid #0ab39c;
}

.bwp-message-header {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 10px;
}

.bwp-message-avatar {
	font-size: 24px;
	width: 40px;
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #f8f9fa;
	border-radius: 50%;
}

.bwp-message-author {
	flex: 1;
}

.bwp-message-author strong {
	display: block;
	color: #212529;
	font-size: 14px;
	font-weight: 600;
}

.bwp-message-role {
	font-size: 12px;
	color: #6c757d;
}

.bwp-message-date {
	font-size: 12px;
	color: #6c757d;
}

.bwp-message-content {
	color: #495057;
	line-height: 1.6;
	white-space: pre-wrap;
	word-wrap: break-word;
}

.bwp-ticket-reply-form {
	border-top: 1px solid #e9ecef;
	padding-top: 20px;
}

.bwp-tickets-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 24px;
}

.bwp-tickets-header h2 {
	margin: 0;
	font-size: 24px;
	font-weight: 600;
	color: var(--bwp-text-dark);
}

.bwp-tickets-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
	gap: 20px;
}

.bwp-tickets-page {
	background: var(--bwp-card);
	border-radius: 20px;
	padding: 24px;
	box-shadow: var(--bwp-shadow);
}

.bwp-ticket-card-footer {
	padding: 15px 20px;
	border-top: 1px solid var(--bwp-border);
	background: var(--bwp-bg);
	border-radius: 0 0 8px 8px;
}

.bwp-empty-state {
	text-align: center;
	padding: 60px 20px;
	color: var(--bwp-text-muted);
}

.bwp-ticket-card {
	background: var(--bwp-card);
	border-radius: 16px;
	box-shadow: var(--bwp-shadow);
	overflow: hidden;
	transition: all 0.3s ease;
}

.bwp-ticket-card:hover {
	box-shadow: var(--bwp-shadow-hover);
	transform: translateY(-2px);
}

/* ========================================
   Dark Theme Comprehensive Overrides
   ======================================== */

/* Force dark theme backgrounds and text on all common elements */
[data-theme="dark"] .bwp-portal-main,
[data-theme="dark"] .bwp-portal-main-content,
[data-theme="dark"] .bwp-page-dashboard,
[data-theme="dark"] .bwp-customer-dashboard {
	background: var(--bwp-bg) !important;
}

[data-theme="dark"] .bwp-updates-section,
[data-theme="dark"] .bwp-invoices-section,
[data-theme="dark"] .bwp-tickets-section,
[data-theme="dark"] .bwp-projects-section,
[data-theme="dark"] .bwp-charts-section,
[data-theme="dark"] .bwp-kpi-card,
[data-theme="dark"] .bwp-ticket-card,
[data-theme="dark"] .bwp-settings-page,
[data-theme="dark"] .bwp-invoices-list-page {
	background: var(--bwp-card) !important;
	border-color: var(--bwp-border) !important;
}

/* Ensure all text is visible in dark mode */
[data-theme="dark"] .bwp-dashboard-welcome h3,
[data-theme="dark"] .bwp-updates-section h3,
[data-theme="dark"] .bwp-invoices-section h3,
[data-theme="dark"] .bwp-tickets-section h3,
[data-theme="dark"] .bwp-projects-section h3,
[data-theme="dark"] .bwp-charts-section h3,
[data-theme="dark"] .bwp-settings-header h2 {
	color: #FFFFFF !important;
}

[data-theme="dark"] .bwp-section-description,
[data-theme="dark"] .bwp-settings-description,
[data-theme="dark"] .bwp-update-meta {
	color: #9CA3AF !important;
}

[data-theme="dark"] .bwp-update-item h4,
[data-theme="dark"] .bwp-kpi-value,
[data-theme="dark"] .bwp-kpi-card-title {
	color: #FFFFFF !important;
}

/* Dark mode KPI cards - ensure non-lime cards have white text */
[data-theme="dark"] .bwp-kpi-card:not(:first-child) .bwp-kpi-value,
[data-theme="dark"] .bwp-kpi-card:not(:first-child) .bwp-kpi-card-title {
	color: #FFFFFF !important;
}

/* Lime card (first card) keeps dark text */
[data-theme="dark"] .bwp-kpi-card:first-child .bwp-kpi-value,
[data-theme="dark"] .bwp-kpi-card:first-child .bwp-kpi-card-title,
[data-theme="dark"] .bwp-kpi-card:first-child .bwp-kpi-card-link {
	color: #111111 !important;
}

/* Dark mode table styling */
[data-theme="dark"] .bwp-invoices-table {
	background: var(--bwp-card) !important;
}

[data-theme="dark"] .bwp-invoices-table th {
	background: var(--bwp-bg) !important;
	color: #FFFFFF !important;
	border-color: var(--bwp-border) !important;
}

[data-theme="dark"] .bwp-invoices-table td {
	color: #E5E7EB !important;
	border-color: var(--bwp-border) !important;
}

[data-theme="dark"] .bwp-invoices-table tr:hover {
	background: var(--bwp-hover) !important;
}

/* Dark mode inputs and forms */
[data-theme="dark"] input,
[data-theme="dark"] select,
[data-theme="dark"] textarea {
	background: var(--bwp-input-bg) !important;
	border-color: var(--bwp-border) !important;
	color: #FFFFFF !important;
}

[data-theme="dark"] input::placeholder,
[data-theme="dark"] textarea::placeholder {
	color: #6B7280 !important;
}

[data-theme="dark"] label {
	color: #E5E7EB !important;
}

/* Dark mode buttons */
[data-theme="dark"] .bwp-btn-primary {
	background: var(--bwp-primary) !important;
	color: #111111 !important;
}

[data-theme="dark"] .bwp-btn-secondary {
	background: #2D2D2D !important;
	color: #FFFFFF !important;
	border-color: #3D3D3D !important;
}

/* Dark mode links */
[data-theme="dark"] .bwp-kpi-card-link {
	color: #9CA3AF !important;
}

[data-theme="dark"] .bwp-kpi-card-link:hover {
	color: var(--bwp-primary) !important;
}

/* Dark mode ticket cards */
[data-theme="dark"] .bwp-ticket-card-header,
[data-theme="dark"] .bwp-ticket-card-body {
	background: var(--bwp-card) !important;
}

[data-theme="dark"] .bwp-ticket-card-footer {
	background: var(--bwp-bg) !important;
	border-color: var(--bwp-border) !important;
}

/* Dark mode empty states */
[data-theme="dark"] .bwp-empty-state {
	color: #6B7280 !important;
}

/* Dark mode icons in KPI cards */
[data-theme="dark"] .bwp-kpi-card-icon {
	background: var(--bwp-bg) !important;
	color: var(--bwp-primary) !important;
}

/* ========================================
   Override Inline Styles for Dark Mode
   ======================================== */

/* Quick Action Cards - override inline background: #fff */
[data-theme="dark"] .bwp-quick-action-card,
[data-theme="dark"] a.bwp-quick-action-card,
[data-theme="dark"] [class*="quick-action"] {
	background: #1A1A1A !important;
	box-shadow: 0 10px 30px rgba(0,0,0,0.3) !important;
}

[data-theme="dark"] .bwp-quick-action-card:hover {
	box-shadow: 0 15px 40px rgba(0,0,0,0.4) !important;
}

/* Quick action card icon backgrounds */
[data-theme="dark"] .bwp-quick-action-card > div:first-child,
[data-theme="dark"] .bwp-quick-action-card .bwp-action-icon {
	background: #0F0F0F !important;
}

/* Quick action card text */
[data-theme="dark"] .bwp-quick-action-card div[style*="color: #111"],
[data-theme="dark"] .bwp-quick-action-card div[style*="color:#111"] {
	color: #FFFFFF !important;
}

[data-theme="dark"] .bwp-quick-action-card div[style*="color: #9CA3AF"],
[data-theme="dark"] .bwp-quick-action-card div[style*="color: rgba"] {
	color: #9CA3AF !important;
}

/* Project cards - override inline styles */
[data-theme="dark"] .bwp-project-card,
[data-theme="dark"] [class*="project-card"] {
	background: #1A1A1A !important;
	box-shadow: 0 2px 8px rgba(0,0,0,0.3) !important;
}

[data-theme="dark"] .bwp-project-card:hover {
	background: #222222 !important;
}

/* Task cards - override inline styles */
[data-theme="dark"] .bwp-task-card,
[data-theme="dark"] [class*="task-card"] {
	background: #1A1A1A !important;
	box-shadow: 0 2px 4px rgba(0,0,0,0.3) !important;
}

/* Section cards - override inline styles */
[data-theme="dark"] .bwp-section-card,
[data-theme="dark"] [class*="section-card"] {
	background: #1A1A1A !important;
	box-shadow: 0 2px 8px rgba(0,0,0,0.3) !important;
}

/* Filter buttons - override inline styles */
[data-theme="dark"] .bwp-filter-btn {
	background: #2D2D2D !important;
	color: #E5E7EB !important;
	border-color: #3D3D3D !important;
}

[data-theme="dark"] .bwp-filter-btn.active {
	background: #B4F000 !important;
	color: #111111 !important;
	border-color: #B4F000 !important;
}

/* Status selects - override inline styles */
[data-theme="dark"] .bwp-task-status-select {
	background: #1F1F1F !important;
	color: #FFFFFF !important;
	border-color: #2D2D2D !important;
}

/* Override any remaining white backgrounds */
[data-theme="dark"] [style*="background: #fff"],
[data-theme="dark"] [style*="background:#fff"],
[data-theme="dark"] [style*="background: white"],
[data-theme="dark"] [style*="background:white"] {
	background: #1A1A1A !important;
}

/* Override dark text colors to white in dark mode */
[data-theme="dark"] [style*="color: #111"],
[data-theme="dark"] [style*="color:#111"],
[data-theme="dark"] [style*="color: #212529"],
[data-theme="dark"] [style*="color:#212529"],
[data-theme="dark"] [style*="color: #333"],
[data-theme="dark"] [style*="color:#333"] {
	color: #FFFFFF !important;
}

/* Override muted text colors */
[data-theme="dark"] [style*="color: #495057"],
[data-theme="dark"] [style*="color:#495057"],
[data-theme="dark"] [style*="color: #6c757d"],
[data-theme="dark"] [style*="color:#6c757d"] {
	color: #9CA3AF !important;
}

/* Override icon container backgrounds */
[data-theme="dark"] [style*="background: #F3F4F6"],
[data-theme="dark"] [style*="background:#F3F4F6"],
[data-theme="dark"] [style*="background: #f3f4f6"],
[data-theme="dark"] [style*="background:#f3f4f6"] {
	background: #0F0F0F !important;
}

/* Override border colors */
[data-theme="dark"] [style*="border: 1px solid #e0e0e0"],
[data-theme="dark"] [style*="border:1px solid #e0e0e0"],
[data-theme="dark"] [style*="border: 1px solid #e9ecef"],
[data-theme="dark"] [style*="border:1px solid #e9ecef"],
[data-theme="dark"] [style*="border: 1px solid #e5e7eb"],
[data-theme="dark"] [style*="border:1px solid #e5e7eb"] {
	border-color: #2D2D2D !important;
}

/* Error/warning containers in dark mode */
[data-theme="dark"] .bwp-error[style*="background: #fff3cd"] {
	background: #3D3000 !important;
	border-color: #5A4500 !important;
	color: #FFD93D !important;
}

/* SVG icons in dark mode - make them visible */
[data-theme="dark"] .bwp-quick-action-card svg {
	stroke: #9CA3AF !important;
}

[data-theme="dark"] .bwp-quick-action-card:hover svg {
	stroke: #111111 !important;
}

/* Additional dark mode overrides for visibility settings */
[data-theme="dark"] .bwp-toggle-row {
	background: #0F0F0F !important;
	border-color: #2D2D2D !important;
}

/* Dark mode for ticket page */
[data-theme="dark"] .bwp-tickets-page {
	background: #1A1A1A !important;
}

[data-theme="dark"] .bwp-tickets-header h2 {
	color: #FFFFFF !important;
}

[data-theme="dark"] .bwp-ticket-form {
	background: #1A1A1A !important;
	border-color: #2D2D2D !important;
}

[data-theme="dark"] .bwp-ticket-form h3 {
	color: #FFFFFF !important;
}

/* Dark mode for empty states */
[data-theme="dark"] .bwp-empty-state {
	background: #1A1A1A !important;
	color: #9CA3AF !important;
}

[data-theme="dark"] .bwp-empty-state h3 {
	color: #FFFFFF !important;
}

/* Dark mode for form controls */
[data-theme="dark"] .bwp-form-control {
	background: #1F1F1F !important;
	border-color: #2D2D2D !important;
	color: #FFFFFF !important;
}

/* Dark mode for page containers */
[data-theme="dark"] .bwp-page-container {
	background: transparent !important;
}

/* Additional text color overrides for inline styles */
[data-theme="dark"] [style*="color: #1f2937"],
[data-theme="dark"] [style*="color:#1f2937"] {
	color: #FFFFFF !important;
}

[data-theme="dark"] [style*="color: #6b7280"],
[data-theme="dark"] [style*="color:#6b7280"] {
	color: #9CA3AF !important;
}

/* Background overrides for inline styles */
[data-theme="dark"] [style*="background: #f9fafb"],
[data-theme="dark"] [style*="background:#f9fafb"],
[data-theme="dark"] [style*="background: #fef3c7"],
[data-theme="dark"] [style*="background:#fef3c7"] {
	background: #0F0F0F !important;
}

/* ========================================
   TIME TRACKING PAGE - Dark Mode
   ======================================== */
[data-theme="dark"] .bwp-time-tracking-page,
[data-theme="dark"] .bwp-timesheet-report-page {
	background: transparent !important;
}

[data-theme="dark"] .bwp-time-tracking-page .bwp-section-card,
[data-theme="dark"] .bwp-timesheet-report-page .bwp-section-card,
[data-theme="dark"] .bwp-timesheet-report-page .bwp-filters {
	background: #1A1A1A !important;
	box-shadow: 0 2px 8px rgba(0,0,0,0.3) !important;
}

[data-theme="dark"] .bwp-time-tracking-page h2,
[data-theme="dark"] .bwp-timesheet-report-page h2,
[data-theme="dark"] .bwp-timesheet-report-page h3 {
	color: #FFFFFF !important;
}

[data-theme="dark"] .bwp-time-tracking-page label,
[data-theme="dark"] .bwp-timesheet-report-page label {
	color: #9CA3AF !important;
}

[data-theme="dark"] .bwp-time-tracking-page select,
[data-theme="dark"] .bwp-time-tracking-page textarea,
[data-theme="dark"] .bwp-time-tracking-page input,
[data-theme="dark"] .bwp-timesheet-report-page select,
[data-theme="dark"] .bwp-timesheet-report-page input {
	background: #1F1F1F !important;
	border-color: #2D2D2D !important;
	color: #FFFFFF !important;
}

/* ========================================
   FILES PAGE - Dark Mode
   ======================================== */
[data-theme="dark"] .bwp-files-page {
	background: transparent !important;
}

[data-theme="dark"] #bwp-files-container {
	background: #1A1A1A !important;
	box-shadow: 0 2px 8px rgba(0,0,0,0.3) !important;
}

[data-theme="dark"] .bwp-file-card {
	background: #1A1A1A !important;
	border-color: #2D2D2D !important;
}

[data-theme="dark"] .bwp-file-card h4 {
	color: #FFFFFF !important;
}

[data-theme="dark"] .bwp-file-card p {
	color: #9CA3AF !important;
}

[data-theme="dark"] .bwp-file-card [style*="background: #f8f9fa"] {
	background: #0F0F0F !important;
}

[data-theme="dark"] .bwp-file-filter {
	background: #2D2D2D !important;
	border-color: #3D3D3D !important;
	color: #FFFFFF !important;
}

[data-theme="dark"] .bwp-file-filter.active {
	background: #B4F000 !important;
	color: #111111 !important;
}

/* ========================================
   TASKS PAGE - Dark Mode
   ======================================== */
[data-theme="dark"] .bwp-tasks-page {
	background: transparent !important;
}

[data-theme="dark"] .bwp-tasks-page .bwp-section-card {
	background: #1A1A1A !important;
}

[data-theme="dark"] .bwp-tasks-page h2,
[data-theme="dark"] .bwp-tasks-page h3 {
	color: #FFFFFF !important;
}

[data-theme="dark"] .bwp-tasks-page .bwp-task-card {
	background: #0F0F0F !important;
}

[data-theme="dark"] .bwp-tasks-page .bwp-task-card h4 {
	color: #FFFFFF !important;
}

[data-theme="dark"] .bwp-tasks-page .bwp-task-card p {
	color: #9CA3AF !important;
}

/* ========================================
   ADMIN TASKS PAGE - Dark Mode
   ======================================== */
[data-theme="dark"] .bwp-admin-tasks-page {
	background: transparent !important;
}

[data-theme="dark"] .bwp-admin-tasks-page .bwp-tasks-list-card {
	background: #1A1A1A !important;
}

[data-theme="dark"] .bwp-admin-tasks-page h2 {
	color: #FFFFFF !important;
}

[data-theme="dark"] .bwp-admin-tasks-page select {
	background: #1F1F1F !important;
	border-color: #2D2D2D !important;
	color: #FFFFFF !important;
}

/* ========================================
   PROJECTS PAGE - Dark Mode
   ======================================== */
[data-theme="dark"] .bwp-projects-page {
	background: transparent !important;
}

[data-theme="dark"] .bwp-projects-page .bwp-project-card {
	background: #1A1A1A !important;
	border-color: #2D2D2D !important;
}

[data-theme="dark"] .bwp-projects-page .bwp-project-card h3 {
	color: #FFFFFF !important;
}

[data-theme="dark"] .bwp-projects-page .bwp-project-card p {
	color: #9CA3AF !important;
}

/* ========================================
   TEAM TIME TRACKING (ADMIN) - Dark Mode
   ======================================== */
[data-theme="dark"] .bwp-team-time-tracking-page {
	background: transparent !important;
}

[data-theme="dark"] .bwp-team-time-tracking-page table {
	background: #1A1A1A !important;
}

[data-theme="dark"] .bwp-team-time-tracking-page th {
	background: #0F0F0F !important;
	color: #FFFFFF !important;
	border-color: #2D2D2D !important;
}

[data-theme="dark"] .bwp-team-time-tracking-page td {
	color: #E5E7EB !important;
	border-color: #2D2D2D !important;
}

[data-theme="dark"] .bwp-team-time-tracking-page tbody tr:hover {
	background: #222222 !important;
}

/* ========================================
   SERVICE ORDERS PAGE - Dark Mode
   ======================================== */
[data-theme="dark"] .bwp-service-orders-page {
	background: transparent !important;
}

[data-theme="dark"] .bwp-service-orders-page .bwp-orders-table {
	background: #1A1A1A !important;
}

[data-theme="dark"] .bwp-service-orders-page th {
	background: #0F0F0F !important;
	color: #FFFFFF !important;
}

[data-theme="dark"] .bwp-service-orders-page td {
	color: #E5E7EB !important;
	border-color: #2D2D2D !important;
}

/* ========================================
   CUSTOMERS/TEAM PAGES - Dark Mode
   ======================================== */
[data-theme="dark"] .bwp-customers-page,
[data-theme="dark"] .bwp-team-page {
	background: transparent !important;
}

[data-theme="dark"] .bwp-customers-page .bwp-customer-card,
[data-theme="dark"] .bwp-team-page .bwp-team-card {
	background: #1A1A1A !important;
	border-color: #2D2D2D !important;
}

[data-theme="dark"] .bwp-customers-page h3,
[data-theme="dark"] .bwp-team-page h3 {
	color: #FFFFFF !important;
}

[data-theme="dark"] .bwp-customers-page p,
[data-theme="dark"] .bwp-team-page p {
	color: #9CA3AF !important;
}

/* ========================================
   MODALS - Dark Mode
   ======================================== */
[data-theme="dark"] .bwp-modal-content {
	background: #1A1A1A !important;
}

[data-theme="dark"] .bwp-modal-header {
	background: #111111 !important;
	border-color: #2D2D2D !important;
}

[data-theme="dark"] .bwp-modal-header h2,
[data-theme="dark"] .bwp-modal-header h3 {
	color: #FFFFFF !important;
}

[data-theme="dark"] .bwp-modal-body {
	background: #1A1A1A !important;
	color: #E5E7EB !important;
}

[data-theme="dark"] .bwp-modal-body label {
	color: #E5E7EB !important;
}

[data-theme="dark"] .bwp-modal-body input,
[data-theme="dark"] .bwp-modal-body select,
[data-theme="dark"] .bwp-modal-body textarea {
	background: #1F1F1F !important;
	border-color: #2D2D2D !important;
	color: #FFFFFF !important;
}

[data-theme="dark"] .bwp-modal-footer {
	background: #0F0F0F !important;
	border-color: #2D2D2D !important;
}

/* ========================================
   GENERAL SECTION CARDS - Dark Mode
   ======================================== */
[data-theme="dark"] .bwp-section-card {
	background: #1A1A1A !important;
	box-shadow: 0 2px 8px rgba(0,0,0,0.3) !important;
}

[data-theme="dark"] .bwp-section-card h2,
[data-theme="dark"] .bwp-section-card h3 {
	color: #FFFFFF !important;
}

/* ========================================
   PROGRESS BARS - Dark Mode
   ======================================== */
[data-theme="dark"] [style*="background: #e9ecef"] {
	background: #2D2D2D !important;
}

/* ========================================
   TABLES - Dark Mode
   ======================================== */
[data-theme="dark"] table {
	background: #1A1A1A !important;
}

[data-theme="dark"] th {
	background: #0F0F0F !important;
	color: #FFFFFF !important;
	border-color: #2D2D2D !important;
}

[data-theme="dark"] td {
	color: #E5E7EB !important;
	border-color: #2D2D2D !important;
}

[data-theme="dark"] tbody tr:hover {
	background: #222222 !important;
}

/* ========================================
   BUTTONS - Dark Mode Overrides
   ======================================== */
[data-theme="dark"] .bwp-btn-secondary {
	background: #2D2D2D !important;
	border-color: #3D3D3D !important;
	color: #FFFFFF !important;
}

[data-theme="dark"] .bwp-btn-secondary:hover {
	background: #3D3D3D !important;
}

/* ========================================
   EMPTY STATES - Dark Mode
   ======================================== */
[data-theme="dark"] [style*="text-align: center"][style*="padding: 40px"] {
	color: #9CA3AF !important;
}

/* ========================================
   ADDITIONAL INLINE STYLE OVERRIDES
   ======================================== */
[data-theme="dark"] [style*="color: #856404"] {
	color: #FFD93D !important;
}

[data-theme="dark"] [style*="background: #fff3cd"] {
	background: #3D3000 !important;
	border-color: #5A4500 !important;
}

[data-theme="dark"] [style*="color: #495057"] {
	color: #E5E7EB !important;
}

[data-theme="dark"] [style*="background: #e9ecef"] {
	background: #2D2D2D !important;
}

[data-theme="dark"] [style*="border: 1px solid #ffc107"] {
	border-color: #5A4500 !important;
}

/* ========================================
   COMPREHENSIVE INLINE STYLE OVERRIDES
   ======================================== */

/* All elements with white background inline style */
[data-theme="dark"] [style*="background: #fff"],
[data-theme="dark"] [style*="background:#fff"] {
	background: #1A1A1A !important;
}

/* All elements with light gray backgrounds */
[data-theme="dark"] [style*="background: #f8f9fa"],
[data-theme="dark"] [style*="background:#f8f9fa"],
[data-theme="dark"] [style*="background: #f6f8fa"],
[data-theme="dark"] [style*="background:#f6f8fa"] {
	background: #0F0F0F !important;
}

/* Warning/Info backgrounds */
[data-theme="dark"] [style*="background: #fff3e0"],
[data-theme="dark"] [style*="background:#fff3e0"],
[data-theme="dark"] [style*="background: #fffbeb"],
[data-theme="dark"] [style*="background:#fffbeb"] {
	background: #3D2800 !important;
}

/* Text colors */
[data-theme="dark"] [style*="color: #212529"],
[data-theme="dark"] [style*="color:#212529"] {
	color: #FFFFFF !important;
}

[data-theme="dark"] [style*="color: #333"],
[data-theme="dark"] [style*="color:#333"] {
	color: #FFFFFF !important;
}

[data-theme="dark"] [style*="color: #374151"],
[data-theme="dark"] [style*="color:#374151"] {
	color: #E5E7EB !important;
}

[data-theme="dark"] [style*="color: #999"],
[data-theme="dark"] [style*="color:#999"] {
	color: #6B7280 !important;
}

/* Border colors */
[data-theme="dark"] [style*="border: 1px solid #e5e7eb"],
[data-theme="dark"] [style*="border:1px solid #e5e7eb"],
[data-theme="dark"] [style*="border: 1px solid #e0e0e0"],
[data-theme="dark"] [style*="border:1px solid #e0e0e0"] {
	border-color: #2D2D2D !important;
}

/* Box shadows */
[data-theme="dark"] [style*="box-shadow: 0 2px 8px rgba(0,0,0,0.08)"],
[data-theme="dark"] [style*="box-shadow: 0 1px 3px rgba(0,0,0,0.1)"],
[data-theme="dark"] [style*="box-shadow: 0 10px 30px rgba(0,0,0,0.05)"] {
	box-shadow: 0 2px 8px rgba(0,0,0,0.3) !important;
}

/* Revenue section */
[data-theme="dark"] .bwp-revenue-section[style*="background: #fff"] {
	background: #1A1A1A !important;
}

/* Recent tickets section */
[data-theme="dark"] .bwp-recent-tickets[style*="background: #fff"] {
	background: #1A1A1A !important;
}

/* Assigned tasks section */
[data-theme="dark"] .bwp-assigned-tasks[style*="background: #fff"] {
	background: #1A1A1A !important;
}

/* Portal links section */
[data-theme="dark"] .bwp-portal-links[style*="background: #fff"] {
	background: #1A1A1A !important;
}

/* Customers list */
[data-theme="dark"] .bwp-customers-list[style*="background: #fff"] {
	background: #1A1A1A !important;
}

/* Labours list */
[data-theme="dark"] .bwp-labours-list[style*="background: #fff"] {
	background: #1A1A1A !important;
}

/* Edit form container */
[data-theme="dark"] .bwp-edit-form-container[style*="background: #fff"] {
	background: #1A1A1A !important;
}

/* Notifications container */
[data-theme="dark"] #bwp-notifications-container[style*="background: #fff"] {
	background: #1A1A1A !important;
}

/* Create task section */
[data-theme="dark"] #bwp-create-task-section[style*="background: #fff"] {
	background: #1A1A1A !important;
}

/* Stat cards with inline styles */
[data-theme="dark"] .bwp-stat-card[style*="background: #fff"] {
	background: #1A1A1A !important;
}

/* Project cards */
[data-theme="dark"] .bwp-project-card[style*="background: #fff"] {
	background: #1A1A1A !important;
	border-color: #2D2D2D !important;
}

/* Task cards */
[data-theme="dark"] .bwp-task-card[style*="background: #fff"] {
	background: #1A1A1A !important;
}

/* Ticket cards */
[data-theme="dark"] .bwp-ticket-card[style*="background: #fff"] {
	background: #1A1A1A !important;
}

/* Filters section */
[data-theme="dark"] .bwp-filters[style*="background: #fff"] {
	background: #1A1A1A !important;
}

/* Ensure all h4 elements in cards are visible */
[data-theme="dark"] .bwp-file-card h4,
[data-theme="dark"] .bwp-task-card h4,
[data-theme="dark"] .bwp-ticket-card h4,
[data-theme="dark"] .bwp-project-card h3 {
	color: #FFFFFF !important;
}

/* Ensure all descriptions are visible */
[data-theme="dark"] [style*="font-size: 12px"][style*="color: #6c757d"],
[data-theme="dark"] [style*="font-size: 13px"][style*="color: #6c757d"],
[data-theme="dark"] [style*="font-size: 14px"][style*="color: #6c757d"] {
	color: #9CA3AF !important;
}

/* ========================================
   ADMIN PAGES - Dark Mode
   ======================================== */

/* Admin Stats Page */
[data-theme="dark"] .bwp-admin-stats-page [style*="background: #fff"] {
	background: #1A1A1A !important;
}

/* Admin Tickets Page */
[data-theme="dark"] .bwp-admin-tickets-page [style*="background: #fff"] {
	background: #1A1A1A !important;
}

/* Admin Activity Log */
[data-theme="dark"] .bwp-activity-log-page [style*="background: #fff"] {
	background: #1A1A1A !important;
}

/* Admin Settings Page */
[data-theme="dark"] .bwp-admin-settings-page [style*="background: #fff"] {
	background: #1A1A1A !important;
}

/* Admin Projects Page */
[data-theme="dark"] .bwp-admin-projects-page [style*="background: #fff"] {
	background: #1A1A1A !important;
}

/* Admin Invoices Page */
[data-theme="dark"] .bwp-admin-invoices-page [style*="background: #fff"] {
	background: #1A1A1A !important;
}

/* Admin Services Page */
[data-theme="dark"] .bwp-admin-services-page [style*="background: #fff"] {
	background: #1A1A1A !important;
}

/* Admin Booking Forms Page */
[data-theme="dark"] .bwp-admin-booking-forms-page [style*="background: #fff"] {
	background: #1A1A1A !important;
}

/* Services Page (Customer) */
[data-theme="dark"] .bwp-services-page [style*="background: #fff"] {
	background: #1A1A1A !important;
}

/* My Orders Page */
[data-theme="dark"] .bwp-my-orders-page [style*="background: #fff"] {
	background: #1A1A1A !important;
}

/* Search Page */
[data-theme="dark"] .bwp-search-page [style*="background: #fff"] {
	background: #1A1A1A !important;
}

/* Notifications Page */
[data-theme="dark"] .bwp-notifications-page [style*="background: #fff"] {
	background: #1A1A1A !important;
}

/* Settings Page */
[data-theme="dark"] .bwp-settings-page [style*="background: #fff"] {
	background: #1A1A1A !important;
}

/* ========================================
   GLOBAL DARK MODE - FORCE ALL WHITE BG
   ======================================== */

/* Force all divs with white background to dark */
[data-theme="dark"] div[style*="background: #fff"],
[data-theme="dark"] div[style*="background:#fff"],
[data-theme="dark"] div[style*="background: white"],
[data-theme="dark"] div[style*="background:white"] {
	background: #1A1A1A !important;
}

/* Force all anchor cards with white background to dark */
[data-theme="dark"] a[style*="background: #fff"],
[data-theme="dark"] a[style*="background:#fff"] {
	background: #1A1A1A !important;
}

/* Page headers */
[data-theme="dark"] .bwp-page-header h1 {
	color: #FFFFFF !important;
}

[data-theme="dark"] .bwp-page-header p,
[data-theme="dark"] .bwp-page-subtitle {
	color: #9CA3AF !important;
}

/* All section headings */
[data-theme="dark"] h2[style*="margin: 0"],
[data-theme="dark"] h3[style*="margin: 0"] {
	color: #FFFFFF !important;
}

/* All labels */
[data-theme="dark"] label[style*="display: block"] {
	color: #9CA3AF !important;
}

/* All select and input elements with inline styles */
[data-theme="dark"] select[style*="padding"],
[data-theme="dark"] input[style*="padding"],
[data-theme="dark"] textarea[style*="padding"] {
	background: #1F1F1F !important;
	border-color: #2D2D2D !important;
	color: #FFFFFF !important;
}

/* All buttons with white background */
[data-theme="dark"] button[style*="background: #fff"],
[data-theme="dark"] button[style*="background:#fff"] {
	background: #2D2D2D !important;
	color: #FFFFFF !important;
	border-color: #3D3D3D !important;
}
