/* ── Knowris — Custom styles ── */
body { font-family: 'Inter', system-ui, sans-serif; }
.font-mono { font-family: 'JetBrains Mono', monospace; }
.scientific-dot { background-image: radial-gradient(circle, #cbd5e1 1px, transparent 1px); background-size: 24px 24px; }
.scientific-dot-dark { background-image: radial-gradient(circle, rgba(255,255,255,0.08) 1px, transparent 1px); background-size: 24px 24px; }
.card-premium { background: rgba(255,255,255,0.8); backdrop-filter: blur(12px); border: 1px solid rgba(0,0,0,0.04); }
.name-specimen { font-size: clamp(2.5rem, 6vw, 4.5rem); letter-spacing: -0.03em; line-height: 1; }

/* ── Button (replaces DaisyUI btn) ── */
.btn { display: inline-flex; align-items: center; justify-content: center; font-weight: 500; border-radius: 0.5rem; transition: all 0.15s; cursor: pointer; text-decoration: none; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }
.btn-xs { padding: 0.25rem 0.5rem; font-size: 0.75rem; }
.btn-sm { padding: 0.375rem 0.75rem; font-size: 0.875rem; }
.btn-lg { padding: 0.75rem 1.5rem; font-size: 1.125rem; }
.btn-ghost { background: transparent; color: inherit; }
.btn-ghost:hover { background: rgb(241 245 249); }
.btn-outline { background: transparent; border: 1px solid; }
.btn-outline:hover { background: rgb(241 245 249); }

/* ── Badge (replaces DaisyUI badge) ── */
.badge { display: inline-flex; align-items: center; gap: 0.25rem; padding: 0.125rem 0.625rem; font-size: 0.75rem; font-weight: 500; border-radius: 9999px; white-space: nowrap; }
.badge-sm { padding: 0.0625rem 0.375rem; font-size: 0.625rem; }
.badge-success { background: rgb(220 252 231); color: rgb(22 101 52); }
.badge-ghost { background: rgb(241 245 249); color: rgb(100 116 139); }
.badge-warning { background: rgb(254 243 199); color: rgb(146 64 14); }
.badge-error { background: rgb(254 242 242); color: rgb(153 27 27); }
.badge-info { background: rgb(219 234 254); color: rgb(30 64 175); }
.badge-accent { background: rgb(243 232 255); color: rgb(107 33 168); }
.badge-primary { background: rgb(219 234 254); color: rgb(0 82 255); }

/* ── Status background colors (admin workflow) ── */
.bg-success { background-color: rgb(220 252 231); }
.bg-error { background-color: rgb(254 242 242); }
.bg-warning { background-color: rgb(254 243 199); }
.bg-info { background-color: rgb(219 234 254); }
.bg-accent { background-color: rgb(243 232 255); }
.text-success { color: rgb(22 101 52); }
.text-warning { color: rgb(146 64 14); }

/* ── Loading spinner (replaces DaisyUI loading) ── */
.loading { display: inline-block; }
.loading-spinner { width: 1.5rem; height: 1.5rem; border: 2px solid currentColor; border-top-color: transparent; border-radius: 50%; animation: knowris-spin 0.6s linear infinite; }
.loading-lg { width: 2.5rem; height: 2.5rem; border-width: 3px; }
@keyframes knowris-spin { to { transform: rotate(360deg); } }

/* ── Progress bar (replaces DaisyUI progress) ── */
.progress { width: 100%; height: 0.5rem; background: #e2e8f0; border-radius: 9999px; overflow: hidden; border: none; }
.progress::-webkit-progress-bar { background: #e2e8f0; border-radius: 9999px; }
.progress::-webkit-progress-value { background: #0052FF; border-radius: 9999px; }
.progress::-moz-progress-bar { background: #0052FF; border-radius: 9999px; }
.progress-primary::-webkit-progress-value { background: #0052FF; }
.progress-primary::-moz-progress-bar { background: #0052FF; }

/* ── Form inputs (replaces DaisyUI input/select/textarea) ── */
.input, .select, .textarea { width: 100%; padding: 0.5rem 0.75rem; background: white; border: 1px solid #e2e8f0; border-radius: 0.5rem; font-size: 0.875rem; transition: border-color 0.15s, box-shadow 0.15s; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: #0052FF; box-shadow: 0 0 0 3px rgba(0, 82, 255, 0.1); }
.textarea { resize: vertical; }

/* ── Checkbox ── */
.checkbox { width: 1rem; height: 1rem; border-radius: 0.25rem; accent-color: #0052FF; }
.checkbox-sm { width: 0.875rem; height: 0.875rem; }

/* ── Alert (replaces DaisyUI alert) ── */
.alert { padding: 1rem; border-radius: 0.5rem; }
.alert-error { background: rgb(254 242 242); border: 1px solid rgb(254 202 202); color: rgb(153 27 27); }
