#root.dark-mode .card,
#root.dark-mode .panel,
#root.dark-mode .card-mobile,
#root.dark-mode .main-content,
#root.dark-mode .main-content-mobile,
#root.dark-mode .calendar-header-mobile,
#root.dark-mode .calendar-day-name,
#root.dark-mode .calendar-cell,
#root.dark-mode .calendar-event,
#root.dark-mode .stats-grid,
#root.dark-mode .config-sidebar,
#root.dark-mode .scrollable-content,
#root.dark-mode [class*="card"],
#root.dark-mode [class*="panel"],
#root.dark-mode [class*="content"],
#root.dark-mode [class*="box"],
#root.dark-mode [class*="container"],
#root.dark-mode [class*="section"],
#root.dark-mode [style*="background"],
#root.dark-mode [style*="linear-gradient"],
#root.dark-mode [style*="rgba"],
#root.dark-mode [style*="rgb"],
#root.dark-mode [style*="hsla"],
#root.dark-mode [style*="hsl"] {
	background: #23283a !important;
	color: #e0e6ef !important;
	border-color: #374151 !important;
	box-shadow: none !important;
	background-image: none !important;
}

#root.dark-mode .card *,
#root.dark-mode .panel *,
#root.dark-mode .card-mobile *,
#root.dark-mode .main-content *,
#root.dark-mode .main-content-mobile *,
#root.dark-mode .calendar-header-mobile *,
#root.dark-mode .calendar-day-name *,
#root.dark-mode .calendar-cell *,
#root.dark-mode .calendar-event *,
#root.dark-mode .stats-grid *,
#root.dark-mode .config-sidebar *,
#root.dark-mode .scrollable-content *,
#root.dark-mode [class*="card"] *,
#root.dark-mode [class*="panel"] *,
#root.dark-mode [class*="content"] *,
#root.dark-mode [class*="box"] *,
#root.dark-mode [class*="container"] *,
#root.dark-mode [class*="section"] *,
#root.dark-mode [style*="background"] *,
#root.dark-mode [style*="linear-gradient"] *,
#root.dark-mode [style*="rgba"] *,
#root.dark-mode [style*="rgb"] *,
#root.dark-mode [style*="hsla"] *,
#root.dark-mode [style*="hsl"] * {
	background: transparent !important;
	color: #e0e6ef !important;
	border-color: #374151 !important;
	box-shadow: none !important;
}

#root.dark-mode h1,
#root.dark-mode h2,
#root.dark-mode h3,
#root.dark-mode h4,
#root.dark-mode h5,
#root.dark-mode h6 {
	color: #f1f5fa !important;
}

#root.dark-mode .highlight,
#root.dark-mode .number,
#root.dark-mode .big-number {
	color: #60a5fa !important;
}
#root.dark-mode .card,
#root.dark-mode .panel,
#root.dark-mode .card-mobile,
#root.dark-mode .main-content,
#root.dark-mode .main-content-mobile,
#root.dark-mode .calendar-header-mobile,
#root.dark-mode .calendar-day-name,
#root.dark-mode .calendar-cell,
#root.dark-mode .calendar-event,
#root.dark-mode .stats-grid,
#root.dark-mode .config-sidebar,
#root.dark-mode .scrollable-content,
#root.dark-mode [class*="card"],
#root.dark-mode [class*="panel"],
#root.dark-mode [class*="content"],
#root.dark-mode [class*="box"],
#root.dark-mode [class*="container"],
#root.dark-mode [class*="section"] {
	background: #23283a !important;
	color: #e0e6ef !important;
	border-color: #374151 !important;
	box-shadow: none !important;
}

#root.dark-mode .card *,
#root.dark-mode .panel *,
#root.dark-mode .card-mobile *,
#root.dark-mode .main-content *,
#root.dark-mode .main-content-mobile *,
#root.dark-mode .calendar-header-mobile *,
#root.dark-mode .calendar-day-name *,
#root.dark-mode .calendar-cell *,
#root.dark-mode .calendar-event *,
#root.dark-mode .stats-grid *,
#root.dark-mode .config-sidebar *,
#root.dark-mode .scrollable-content *,
#root.dark-mode [class*="card"] *,
#root.dark-mode [class*="panel"] *,
#root.dark-mode [class*="content"] *,
#root.dark-mode [class*="box"] *,
#root.dark-mode [class*="container"] *,
#root.dark-mode [class*="section"] * {
	background: transparent !important;
	color: #e0e6ef !important;
	border-color: #374151 !important;
	box-shadow: none !important;
}

#root.dark-mode h1,
#root.dark-mode h2,
#root.dark-mode h3,
#root.dark-mode h4,
#root.dark-mode h5,
#root.dark-mode h6 {
	color: #f1f5fa !important;
}

#root.dark-mode .highlight,
#root.dark-mode .number,
#root.dark-mode .big-number {
	color: #60a5fa !important;
}

