.ui-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.2s ease;
  text-decoration: none;
}

.ui-btn-red {
  background: linear-gradient(180deg, var(--red-primary) 0%, var(--red-dark) 100%);
  color: #ffffff;
  border-color: var(--red-border);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.ui-btn-red:hover {
  background: linear-gradient(180deg, var(--red-hover) 0%, #4D0606 100%);
}

.ui-btn-light {
  background: linear-gradient(180deg, #ffffff 0%, #e9ecef 100%);
  color: var(--text-main);
  border-color: #ced4da;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.ui-btn-light:hover {
  background: linear-gradient(180deg, #f8f9fa 0%, #dee2e6 100%);
}

.ui-btn-secondary {
  background: #e9ecef;
  color: #495057;
  border-color: #ced4da;
}

.ui-btn-secondary:hover {
  background: #dee2e6;
}

.ui-btn-block {
  width: 100%;
}

/* Larger CTA variant, used on the landing page hero. */
.ui-btn-lg {
  padding: 12px 22px;
  font-size: 15px;
}

/* Behavioral visibility hooks for JS-driven controls (e.g. the register
   wizard's prev/submit buttons) -- keeps display/visibility toggles out of
   inline style attributes. */
.ui-btn--invisible {
  visibility: hidden;
}

.ui-btn--hidden {
  display: none;
}
