/* buttons.css */
.btn {
  display: inline-block;
  padding: 0.4rem 0.8rem;
  border-radius: 0.375rem;
  border: none;
  text-decoration: none;
  cursor: pointer;
  font-size: 0.9rem;
}

.btn-primary { background: #2563eb; color: #fff; }
.btn-secondary { background: #4b5563; color: #fff; }
.btn-danger { background: #dc2626; color: #fff; }

.btn-sm { padding: 0.3rem 0.6rem; font-size: 0.85rem; }

/* icon button */
.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.28rem 0.5rem;
  border-radius: 0.375rem;
  border: 1px solid var(--border);
  background: var(--card);
  color: #111827;
  text-decoration: none;
  cursor: pointer;
  line-height: 1;
}
.icon-btn:hover { background: #f3f4f6; }

/* lamp toggle */
.lamp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.25rem;
  border: 1px solid transparent;
  border-radius: 0.5rem;
  background: transparent;
  cursor: pointer;
}
.lamp-btn:hover { border-color: var(--border); background: #f9fafb; }

.lamp {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: #9ca3af;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.18);
}
.lamp.on { background: #22c55e; }
.lamp.off { background: #ef4444; }
