/* CLARA - shared styles across landing + app */

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

.gradient-hero {
  background: linear-gradient(135deg, #eff6ff 0%, #faf5ff 50%, #ffffff 100%);
}

.btn-primary {
  background-color: #18181b;
  color: #fafafa;
  transition: background-color 0.15s ease;
}
.btn-primary:hover {
  background-color: #27272a;
}

.btn-outline {
  background-color: transparent;
  border: 1px solid #d4d4d8;
  color: #18181b;
  transition: all 0.15s ease;
}
.btn-outline:hover {
  background-color: #18181b;
  color: #fafafa;
  border-color: #18181b;
}

.card {
  border: 1px solid #e4e4e7;
  border-radius: 0.75rem;
  background: #fff;
}

.nav-link {
  color: #18181b;
  font-weight: 500;
  font-size: 0.875rem;
}
.nav-link:hover {
  color: #52525b;
}

/* simple fade-in for dashboard panels */
.fade-in {
  animation: fadeIn 0.2s ease-in;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

.spinner {
  border: 2px solid #e4e4e7;
  border-top-color: #18181b;
  border-radius: 50%;
  width: 1rem;
  height: 1rem;
  animation: spin 0.6s linear infinite;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}

table.data-table th {
  text-align: left;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #71717a;
  padding: 0.5rem 0.75rem;
  border-bottom: 1px solid #e4e4e7;
}
table.data-table td {
  padding: 0.65rem 0.75rem;
  border-bottom: 1px solid #f4f4f5;
  font-size: 0.875rem;
  vertical-align: top;
}
table.data-table tr:hover td {
  background-color: #fafafa;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.15rem 0.55rem;
  border-radius: 9999px;
  font-size: 0.7rem;
  font-weight: 600;
}
