body { font-family: 'Inter', sans-serif; background: #f8fafc; color: #334155; display: flex; flex-direction: column; min-height: 100vh; transition: background-color 0.3s, color 0.3s; }
.dark body { background: #0f172a; color: #cbd5e1; }
.dark .glass-card { background: #1e293b; border-color: #334155; }
.dark .stat-card { background: #1e293b; border-color: #334155; }
.dark .stat-value-big { color: #f1f5f9; }
.dark select, .dark input { background-color: #1e293b; border-color: #475569; color: #f1f5f9; }
.dark tr.hover\:bg-indigo-50\/50:hover { background-color: rgba(55, 65, 81, 0.5); }
.dark .table-header { background: #0f172a; }
.dark .border-slate-200 { border-color: #334155; }
.dark .text-slate-700 { color: #e2e8f0; }
.dark .text-slate-600 { color: #cbd5e1; }
.dark .text-slate-500 { color: #94a3b8; }
.dark .text-slate-400 { color: #64748b; }
.dark .bg-white { background-color: #1e293b; }
.dark .bg-slate-50 { background-color: #0f172a; }
.dark .filter-stat-card { background-color: #1e293b; border-color: #334155; }
.glass-card { background: white; border-radius: 1rem; box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1); border: 1px solid #e2e8f0; }
.stat-card { background: white; border-radius: 1rem; padding: 1.5rem; position: relative; overflow: hidden; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); }
.stat-card::after { content: ""; position: absolute; top: 0; right: 0; width: 80px; height: 80px; background: radial-gradient(circle at top right, rgba(255,255,255,0.8), transparent); opacity: 0.5; pointer-events: none; }
.dark .stat-card::after { background: radial-gradient(circle at top right, rgba(255,255,255,0.1), transparent); }
.filter-stat-card { background: white; border: 1px solid #e2e8f0; border-radius: 0.75rem; padding: 1rem; display: flex; flex-direction: column; transition: all 0.2s; position: relative; overflow: hidden; height: 100%; }
.filter-stat-card:hover { border-color: #cbd5e1; transform: translateY(-2px); box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.05); }
.dark .filter-stat-card:hover { border-color: #475569; box-shadow: 0 10px 15px -3px rgba(0,0,0,0.5); }
.stat-label { font-size: 0.65rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 0.5rem; }
.stat-value-big { font-size: 2rem; font-weight: 900; line-height: 1; letter-spacing: -0.05em; margin-bottom: 0.25rem; }
.stats-detail-box { background-color: rgba(241, 245, 249, 0.6); border-radius: 0.5rem; padding: 0.5rem; margin-top: auto; border: 1px solid rgba(226, 232, 240, 0.8); }
.dark .stats-detail-box { background-color: rgba(15, 23, 42, 0.6); border-color: #334155; }
.stats-row { display: flex; justify-content: space-between; align-items: center; font-size: 0.65rem; line-height: 1.25rem; }
.stats-row-label { color: #64748b; font-weight: 600; text-transform: uppercase; }
.dark .stats-row-label { color: #94a3b8; }
.stats-row-val { font-weight: 700; color: #334155; font-family: 'Inter', monospace; }
.dark .stats-row-val { color: #e2e8f0; }
.custom-checkbox { appearance: none; background-color: #fff; width: 1.2em; height: 1.2em; border: 2px solid #cbd5e1; border-radius: 0.25em; display: grid; place-content: center; cursor: pointer; }
.dark .custom-checkbox { background-color: #1e293b; border-color: #475569; }
.custom-checkbox:checked { background-color: #4f46e5; border-color: #4f46e5; }
.custom-checkbox:checked::before { content: ""; width: 0.65em; height: 0.65em; box-shadow: inset 1em 1em white; transform-origin: center; clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0%, 43% 62%); }
tr.row-selected { background-color: #eef2ff !important; }
.dark tr.row-selected { background-color: rgba(67, 56, 202, 0.2) !important; }
.page-btn { padding: 0.35rem 0.75rem; border-radius: 0.5rem; font-size: 0.75rem; font-weight: 700; transition: all 0.2s; border: 1px solid #e2e8f0; background: white; }
.dark .page-btn { background: #1e293b; border-color: #334155; color: #cbd5e1; }
.page-btn:hover:not(:disabled) { border-color: #4f46e5; color: #4f46e5; }
.page-btn.active { background-color: #4f46e5; color: white; border-color: #4f46e5; }
.table-header { background: #1e1b4b; color: white; }
.dark .table-header { background: #312e81; }
.table-header th { font-weight: 600; letter-spacing: 0.05em; font-size: 0.7rem; text-transform: uppercase; }
.badge-protocol { background: #f1f5f9; color: #475569; border: 1px solid #e2e8f0; font-weight: 700; font-size: 0.65rem; padding: 0.25rem 0.5rem; border-radius: 0.375rem; text-transform: uppercase; letter-spacing: 0.025em; }
.dark .badge-protocol { background: #0f172a; color: #94a3b8; border-color: #334155; }
.badge-dose { background: #ecfdf5; color: #047857; font-weight: 800; padding: 0.25rem 0.5rem; border-radius: 0.375rem; border: 1px solid #d1fae5; }
.dark .badge-dose { background: rgba(6, 78, 59, 0.4); color: #34d399; border-color: rgba(6, 78, 59, 0.5); }
.badge-dose-high { background: #fff1f2; color: #be123c; border: 1px solid #ffe4e6; }
.dark .badge-dose-high { background: rgba(136, 19, 55, 0.4); color: #fb7185; border-color: rgba(136, 19, 55, 0.5); }
.badge-base { font-weight: 800; font-size: 0.65rem; padding: 0.25rem 0.5rem; border-radius: 0.375rem; text-transform: uppercase; letter-spacing: 0.025em; border: 1px solid transparent; }
.status-pending { background: #fff7ed; color: #c2410c; border: 1px solid #ffedd5; }
.dark .status-pending { background: rgba(154, 52, 18, 0.2); color: #fdba74; border-color: rgba(154, 52, 18, 0.4); }
.status-approved { background: #f0fdf4; color: #15803d; border: 1px solid #dcfce7; }
.dark .status-approved { background: rgba(22, 101, 52, 0.2); color: #86efac; border-color: rgba(22, 101, 52, 0.4); }
.status-rejected { background: #fef2f2; color: #b91c1c; border: 1px solid #fee2e2; }
.dark .status-rejected { background: rgba(153, 27, 27, 0.2); color: #fca5a5; border-color: rgba(153, 27, 27, 0.4); }
.tab-btn { @apply px-4 py-2 rounded-lg font-bold text-xs uppercase tracking-wide transition-all; }
.tab-btn-active { background-color: #4f46e5; color: white; box-shadow: 0 4px 6px -1px rgba(79, 70, 229, 0.3); }
.tab-btn-inactive { @apply text-slate-500 hover:bg-slate-100 hover:text-slate-700 dark:text-slate-400 dark:hover:bg-slate-800 dark:hover:text-slate-200; }
.no-scrollbar::-webkit-scrollbar { display: none; }
.no-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }
.row-pending { background: #fef3c7 !important; }
.dark .row-pending { background: rgba(217, 119, 6, 0.2) !important; }
.btn-my-data-active { @apply bg-purple-800 text-white border-purple-800 ring-2 ring-purple-400 shadow-inner; }
.btn-my-data-inactive { @apply bg-purple-600 text-white border-purple-600 shadow-md shadow-purple-500/30 hover:bg-purple-700 dark:bg-purple-600 dark:hover:bg-purple-700; }
