/* SellerSlice Design System */
:root {
	/* Brand Colors */
	--sellerslice-light-blue: #1f9bff;
	--sellerslice-dark-blue: #0e35a4;
	
	/* Typography */
	--font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
	
	/* Spacing System */
	--space-xs: 0.25rem;   /* 4px */
	--space-sm: 0.5rem;    /* 8px */
	--space-md: 1rem;      /* 16px */
	--space-lg: 1.5rem;    /* 24px */
	--space-xl: 2rem;      /* 32px */
	--space-2xl: 3rem;     /* 48px */
	--space-3xl: 4rem;     /* 64px */
	
	/* Border Radius */
	--radius-sm: 0.375rem;  /* 6px */
	--radius-md: 0.5rem;    /* 8px */
	--radius-lg: 0.75rem;   /* 12px */
	--radius-xl: 1rem;      /* 16px */
	
	/* Shadows */
	--shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
	--shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
	--shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
	--shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Modern Creative Design System */
* { 
	box-sizing: border-box;
	font-family: var(--font-family);
}

/* App Header Styling */
.app-header { 
	background: rgba(255, 255, 255, 0.1);
	backdrop-filter: blur(20px);
	border-bottom: 1px solid rgba(255, 255, 255, 0.2);
	color: white; 
	padding: 20px 24px; 
	display: flex;
	justify-content: space-between;
	align-items: center;
	position: sticky;
	top: 0;
	z-index: 100;
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.header-logo {
	display: flex;
	align-items: center;
	gap: 12px;
}

.logo-image {
	width: 32px;
	height: 32px;
	border-radius: 8px;
}

.logo-text {
	display: flex;
	flex-direction: column;
}

.logo-subtitle {
	font-size: 0.875rem;
	font-weight: 500;
	color: rgba(255, 255, 255, 0.8);
	margin-top: 2px;
}

.header-actions {
	display: flex;
	align-items: center;
	gap: 12px;
}

.user-info {
	font-size: 0.875rem;
	color: rgba(255, 255, 255, 0.8);
}

.settings-button {
	background: rgba(255, 255, 255, 0.1);
	border: 1px solid rgba(255, 255, 255, 0.2);
	color: white;
	padding: 0.5rem 1rem;
	border-radius: 0.5rem;
	cursor: pointer;
	display: flex;
	align-items: center;
	gap: 0.5rem;
	transition: all 0.2s ease;
	font-size: 0.9rem;
	font-weight: 500;
}

.settings-button:hover {
	background: rgba(255, 255, 255, 0.2);
	border-color: rgba(255, 255, 255, 0.3);
}

/* Empty State Styles */
.empty-state {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 60vh;
	padding: 40px 20px;
}

.empty-state-content {
	text-align: center;
	max-width: 500px;
	background: rgba(255, 255, 255, 0.1);
	backdrop-filter: blur(20px);
	border-radius: 20px;
	padding: 60px 40px;
	border: 1px solid rgba(255, 255, 255, 0.2);
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.empty-state-content h2 {
	color: white;
	font-size: 2.5rem;
	font-weight: 700;
	margin: 0 0 16px 0;
	background: linear-gradient(135deg, #ffffff 0%, #e2e8f0 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

.empty-state-content p {
	color: rgba(255, 255, 255, 0.8);
	font-size: 1.2rem;
	margin: 0 0 32px 0;
	line-height: 1.6;
}

.empty-state-content .btn {
	font-size: 1.1rem;
	padding: 16px 32px;
	border-radius: 12px;
	transition: all 0.3s ease;
}

.empty-state-content .btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* Dark mode empty state */
html.dark-mode .empty-state-content {
	background: rgba(0, 0, 0, 0.3);
	border: 1px solid rgba(255, 255, 255, 0.1);
}

html.dark-mode .empty-state-content h2 {
	background: linear-gradient(135deg, #ffffff 0%, #cbd5e1 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

html.dark-mode .empty-state-content p {
	color: rgba(255, 255, 255, 0.7);
}
html, body { 
	margin: 0; 
	padding: 0; 
	font-family: 'Inter', 'SF Pro Display', system-ui, -apple-system, BlinkMacSystemFont, sans-serif; 
	color: #0f172a; 
	background: linear-gradient(135deg, #0f766e 0%, #1e40af 50%, #3b82f6 100%);
	min-height: 100vh;
	transition: all 0.3s ease;
}

/* Dark mode styles */
html.dark-mode {
	color: #e2e8f0;
	background: linear-gradient(135deg, #0f766e 0%, #1e40af 50%, #3b82f6 100%);
}

html.dark-mode body {
	color: #e2e8f0;
	background: transparent;
}

/* Modern Header with Glassmorphism */
.app-header { 
	background: rgba(255, 255, 255, 0.1);
	backdrop-filter: blur(20px);
	border-bottom: 1px solid rgba(255, 255, 255, 0.2);
	color: white; 
	padding: 20px 24px; 
	display: flex;
	justify-content: space-between;
	align-items: center;
	position: sticky;
	top: 0;
	z-index: 100;
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.header-logo {
	display: flex;
	align-items: center;
	gap: 12px;
}

.logo-image {
	height: 60px !important;
	width: auto !important;
	max-width: 300px !important;
	min-height: 60px !important;
	object-fit: contain !important;
	flex-shrink: 0;
}

.logo-text h1 {
	margin: 0;
	font-size: 24px;
	font-weight: 700;
	color: #3b82f6;
	letter-spacing: 1px;
	background: linear-gradient(45deg, #3b82f6, #1e40af);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

.logo-subtitle {
	font-size: 1.5rem;
	color: white;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 1px;
	text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
	margin: 0;
	font-family: 'Inter', 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Client Status Styling - Highlight whole square */
.status-active {
	color: #000;
	font-weight: 700;
	font-size: 24px;
	background: transparent;
	padding: 0;
	border-radius: 0;
	border: none;
}

.status-signed {
	color: #000;
	font-weight: 700;
	font-size: 24px;
	background: rgba(245, 158, 11, 0.2);
	padding: 8px 12px;
	border-radius: 8px;
	border: 2px solid #f59e0b;
}

.status-on-hold {
	color: #000;
	font-weight: 700;
	font-size: 24px;
	background: rgba(239, 68, 68, 0.2);
	padding: 8px 12px;
	border-radius: 8px;
	border: 2px solid #ef4444;
	animation: pulse-red 2s infinite;
}

.status-offboarding {
	color: #000;
	font-weight: 700;
	font-size: 24px;
	background: rgba(220, 38, 38, 0.2);
	padding: 8px 12px;
	border-radius: 8px;
	border: 2px solid #dc2626;
	animation: pulse-red 1.5s infinite;
}

.status-inactive {
	color: #dc2626;
	font-weight: 700;
	font-size: 24px;
	background: transparent;
	padding: 0;
	border-radius: 0;
	border: none;
}

/* Status Alert Animations */
@keyframes pulse-red {
	0%, 100% {
		background: rgba(239, 68, 68, 0.2);
	}
	50% {
		background: rgba(239, 68, 68, 0.3);
	}
}

/* Full Card Status Highlighting */
.service-overview-card.status-signed {
	background: rgba(245, 158, 11, 0.15);
	border: 2px solid #f59e0b;
}

.service-overview-card.status-on-hold {
	background: rgba(239, 68, 68, 0.15);
	border: 2px solid #ef4444;
	animation: pulse-card-red 2s infinite;
}

.service-overview-card.status-offboarding {
	background: rgba(220, 38, 38, 0.15);
	border: 2px solid #dc2626;
	animation: pulse-card-red 1.5s infinite;
}

.service-overview-card.status-inactive {
	background: transparent;
	border: 2px solid #dc2626;
}

/* Card Alert Animations */
@keyframes pulse-card-red {
	0%, 100% {
		background: rgba(239, 68, 68, 0.15);
	}
	50% {
		background: rgba(239, 68, 68, 0.25);
	}
}

/* ARC Sub-Navigation Styling */
.arc-sub-nav {
	display: flex;
	gap: 8px;
	margin-bottom: 24px;
	padding: 8px;
	background: rgba(255, 255, 255, 0.1);
	border-radius: 12px;
	backdrop-filter: blur(10px);
}

.arc-sub-btn {
	background: transparent;
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 8px;
	padding: 12px 20px;
	color: #6b7280;
	font-weight: 500;
	cursor: pointer;
	transition: all 0.3s ease;
	flex: 1;
	text-align: center;
}

.arc-sub-btn:hover {
	background: rgba(255, 255, 255, 0.1);
	border-color: rgba(255, 255, 255, 0.3);
	color: #374151;
}

.arc-sub-btn.active {
	background: linear-gradient(135deg, #3b82f6 0%, #1e40af 100%);
	border-color: #3b82f6;
	color: white;
	box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.arc-sub-content {
	display: none;
}

.arc-sub-content.active {
	display: block;
}

/* Dark mode styles for ARC sub-nav */
.dark-mode .arc-sub-nav {
	background: rgba(31, 41, 55, 0.3);
}

.dark-mode .arc-sub-btn {
	border-color: rgba(255, 255, 255, 0.1);
	color: #9ca3af;
}

.dark-mode .arc-sub-btn:hover {
	background: rgba(255, 255, 255, 0.05);
	border-color: rgba(255, 255, 255, 0.2);
	color: #d1d5db;
}

.dark-mode .arc-sub-btn.active {
	background: linear-gradient(135deg, #3b82f6 0%, #1e40af 100%);
	border-color: #3b82f6;
	color: white;
}

/* HD Sub-Navigation */
.hd-sub-nav {
	display: flex;
	gap: 8px;
	margin-bottom: 24px;
	padding: 8px;
	background: rgba(255, 255, 255, 0.1);
	border-radius: 12px;
	backdrop-filter: blur(10px);
}

.hd-sub-btn {
	background: transparent;
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 8px;
	padding: 12px 20px;
	color: #6b7280;
	font-weight: 500;
	cursor: pointer;
	transition: all 0.3s ease;
	flex: 1;
	text-align: center;
}

.hd-sub-btn:hover {
	background: rgba(255, 255, 255, 0.1);
	border-color: rgba(255, 255, 255, 0.3);
	color: #374151;
}

.hd-sub-btn.active {
	background: linear-gradient(135deg, #10b981 0%, #059669 100%);
	border-color: #10b981;
	color: white;
	box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.hd-sub-content {
	display: none;
}

.hd-sub-content.active {
	display: block;
}

.dark-mode .hd-sub-nav {
	background: rgba(31, 41, 55, 0.3);
}

.dark-mode .hd-sub-btn {
	border-color: rgba(255, 255, 255, 0.1);
	color: #9ca3af;
}

.dark-mode .hd-sub-btn:hover {
	background: rgba(255, 255, 255, 0.05);
	border-color: rgba(255, 255, 255, 0.2);
	color: #d1d5db;
}

.dark-mode .hd-sub-btn.active {
	background: linear-gradient(135deg, #10b981 0%, #059669 100%);
	border-color: #10b981;
	color: white;
}

/* HD History Styling */
.hd-case-item {
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 8px;
	padding: 16px;
	margin-bottom: 12px;
	transition: all 0.3s ease;
}

.hd-case-item:hover {
	background: rgba(255, 255, 255, 0.08);
	border-color: rgba(255, 255, 255, 0.2);
	transform: translateY(-2px);
}

.case-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 8px;
	gap: 12px;
}

.case-id {
	font-weight: 600;
	color: #10b981;
	font-size: 14px;
}

.case-cost {
	background: rgba(59, 130, 246, 0.2);
	color: #3b82f6;
	border: 1px solid rgba(59, 130, 246, 0.3);
	padding: 4px 8px;
	border-radius: 4px;
	font-size: 12px;
	font-weight: 500;
}

.case-priority {
	padding: 4px 8px;
	border-radius: 4px;
	font-size: 12px;
	font-weight: 500;
	text-transform: uppercase;
}

.case-priority.high {
	background: rgba(239, 68, 68, 0.2);
	color: #ef4444;
	border: 1px solid rgba(239, 68, 68, 0.3);
}

.case-priority.medium {
	background: rgba(245, 158, 11, 0.2);
	color: #f59e0b;
	border: 1px solid rgba(245, 158, 11, 0.3);
}

.case-priority.low {
	background: rgba(34, 197, 94, 0.2);
	color: #22c55e;
	border: 1px solid rgba(34, 197, 94, 0.3);
}

.case-status {
	padding: 4px 8px;
	border-radius: 4px;
	font-size: 12px;
	font-weight: 500;
	text-transform: uppercase;
}

.case-status.completed {
	background: rgba(34, 197, 94, 0.2);
	color: #22c55e;
	border: 1px solid rgba(34, 197, 94, 0.3);
}

.case-status.in-progress {
	background: rgba(59, 130, 246, 0.2);
	color: #3b82f6;
	border: 1px solid rgba(59, 130, 246, 0.3);
}

.case-status.waiting-client-input {
	background: rgba(168, 85, 247, 0.2);
	color: #a855f7;
	border: 1px solid rgba(168, 85, 247, 0.3);
}

.case-title {
	font-weight: 600;
	color: #1f2937;
	margin-bottom: 8px;
	font-size: 16px;
}

.case-details {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.case-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	font-size: 14px;
	color: #6b7280;
}

.case-date {
	font-weight: 500;
}

.case-assigned {
	font-weight: 500;
	color: #10b981;
}

.dark-mode .hd-case-item {
	background: rgba(31, 41, 55, 0.3);
	border-color: rgba(255, 255, 255, 0.1);
}

.dark-mode .hd-case-item:hover {
	background: rgba(31, 41, 55, 0.5);
	border-color: rgba(255, 255, 255, 0.2);
}

.dark-mode .case-title {
	color: #f9fafb;
}

.dark-mode .case-meta {
	color: #9ca3af;
}

/* ARC Project Planning Styling */
.month-selector {
	margin-bottom: 1.5rem;
	padding: 1rem;
	background: rgba(255, 255, 255, 0.05);
	border-radius: 8px;
	border: 1px solid rgba(255, 255, 255, 0.1);
}

.month-selector label {
	display: block;
	margin-bottom: 0.5rem;
	font-weight: 600;
	color: var(--text-primary);
}

.month-dropdown {
	width: 100%;
	padding: 0.75rem;
	background: rgba(255, 255, 255, 0.1);
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 6px;
	color: var(--text-primary);
	font-size: 14px;
	cursor: pointer;
}

.month-dropdown:focus {
	outline: none;
	border-color: var(--accent-color);
	box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.2);
}

.month-dropdown option {
	background: var(--bg-primary);
	color: var(--text-primary);
}

/* Points Overview Styling */
.points-overview {
	display: flex;
	flex-direction: column;
	gap: 2rem;
}

.points-summary {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 1.5rem;
	margin-bottom: 2rem;
	padding: 1.5rem;
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 12px;
}

.points-details {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1.5rem;
	margin-top: 1rem;
}

.current-month-breakdown,
.recent-usage {
	background: rgba(255, 255, 255, 0.03);
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 8px;
	padding: 1rem;
}

.current-month-breakdown h4,
.recent-usage h4 {
	margin: 0 0 0.75rem 0;
	font-size: 0.9rem;
	font-weight: 600;
	color: #a0a0a0;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.usage-timeline {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.usage-item {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 0.5rem;
	background: rgba(255, 255, 255, 0.05);
	border-radius: 6px;
	border-left: 3px solid #666;
}

.usage-item.over-budget {
	border-left-color: #ef4444;
	background: rgba(239, 68, 68, 0.1);
}

.usage-month {
	font-size: 0.8rem;
	color: #888;
}

.usage-details {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 0.25rem;
	font-size: 0.8rem;
}

.usage-main {
	display: flex;
	align-items: center;
	gap: 0.25rem;
}

.usage-points {
	font-weight: 600;
	color: #333;
}

.usage-budget {
	color: #888;
}

.usage-percentage {
	color: #a0a0a0;
}

.rollover-info {
	font-size: 0.7rem;
	color: #fbbf24;
	font-weight: 500;
}

/* History page month headers */
.month-header:not(tr) {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 1rem;
	padding: 1rem;
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 8px;
}

.month-header h3 {
	margin: 0;
	font-size: 1.2rem;
	font-weight: 600;
	color: #333;
}

.month-stats {
	display: flex;
	gap: 1.5rem;
	align-items: center;
}

.stat-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.25rem;
}

.stat-label {
	font-size: 0.8rem;
	color: #a0a0a0;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.stat-value {
	font-size: 1rem;
	font-weight: 600;
	color: #333;
}

.stat-item.rollover .stat-value {
	color: #fbbf24;
}

.stat-item.over-budget .stat-value {
	color: #ef4444;
}

.stat-item.bonus .stat-value {
	color: #10b981;
}

.stat-item.total-available .stat-value {
	color: #3b82f6;
	font-weight: 700;
}

.month-items {
	margin-top: 1rem;
}

.points-card {
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 12px;
	padding: 1.5rem;
	text-align: center;
	position: relative;
	overflow: hidden;
}

.points-card::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 4px;
	background: linear-gradient(90deg, #3b82f6, #1e40af);
}

.points-card.used::before {
	background: linear-gradient(90deg, #f59e0b, #d97706);
}

.points-card.remaining::before {
	background: linear-gradient(90deg, #10b981, #059669);
}

.points-card.remaining.over-budget::before {
	background: linear-gradient(90deg, #ef4444, #dc2626);
}

.points-label {
	font-size: 14px;
	color: var(--text-secondary);
	margin-bottom: 0.5rem;
	font-weight: 500;
}

.points-value {
	font-size: 2rem;
	font-weight: 700;
	color: var(--text-primary);
	margin-bottom: 0.25rem;
}

.points-percentage {
	font-size: 12px;
	color: var(--text-secondary);
	font-weight: 600;
}

.points-breakdown {
	font-size: 0.7rem;
	color: #888;
	margin-top: 0.25rem;
	line-height: 1.2;
}

.bonus-rollover-row {
	display: flex;
	gap: 0.5rem;
	margin-top: 0.25rem;
	justify-content: center;
}

.bonus-points {
	color: #10b981;
	font-weight: 500;
	font-size: 0.7rem;
}

.rollover-points {
	color: #f59e0b;
	font-weight: 500;
	font-size: 0.7rem;
}

.bonus-points-large {
	color: #10b981 !important;
	font-weight: 700;
	font-size: 1.2rem;
}

.service-stat-value.bonus-points-large {
	color: #10b981 !important;
	font-weight: 700;
	font-size: 1.2rem;
}

.service-stat-rollover {
	color: #f59e0b;
	font-weight: 600;
	font-size: 0.8rem;
	margin-top: 0.25rem;
}

.points-rollover {
	font-size: 0.7rem;
	color: #fbbf24;
	margin-top: 0.25rem;
	font-weight: 600;
}

.points-breakdown, .points-history {
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 12px;
	padding: 1.5rem;
}

.points-breakdown h3, .points-history h3 {
	margin: 0 0 1rem 0;
	font-size: 1.25rem;
	font-weight: 600;
	color: var(--text-primary);
}

.breakdown-items {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.breakdown-item {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 0.75rem;
	background: rgba(255, 255, 255, 0.05);
	border-radius: 8px;
	border: 1px solid rgba(255, 255, 255, 0.1);
}

.item-name {
	font-weight: 500;
	color: var(--text-primary);
}

.item-points {
	font-weight: 600;
	color: var(--accent-color);
}

.no-items {
	text-align: center;
	color: var(--text-secondary);
	font-style: italic;
	margin: 1rem 0;
}

.history-summary {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.history-month {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 0.75rem;
	background: rgba(255, 255, 255, 0.05);
	border-radius: 8px;
	border: 1px solid rgba(255, 255, 255, 0.1);
}

.month-name {
	font-weight: 500;
	color: var(--text-primary);
}

.month-points {
	font-weight: 600;
	color: var(--accent-color);
}

.month-section {
	margin-bottom: 24px;
}

.month-section h3 {
	color: #3b82f6;
	font-size: 18px;
	font-weight: 600;
	margin-bottom: 12px;
	border-bottom: 2px solid #e5e7eb;
	padding-bottom: 8px;
}

.month-summary {
	display: flex;
	gap: 16px;
	margin-bottom: 12px;
	font-size: 14px;
	color: #6b7280;
}

.folder-item, .scheduled-item, .history-item {
	background: rgba(255, 255, 255, 0.8);
	border: 1px solid #e5e7eb;
	border-radius: 8px;
	margin-bottom: 8px;
	padding: 12px;
	transition: all 0.2s ease;
}

.folder-item:hover, .scheduled-item:hover, .history-item:hover {
	background: rgba(255, 255, 255, 0.95);
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.folder-header, .item-header {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 8px;
}

.folder-icon {
	font-size: 16px;
}

.folder-name, .item-title {
	font-weight: 600;
	color: #1f2937;
	flex: 1;
}

.folder-points, .item-points {
	background: #3b82f6;
	color: white;
	padding: 4px 8px;
	border-radius: 4px;
	font-size: 12px;
	font-weight: 600;
}

.folder-toggle {
	background: none;
	border: none;
	cursor: pointer;
	font-size: 14px;
	color: #6b7280;
	padding: 4px;
}

.folder-content {
	margin-left: 28px;
	border-left: 2px solid #e5e7eb;
	padding-left: 12px;
}

.item-notes {
	font-size: 14px;
	color: #6b7280;
	margin-top: 8px;
	font-style: italic;
}

.item-clickup {
	margin-top: 8px;
}

.item-clickup a {
	color: #3b82f6;
	text-decoration: none;
	font-size: 14px;
}

.item-clickup a:hover {
	text-decoration: underline;
}

.item-date {
	font-size: 12px;
	color: #9ca3af;
	margin-top: 4px;
}

/* Drag and Drop Styling */
.draggable {
	cursor: grab;
	transition: all 0.2s ease;
}

.draggable:hover {
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.draggable.dragging {
	opacity: 0.5;
	transform: rotate(5deg);
	cursor: grabbing;
}

.drop-zone {
	transition: all 0.2s ease;
	border-radius: 12px;
	padding: 16px;
}

.drop-zone.drag-over {
	background: rgba(59, 130, 246, 0.1);
	border: 2px dashed #3b82f6;
	transform: scale(1.02);
}

.month-content {
	min-height: 50px;
	transition: all 0.2s ease;
}

.drop-zone.drag-over .month-content {
	background: rgba(59, 130, 246, 0.05);
	border-radius: 8px;
	padding: 8px;
}

/* Dark mode styles */
.dark-mode .month-section h3 {
	color: #60a5fa;
	border-bottom-color: #374151;
}

.dark-mode .month-summary {
	color: #9ca3af;
}

.dark-mode .folder-item, .dark-mode .scheduled-item, .dark-mode .history-item {
	background: rgba(31, 41, 55, 0.8);
	border-color: #374151;
}

.dark-mode .folder-item:hover, .dark-mode .scheduled-item:hover, .dark-mode .history-item:hover {
	background: rgba(31, 41, 55, 0.95);
}

.dark-mode .folder-name, .dark-mode .item-title {
	color: #f9fafb;
}

.dark-mode .folder-toggle {
	color: #9ca3af;
}

.dark-mode .folder-content {
	border-left-color: #374151;
}

.dark-mode .item-notes {
	color: #9ca3af;
}

.dark-mode .item-date {
	color: #6b7280;
}

/* Help Desk Case Styling */
.cases-section {
	margin-top: 24px;
}

.cases-section h3 {
	margin: 0 0 16px 0;
	font-size: 18px;
	color: #1e293b;
	font-weight: 600;
}

.case-item {
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	padding: 16px;
	margin-bottom: 12px;
	transition: all 0.3s ease;
}

.case-item:hover {
	background: #f1f5f9;
	border-color: #3b82f6;
	transform: translateY(-1px);
	box-shadow: 0 4px 12px rgba(59, 130, 246, 0.1);
}

.case-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 8px;
}

.case-id {
	font-weight: 600;
	color: #3b82f6;
	font-size: 14px;
}

.case-status {
	padding: 4px 12px;
	border-radius: 20px;
	font-size: 12px;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.status-in-progress {
	background: #fef3c7;
	color: #d97706;
}

.status-completed {
	background: #d1fae5;
	color: #059669;
}

.status-awaiting {
	background: #e0e7ff;
	color: #3730a3;
}

.case-title {
	font-size: 16px;
	font-weight: 600;
	color: #1e293b;
	margin-bottom: 8px;
}

.case-meta {
	font-size: 14px;
	color: #64748b;
	margin-bottom: 8px;
}

.case-description {
	font-size: 14px;
	color: #475569;
	line-height: 1.5;
}

.app-footer { 
	background: rgba(0, 0, 0, 0.1);
	backdrop-filter: blur(20px);
	color: white; 
	padding: 16px 24px; 
	margin-top: 40px;
}

.app-footer p { margin: 0; font-size: 14px; opacity: 0.8; }

/* Header actions */
.header-actions {
	display: flex;
	gap: 8px;
	align-items: center;
	position: relative;
	z-index: 10001;
}

/* Settings dropdown */
.settings-dropdown {
	position: relative;
	display: inline-block;
}

.settings-dropdown-content {
	display: none;
	position: absolute;
	right: 0;
	min-width: 200px;
	border-radius: 8px;
	z-index: 10000;
	overflow: hidden;
	/* Dark translucent theme for readability */
	background: rgba(30, 58, 138, 0.95);
	backdrop-filter: blur(12px);
	border: 1px solid rgba(255, 255, 255, 0.2);
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.settings-dropdown-content.show {
	display: block;
}

.dropdown-item {
	color: #ffffff;
	padding: 12px 16px;
	text-decoration: none;
	display: block;
	transition: background-color 0.2s ease;
	border: none;
	background: none;
	width: 100%;
	text-align: left;
	font-size: 14px;
	font-weight: 500;
	cursor: pointer;
}

.dropdown-item:hover {
	background: rgba(255, 255, 255, 0.1);
}

.dropdown-item.logout-btn {
	border-top: 1px solid rgba(255, 255, 255, 0.2);
	color: #dc2626;
}

.dropdown-item.logout-btn:hover {
	background: rgba(255, 255, 255, 0.1);
}

.dark-mode-btn {
	background: none;
	border: none;
	color: white;
	font-size: 18px;
	cursor: pointer;
	padding: 8px;
	border-radius: 6px;
	transition: background-color 0.2s;
}

.dark-mode-btn:hover {
	background: rgba(255,255,255,0.1);
}

.container { 
	max-width: 1200px; 
	margin: 24px auto; 
	padding: 0 20px; 
}

/* Modern Glassmorphism Panels */
.panel { 
	background: rgba(255, 255, 255, 0.95);
	backdrop-filter: blur(20px);
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 16px; 
	padding: 24px; 
	margin-bottom: 24px; 
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
	transition: all 0.3s ease;
	position: relative;
	overflow: hidden;
}

.panel::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 1px;
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
}

.panel:hover {
	transform: translateY(-2px);
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

/* Dark mode panel styles */
html.dark-mode .panel {
	background: rgba(30, 41, 59, 0.8);
	border-color: rgba(71, 85, 105, 0.3);
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

html.dark-mode .panel::before {
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
}
/* Modern Typography */
.panel h2 { 
	margin: 0 0 16px; 
	font-size: 20px; 
	font-weight: 600;
	color: #1e293b;
}

html.dark-mode .panel h2 {
	color: #f1f5f9;
}

.panel h3 { 
	margin: 0 0 12px; 
	font-size: 16px; 
	font-weight: 500;
	color: #334155;
}

html.dark-mode .panel h3 {
	color: #cbd5e1;
}

.row { display: flex; align-items: center; }
.column { display: flex; flex-direction: column; gap: 8px; }

/* Modern Button System */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 12px 24px;
	border: none;
	border-radius: 12px;
	font-size: 14px;
	font-weight: 500;
	text-decoration: none;
	cursor: pointer;
	transition: all 0.3s ease;
	position: relative;
	overflow: hidden;
}

.btn::before {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
	transition: left 0.5s ease;
}

.btn:hover::before {
	left: 100%;
}

.btn-primary {
	background: linear-gradient(135deg, var(--sellerslice-light-blue) 0%, var(--sellerslice-dark-blue) 100%);
	color: white;
	box-shadow: var(--shadow-md);
	border-radius: var(--radius-md);
	padding: var(--space-sm) var(--space-lg);
	font-weight: 600;
	transition: all 0.2s ease;
}

.btn-primary:hover {
	background: linear-gradient(135deg, var(--sellerslice-dark-blue) 0%, #0a2a7a 100%);
	transform: translateY(-1px);
	box-shadow: var(--shadow-lg);
}

.btn-secondary {
	background: rgba(255, 255, 255, 0.9);
	color: #334155;
	border: 1px solid rgba(0, 0, 0, 0.1);
	backdrop-filter: blur(10px);
}

.btn-secondary:hover {
	background: rgba(255, 255, 255, 1);
	transform: translateY(-1px);
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

html.dark-mode .btn-secondary {
	background: rgba(30, 41, 59, 0.8);
	color: #e2e8f0;
	border-color: rgba(255, 255, 255, 0.1);
}

html.dark-mode .btn-secondary:hover {
	background: rgba(30, 41, 59, 0.9);
}
.wrap { flex-wrap: wrap; }
.gap { gap: 12px; }

/* Modern Form Elements */
label { 
	font-size: 13px; 
	color: #475569; 
	font-weight: 500;
	margin-bottom: 4px;
	display: block;
}

html.dark-mode label {
	color: #94a3b8;
}

input, select, textarea { 
	height: 44px; 
	padding: 12px 16px; 
	border: 1px solid rgba(0, 0, 0, 0.1); 
	border-radius: 12px; 
	font-size: 14px; 
	background: rgba(255, 255, 255, 0.9);
	backdrop-filter: blur(10px);
	transition: all 0.3s ease;
	width: 100%;
}

input:focus, select:focus, textarea:focus {
	outline: none;
	border-color: #667eea;
	box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
	background: rgba(255, 255, 255, 1);
}

html.dark-mode input, 
html.dark-mode select, 
html.dark-mode textarea {
	background: rgba(30, 41, 59, 0.8);
	border-color: rgba(255, 255, 255, 0.1);
	color: #e2e8f0;
}

html.dark-mode input:focus, 
html.dark-mode select:focus, 
html.dark-mode textarea:focus {
	border-color: #667eea;
	background: rgba(30, 41, 59, 0.9);
}

textarea {
	height: auto;
	min-height: 100px;
	resize: vertical;
}

/* Service-Specific Color Schemes */
.service-arc {
	border-left: 4px solid #667eea;
}

.service-advertising {
	border-left: 4px solid #f59e0b;
}

.service-helpdesk {
	border-left: 4px solid #10b981;
}

.service-proaction {
	border-left: 4px solid #8b5cf6;
}

.service-partnership {
	border-left: 4px solid #ef4444;
}

.service-ignite {
	border-left: 4px solid #06b6d4;
}
/* Form Controls with SellerSlice Design System */
input[type="text"], 
input[type="email"], 
input[type="password"], 
input[type="number"], 
select, 
textarea {
	border-radius: var(--radius-md);
	border: 1px solid rgba(14, 53, 164, 0.2);
	padding: var(--space-sm) var(--space-md);
	transition: all 0.2s ease;
	font-family: var(--font-family);
}

input[type="text"]:focus, 
input[type="email"]:focus, 
input[type="password"]:focus, 
input[type="number"]:focus, 
select:focus, 
textarea:focus {
	border-color: var(--sellerslice-light-blue);
	box-shadow: 0 0 0 3px rgba(31, 155, 255, 0.1);
	outline: none;
}

input[type="number"] { width: 160px; }
input[type="text"] { width: 220px; }

/* Legacy Button Updates */
button { 
	cursor: pointer; 
	border: none;
	border-radius: 12px;
	padding: 12px 24px;
	font-weight: 500;
	transition: all 0.3s ease;
}

button.primary { 
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	color: white; 
	box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

button.primary:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 25px rgba(102, 126, 234, 0.6);
}

button.danger { 
	background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
	color: white; 
	box-shadow: 0 4px 15px rgba(239, 68, 68, 0.4);
}

button.danger:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 25px rgba(239, 68, 68, 0.6);
}
button:disabled { 
	opacity: 0.6; 
	cursor: not-allowed; 
	transform: none !important;
	box-shadow: none !important;
}

.switch { 
	display: flex; 
	align-items: center; 
	gap: 12px; 
	font-size: 14px; 
}

.switch input { 
	width: 20px; 
	height: 20px; 
}

/* Modern Navigation */
.nav-tabs {
	display: flex;
	background: rgba(255, 255, 255, 0.1);
	backdrop-filter: blur(20px);
	border-radius: 16px;
	padding: 8px;
	margin-bottom: 24px;
	gap: 4px;
}

.nav-tab {
	padding: 12px 20px;
	border-radius: 12px;
	background: transparent;
	border: none;
	color: rgba(255, 255, 255, 0.7);
	font-weight: 500;
	cursor: pointer;
	transition: all 0.3s ease;
	position: relative;
}

.nav-tab:hover {
	color: white;
	background: rgba(255, 255, 255, 0.1);
}

.nav-tab.active {
	color: white;
	background: rgba(255, 255, 255, 0.2);
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

html.dark-mode .nav-tabs {
	background: rgba(0, 0, 0, 0.2);
}

html.dark-mode .nav-tab {
	color: rgba(226, 232, 240, 0.7);
}

html.dark-mode .nav-tab:hover {
	color: #e2e8f0;
	background: rgba(255, 255, 255, 0.05);
}

html.dark-mode .nav-tab.active {
	color: #e2e8f0;
	background: rgba(255, 255, 255, 0.1);
}

/* Service Dashboard Cards */
.service-card {
	background: rgba(255, 255, 255, 0.95);
	backdrop-filter: blur(20px);
	border-radius: 16px;
	padding: 24px;
	margin-bottom: 20px;
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
	transition: all 0.3s ease;
	border: 1px solid rgba(255, 255, 255, 0.2);
	position: relative;
	overflow: hidden;
}

.service-card::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 4px;
	background: linear-gradient(90deg, #667eea, #764ba2);
}

.service-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

html.dark-mode .service-card {
	background: rgba(30, 41, 59, 0.8);
	border-color: rgba(71, 85, 105, 0.3);
}

.service-card h3 {
	margin: 0 0 12px;
	font-size: 18px;
	font-weight: 600;
	color: #1e293b;
}

html.dark-mode .service-card h3 {
	color: #f1f5f9;
}

.service-card .service-stats {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
	gap: 16px;
	margin-top: 16px;
}

.service-stat {
	text-align: center;
	padding: 16px;
	background: rgba(255, 255, 255, 0.5);
	border-radius: 12px;
	backdrop-filter: blur(10px);
}

html.dark-mode .service-stat {
	background: rgba(0, 0, 0, 0.2);
}

.service-stat-value {
	font-size: 24px;
	font-weight: 700;
	color: #667eea;
	margin-bottom: 4px;
}

.service-stat-label {
	font-size: 12px;
	color: #64748b;
	font-weight: 500;
}

html.dark-mode .service-stat-label {
	color: #94a3b8;
}

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

.stat { 
	background: rgba(255, 255, 255, 0.8);
	backdrop-filter: blur(10px);
	border: 1px solid rgba(255, 255, 255, 0.2); 
	border-radius: 16px; 
	padding: 20px; 
	transition: all 0.3s ease;
	text-align: center;
	position: relative;
	overflow: hidden;
}

.clickable-stat {
	cursor: pointer;
}

.clickable-stat:hover {
	background: rgba(255, 255, 255, 0.95);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
	transform: translateY(-2px);
}

.logo-preview {
	margin-top: 8px;
	padding: 8px;
	border: 1px solid #e2e8f0;
	border-radius: 8px;
	background: #f8fafc;
	text-align: center;
	position: relative;
	min-height: 120px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.logo-preview img {
	max-width: 100%;
	max-height: 100%;
	width: 100%;
	height: 100%;
	object-fit: contain;
	border-radius: 4px;
}

.logo-remove-x {
	position: absolute;
	top: 8px;
	right: 8px;
	background: rgba(0, 0, 0, 0.7);
	color: white;
	border: none;
	border-radius: 50%;
	width: 28px;
	height: 28px;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 18px;
	font-weight: bold;
	transition: background 0.2s;
	z-index: 10;
}

.logo-remove-x:hover {
	background: rgba(0, 0, 0, 0.9);
}


.stat::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 3px;
	background: linear-gradient(90deg, #667eea, #764ba2);
}

.stat:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

/* Dark mode stat styles */
html.dark-mode .stat {
	background: rgba(30, 41, 59, 0.8);
	border-color: rgba(71, 85, 105, 0.3);
}
.stat .label { 
	font-size: 13px; 
	color: #64748b; 
	font-weight: 500;
	transition: color 0.3s ease; 
	margin-bottom: 8px;
}

.stat .value { 
	font-size: 28px; 
	font-weight: 700; 
	color: #1e293b;
	transition: color 0.3s ease; 
}

.stat .value.services-text {
	font-size: 14px;
	font-weight: 600;
	line-height: 1.3;
	text-align: center;
}

/* Dark mode text styles */
html.dark-mode .stat .label {
	color: #94a3b8;
}

html.dark-mode .stat .value {
	color: #f1f5f9;
}

.service-list { 
	display: grid; 
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); 
	gap: 20px; 
	margin-top: 20px; 
}

.service-list .service-card { 
	border: 1px solid rgba(255, 255, 255, 0.2); 
	border-radius: 16px; 
	padding: 20px; 
	background: rgba(255, 255, 255, 0.9);
	backdrop-filter: blur(20px);
	display: flex; 
	flex-direction: column; 
	gap: 12px; 
	transition: all 0.3s ease;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
	position: relative;
	overflow: hidden;
}

.service-list .service-card::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 3px;
	background: linear-gradient(90deg, #667eea, #764ba2);
}

.service-list .service-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

/* Dark mode service card styles */
html.dark-mode .service-list .service-card {
	background: rgba(30, 41, 59, 0.8);
	border-color: rgba(71, 85, 105, 0.3);
}
.service-list .service-card h4 { 
	margin: 0; 
	font-size: 18px; 
	font-weight: 600;
	color: #1e293b;
}

html.dark-mode .service-list .service-card h4 {
	color: #f1f5f9;
}

.service-list .service-card .price { 
	font-weight: 700; 
	color: #667eea;
	font-size: 20px;
}

.service-list .service-card .description {
	color: #64748b;
	font-size: 14px;
	line-height: 1.5;
}

html.dark-mode .service-list .service-card .description {
	color: #94a3b8;
}


.service-list .service-card button { 
	align-self: flex-start; 
	margin-top: 8px;
}

.service-list .service-card .note { 
	font-size: 12px; 
	color: #64748b; 
	font-style: italic;
}

html.dark-mode .service-list .service-card .note {
	color: #94a3b8;
}

/* Video Services Header Styling */
.video-services-header {
	margin: 2rem 0 1rem 0;
	padding: 1rem;
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	border-radius: 8px;
	color: white;
	text-align: center;
	grid-column: 1 / -1; /* Span full width of grid */
}

.video-services-header h3 {
	margin: 0 0 0.5rem 0;
	font-size: 1.25rem;
	font-weight: 600;
}

.video-services-header p {
	margin: 0;
	font-size: 0.875rem;
	opacity: 0.9;
}

/* Service Selection Styling */
.service-selection {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 16px;
	margin-top: 12px;
}

.service-option {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	padding: 16px;
	background: rgba(255, 255, 255, 0.8);
	backdrop-filter: blur(10px);
	border: 2px solid rgba(0, 0, 0, 0.1);
	border-radius: 12px;
	transition: all 0.3s ease;
	cursor: pointer;
	position: relative;
	overflow: hidden;
}

.service-option::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 3px;
	background: linear-gradient(90deg, #667eea, #764ba2);
	transform: scaleX(0);
	transition: transform 0.3s ease;
}

.service-option:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
	border-color: rgba(102, 126, 234, 0.3);
}

.service-option:hover::before {
	transform: scaleX(1);
}

.service-option.selected {
	border-color: #667eea;
	background: rgba(102, 126, 234, 0.05);
}

.service-option.selected::before {
	transform: scaleX(1);
}

html.dark-mode .service-option {
	background: rgba(30, 41, 59, 0.8);
	border-color: rgba(255, 255, 255, 0.1);
}

html.dark-mode .service-option:hover {
	border-color: rgba(102, 126, 234, 0.3);
}

html.dark-mode .service-option.selected {
	border-color: #667eea;
	background: rgba(102, 126, 234, 0.1);
}

.service-option input[type="checkbox"] {
	width: 20px;
	height: 20px;
	margin: 0;
	flex-shrink: 0;
}

.service-option-content {
	flex: 1;
}

.service-option-header {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 8px;
}

.service-option-icon {
	font-size: 20px;
}

.service-option-name {
	font-weight: 600;
	font-size: 16px;
	color: #1e293b;
	margin: 0;
}

html.dark-mode .service-option-name {
	color: #f1f5f9;
}

.service-option-description {
	font-size: 14px;
	color: #64748b;
	line-height: 1.4;
	margin-bottom: 8px;
}

html.dark-mode .service-option-description {
	color: #94a3b8;
}

.service-option-features {
	display: flex;
	flex-wrap: wrap;
	gap: 4px;
}

.service-feature-tag {
	background: rgba(102, 126, 234, 0.1);
	color: #667eea;
	padding: 2px 8px;
	border-radius: 12px;
	font-size: 11px;
	font-weight: 500;
}

html.dark-mode .service-feature-tag {
	background: rgba(102, 126, 234, 0.2);
	color: #a5b4fc;
}

.service-validation {
	margin-top: 12px;
	padding: 12px;
	border-radius: 8px;
	background: rgba(239, 68, 68, 0.1);
	border: 1px solid rgba(239, 68, 68, 0.2);
}

.service-validation.warning {
	background: rgba(245, 158, 11, 0.1);
	border-color: rgba(245, 158, 11, 0.2);
}

.service-validation .validation-title {
	font-weight: 600;
	color: #dc2626;
	margin-bottom: 4px;
}

.service-validation.warning .validation-title {
	color: #d97706;
}

.service-validation .validation-message {
	font-size: 14px;
	color: #7f1d1d;
	line-height: 1.4;
}

.service-validation.warning .validation-message {
	color: #92400e;
}

html.dark-mode .service-validation {
	background: rgba(239, 68, 68, 0.1);
	border-color: rgba(239, 68, 68, 0.3);
}

html.dark-mode .service-validation.warning {
	background: rgba(245, 158, 11, 0.1);
	border-color: rgba(245, 158, 11, 0.3);
}

html.dark-mode .service-validation .validation-title {
	color: #fca5a5;
}

html.dark-mode .service-validation.warning .validation-title {
	color: #fbbf24;
}

html.dark-mode .service-validation .validation-message {
	color: #fecaca;
}

html.dark-mode .service-validation.warning .validation-message {
	color: #fed7aa;
}

/* Service Overview Grid */
.service-overview-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 20px;
	margin-bottom: 24px;
}

/* Submit Case Modal */
#submitCaseModal .modal-content {
	max-width: 800px;
	width: 90vw;
	max-height: 90vh;
	overflow-y: auto;
	margin: 5vh auto;
	transform: translateY(0);
}

.case-type-selection h4 {
	margin-bottom: 20px;
	color: #374151;
	font-size: 20px;
	font-weight: 600;
	text-align: center;
}

.case-type-options {
	display: flex;
	flex-direction: column;
	gap: 15px;
}

.case-type-option {
	display: flex;
	align-items: center;
	padding: 30px;
	border: 2px solid #e5e7eb;
	border-radius: 16px;
	cursor: pointer;
	transition: all 0.2s ease;
	background: white;
	min-height: 100px;
}

.case-type-option:hover {
	border-color: #3b82f6;
	background: #f8fafc;
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15);
}

.case-type-option.selected {
	border-color: #3b82f6;
	background: #eff6ff;
}

.case-type-icon {
	font-size: 48px;
	margin-right: 30px;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 80px;
	height: 80px;
	background: #f3f4f6;
	border-radius: 16px;
}

.case-type-option.selected .case-type-icon {
	background: #dbeafe;
}

.case-type-info h5 {
	margin: 0 0 12px 0;
	font-size: 24px;
	font-weight: 600;
	color: #1f2937;
}

.case-type-info p {
	margin: 0;
	color: #6b7280;
	font-size: 16px;
	line-height: 1.6;
}

.case-form-container {
	margin-top: 20px;
}

.form-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 20px;
	padding-bottom: 15px;
	border-bottom: 1px solid #e5e7eb;
}

.form-header h4 {
	margin: 0;
	color: #1f2937;
	font-size: 20px;
	font-weight: 600;
}

.case-form-content {
	background: #f9fafb;
	border-radius: 12px;
	padding: 30px;
	min-height: 500px;
}

.case-form-content iframe {
	width: 100%;
	height: 600px;
	border: none;
	border-radius: 12px;
}

/* Schedule Call Modal */
#scheduleCallModal .modal-content {
	max-width: 600px;
	width: 90vw;
	max-height: 90vh;
	overflow-y: auto;
	margin: 5vh auto;
	transform: translateY(0);
}

.recurring-options {
	background: #f8fafc;
	border: 1px solid #e5e7eb;
	border-radius: 8px;
	padding: 20px;
	margin-top: 15px;
}

.monthly-options {
	background: #f1f5f9;
	border: 1px solid #cbd5e1;
	border-radius: 6px;
	padding: 15px;
	margin-top: 10px;
}

.checkbox-label {
	display: flex;
	align-items: center;
	cursor: pointer;
	font-weight: 500;
}

.checkbox-label input[type="checkbox"] {
	margin-right: 10px;
	transform: scale(1.0);
	width: 16px;
	height: 16px;
}

.form-actions {
	display: flex;
	gap: 15px;
	justify-content: flex-end;
	margin-top: 30px;
	padding-top: 20px;
	border-top: 1px solid #e5e7eb;
}

.form-actions .btn {
	min-width: 120px;
}

small {
	color: #6b7280;
	font-size: 12px;
	margin-top: 5px;
	display: block;
}

.call-agenda {
	color: #059669;
	font-size: 12px;
	font-weight: 500;
	margin-top: 4px;
}

.upcoming-calls {
	margin-top: 20px;
}

.upcoming-calls h3 {
	margin-bottom: 15px;
	color: #374151;
	font-size: 16px;
	font-weight: 600;
}

/* Activity Tabs */
.activity-tabs {
	display: flex;
	margin-bottom: 15px;
	border-bottom: 1px solid #e5e7eb;
}

.tab-button {
	background: none;
	border: none;
	padding: 8px 16px;
	cursor: pointer;
	font-size: 14px;
	font-weight: 500;
	color: #6b7280;
	border-bottom: 2px solid transparent;
	transition: all 0.2s ease;
}

.tab-button:hover {
	color: #374151;
}

.tab-button.active {
	color: #3b82f6;
	border-bottom-color: #3b82f6;
}

/* Dashboard Section */
.dashboard-section {
	margin-top: 30px;
	margin-bottom: 20px;
}

.section-header {
	font-size: 24px;
	font-weight: 600;
	color: #1f2937;
	margin-bottom: 20px;
	padding-bottom: 10px;
	border-bottom: 2px solid #e5e7eb;
}

.service-overview-card {
	background: rgba(255, 255, 255, 0.95);
	backdrop-filter: blur(20px);
	border-radius: 16px;
	padding: 24px;
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
	transition: all 0.3s ease;
	border: 1px solid rgba(255, 255, 255, 0.2);
	position: relative;
	overflow: hidden;
}

.service-overview-card::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 4px;
	background: linear-gradient(90deg, #667eea, #764ba2);
}

.service-overview-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

html.dark-mode .service-overview-card {
	background: rgba(30, 41, 59, 0.8);
	border-color: rgba(71, 85, 105, 0.3);
}

.service-overview-header {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 16px;
}

.service-overview-icon {
	font-size: 24px;
}

.service-overview-title {
	font-size: 18px;
	font-weight: 600;
	color: #1e293b;
	margin: 0;
}

html.dark-mode .service-overview-title {
	color: #f1f5f9;
}

.service-overview-stats {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
	gap: 12px;
	margin-bottom: 16px;
}

.service-overview-stat {
	text-align: center;
	padding: 12px;
	background: rgba(255, 255, 255, 0.5);
	border-radius: 8px;
	backdrop-filter: blur(10px);
}

html.dark-mode .service-overview-stat {
	background: rgba(0, 0, 0, 0.2);
}

.service-overview-stat-value {
	font-size: 20px;
	font-weight: 700;
	color: #667eea;
	margin-bottom: 4px;
}

.service-overview-stat-label {
	font-size: 11px;
	color: #64748b;
	font-weight: 500;
}

html.dark-mode .service-overview-stat-label {
	color: #94a3b8;
}

.service-overview-actions {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
}

.service-overview-actions .btn {
	padding: 8px 16px;
	font-size: 12px;
}

/* Service header with quick add button */
.service-header {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	margin-bottom: 8px;
}

.service-header h4 {
	margin: 0;
	flex: 1;
}

.quick-add-btn {
	background: #0ea5e9;
	color: white;
	border: none;
	border-radius: 50%;
	width: 24px;
	height: 24px;
	font-size: 16px;
	font-weight: bold;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.2s ease;
	flex-shrink: 0;
	margin-left: 8px;
}

.quick-add-btn:hover {
	background: #0284c7;
	transform: scale(1.1);
}

/* Dark mode quick add button */
html.dark-mode .quick-add-btn {
	background: #0ea5e9;
	color: white;
}

html.dark-mode .quick-add-btn:hover {
	background: #0284c7;
}

.custom-charge .row input[type="text"] { flex: 1; min-width: 220px; }

.history { width: 100%; border-collapse: collapse; }
.history th, .history td { padding: 8px; border-bottom: 1px solid #e2e8f0; text-align: left; transition: border-color 0.3s ease; }
.history th { background: #f1f5f9; font-size: 12px; color: #334155; transition: background-color 0.3s ease, color 0.3s ease; }

/* Dark mode table styles */
html.dark-mode .history th,
html.dark-mode .history td {
	border-bottom-color: #64748b;
}

html.dark-mode .history th {
	background: #475569;
	color: #e2e8f0;
}
.history td { font-size: 14px; }

/* Editable title styling */
.editable-title {
	cursor: pointer;
	transition: background-color 0.2s ease;
	padding: 4px 8px;
	border-radius: 4px;
}

.editable-title:hover {
	background-color: #f1f5f9;
}

.editable-title:active {
	background-color: #e2e8f0;
}

/* Dark mode editable title styling */
html.dark-mode .editable-title:hover {
	background-color: #374151;
}

html.dark-mode .editable-title:active {
	background-color: #4b5563;
}

.import-label .button { display: inline-flex; align-items: center; justify-content: center; height: 36px; padding: 0 10px; border-radius: 8px; border: 1px solid #cbd5e1; background: white; cursor: pointer; }

/* Tabs */
.tab-nav { display: flex; gap: 2px; margin-bottom: 16px; border-bottom: 1px solid #e2e8f0; }
.tab-btn { padding: 8px 16px; border: none; background: none; cursor: pointer; border-radius: 8px 8px 0 0; font-size: 14px; }
.tab-btn.active { background: #0ea5e9; color: white; }
.tab-btn:hover:not(.active) { background: #f1f5f9; }

.tab-content { 
	display: none; 
	overflow: visible;
}
.tab-content.active { 
	display: block; 
	overflow: visible;
}

/* Floating Planning Box */
.floating-usage-box {
	position: fixed;
	top: 100px;
	right: 20px;
	width: 400px;
	max-height: calc(100vh - 120px);
	overflow-y: auto;
	z-index: 2100; /* Higher than nav bar (2000) */
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
	border-radius: 12px;
	transition: transform 0.3s ease, opacity 0.3s ease, box-shadow 0.3s ease;
	transform: translateX(100%);
	opacity: 0;
	display: none;
}

.floating-usage-box.show {
	transform: translateX(0);
	opacity: 1;
	display: block;
}

/* Dark mode floating planning box */
html.dark-mode .floating-usage-box {
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

/* Analytics Tab Styles */
.analytics-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 24px;
	padding-bottom: 16px;
	border-bottom: 1px solid #e2e8f0;
}

.analytics-header h3 {
	margin: 0;
	color: #1f2937;
}

.analytics-controls {
	display: flex;
	gap: 20px;
	align-items: center;
}

.control-group {
	display: flex;
	align-items: center;
	gap: 8px;
}

.control-group label {
	font-weight: 600;
	color: #374151;
	font-size: 14px;
}

.control-group select {
	padding: 6px 12px;
	border: 1px solid #d1d5db;
	border-radius: 6px;
	background: white;
	font-size: 14px;
	color: #374151;
}

.analytics-content {
	margin-top: 20px;
}

.analytics-section {
	margin-bottom: 32px;
}

.analytics-section h4 {
	margin: 0 0 16px 0;
	color: #1f2937;
	font-size: 18px;
	font-weight: 600;
}

.analytics-section canvas {
	border: 1px solid #e2e8f0;
	border-radius: 8px;
	background: white;
}

/* Overview Grid */
.overview-grid { 
	display: grid; 
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); 
	gap: 16px; 
}
.overview-card { background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 8px; padding: 16px; transition: background-color 0.3s ease, border-color 0.3s ease; }

/* Dark mode overview card styles */
html.dark-mode .overview-card {
	background: #475569;
	border-color: #64748b;
}
.overview-card h3 { margin: 0 0 12px; font-size: 16px; color: #334155; transition: color 0.3s ease; }

/* Dark mode text color overrides */
html.dark-mode .overview-card h3 {
	color: #e2e8f0;
}

/* Ensure all dropdowns appear on top */
select, .dropdown-content, .dropdown-menu {
	z-index: 10000 !important;
}

/* Specific fix for the actions dropdown in the planning table */
.floating-usage-box .dropdown-menu {
	z-index: 10001 !important;
	position: absolute !important;
}

/* Fix for any select elements in the floating planning box */
.floating-usage-box select {
	z-index: 10001 !important;
}

html.dark-mode label {
	color: #cbd5e1;
}

/* Checkbox alignment fixes */
input[type="checkbox"] {
	vertical-align: middle;
	margin: 0;
	cursor: pointer;
}

/* Status dropdown styles */
.status-dropdown {
	position: relative;
	display: inline-block;
}

.status-dropdown-btn {
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 6px;
	padding: 6px 12px;
	font-size: 12px;
	color: #374151;
	cursor: pointer;
	display: flex;
	align-items: center;
	gap: 4px;
	transition: all 0.2s ease;
}

.status-dropdown-btn:hover {
	background: #f1f5f9;
	border-color: #cbd5e1;
}

.status-dropdown-content {
	position: absolute;
	top: 100%;
	left: 0;
	background: white;
	border: 1px solid #e2e8f0;
	border-radius: 6px;
	box-shadow: 0 4px 12px rgba(0,0,0,0.1);
	z-index: 10000;
	min-width: 160px;
	display: none;
}

.status-dropdown-content.show {
	display: block;
}

.status-option {
	padding: 8px 12px;
	font-size: 12px;
	color: #374151;
	cursor: pointer;
	border-bottom: 1px solid #f1f5f9;
	transition: background-color 0.2s ease;
}

.status-option:last-child {
	border-bottom: none;
}

.status-option:hover {
	background: #f8fafc;
}

.status-option.selected {
	background: #eff6ff;
	color: #1d4ed8;
	font-weight: 600;
}

.status-badge {
	padding: 4px 8px;
	border-radius: 4px;
	font-size: 11px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.status-badge.in-progress {
	background: #eff6ff;
	color: #1d4ed8;
}

.status-badge.awaiting-client {
	background: #fef3c7;
	color: #d97706;
}

.status-badge.under-review {
	background: #fce7f3;
	color: #be185d;
}

.status-badge.ready-execution {
	background: #ecfdf5;
	color: #059669;
}

.status-badge.complete {
	background: #f0fdf4;
	color: #166534;
}

.status-badge.queue {
	background: #fef3c7;
	color: #d97706;
	border: 1px solid #f59e0b;
}

/* Ensure points badges are styled correctly */
.points-badge {
	background: #3b82f6 !important;
	color: white !important;
	padding: 2px 6px !important;
	border-radius: 4px !important;
	font-weight: 500 !important;
	font-size: 12px !important;
}

/* Ensure task items have consistent styling */
.task-item {
	display: flex !important;
	align-items: center !important;
	gap: 12px !important;
	padding: 16px !important;
	background: white !important;
	border: 1px solid #e5e7eb !important;
	border-radius: 8px !important;
	margin-bottom: 12px !important;
	transition: all 0.2s ease !important;
	box-shadow: 0 1px 3px rgba(0,0,0,0.1) !important;
}

.task-item .task-title {
	font-weight: 600 !important;
	color: #1f2937 !important;
	margin-bottom: 4px !important;
	font-size: 14px !important;
	line-height: 1.4 !important;
}

.task-item .task-meta {
	display: flex !important;
	align-items: center !important;
	gap: 8px !important;
	font-size: 12px !important;
	color: #6b7280 !important;
}

/* Status select styling */
.status-select {
	padding: 6px 10px !important;
	font-size: 12px !important;
	border: 1px solid #d1d5db !important;
	border-radius: 6px !important;
	background: white !important;
	cursor: pointer !important;
	min-width: 100px !important;
	appearance: none !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='%23666' 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") !important;
	background-repeat: no-repeat !important;
	background-position: right 8px center !important;
	background-size: 16px !important;
	padding-right: 32px !important;
}

.status-select:focus {
	outline: none !important;
	border-color: #3b82f6 !important;
	box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1) !important;
}

/* Ensure checkbox labels are properly aligned */
label {
	display: flex;
	align-items: center;
	gap: 4px;
	cursor: pointer;
}

/* Table cell alignment for checkboxes */
td:first-child {
	vertical-align: middle;
	text-align: center;
}

/* Scheduled item checkbox alignment */
.scheduled-item .info {
	display: flex;
	align-items: center;
	gap: 8px;
}

.scheduled-item .info input[type="checkbox"] {
	margin: 0;
	flex-shrink: 0;
	vertical-align: middle;
}

/* Ensure the checkbox is properly aligned with the text */
.scheduled-item .info .scheduled-item-checkbox {
	margin: 0;
	vertical-align: middle;
	align-self: center;
}

/* Make sure the text container is properly aligned */
.scheduled-item .info > div {
	display: flex;
	flex-direction: column;
	justify-content: center;
}

/* Month summary checkbox alignment */
.month-summary label {
	display: flex;
	align-items: center;
	gap: 4px;
	margin: 0;
	cursor: pointer;
}

.month-summary input[type="checkbox"] {
	margin: 0;
	vertical-align: middle;
}

/* Ensure the month summary container properly aligns items */
.month-summary {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

/* Switch-style checkbox alignment */
.switch {
	display: flex;
	align-items: center;
	gap: 8px;
	cursor: pointer;
}

.switch input[type="checkbox"] {
	margin: 0;
}

.switch span {
	margin: 0;
}

/* Table cell alignment for checkboxes */
td:first-child {
	vertical-align: middle;
	text-align: center;
}

/* Scheduled item checkbox alignment */
.scheduled-item .info {
	display: flex;
	align-items: center;
	gap: 8px;
}

.scheduled-item .info input[type="checkbox"] {
	margin: 0;
	flex-shrink: 0;
	vertical-align: middle;
}

/* Ensure the checkbox is properly aligned with the text */
.scheduled-item .info .scheduled-item-checkbox {
	margin: 0;
	vertical-align: middle;
	align-self: center;
}

/* Make sure the text container is properly aligned */
.scheduled-item .info > div {
	display: flex;
	flex-direction: column;
	justify-content: center;
}

/* Month summary checkbox alignment */
.month-summary label {
	display: flex;
	align-items: center;
	gap: 4px;
	margin: 0;
	cursor: pointer;
}

.month-summary input[type="checkbox"] {
	margin: 0;
	vertical-align: middle;
}

/* Ensure the month summary container properly aligns items */
.month-summary {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

/* Switch-style checkbox alignment */
.switch {
	display: flex;
	align-items: center;
	gap: 8px;
	cursor: pointer;
}

.switch input[type="checkbox"] {
	margin: 0;
}

.switch span {
	margin: 0;
}

/* Dark mode checkbox and select all text */
html.dark-mode input[type="checkbox"] {
	accent-color: var(--sellerslice-light-blue);
}

/* Fix checkbox sizing - override the general input rule */
input[type="checkbox"] {
    height: 16px !important;
    width: 16px !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 1px solid #d1d5db !important;
    border-radius: 3px !important;
    background-color: white !important;
    cursor: pointer !important;
    vertical-align: middle !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    position: relative !important;
    flex-shrink: 0 !important;
    max-width: 16px !important;
    max-height: 16px !important;
    min-width: 16px !important;
    min-height: 16px !important;
}

input[type="checkbox"]:checked {
    background-color: var(--sellerslice-light-blue) !important;
    border-color: var(--sellerslice-light-blue) !important;
}

input[type="checkbox"]:checked::after {
    content: '✓' !important;
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    color: white !important;
    font-size: 10px !important;
    font-weight: bold !important;
    line-height: 1 !important;
}

html.dark-mode .select-all-text {
	color: #e2e8f0;
	font-weight: 600;
}

html.dark-mode .project-title {
	color: #e2e8f0;
}

/* Planning box checkbox styling */
.item-checkbox {
	width: 18px !important;
	height: 18px !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 2px solid #d1d5db !important;
	border-radius: 3px !important;
	background-color: white !important;
	cursor: pointer !important;
	vertical-align: middle !important;
	appearance: none !important;
	-webkit-appearance: none !important;
	-moz-appearance: none !important;
	position: relative !important;
}

.item-checkbox:checked {
	background-color: #0ea5e9 !important;
	border-color: #0ea5e9 !important;
}

.item-checkbox:checked::after {
	content: '✓' !important;
	position: absolute !important;
	top: 50% !important;
	left: 50% !important;
	transform: translate(-50%, -50%) !important;
	color: white !important;
	font-size: 12px !important;
	font-weight: bold !important;
	line-height: 1 !important;
}

/* Dark mode planning box checkboxes */
html.dark-mode .item-checkbox {
	background-color: #374151 !important;
	border-color: #6b7280 !important;
}

html.dark-mode .item-checkbox:checked {
	background-color: #0ea5e9 !important;
	border-color: #0ea5e9 !important;
}

/* Select All checkbox styling */
#selectAllCheckbox {
	width: 18px !important;
	height: 18px !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 2px solid #d1d5db !important;
	border-radius: 3px !important;
	background-color: white !important;
	cursor: pointer !important;
	vertical-align: middle !important;
	appearance: none !important;
	-webkit-appearance: none !important;
	-moz-appearance: none !important;
	position: relative !important;
	display: block !important;
	margin: 0 auto !important;
}

#selectAllCheckbox:checked {
	background-color: #0ea5e9 !important;
	border-color: #0ea5e9 !important;
}

#selectAllCheckbox:checked::after {
	content: '✓' !important;
	position: absolute !important;
	top: 50% !important;
	left: 50% !important;
	transform: translate(-50%, -50%) !important;
	color: white !important;
	font-size: 12px !important;
	font-weight: bold !important;
	line-height: 1 !important;
}

/* Dark mode Select All checkbox */
html.dark-mode #selectAllCheckbox {
	background-color: #374151 !important;
	border-color: #6b7280 !important;
}

html.dark-mode #selectAllCheckbox:checked {
	background-color: #0ea5e9 !important;
	border-color: #0ea5e9 !important;
}

html.dark-mode .project-meta {
	color: #94a3b8;
}

/* Dark mode folder styles */
html.dark-mode .folder-header {
	background: #475569;
}

html.dark-mode .folder-header:hover {
	background: #64748b;
}

html.dark-mode .folder-content {
	background: #475569;
}

html.dark-mode .folder-item {
	background: #64748b;
	border-color: #94a3b8;
}

html.dark-mode .overview-folder-header:hover {
	background: #475569;
}

html.dark-mode .overview-folder-name {
	color: #e2e8f0;
}

html.dark-mode .overview-folder-meta {
	color: #cbd5e1;
}

html.dark-mode .overview-folder-item {
	border-bottom-color: #475569;
}

/* Dark mode scheduled item styles - use the same color as folder items */
html.dark-mode .scheduled-item {
	background: #64748b;
	border-color: #94a3b8;
}

/* Notification styles for undo/redo */
.notification {
	position: fixed;
	top: 20px;
	right: 20px;
	padding: 12px 20px;
	border-radius: 8px;
	color: white;
	font-weight: 600;
	z-index: 10000;
	animation: slideIn 0.3s ease;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.notification-success {
	background: #059669;
}

.notification-info {
	background: #0ea5e9;
}

.notification-warning {
	background: #d97706;
}

.notification-error {
	background: #dc2626;
}

@keyframes slideIn {
	from {
		transform: translateX(100%);
		opacity: 0;
	}
	to {
		transform: translateX(0);
		opacity: 1;
	}
}

/* Month Selector */
.month-selector { margin-bottom: 16px; }
.month-selector select { width: 200px; }

/* Scheduled Items */
.scheduled-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.scheduled-header h3 { margin: 0; }

/* Schedule Sections */
.schedule-section { margin-bottom: 24px; }
.schedule-section h4 { margin: 0 0 12px; font-size: 16px; color: #334155; border-bottom: 2px solid #e2e8f0; padding-bottom: 8px; transition: color 0.3s ease, border-color 0.3s ease; }

/* Subsections within schedule sections */
.subsection { margin-bottom: 20px; }
.subsection h5 { 
	margin: 0 0 8px; 
	color: #475569; 
	font-size: 14px; 
	font-weight: 600;
	padding-left: 8px;
	border-left: 3px solid #e2e8f0;
}

/* Dark mode schedule section headers */
html.dark-mode .schedule-section h4 {
	color: #e2e8f0;
	border-bottom-color: #64748b;
}

/* Dark mode for current month summary */
html.dark-mode .month-summary {
	background: #1e3a8a !important;
	border-color: #3b82f6 !important;
	color: #dbeafe !important;
}

html.dark-mode .month-summary label,
html.dark-mode .month-summary span {
	color: #dbeafe !important;
}

/* Dark mode chart text colors - we'll handle this in JavaScript */
.scheduled-items-container { 
	min-height: 20px; 
	transition: all 0.2s ease;
	border-radius: 8px;
	padding: 8px;
}

.scheduled-items-container.drag-over {
	background-color: #f0f9ff;
	border: 2px dashed #0ea5e9;
	box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.1);
}

/* Add subtle indicator that these are drop zones */
.scheduled-items-container::before {
	content: "Drop items here";
	display: block;
	text-align: center;
	color: #64748b;
	font-size: 12px;
	font-style: italic;
	opacity: 0.6;
	margin-bottom: 8px;
}

/* Hide the indicator when there are items */
.scheduled-items-container:not(:empty)::before {
	display: none;
}

/* Drag and Drop Styles - Only for scheduled items */
.history tr {
	transition: opacity 0.2s ease;
}

.history tr.dragging {
	opacity: 0.5;
}

.scheduled-item { 
	background: #f8fafc; 
	border: 1px solid #e2e8f0; 
	border-radius: 8px; 
	padding: 12px; 
	margin-bottom: 8px; 
	display: flex; 
	justify-content: space-between; 
	align-items: center;
	cursor: grab;
	transition: all 0.2s ease;
	min-height: 60px; /* Ensure consistent height for better centering */
}

.scheduled-item:active {
	cursor: grabbing;
}

.scheduled-item:hover {
	box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.scheduled-item .drag-handle {
	opacity: 0.6;
	transition: opacity 0.2s ease;
}

.scheduled-item:hover .drag-handle {
	opacity: 1;
	color: #0ea5e9;
}
.scheduled-item .info { 
	flex: 1; 
	display: flex;
	align-items: center;
	gap: 8px;
}

/* Ensure the text container is properly centered vertically */
.scheduled-item .info .text-container {
	display: flex !important;
	flex-direction: column !important;
	justify-content: center !important;
	align-items: flex-start !important;
	min-height: 40px; /* Give it some minimum height to center properly */
}

/* Force the text content to be centered vertically */
.scheduled-item .info .text-container .title,
.scheduled-item .info .text-container .meta {
	display: flex !important;
	align-items: center !important;
	justify-content: flex-start !important;
}
.scheduled-item .title { 
	font-weight: 600; 
	margin-bottom: 4px; 
	line-height: 1.2;
	display: flex;
	align-items: center;
}
.scheduled-item .meta { 
	font-size: 12px; 
	color: #64748b; 
	line-height: 1.2;
	display: flex;
	align-items: center;
}
.scheduled-item .actions { display: flex; gap: 8px; }

/* Modals */
.modal { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.5); display: flex; align-items: center; justify-content: center; z-index: 2100; }
.modal-content { background: white; border-radius: 12px; padding: 24px; max-width: 500px; width: 90%; max-height: 90vh; overflow-y: auto; }
.modal-content h3 { margin: 0 0 16px; }

/* Call Details Modal Specific Styling */
#callDetailsModal {
	position: fixed !important;
	top: 0 !important;
	left: 0 !important;
	width: 100% !important;
	height: 100% !important;
	background: rgba(0,0,0,0.5) !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	z-index: 2100 !important;
}

#callDetailsModal .modal-content {
	max-width: 600px !important;
	width: 90vw !important;
	max-height: 90vh !important;
	overflow-y: auto !important;
	margin: 0 !important;
	position: relative !important;
	top: 0 !important;
	left: 0 !important;
	transform: none !important;
	background: white !important;
	border-radius: 12px !important;
	padding: 24px !important;
}

#callDetailsModal .modal-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 0;
	padding: 24px 24px 16px 24px;
	border-bottom: 1px solid #e2e8f0;
}

#callDetailsModal .modal-header h2 {
	margin: 0;
	color: #1e293b;
	font-size: 1.5rem;
	font-weight: 600;
}

#callDetailsModal .close {
	background: none;
	border: none;
	font-size: 24px;
	cursor: pointer;
	color: #64748b;
	width: 30px;
	height: 30px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	transition: all 0.2s ease;
}

#callDetailsModal .close:hover {
	background: #f1f5f9;
	color: #1e293b;
}

#callDetailsModal .modal-body {
	margin-bottom: 0;
	padding: 16px 24px 24px 24px;
}

#callDetailsModal .modal-footer {
	display: flex;
	justify-content: flex-end;
	gap: 12px;
	padding-top: 15px;
	border-top: 1px solid #e2e8f0;
}

/* Ensure form fields in call details modal are visible and properly styled */
#callDetailsModal .form-control {
	width: 100% !important;
	padding: 8px 12px !important;
	border: 1px solid #d1d5db !important;
	border-radius: 6px !important;
	font-size: 14px !important;
	background-color: white !important;
	color: #1f2937 !important;
	display: block !important;
	visibility: visible !important;
	opacity: 1 !important;
}

#callDetailsModal .form-control:focus {
	border-color: var(--sellerslice-light-blue) !important;
	outline: none !important;
	box-shadow: 0 0 0 3px rgba(31, 155, 255, 0.1) !important;
}

#callDetailsModal .form-group {
	margin-bottom: 16px;
}

#callDetailsModal .form-group label {
	display: block;
	margin-bottom: 6px;
	font-weight: 500;
	color: #374151;
}

/* Force visibility and styling for all form elements in call details modal */
#callDetailsModal input,
#callDetailsModal select,
#callDetailsModal textarea {
	width: 100% !important;
	padding: 8px 12px !important;
	border: 2px solid #d1d5db !important;
	border-radius: 6px !important;
	font-size: 14px !important;
	background-color: white !important;
	color: #1f2937 !important;
	display: block !important;
	visibility: visible !important;
	opacity: 1 !important;
	margin-bottom: 0 !important;
	box-sizing: border-box !important;
	font-weight: normal !important;
	line-height: 1.4 !important;
}

/* Ensure labels are visible */
#callDetailsModal label {
	color: #374151 !important;
	font-weight: 500 !important;
	display: block !important;
	visibility: visible !important;
	opacity: 1 !important;
	margin-bottom: 6px !important;
}

#callDetailsModal input:focus,
#callDetailsModal select:focus,
#callDetailsModal textarea:focus {
	border-color: var(--sellerslice-light-blue) !important;
	outline: none !important;
	box-shadow: 0 0 0 3px rgba(31, 155, 255, 0.1) !important;
}

/* Ensure the modal is properly positioned and visible */
#callDetailsModal {
	position: fixed !important;
	top: 0 !important;
	left: 0 !important;
	width: 100% !important;
	height: 100% !important;
	background: rgba(0,0,0,0.5) !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	z-index: 2100 !important;
	visibility: visible !important;
	opacity: 1 !important;
}

#callDetailsModal .modal-content {
	max-width: 600px !important;
	width: 90vw !important;
	max-height: 90vh !important;
	overflow-y: auto !important;
	margin: 0 !important;
	position: relative !important;
	top: 0 !important;
	left: 0 !important;
	transform: none !important;
	background: white !important;
	border-radius: 12px !important;
	padding: 0 !important;
	display: block !important;
	visibility: visible !important;
	opacity: 1 !important;
}

/* Logo upload styles */
.current-logo-preview {
    margin-top: 10px;
    padding: 10px;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    background: #f9fafb;
}

.remove-logo-btn {
    background: #ef4444;
    color: white;
    border: none;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    cursor: pointer;
    margin-top: 8px;
}

.remove-logo-btn:hover {
    background: #dc2626;
}

.form-text {
    font-size: 12px;
    color: #6b7280;
    margin-top: 4px;
}

.form-group { margin-bottom: 16px; }
.form-group label { display: block; margin-bottom: 4px; font-size: 12px; color: #334155; }
.form-group input, .form-group textarea { width: 100%; }
.form-group textarea { height: 80px; resize: vertical; }

/* Action buttons */
.action-btn {
	cursor: pointer;
	border: none;
	outline: none;
}

.action-btn:hover {
	transform: translateY(-1px);
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.action-btn:active {
	transform: translateY(0);
}

/* Template download section */
.template-download-section {
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 8px;
	padding: 16px;
	margin-bottom: 16px;
}

html.dark-mode .template-download-section {
	background: #475569;
	border-color: #64748b;
}

.template-download-section h4 {
	margin: 0 0 12px 0;
	color: #334155;
	font-size: 14px;
	font-weight: 600;
}

html.dark-mode .template-download-section h4 {
	color: #e2e8f0;
}

/* Status badges */
.status-badge { padding: 2px 8px; border-radius: 12px; font-size: 11px; font-weight: 600; text-transform: uppercase; }
.status-completed { background: #dcfce7; color: #166534; }
.status-in-progress { background: #fef3c7; color: #92400e; }
.status-scheduled { background: #dbeafe; color: #1e40af; }
.status-queue { background: #f3e8ff; color: #7c3aed; }
.status-awaiting-client { background: #fef2f2; color: #dc2626; }
.status-under-review { background: #f0f9ff; color: #0369a1; }
.status-ready-execution { background: #ecfdf5; color: #059669; }
.status-complete { background: #dcfce7; color: #166534; }

/* ClickUp-style text colors only */
.status-in-progress { color: #3b82f6; }
.status-awaiting-client { color: #8b5cf6; }
.status-under-review { color: #f59e0b; }
.status-ready-execution { color: #a16207; }
.status-complete { color: #10b981; }
.status-queue { color: #6b7280; }

/* Settings */
.app-header { display: flex; justify-content: space-between; align-items: center; }
.settings-btn { 
	background: linear-gradient(135deg, #667eea, #764ba2);
	color: white;
	border: none;
	font-size: 14px;
	font-weight: 500;
	cursor: pointer;
	padding: 8px 16px;
	border-radius: 8px;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	transition: all 0.3s ease;
	box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}
.settings-btn:hover { 
	background: linear-gradient(135deg, #5a67d8, #6b46c1);
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.settings-section { margin-bottom: 20px; }
.settings-group { margin-bottom: 20px; padding: 16px; background: #f8fafc; border-radius: 8px; border: 1px solid #e2e8f0; }
.settings-group h4 { margin: 0 0 12px; font-size: 14px; color: #334155; }

button.secondary { background: #64748b; color: white; border: none; }
button.secondary:hover { background: #475569; }

/* ClickUp links */
.clickup-link { color: #0ea5e9; text-decoration: none; font-size: 12px; }
.clickup-link:hover { text-decoration: underline; }





/* Project items */
.project-item { padding: 8px 0; border-bottom: 1px solid #e2e8f0; }
.project-item:last-child { border-bottom: none; }

/* Overview sections - make scrollable */
.overview-card {
	max-height: 300px;
	overflow-y: auto;
}
.project-title { font-weight: 600; margin-bottom: 2px; }
.project-meta { font-size: 12px; color: #64748b; }

/* Month summary */
.month-summary { background: #f1f5f9; border: 1px solid #e2e8f0; border-radius: 8px; padding: 12px; margin-bottom: 16px; }
.month-summary h4 { margin: 0 0 8px; }

/* No data states */
.no-data { color: #64748b; font-style: italic; text-align: center; padding: 20px; }

/* Add ClickUp button */
.add-clickup-btn { background: none; border: 1px solid #0ea5e9; color: #0ea5e9; padding: 2px 8px; border-radius: 4px; font-size: 11px; cursor: pointer; }
.add-clickup-btn:hover { background: #0ea5e9; color: white; }

/* Schedule button */
.schedule-btn { background: #059669; color: white; border: none; padding: 2px 8px; border-radius: 4px; font-size: 11px; cursor: pointer; }
.schedule-btn:hover { background: #047857; }

/* Select for this month button */
.select-this-month-btn { background: #0ea5e9; color: white; border: none; padding: 2px 8px; border-radius: 4px; font-size: 11px; cursor: pointer; }
.select-this-month-btn:hover { background: #0284c7; }

/* Complete button */
.complete-btn { background: #059669; color: white; border: none; padding: 2px 8px; border-radius: 4px; font-size: 11px; cursor: pointer; }
.complete-btn:hover { background: #047857; }

/* Future month sections */
.future-month-section { margin-bottom: 16px; }
.future-month-section h5 { margin: 0 0 8px; font-size: 14px; color: #475569; font-weight: 600; }

/* Budget warning */
.budget-warning { background: #fef2f2; border: 1px solid #fecaca; color: #dc2626; padding: 6px 8px; border-radius: 6px; font-size: 12px; font-weight: 600; margin-top: 4px; }

/* Responsive Design */
@media (max-width: 768px) {
	.overview-grid { grid-template-columns: 1fr; }
	.scheduled-header { flex-direction: column; gap: 12px; align-items: stretch; }
	.floating-usage-box { 
		position: static; 
		width: 100%; 
		max-height: none; 
		margin-top: 16px;
		box-shadow: none;
	}
	.analytics-header {
		flex-direction: column;
		gap: 16px;
		align-items: stretch;
	}
	.analytics-controls {
		flex-direction: column;
		gap: 12px;
	}
	.analytics-section canvas {
		width: 100% !important;
		height: auto !important;
	}
}

/* Folder styles */
.folder-container {
	margin-bottom: 16px;
	border: 1px solid #e5e7eb;
	border-radius: 8px;
	overflow: hidden;
}

.folder-header {
	background: #f9fafb;
	padding: 12px;
	cursor: pointer;
	display: flex;
	justify-content: space-between;
	align-items: center;
	transition: background-color 0.2s;
}

.folder-header:hover {
	background: #f3f4f6;
}

.folder-header:hover .folder-toggle {
	color: #0284c7;
}

.folder-content {
	padding: 12px;
	background: white;
}

.folder-item {
	margin-bottom: 8px;
	padding: 8px;
	background: #f9fafb;
	border-radius: 4px;
}

.folder-toggle {
	font-size: 18px;
	transition: transform 0.2s;
	color: #0ea5e9;
	font-weight: bold;
}

.folder-toggle.expanded {
	transform: rotate(90deg) !important;
}

.scheduled-actions {
	display: flex;
	gap: 12px;
	align-items: center;
}

/* Selected items indicator */
.scheduled-item-checkbox:checked + div .title {
	color: #0ea5e9;
	font-weight: 700;
}

.scheduled-item-checkbox:checked {
	accent-color: #0ea5e9;
}

/* Overview folder styles */
.overview-folder {
	margin-bottom: 8px;
}

.overview-folder-header {
	display: flex;
	align-items: center;
	gap: 6px;
	cursor: pointer;
	padding: 4px 0;
	transition: background-color 0.2s;
	border-radius: 4px;
}

.overview-folder-header:hover {
	background: #f1f5f9;
}

.overview-folder-toggle {
	font-size: 12px;
	transition: transform 0.2s;
	color: #0ea5e9;
	font-weight: bold;
}

.overview-folder-toggle.expanded {
	transform: rotate(90deg);
}

.overview-folder-name {
	font-weight: 600;
	font-size: 14px;
	color: #334155;
}

.overview-folder-meta {
	font-size: 11px;
	color: #64748b;
	margin-left: auto;
}

.overview-folder-content {
	margin-left: 18px;
	margin-top: 4px;
}

.overview-folder-item {
	padding: 4px 0;
	border-bottom: 1px solid #f1f5f9;
}

.overview-folder-item:last-child {
	border-bottom: none;
}

.overview-folder-item .project-title {
	font-size: 13px;
}

.overview-folder-item .project-meta {
	font-size: 11px;
}

/* Floating Planning Box - positioned overlay with resize capability */
.floating-usage-box {
	position: fixed;
	top: 100px;
	right: 20px;
	width: 400px;
	min-width: 280px;
	max-width: 800px;
	height: auto;
	min-height: 300px;
	max-height: calc(100vh - 120px);
	overflow: visible; /* Allow content to determine size */
	z-index: 2100; /* Higher than nav bar (2000) */
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
	border-radius: 12px;
	transition: transform 0.3s ease, opacity 0.3s ease, box-shadow 0.3s ease;
	transform: translateX(100%);
	opacity: 0;
	display: none;
	resize: none; /* Disable browser resize, we'll handle it custom */
}

.floating-usage-box.show {
	transform: translateX(0);
	opacity: 1;
	display: block;
}

/* Resize handles for the planning box */
.usage-resize-handle {
	position: absolute;
	background: transparent;
	z-index: 10;
}

.usage-resize-handle:hover {
	background: rgba(59, 130, 246, 0.3);
}

.usage-resize-handle.resizing {
	background: rgba(59, 130, 246, 0.5);
}

/* Left resize handle */
.usage-resize-left {
	left: 0;
	top: 0;
	width: 6px;
	height: 100%;
	cursor: ew-resize;
}

/* Bottom resize handle */
.usage-resize-bottom {
	bottom: 0;
	left: 0;
	width: 100%;
	height: 6px;
	cursor: ns-resize;
}

/* Corner resize handle (both width and height) */
.usage-resize-corner {
	bottom: 0;
	left: 0;
	width: 12px;
	height: 12px;
	cursor: nw-resize;
	background: rgba(59, 130, 246, 0.2);
	border-radius: 0 0 0 12px;
}

.usage-resize-corner:hover {
	background: rgba(59, 130, 246, 0.4);
}

/* Make the panel inside properly sized */
.floating-usage-box .panel {
	height: auto;
	min-height: 100%;
	overflow: visible;
	margin: 0;
}

/* Main layout wrapper */
.main-layout {
	display: flex;
	justify-content: center;
	align-items: flex-start;
	gap: 40px;
	padding: 20px;
	min-height: 100vh;
}

/* Container - properly centered */
.container {
	max-width: 1200px;
	width: 100%;
	transition: all 0.3s ease;
}

/* When planning box is visible, adjust layout */
body.usage-box-visible .main-layout {
	justify-content: flex-start;
}

body.usage-box-visible .container {
	max-width: 1200px;
}

/* Responsive breakpoints */
@media (max-width: 1400px) {
	.floating-usage-box {
		width: 350px;
	}
}

@media (max-width: 1200px) {
	.floating-usage-box {
		width: 300px;
	}
}

@media (max-width: 1000px) {
	.floating-usage-box {
		width: 280px;
	}
}

@media (max-width: 900px) {
	.main-layout {
		flex-direction: column;
		align-items: stretch;
		gap: 20px;
	}
	
	.container {
		max-width: 100%;
	}
	
	.floating-usage-box {
		position: relative;
		top: auto;
		right: auto;
		width: 100%;
		max-height: none;
		margin-top: 20px;
		order: 3;
	}
	
	.overview-grid {
		grid-template-columns: 1fr;
		gap: 16px;
	}
}

@media (max-width: 768px) {
	.floating-usage-box {
		margin: 16px 0;
	}
	
	.floating-usage-box .panel {
		margin: 0;
	}
	
	.overview-grid {
		gap: 12px;
	}
	
	.overview-card {
		padding: 12px;
	}
	
	/* Make table responsive on mobile */
	.floating-usage-box table {
		font-size: 12px;
	}
	
	.floating-usage-box th,
	.floating-usage-box td {
		padding: 6px 4px;
	}
	
	.floating-usage-box th:nth-child(2),
	.floating-usage-box td:nth-child(2) {
		display: none; /* Hide date column on mobile */
	}
	
	.floating-usage-box th:nth-child(5),
	.floating-usage-box td:nth-child(5) {
                display: none; /* Hide status column on mobile */
        }
}

/* PA/HD Layout */
.pa-hd-container {
	display: flex;
	gap: 20px;
	margin-bottom: 20px;
}

.pa-card, .hd-card {
	flex: 1;
	min-width: 0; /* Prevents flex items from overflowing */
	background: rgba(255, 255, 255, 0.95);
	backdrop-filter: blur(20px);
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 12px;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
	position: relative;
	overflow: hidden;
}

.pa-card::before, .hd-card::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 1px;
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
}

/* Dark mode PA/HD cards */
html.dark-mode .pa-card, html.dark-mode .hd-card {
	background: rgba(30, 41, 59, 0.8);
	border-color: rgba(71, 85, 105, 0.3);
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

html.dark-mode .pa-card::before, html.dark-mode .hd-card::before {
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
}

.cases-panel, .campaigns-panel {
	margin-top: 20px;
	background: rgba(255, 255, 255, 0.95);
	backdrop-filter: blur(20px);
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 12px;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
	position: relative;
	overflow: hidden;
}

.cases-panel::before, .campaigns-panel::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 1px;
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
}

/* Dark mode cases and campaigns panels */
html.dark-mode .cases-panel, html.dark-mode .campaigns-panel {
	background: rgba(30, 41, 59, 0.8);
	border-color: rgba(71, 85, 105, 0.3);
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

html.dark-mode .cases-panel::before, html.dark-mode .campaigns-panel::before {
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
}

/* Recent Calls Styling */
.recent-calls {
	margin-top: 15px;
}

.recent-calls h3 {
	font-size: 0.9rem;
	font-weight: 600;
	color: var(--text-primary);
	margin-bottom: 10px;
}

.call-list {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.call-item {
	display: flex;
	justify-content: space-between;
	align-items: center;
	background: rgba(255, 255, 255, 0.03);
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 6px;
	padding: 8px 10px;
	transition: all 0.2s ease;
}

.call-item:hover {
	background: rgba(255, 255, 255, 0.06);
	border-color: rgba(255, 255, 255, 0.12);
}

.call-info {
	flex: 1;
	min-width: 0;
}

.call-topic {
	font-size: 0.85rem;
	font-weight: 500;
	color: var(--text-primary);
	line-height: 1.2;
	margin-bottom: 2px;
}

.call-date {
	font-size: 0.75rem;
	color: var(--text-secondary);
}

.call-status {
	width: 20px;
	height: 20px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 0.7rem;
	font-weight: bold;
	margin-left: 8px;
	flex-shrink: 0;
}

.call-status.completed {
	background: rgba(34, 197, 94, 0.2);
	color: #22c55e;
	border: 1px solid rgba(34, 197, 94, 0.3);
}

/* Meeting Agenda Modal Styling */
.modal-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 20px;
	padding-bottom: 15px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.close-btn {
	background: none;
	border: none;
	color: var(--text-secondary);
	font-size: 24px;
	cursor: pointer;
	padding: 0;
	width: 30px;
	height: 30px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	transition: all 0.2s ease;
}

.close-btn:hover {
	background: rgba(255, 255, 255, 0.1);
	color: var(--text-primary);
}

.meeting-info {
	margin-bottom: 25px;
}

.meeting-details {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 15px;
}

.detail-item {
	display: flex;
	flex-direction: column;
	gap: 5px;
}

.detail-item label {
	font-size: 0.85rem;
	font-weight: 600;
	color: var(--text-secondary);
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.detail-item span {
	font-size: 1rem;
	color: var(--text-primary);
	font-weight: 500;
}

.agenda-section {
	background: rgba(255, 255, 255, 0.03);
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 12px;
	padding: 20px;
}

.agenda-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 15px;
}

.agenda-header h4 {
	margin: 0;
	color: var(--text-primary);
	font-size: 1.1rem;
}

.agenda-content {
	min-height: 100px;
	line-height: 1.6;
	color: var(--text-primary);
}

.agenda-content ul {
	margin: 0;
	padding-left: 20px;
}

.agenda-content li {
	margin-bottom: 8px;
}

.agenda-editor {
	margin-top: 15px;
}

.agenda-editor textarea {
	width: 100%;
	min-height: 120px;
	padding: 15px;
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 8px;
	background: rgba(255, 255, 255, 0.05);
	color: var(--text-primary);
	font-family: inherit;
	font-size: 14px;
	line-height: 1.5;
	resize: vertical;
	margin-bottom: 15px;
}

.agenda-editor textarea:focus {
	outline: none;
	border-color: var(--primary-color);
	box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2);
}

.agenda-actions {
	display: flex;
	gap: 10px;
	justify-content: flex-end;
}

/* Clickable call items */
.call-item.clickable {
	cursor: pointer;
	position: relative;
}

.call-item.clickable:hover {
	background: rgba(255, 255, 255, 0.08);
	border-color: rgba(255, 255, 255, 0.15);
	transform: translateY(-1px);
}

.call-item.clickable::after {
	content: '👁️';
	position: absolute;
	right: 35px;
	top: 50%;
	transform: translateY(-50%);
	font-size: 0.8rem;
	opacity: 0;
	transition: opacity 0.2s ease;
}

.call-item.clickable:hover::after {
	opacity: 1;
}

/* Advertising Page Layout */
.advertising-container {
	display: flex;
	gap: 20px;
	margin-bottom: 20px;
}

.ad-overview-card, .ad-metrics-card {
	flex: 1;
	min-width: 0;
	background: rgba(255, 255, 255, 0.95);
	backdrop-filter: blur(20px);
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 12px;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
	position: relative;
	overflow: hidden;
}

.ad-overview-card::before, .ad-metrics-card::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 1px;
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
}

/* Dark mode advertising cards */
html.dark-mode .ad-overview-card, html.dark-mode .ad-metrics-card {
	background: rgba(30, 41, 59, 0.8);
	border-color: rgba(71, 85, 105, 0.3);
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

html.dark-mode .ad-overview-card::before, html.dark-mode .ad-metrics-card::before {
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
}

.campaigns-panel {
	margin-top: 20px;
}

.metrics-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 15px;
}

.metric-card {
	background: rgba(255, 255, 255, 0.95);
	backdrop-filter: blur(20px);
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 12px;
	padding: 15px;
	text-align: center;
	transition: all 0.3s ease;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
	position: relative;
	overflow: hidden;
}

.metric-card::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 1px;
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
}

/* Dark mode metric cards */
html.dark-mode .metric-card {
	background: rgba(30, 41, 59, 0.8);
	border-color: rgba(71, 85, 105, 0.3);
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

html.dark-mode .metric-card::before {
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
}

.metric-card:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

html.dark-mode .metric-card:hover {
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.metric-card .metric-label {
	font-size: 0.85rem;
	color: var(--text-secondary);
	margin-bottom: 8px;
	font-weight: 500;
}

.metric-card .metric-value {
	font-size: 1.5rem;
	font-weight: 700;
	color: var(--text-primary);
}

/* Service Stats Grid - Individual stat cards */
.service-stats-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
	gap: 15px;
	margin-bottom: 20px;
}

.stat-card {
	background: rgba(255, 255, 255, 0.95);
	backdrop-filter: blur(20px);
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 12px;
	padding: 15px;
	text-align: center;
	transition: all 0.3s ease;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
	position: relative;
	overflow: hidden;
}

.stat-card::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 1px;
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
}

/* Dark mode stat cards */
html.dark-mode .stat-card {
	background: rgba(30, 41, 59, 0.8);
	border-color: rgba(71, 85, 105, 0.3);
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

html.dark-mode .stat-card::before {
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
}

/* Direct add form styles */
.direct-add-form {
	padding: 1rem;
}

.direct-add-form .form-group {
	margin-bottom: 1.5rem;
}

.direct-add-form label {
	display: block;
	margin-bottom: 0.5rem;
	font-weight: 600;
	color: #374151;
}

.direct-add-form input,
.direct-add-form textarea,
.direct-add-form select {
	width: 100%;
	padding: 0.75rem;
	border: 1px solid #d1d5db;
	border-radius: 8px;
	font-size: 1rem;
	transition: border-color 0.2s ease;
}

.direct-add-form input:focus,
.direct-add-form textarea:focus,
.direct-add-form select:focus {
	outline: none;
	border-color: var(--sellerslice-light-blue);
	box-shadow: 0 0 0 3px rgba(31, 155, 255, 0.1);
}

.direct-add-form textarea {
	resize: vertical;
	min-height: 100px;
}

.direct-add-form .form-actions {
	display: flex;
	gap: 1rem;
	justify-content: flex-end;
	margin-top: 2rem;
	padding-top: 1rem;
	border-top: 1px solid #e5e7eb;
}

/* Help Desk Case Management Styles */
.case-item {
	position: relative;
	border: 1px solid #e5e7eb;
	border-radius: 8px;
	padding: 16px;
	margin-bottom: 12px;
	background: white;
	transition: box-shadow 0.2s ease;
}

.case-item:hover {
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.case-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 8px;
}

.case-id {
	font-weight: 600;
	color: #374151;
	font-size: 14px;
}

.case-status {
	padding: 4px 8px;
	border-radius: 4px;
	font-size: 12px;
	font-weight: 500;
	text-transform: capitalize;
}

.case-status.status-new {
	background-color: #f3f4f6;
	color: #374151;
}

.case-status.status-in-progress {
	background-color: #dbeafe;
	color: #1e40af;
}

.case-status.status-awaiting-client {
	background-color: #fef3c7;
	color: #92400e;
}

.case-status.status-under-review {
	background-color: #e0e7ff;
	color: #3730a3;
}

.case-status.status-complete {
	background-color: #d1fae5;
	color: #065f46;
}

.case-status.status-cancelled {
	background-color: #fee2e2;
	color: #991b1b;
}

.case-actions {
	display: flex;
	align-items: center;
	gap: 8px;
}


.task-menu-btn {
	background: none;
	border: none;
	font-size: 16px;
	color: #6b7280;
	cursor: pointer;
	padding: 4px 8px;
	border-radius: 4px;
	transition: background-color 0.2s ease;
}

.task-menu-btn:hover {
	background-color: #f3f4f6;
	color: #374151;
}

.task-menu-dropdown {
	position: absolute;
	top: 100%;
	right: 0;
	background: white;
	border: 1px solid #e5e7eb;
	border-radius: 6px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
	z-index: 1000;
	min-width: 150px;
	padding: 4px 0;
}

.menu-item {
	padding: 8px 12px;
	cursor: pointer;
	font-size: 14px;
	color: #374151;
	transition: background-color 0.2s ease;
}

.menu-item:hover {
	background-color: #f3f4f6;
}

.menu-item.danger {
	color: #dc2626;
}

.menu-item.danger:hover {
	background-color: #fef2f2;
}

.menu-separator {
	height: 1px;
	background-color: #e5e7eb;
	margin: 4px 0;
}

.menu-item.has-submenu {
	position: relative;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.submenu-arrow {
	font-size: 10px;
	color: #9ca3af;
	transition: transform 0.2s ease;
}

.menu-item.has-submenu:hover .submenu-arrow {
	transform: rotate(90deg);
}

.submenu {
	position: absolute;
	left: 100%;
	top: 0;
	background: white;
	border: 1px solid #e5e7eb;
	border-radius: 6px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
	z-index: 1001;
	min-width: 140px;
	padding: 4px 0;
}

.submenu-item {
	padding: 8px 12px;
	cursor: pointer;
	font-size: 14px;
	color: #374151;
	transition: background-color 0.2s ease;
}

.submenu-item:hover {
	background-color: #f3f4f6;
}

.case-title {
	font-weight: 600;
	color: #111827;
	margin-bottom: 4px;
	cursor: pointer;
	padding: 2px 4px;
	border-radius: 4px;
	transition: background-color 0.2s ease;
}

.case-title:hover {
	background-color: #f9fafb;
}

.case-title[data-editable="true"] {
	border: 1px solid transparent;
}

.case-title[data-editable="true"]:hover {
	border-color: #d1d5db;
}

.case-description {
	color: #6b7280;
	font-size: 14px;
	line-height: 1.4;
	cursor: pointer;
	padding: 2px 4px;
	border-radius: 4px;
	transition: background-color 0.2s ease;
}

.case-description:hover {
	background-color: #f9fafb;
}

.case-description[data-editable="true"] {
	border: 1px solid transparent;
}

.case-description[data-editable="true"]:hover {
	border-color: #d1d5db;
}

.case-meta {
	font-size: 12px;
	color: #9ca3af;
	margin-bottom: 8px;
}

.stat-card:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

html.dark-mode .stat-card:hover {
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.stat-card .stat-label {
	font-size: 0.85rem;
	color: var(--text-secondary);
	margin-bottom: 8px;
	font-weight: 500;
}

.stat-card .stat-value {
	font-size: 1.5rem;
	font-weight: 700;
	color: var(--text-primary);
}

.stat-card .stat-value.bonus-points-large {
	color: #10b981 !important;
	font-size: 1.5rem;
	font-weight: 700;
}

.stat-percentage {
	font-size: 0.7rem;
	color: var(--text-secondary);
	margin-top: 0.25rem;
	font-weight: 500;
}

/* Service Overview Stats Grid - Individual stat cards within service cards */
.service-overview-stats-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
	gap: 12px;
	margin-bottom: 20px;
}

.service-stat-card {
	background: rgba(255, 255, 255, 0.95);
	backdrop-filter: blur(20px);
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 10px;
	padding: 12px;
	text-align: center;
	transition: all 0.3s ease;
	box-shadow: 0 3px 12px rgba(0, 0, 0, 0.1);
	position: relative;
	overflow: hidden;
}

.service-stat-card::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 1px;
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
}

/* Dark mode service stat cards */
html.dark-mode .service-stat-card {
	background: rgba(30, 41, 59, 0.8);
	border-color: rgba(71, 85, 105, 0.3);
	box-shadow: 0 3px 12px rgba(0, 0, 0, 0.3);
}

html.dark-mode .service-stat-card::before {
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
}

.service-stat-card:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

html.dark-mode .service-stat-card:hover {
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.service-stat-card .service-stat-label {
	font-size: 0.75rem;
	color: var(--text-secondary);
	margin-bottom: 6px;
	font-weight: 500;
}

.service-stat-card .service-stat-value {
	font-size: 1.2rem;
	font-weight: 700;
	color: var(--text-primary);
}

.service-stat-bonus {
	font-size: 0.7rem;
	color: #10b981;
	font-weight: 500;
	margin-top: 0.25rem;
}

.campaigns-list {
	display: flex;
	flex-direction: column;
	gap: 15px;
}

.campaign-item {
	background: rgba(255, 255, 255, 0.03);
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 8px;
	padding: 15px;
	transition: all 0.3s ease;
}

.campaign-item:hover {
	background: rgba(255, 255, 255, 0.06);
	border-color: rgba(255, 255, 255, 0.12);
	transform: translateY(-2px);
}

.campaign-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 10px;
}

.campaign-name {
	font-weight: 600;
	color: var(--text-primary);
	font-size: 1rem;
}

.campaign-status {
	padding: 4px 8px;
	border-radius: 4px;
	font-size: 0.8rem;
	font-weight: 500;
}

.campaign-status.active {
	background: rgba(34, 197, 94, 0.2);
	color: #22c55e;
	border: 1px solid rgba(34, 197, 94, 0.3);
}

.campaign-details {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
	gap: 10px;
}

.campaign-metric {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.campaign-metric .metric-label {
	font-size: 0.8rem;
	color: var(--text-secondary);
}

.campaign-metric .metric-value {
	font-size: 0.9rem;
	font-weight: 600;
	color: var(--text-primary);
}

/* Responsive design for PA/HD cards */
@media (max-width: 768px) {
	.pa-hd-container {
		flex-direction: column;
		gap: 15px;
	}
	
	.advertising-container {
		flex-direction: column;
		gap: 15px;
	}
	
	.meeting-details {
		grid-template-columns: 1fr;
	}
	
	.agenda-header {
		flex-direction: column;
		align-items: flex-start;
		gap: 10px;
	}
	
	.campaign-details {
		grid-template-columns: 1fr;
	}
	
	.metrics-grid {
		grid-template-columns: 1fr;
	}
}

/* Analytics Charts Layout */
.charts-container {
	display: flex;
	gap: 20px;
	margin-top: 20px;
}

.analytics-section {
	flex: 1;
	min-width: 0;
}

.analytics-section canvas {
	width: 100%;
	height: 400px;
	border-radius: 8px;
	background: rgba(255, 255, 255, 0.02);
	image-rendering: -webkit-optimize-contrast;
	image-rendering: crisp-edges;
}

/* Responsive design for analytics charts */
@media (max-width: 1024px) {
	.charts-container {
		flex-direction: column;
		gap: 20px;
	}
	
	.analytics-section canvas {
		width: 100%;
		height: 400px;
	}
}

/* Client Metrics Styles */
.metrics-header {
	text-align: center;
	margin-bottom: 32px;
}

.metrics-header h3 {
	color: #1f2937;
	font-size: 2rem;
	font-weight: 700;
	margin: 0 0 8px 0;
}

.metrics-header p {
	color: #6b7280;
	font-size: 1.1rem;
	margin: 0;
}

.metrics-content {
	display: flex;
	flex-direction: column;
	gap: 32px;
	overflow: visible;
}

.metrics-table-container {
	background: white;
	border-radius: 16px;
	padding: 24px;
	border: 1px solid #e5e7eb;
	overflow: visible;
	box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.metrics-table {
	width: 100%;
	border-collapse: collapse;
	color: #1f2937;
	overflow: visible;
}

.metrics-table th {
	background: #f3f4f6;
	padding: 16px 12px;
	text-align: left;
	font-weight: 600;
	font-size: 0.9rem;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	border-bottom: 2px solid #e5e7eb;
	color: #374151;
}

.metrics-table td {
	padding: 16px 12px;
	border-bottom: 1px solid #e5e7eb;
	vertical-align: middle;
}

.metrics-table tbody tr:hover {
	background: #f9fafb;
}

.metrics-table tbody tr:last-child td {
	border-bottom: none;
}

.point-ratio {
	display: flex;
	align-items: center;
	gap: 8px;
}

.point-ratio-bar {
	width: 60px;
	height: 8px;
	background: #e5e7eb;
	border-radius: 4px;
	overflow: hidden;
	position: relative;
}

.point-ratio-fill {
	height: 100%;
	background: linear-gradient(90deg, #10b981 0%, #f59e0b 50%, #ef4444 100%);
	border-radius: 4px;
	transition: width 0.3s ease;
}

.point-ratio-text {
	font-weight: 600;
	font-size: 0.9rem;
	min-width: 60px;
}

.budget-info {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.budget-amount {
	font-weight: 600;
	color: #10b981;
}

.budget-rollover {
	font-size: 0.8rem;
	color: #6b7280;
}

.status-badge {
	display: inline-block;
	padding: 4px 12px;
	border-radius: 20px;
	font-size: 0.8rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.status-active {
	background: transparent;
	color: #10b981;
	border: none;
}

.status-inactive {
	background: rgba(239, 68, 68, 0.2);
	color: #ef4444;
	border: 1px solid rgba(239, 68, 68, 0.3);
}

.future-planning {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.planning-months {
	font-weight: 600;
	color: #3b82f6;
}

.planning-details {
	font-size: 0.8rem;
	color: #6b7280;
}

.budget-allocation {
	display: flex;
	align-items: center;
	gap: 8px;
}

.allocation-bar {
	width: 80px;
	height: 8px;
	background: #e5e7eb;
	border-radius: 4px;
	overflow: hidden;
	position: relative;
}

.allocation-fill {
	height: 100%;
	background: linear-gradient(90deg, #3b82f6 0%, #8b5cf6 100%);
	border-radius: 4px;
	transition: width 0.3s ease;
}

.allocation-text {
	font-weight: 600;
	font-size: 0.9rem;
	min-width: 50px;
}

.metrics-summary {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 24px;
}

.summary-card {
	background: white;
	border-radius: 16px;
	padding: 24px;
	border: 1px solid #e5e7eb;
	box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.summary-card h4 {
	color: #1f2937;
	font-size: 1.2rem;
	font-weight: 600;
	margin: 0 0 20px 0;
}

.summary-stats {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
	gap: 16px;
}

.summary-stat {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.stat-label {
	font-size: 0.9rem;
	color: #6b7280;
}

.stat-value {
	font-size: 1.5rem;
	font-weight: 700;
	color: #1f2937;
}

/* Responsive Design */
@media (max-width: 768px) {
	.metrics-table-container {
		padding: 16px;
	}
	
	.metrics-table th,
	.metrics-table td {
		padding: 12px 8px;
		font-size: 0.8rem;
	}
	
	.metrics-table th {
		font-size: 0.7rem;
	}
	
	.point-ratio-bar,
	.allocation-bar {
		width: 40px;
	}
	
	.summary-stats {
		grid-template-columns: repeat(2, 1fr);
	}
}

/* Tooltip Styles */
.future-planning {
	position: relative;
	cursor: help;
}

.future-planning-tooltip {
	position: absolute;
	bottom: 100%;
	left: 50%;
	transform: translateX(-50%);
	background: #1f2937;
	color: white;
	padding: 12px 16px;
	border-radius: 8px;
	font-size: 0.875rem;
	white-space: nowrap;
	z-index: 1000;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.2s, visibility 0.2s;
	box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
	margin-bottom: 8px;
}

.future-planning-tooltip::after {
	content: '';
	position: absolute;
	top: 100%;
	left: 50%;
	transform: translateX(-50%);
	border: 5px solid transparent;
	border-top-color: #1f2937;
}

.future-planning:hover .future-planning-tooltip {
	opacity: 1;
	visibility: visible;
}

.tooltip-month {
	display: block;
	margin: 2px 0;
}

.tooltip-month-label {
	font-weight: 600;
	color: #3b82f6;
}

.tooltip-month-ratio {
	color: #d1d5db;
}

/* Efficiency Score Styles */
.efficiency-score {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
}

.efficiency-circle {
	width: 60px;
	height: 60px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
}

.efficiency-inner {
	width: 44px;
	height: 44px;
	background: white;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.efficiency-text {
	font-size: 1rem;
	font-weight: 700;
	color: #1f2937;
}

/* Efficiency Score Tooltip Styles */
.efficiency-score {
	position: relative;
	cursor: help;
}

.efficiency-tooltip {
	position: absolute;
	right: 100%;
	top: 50%;
	transform: translateY(-50%);
	background: #1f2937;
	color: white;
	padding: 8px 12px;
	border-radius: 6px;
	font-size: 0.75rem;
	white-space: normal;
	z-index: 99999;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.2s, visibility 0.2s;
	box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
	width: 200px;
	height: auto;
	pointer-events: none;
	margin-right: 8px;
}

.efficiency-tooltip::after {
	content: '';
	position: absolute;
	top: 50%;
	right: -5px;
	transform: translateY(-50%);
	border: 5px solid transparent;
	border-left-color: #1f2937;
}

.efficiency-score:hover .efficiency-tooltip {
	opacity: 1;
	visibility: visible;
}


.tooltip-recommendation {
	display: block;
	margin: 4px 0;
	padding: 4px 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.tooltip-recommendation:last-child {
	border-bottom: none;
}

.tooltip-recommendation-label {
	font-weight: 600;
	color: #3b82f6;
	display: block;
	margin-bottom: 2px;
}

.tooltip-recommendation-text {
	color: #d1d5db;
	font-size: 0.8rem;
}

.tooltip-recommendation-text.good {
	color: #10b981;
}

.tooltip-recommendation-text.warning {
	color: #f59e0b;
}

.tooltip-recommendation-text.bad {
	color: #ef4444;
}

/* Current Month Usage Tooltip Styles */
.point-ratio {
	position: relative;
	cursor: help;
}

.point-ratio-tooltip {
	position: absolute;
	bottom: 100%;
	left: 50%;
	transform: translateX(-50%);
	background: #1f2937;
	color: white;
	padding: 12px 16px;
	border-radius: 8px;
	font-size: 0.875rem;
	white-space: nowrap;
	z-index: 1000;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.2s, visibility 0.2s;
	box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
	margin-bottom: 8px;
	min-width: 200px;
}

.point-ratio-tooltip::after {
	content: '';
	position: absolute;
	top: 100%;
	left: 50%;
	transform: translateX(-50%);
	border: 5px solid transparent;
	border-top-color: #1f2937;
}

/* Tooltip positioning for top rows */
.point-ratio-tooltip.top-positioned {
	bottom: auto;
	top: 100%;
	margin-bottom: 0;
	margin-top: 8px;
}

.point-ratio-tooltip.top-positioned::after {
	top: auto;
	bottom: 100%;
	border-top-color: transparent;
	border-bottom-color: #1f2937;
}

.point-ratio:hover .point-ratio-tooltip {
	opacity: 1;
	visibility: visible;
}

.tooltip-breakdown {
	display: block;
	margin: 2px 0;
}

.tooltip-breakdown-label {
	font-weight: 600;
	color: #3b82f6;
}

.tooltip-breakdown-value {
	color: #d1d5db;
}

.tooltip-breakdown-value.over-budget {
	color: #ef4444;
	font-weight: 600;
}

.tooltip-breakdown-value.good {
	color: #10b981;
}

.tooltip-breakdown-value.warning {
	color: #f59e0b;
} 