/* ==========================================================================
   components/buttons.css — primary, secondary, icon, range buttons
   Note: .bp/.bs border-radius (20px) reflects the V3 override that was
   in the original inline style block. Base value was 8px; override won.
   ========================================================================== */

/* === Primary button === */

.bp {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 20px;
  padding: 8px 14px;
  font-family: var(--fh);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: opacity 0.15s;
  white-space: nowrap;
}

.bp:hover {
  opacity: 0.88;
  background: #6d28d9;
}

.bp:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* === Secondary button === */

.bs {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--surface2);
  color: var(--text);
  border: 0.5px solid var(--border-m);
  border-radius: 20px;
  padding: 8px 12px;
  font-family: var(--fb);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.15s;
  white-space: nowrap;
}

.bs:hover {
  background: var(--surface3);
}

/* === Icon button === */

.ic-btn {
  width: 32px;
  height: 32px;
  background: var(--surface2);
  border: 0.5px solid var(--border);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.15s;
}

.ic-btn:hover {
  background: var(--surface3);
}

/* === Date-range button === */

.range-btn {
  padding: 6px 12px;
  border-radius: 8px;
  border: 0.5px solid var(--border);
  background: transparent;
  color: var(--text-m);
  font-size: 12px;
  cursor: pointer;
  transition: all 0.15s;
}

.range-btn.active {
  background: var(--accent-dim);
  border-color: var(--accent);
  color: var(--accent);
}
