/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .7rem 1.5rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: .9rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid transparent;
  white-space: nowrap;
}

.btn--primary {
  background: var(--primary);
  color: #fff;
  border-color: hsl(179, 80%, 22%);
}
.btn--primary:hover {
  background: hsl(179, 80%, 24%);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn--outline {
  background: transparent;
  color: var(--fg);
  border-color: var(--border);
}
.btn--outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(13, 138, 134, .04);
}

.btn--lg     { padding: .85rem 1.75rem; font-size: 1rem; }
.btn--full   { width: 100%; justify-content: center; }

/* ── Card ── */
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  transition: var(--transition);
}
.card:hover {
  border-color: rgba(13, 138, 134, .4);
  box-shadow: var(--shadow-md);
}

/* ── Pill badge ── */
.pill {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .2rem .75rem;
  border-radius: 999px;
  border: 1px solid rgba(13, 138, 134, .3);
  background: rgba(13, 138, 134, .06);
  font-family: var(--font-mono);
  font-size: .65rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--primary);
}
.pill__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
  animation: pulse-dot 2s ease-in-out infinite;
}

/* ── Tag label ── */
.tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: .65rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--primary);
  margin-bottom: 1rem;
}
.tag--secondary { color: var(--secondary); }

/* ── Chip ── */
.chip {
  display: inline-block;
  padding: .2rem .65rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--muted);
  font-family: var(--font-mono);
  font-size: .62rem;
  color: var(--muted-fg);
}

/* ── Icon boxes ── */
.icon-box {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: rgba(13, 138, 134, .1);
  border: 1px solid rgba(13, 138, 134, .2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
  transition: var(--transition);
}
.icon-box--lg {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
}
.icon-box--card {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ── Toast ── */
#toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 9999;
  background: var(--fg);
  color: #fff;
  border-radius: var(--radius-md);
  padding: 1rem 1.5rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, .2);
  max-width: 320px;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .3s ease, transform .3s ease;
  pointer-events: none;
}
#toast.show {
  opacity: 1;
  transform: translateY(0);
}
#toast strong { display: block; margin-bottom: .25rem; font-size: .9rem; }
#toast span   { font-size: .82rem; opacity: .75; }