#root.dark-mode [style*="background: #fff"],
#root.dark-mode [style*="background:#fff"],
#root.dark-mode [style*="background: white"],
#root.dark-mode [style*="background:white"],
#root.dark-mode [style*="background: #f8fafc"],
#root.dark-mode [style*="background:#f8fafc"],
#root.dark-mode [style*="background: #f0f9ff"],
#root.dark-mode [style*="background:#f0f9ff"] {
	background: #23283a !important;
	color: #e0e6ef !important;
}
#root.dark-mode .card,
#root.dark-mode .panel,
#root.dark-mode .card-mobile,
#root.dark-mode .main-content,
#root.dark-mode .main-content-mobile,
#root.dark-mode .calendar-header-mobile,
#root.dark-mode .calendar-day-name,
#root.dark-mode .calendar-cell,
#root.dark-mode .calendar-event,
#root.dark-mode .stats-grid,
#root.dark-mode .config-sidebar,
#root.dark-mode .scrollable-content {
	background: #23283a !important;
	color: #e0e6ef !important;
	border-color: #374151 !important;
}

#root.dark-mode .card *,
#root.dark-mode .panel *,
#root.dark-mode .card-mobile *,
#root.dark-mode .main-content *,
#root.dark-mode .main-content-mobile *,
#root.dark-mode .calendar-header-mobile *,
#root.dark-mode .calendar-day-name *,
#root.dark-mode .calendar-cell *,
#root.dark-mode .calendar-event *,
#root.dark-mode .stats-grid *,
#root.dark-mode .config-sidebar *,
#root.dark-mode .scrollable-content * {
	color: #e0e6ef !important;
}

#root.dark-mode h1,
#root.dark-mode h2,
#root.dark-mode h3,
#root.dark-mode h4,
#root.dark-mode h5,
#root.dark-mode h6 {
	color: #f1f5fa !important;
}

