/* === COMPONENTS: buttons, badges, pills, chips === */

.mh-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: var(--radius-full);
  padding: 10px 24px;
  font-weight: 600;
  border: 1px solid transparent;
  transition: transform 150ms cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 250ms cubic-bezier(0.4, 0, 0.2, 1),
    background-color 250ms cubic-bezier(0.4, 0, 0.2, 1),
    color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

.mh-btn:active {
  transform: scale(0.97);
}

.mh-btn--primary {
  background: var(--primary);
  color: var(--white) !important;
  box-shadow: var(--shadow-primary);
}

.mh-btn--primary:hover {
  background: var(--primary-dark);
  color: var(--white);
}

.mh-btn--outline {
  background: transparent;
  border-color: var(--primary);
  color: var(--primary);
}

.mh-btn--outline:hover {
  background: var(--primary-light);
  color: var(--primary);
}

.mh-chip,
.mh-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  border: 1px solid var(--gray-200);
  background: var(--white);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--gray-800);
  transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1),
    border-color 250ms cubic-bezier(0.4, 0, 0.2, 1),
    color 250ms cubic-bezier(0.4, 0, 0.2, 1),
    transform 250ms cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
}

.mh-chip:hover,
.mh-pill:hover {
  background: var(--primary-light);
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-1px);
}

.mh-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 10px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
}

.mh-badge--good {
  background: rgba(34, 197, 94, 0.15);
  color: #15803d;
}

.mh-badge--sat {
  background: rgba(245, 158, 11, 0.15);
  color: #92400e;
}

.mh-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}
