/* --- v3.4b: Button visual/size polish --- */

/* Base button */
.btn, .btn-primary, .btn-ok, .btn-danger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 14px;
  min-height: 42px;              /* exact same height */
  line-height: 1;                /* avoid font ascent differences */
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .02em;
  border-radius: 12px;
  border: 1px solid transparent;
  text-decoration: none;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  transition: background-color .2s ease, box-shadow .2s ease, transform .04s ease;
  box-shadow: 0 1px 2px rgba(0,0,0,.06), 0 2px 6px rgba(0,0,0,.04);
}

/* Primary (blue) */
.btn-primary {
  background: #2563eb;
  color: #ffffff;
  border-color: #2563eb;
}
.btn-primary:hover { box-shadow: 0 4px 10px rgba(37,99,235,.35); }
.btn-primary:active { transform: translateY(1px); box-shadow: 0 1px 2px rgba(0,0,0,.18); }
.btn-primary:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(37,99,235,.35); }

/* Secondary action (green) */
.btn-ok {
  background: #10b981;
  color: #ffffff;
  border-color: #10b981;
}
.btn-ok:hover { box-shadow: 0 4px 10px rgba(16,185,129,.32); }
.btn-ok:active { transform: translateY(1px); box-shadow: 0 1px 2px rgba(0,0,0,.18); }
.btn-ok:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(16,185,129,.35); }

/* Neutral button */
.btn {
  background: #ffffff;
  color: #0f172a;
  border-color: #e5e7eb;
}
.btn:hover { background:#f8fafc; box-shadow: 0 3px 8px rgba(15,23,42,.06); }
.btn:active { transform: translateY(1px); box-shadow: 0 1px 2px rgba(0,0,0,.12); }
.btn:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(2,132,199,.28); }

/* Danger (kept for edit page delete) */
.btn-danger {
  background:#ef4444; color:#fff; border-color:#ef4444;
}
.btn-danger:hover { box-shadow: 0 4px 10px rgba(239,68,68,.32); }
.btn-danger:focus-visible { outline:none; box-shadow: 0 0 0 3px rgba(239,68,68,.32); }

/* Mini variant: same line-height, slightly tighter paddings */
.btn-mini {
  padding: 8px 10px;
  min-height: 36px;
  font-weight: 700;
}

/* Header action row spacing */
.header .actions { display:flex; gap:12px; flex-wrap:wrap; align-items:center }
