.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 6px;
  font-weight: 600;
  font-family: inherit;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  line-height: 1.2;
}

/* ===== Variants ===== */
.primary {
  background: var(--color-primary, #9100df);
  color: #fff;
  border: none;
}
.primary:hover {
  background: var(--color-primary-hover, #7e00c3);
  box-shadow: 0 4px 10px rgba(145, 0, 223, 0.3);
}

.secondary {
  background: #f7f7f7;
  color: #333;
  border: 1.5px solid #d1d1d1;
}
.secondary:hover {
  background: #ececec;
}

.outline {
  background: transparent;
  color: var(--color-primary, #9100df);
  border: 1.5px solid var(--color-primary, #9100df);
}
.outline:hover {
  background: rgba(145, 0, 223, 0.05);
}

/* ===== Sizes ===== */
.small {
  font-size: 13px;
  padding: 6px 12px;
  height: 34px;
}

.medium {
  font-size: 14px;
  padding: 10px 18px;
  height: 42px;
}

.large {
  font-size: 16px;
  padding: 14px 22px;
  height: 50px;
}

/* ===== Icon ===== */
.icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1em;
}

/* ===== Disabled ===== */
.disabled {
  opacity: 0.6;
  cursor: not-allowed;
  box-shadow: none;
}

/* ===== Loader ===== */
.loader {
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-top: 2px solid #fff;
  border-radius: 50%;
  width: 16px;
  height: 16px;
  animation: spin 0.7s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
