/* Buttons */
:root {
  --btn-radius: 6px;
  --btn-transition: all 0.2s ease;
}
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.5;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
  border-radius: var(--btn-radius);
  transition: var(--btn-transition);
  font-family: var(--font-body);
}
.btn:hover {
  transform: translateY(-2px);
  opacity: 1;
}
.btn:active {
  transform: translateY(0px);
}
.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}
/* Primary Button */
.form [data-hsfc-id=Renderer] .hsfc-Button,
.btn-primary {
  border-radius: 24px;
  background: #000;
  color: #fff;
  padding: 8px 16px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  text-decoration: none;
  font-size: 16px;
  font-family: var(--font-heading);
}
.btn-primary .btn-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  background: rgba(255, 255, 255, .3);
  color: #fff;
  font-size: 14px;
  border-radius: 50%;
  transition: .2s ease;
}
.form [data-hsfc-id=Renderer] .hsfc-Button:hover,
.btn-primary:hover {
  opacity: .9;
}
.btn-primary:hover .btn-icon {
  transform: rotate(45deg);
}
/* Ghost Light Button (for dark backgrounds) */
.btn-ghost-light {
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  padding: 8px 16px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  text-decoration: none;
  font-size: 16px;
  font-family: var(--font-heading);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: var(--btn-transition);
}
.btn-ghost-light .btn-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  background: rgba(255, 255, 255, 0.3);
  color: #fff;
  font-size: 14px;
  border-radius: 50%;
  transition: 0.2s ease;
}
.btn-ghost-light:hover {
  background: rgba(255, 255, 255, 0.2);
}
.btn-ghost-light:hover .btn-icon {
  transform: rotate(45deg);
}
/* Link with Icon - Light (for dark backgrounds) */
.link-icon-light {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  font-size: 16px;
  font-family: var(--font-heading);
  transition: 0.2s ease;
}
.link-icon-light .link-text {
  text-decoration: underline;
  text-underline-offset: 3px;
  font-size: 15px;
}
.link-icon-light .btn-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  background: rgba(255, 255, 255, 0.3);
  color: #fff;
  font-size: 14px;
  border-radius: 50%;
  transition: 0.2s ease;
}
.link-icon-light:hover {
  opacity: 0.8;
}
.link-icon-light:hover .btn-icon {
  transform: rotate(45deg);
}
/* Link with Icon - Dark (for light backgrounds) */
.link-icon-dark {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #000;
  text-decoration: none;
  font-weight: 500;
  font-size: 16px;
  font-family: var(--font-heading);
  transition: 0.2s ease;
}
.link-icon-dark .link-text {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.link-icon-dark .btn-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  background: rgba(0, 0, 0, 0.15);
  color: #000;
  font-size: 14px;
  border-radius: 50%;
  transition: 0.2s ease;
}
.link-icon-dark:hover {
  opacity: 0.7;
}
.link-icon-dark:hover .btn-icon {
  transform: rotate(45deg);
}
/* Secondary Button */
.btn-secondary {
  background-color: transparent;
  color: #333;
  border-color: #333;
}
.btn-secondary:hover {
  background-color: #333;
  color: #fff;
}
/* Outline Button */
.btn-outline {
  background-color: transparent;
  color: #333;
  border-color: #d1d5db;
}
.btn-outline:hover {
  background-color: #f9fafb;
  border-color: #333;
}
/* Ghost Button */
.btn-ghost {
  background-color: transparent;
  color: #333;
  border-color: transparent;
}
.btn-ghost:hover {
  background-color: #f9fafb;
}
/* Light Button */
.btn-light {
  background-color: #f9fafb;
  color: #333;
  border-color: #f9fafb;
}
.btn-light:hover {
  background-color: #f3f4f6;
  border-color: #f3f4f6;
}
/* Button Sizes */
.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}
.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.125rem;
}
.btn-xl {
  padding: 1.25rem 2.5rem;
  font-size: 1.25rem;
}
/* Button Block */
.btn-block {
  display: block;
  width: 100%;
}
/* Button Group */
.btn-group {
  display: inline-flex;
  gap: 0.5rem;
}
.btn-group .btn {
  margin: 0;
}
/* Icon Buttons */
.btn-icon {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.btn-icon svg,
.btn-icon img {
  width: 1.25rem;
  height: 1.25rem;
}
/* Loading State */
.btn.loading {
  position: relative;
  color: transparent;
  pointer-events: none;
}
.btn.loading::after {
  content: '';
  position: absolute;
  width: 1rem;
  height: 1rem;
  top: 50%;
  left: 50%;
  margin-left: -0.5rem;
  margin-top: -0.5rem;
  border: 2px solid #fff;
  border-radius: 50%;
  border-top-color: transparent;
  animation: spinner 0.6s linear infinite;
}
@keyframes spinner {
  to {
    transform: rotate(360deg);
  }
}
/* Tablet tweaks */
@media (max-width: 1024px) {
  .btn {
    font-size: 0.95rem;
    padding: 0.65rem 1.25rem;
  }
  .btn-primary,
  .btn-ghost-light {
    height: 38px;
    padding: 6px 14px;
    font-size: 15px;