/* ABOUTME: Minimal custom styles for marmatch web dashboard. */
/* ABOUTME: Complements Tailwind utility classes with reusable components. */

.nav-link {
  border-radius: 0.5rem;
  padding: 0.4rem 0.65rem;
  color: #e2e8f0;
}

.nav-link:hover {
  background: rgba(148, 163, 184, 0.2);
}

.stat-card {
  display: block;
  border-left-width: 6px;
  border-radius: 0.8rem;
  background: #ffffff;
  padding: 1rem;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.08);
  transition: transform 120ms ease, box-shadow 120ms ease;
}

.stat-card:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.1);
}

.panel-link {
  display: block;
  border-radius: 0.8rem;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  padding: 1rem;
  transition: border-color 120ms ease, box-shadow 120ms ease;
}

.panel-link:hover {
  border-color: #64748b;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
}

.input {
  width: 100%;
  border-radius: 0.5rem;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  padding: 0.55rem 0.7rem;
}

.input:focus {
  border-color: #0f172a;
  box-shadow: 0 0 0 3px rgba(15, 23, 42, 0.12);
  outline: none;
}

.tab-link {
  border-radius: 9999px;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  padding: 0.4rem 0.9rem;
  font-size: 0.9rem;
}

.tab-link:hover {
  border-color: #64748b;
}

.tab-link-active {
  border-color: #0f172a;
  background: #0f172a;
  color: #ffffff;
}

.score-badge {
  display: inline-block;
  border-radius: 9999px;
  padding: 0.18rem 0.55rem;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.3;
}

.score-high {
  background: #dcfce7;
  color: #166534;
}

.score-medium {
  background: #fef3c7;
  color: #92400e;
}

.score-low {
  background: #fee2e2;
  color: #991b1b;
}

.score-missing {
  background: #e2e8f0;
  color: #334155;
}
