/* ─────────────────────────────────────────
   SHADCN UTILITIES
───────────────────────────────────────── */

/* Text */
.text-sm       { font-size: 0.875rem; line-height: 1.25rem; }
.text-base     { font-size: 1rem; line-height: 1.5rem; }
.text-lg       { font-size: 1.125rem; line-height: 1.75rem; }
.text-xl       { font-size: 1.25rem; line-height: 1.75rem; }
.text-2xl      { font-size: 1.5rem; line-height: 2rem; }
.text-3xl      { font-size: 1.875rem; line-height: 2.25rem; }
.text-4xl      { font-size: 2.25rem; line-height: 2.5rem; }
.text-muted    { color: hsl(var(--muted-foreground)); }
.text-brand    { color: hsl(var(--brand)); }
.font-medium   { font-weight: 500; }
.font-semibold { font-weight: 500; }
.font-bold     { font-weight: 700; }
.tracking-tight    { letter-spacing: -0.025em; }
.tracking-wider    { letter-spacing: 0.05em; }

/* ── Button ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  white-space: nowrap;
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 500;
  font-family: var(--font-sans);
  transition: opacity 0.15s, background-color 0.15s, color 0.15s;
  cursor: pointer;
  border: none;
  text-decoration: none;
  padding: 0.5rem 1rem;
  height: 2.5rem;
  outline: none;
}
.btn:focus-visible { box-shadow: 0 0 0 2px hsl(var(--ring)); }

.btn-default {
  background-color: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
}
.btn-default:hover { opacity: 0.9; }

.btn-default.btn-lg {
  background-color: #fff;
  color: #000;
}

.btn-outline {
  background-color: transparent;
  border: 1px solid hsl(var(--border));
  color: hsl(var(--foreground));
}
.btn-outline:hover {
  background-color: hsl(var(--accent));
  color: hsl(var(--accent-foreground));
}

.btn-ghost {
  background-color: transparent;
  color: hsl(var(--foreground));
}
.btn-ghost:hover { background-color: hsl(var(--accent)); }

.btn-brand {
  background-color: hsl(var(--brand));
  color: hsl(var(--brand-fg));
}
.btn-brand:hover { opacity: 0.88; }

.btn-sm { height: 2rem; padding: 0 0.75rem; font-size: 0.8125rem; border-radius: calc(var(--radius) - 2px); }
.btn-lg { height: 2.75rem; padding: 0 1.5rem; font-size: 1rem; }

/* ── Badge ── */
.badge {
  display: inline-flex;
  align-items: center;
  border-radius: 9999px;
  border: 1px solid transparent;
  padding: 0.125rem 0.625rem;
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1.25;
  transition: opacity 0.15s;
}
.badge-default {
  background-color: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
}
.badge-secondary {
  background-color: hsl(var(--secondary));
  color: hsl(var(--secondary-foreground));
  border-color: hsl(var(--border));
}
.badge-brand {
  background-color: hsl(var(--foreground) / 0.08);
  color: hsl(var(--foreground));
  border-color: hsl(var(--foreground) / 0.2);
}
.badge-outline {
  background-color: transparent;
  color: hsl(var(--foreground));
  border-color: hsl(var(--border));
}

/* ── Card ── */
.card {
  background-color: hsl(var(--card));
  color: hsl(var(--card-foreground));
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  overflow: hidden;
}
.card-hover {
  transition: border-color 0.2s, box-shadow 0.2s;
}
.card-hover:hover {
  border-color: hsl(var(--foreground) / 0.25);
  box-shadow: 0 0 0 1px hsl(var(--foreground) / 0.08);
}
.card-header  { padding: 1.5rem; }
.card-content { padding: 0 1.5rem 1.5rem; }
.card-footer  { padding: 0 1.5rem 1.5rem; display: flex; align-items: center; gap: 0.5rem; }

/* ── Separator ── */
.separator {
  height: 1px;
  background-color: hsl(var(--border));
}

/* ── Input ── */
.input {
  display: flex;
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid hsl(var(--input));
  background-color: transparent;
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  font-family: var(--font-sans);
  color: hsl(var(--foreground));
  outline: none;
  transition: box-shadow 0.15s;
  height: 2.5rem;
}
.input::placeholder { color: hsl(var(--muted-foreground)); }
.input:focus { box-shadow: 0 0 0 2px hsl(var(--ring) / 0.4); }

textarea.input { height: auto; min-height: 8rem; resize: vertical; padding-top: 0.625rem; }
select.input   { cursor: pointer; }
select.input option { background: hsl(var(--background)); }

/* ── Label ── */
.label {
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1;
}