#root.dark-mode .highlight,
#root.dark-mode .number,
#root.dark-mode .big-number {
	color: #60a5fa !important;
}
#root.dark-mode .main-content-mobile {
	background: #181c24 !important;
	color: #e0e6ef !important;
}
#root.dark-mode .calendar-header-mobile {
	background: #23283a !important;
	color: #e0e6ef !important;
}
#root.dark-mode .calendar-header-mobile h2 {
	color: #e0e6ef !important;
}
#root.dark-mode .calendar-header-mobile button {
	background: #23283a !important;
	color: #e0e6ef !important;
	border: 1.5px solid #374151 !important;
}
#root.dark-mode .calendar-day-name {
	color: #a5b4fc !important;
}
#root.dark-mode .calendar-cell {
	background: #23283a !important;
	color: #e0e6ef !important;
	border: 1.5px solid #374151 !important;
}
#root.dark-mode .calendar-cell[style*="linear-gradient"] {
	background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%) !important;
	color: #fff !important;
}
#root.dark-mode .calendar-event {
	background: #373e57 !important;
	color: #a5b4fc !important;
}
#root.dark-mode .card-mobile {
	background: #23283a !important;
	color: #e0e6ef !important;
	border: 1.5px solid #374151 !important;
}
#root.dark-mode .stats-grid {
	background: #23283a !important;
	color: #e0e6ef !important;
}
#root.dark-mode .config-sidebar {
	background: #23283a !important;
	color: #e0e6ef !important;
}
#root.dark-mode .scrollable-content {
	background: #181c24 !important;
	color: #e0e6ef !important;
}
/* --- Dark Mode Styles --- */
#root.dark-mode {
	background: #181a1b !important;
	color: #e0e0e0 !important;
}
#root.dark-mode a { color: #8ab4f8; }
#root.dark-mode input,
#root.dark-mode textarea,
#root.dark-mode select {
	background: #23272b !important;
	color: #e0e0e0 !important;
	border-color: #444 !important;
}
#root.dark-mode .card,
#root.dark-mode .panel,
#root.dark-mode .sidebar,
#root.dark-mode .navbar,
#root.dark-mode header,
#root.dark-mode footer {
	background: #23272b !important;
	color: #e0e0e0 !important;
	border-color: #333 !important;
}
#root.dark-mode .btn,
#root.dark-mode button {
	background: #333 !important;
	color: #e0e0e0 !important;
	border-color: #444 !important;
}
#root.dark-mode .table {
	background: #23272b !important;
	color: #e0e0e0 !important;
}
#root.dark-mode .table th,
#root.dark-mode .table td {
	border-color: #333 !important;
}
#root.dark-mode .modal {
	background: #23272b !important;
	color: #e0e0e0 !important;
}
#root.dark-mode .alert {
	background: #2d3236 !important;
	color: #e0e0e0 !important;
	border-color: #444 !important;
}
#root.dark-mode hr {
	border-color: #333 !important;
}
#root.dark-mode::-webkit-scrollbar {
	background: #23272b;
}
#root.dark-mode::-webkit-scrollbar-thumb {
	background: #444;
}
/* --- End Dark Mode Styles --- */
#root.dark-mode .app-container {
	background: #23272b !important;
	color: #e0e0e0 !important;
	box-shadow: 0 4px 24px #00000033;
}
#root.dark-mode .card {
	background: #23272b !important;
	color: #e0e0e0 !important;
	border-color: #333 !important;
	box-shadow: 0 2px 8px #0004 !important;
}
#root.dark-mode h1,
#root.dark-mode h2,
#root.dark-mode h3,
#root.dark-mode h4,
#root.dark-mode h5 {
	color: #e0e0e0 !important;
}
#root.dark-mode .main-content {
	background: transparent !important;
	color: #e0e0e0 !important;
}
#root.dark-mode .sidebar {
	background: #20232a !important;
	color: #e0e0e0 !important;
}
#root.dark-mode .panel {
	background: #23272b !important;
	color: #e0e0e0 !important;
}
#root.dark-mode .notification-card {
	background: #23272b !important;
	color: #e0e0e0 !important;
}
#root.dark-mode .section-spacing {
	background: #23272b !important;
	color: #e0e0e0 !important;
}
html,body,#root{height:100%;margin:0;padding:0;font-family:Segoe UI,Arial,sans-serif}#root{min-height:100vh}.app-container{background:#fff;border-radius:16px;box-shadow:0 4px 24px #00000014;padding:32px 24px;margin:32px auto;min-width:340px;max-width:900px;width:100%;display:flex;flex-direction:column;align-items:center}h1,h2,h3,h4,h5{color:#222;margin-top:0}button{background:#2563eb;color:#fff;border:none;border-radius:6px;padding:8px 18px;font-size:1rem;cursor:pointer;transition:background .2s}button:hover{background:#1d4ed8}input,select,textarea{border:1px solid #d1d5db;border-radius:6px;padding:8px;font-size:1rem;margin-bottom:12px;width:100%;box-sizing:border-box}label{font-weight:500;margin-bottom:4px;display:block}@media (max-width: 600px){.app-container{padding:12px 2px;min-width:unset;max-width:100vw}}@media screen and (max-width: 768px){.sidebar-mobile-hidden{transform:translate(-100%)!important;transition:transform .3s ease-in-out}.main-content-mobile{margin-left:0!important;width:100%!important;padding:15px!important}.mobile-menu-button{display:block!important;position:fixed;top:15px;left:15px;z-index:1001;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;border:none;border-radius:10px;padding:12px 16px;font-size:22px;cursor:pointer;box-shadow:0 6px 16px #0000004d;line-height:1}.sidebar{position:fixed!important;top:0;left:0;height:100vh;width:85px!important;z-index:1000;overflow-y:auto;transition:transform .3s ease-in-out}.sidebar-mobile-open{transform:translate(0)!important;box-shadow:4px 0 20px #0006}.mobile-overlay{display:block!important;position:fixed;top:0;left:0;right:0;bottom:0;background:#00000080;z-index:999}body{font-size:14px}h1{font-size:24px!important}h2{font-size:20px!important}h3{font-size:18px!important}.calendar-mobile{font-size:10px!important}.calendar-header-mobile h2{font-size:18px!important}.calendar-header-mobile button{font-size:14px!important;padding:6px 10px!important}.calendar-day-name{font-size:10px!important;padding:4px 2px!important}.calendar-cell{min-height:50px!important;padding:8px 4px!important;font-size:14px!important}.calendar-event{font-size:9px!important;padding:2px 4px!important;margin:1px 0!important}table{font-size:11px!important;width:100%}th,td{padding:6px 3px!important;font-size:11px!important}th{font-size:12px!important}.table-container{overflow-x:auto;-webkit-overflow-scrolling:touch;margin:10px -15px;padding:0 15px}button{font-size:12px!important;padding:8px 10px!important;white-space:nowrap}input,select,textarea{font-size:14px!important;padding:8px!important}label{font-size:13px!important}.form-grid-mobile{grid-template-columns:1fr!important;gap:10px!important}.modal-mobile{width:95%!important;max-width:95%!important;max-height:90vh!important;margin:5vh auto!important;overflow-y:auto}.card-mobile{padding:12px!important;margin:10px 0!important}.notification-card{padding:10px!important;font-size:12px!important}.dc3-form-section{padding:12px!important}.dc3-input-group{margin-bottom:10px!important}.hide-on-mobile{display:none!important}.stats-grid{grid-template-columns:1fr!important;gap:10px!important}.section-spacing{margin:15px 0!important}.config-sidebar{width:100%!important;position:static!important}.scrollable-content{max-height:60vh;overflow-y:auto}}@media screen and (min-width: 769px) and (max-width: 1024px){.sidebar{width:200px!important}.main-content{margin-left:200px!important}table{font-size:13px}}@media screen and (min-width: 1025px) and (max-width: 1440px){.sidebar{width:240px!important}}
