/* ==========================================================
   BUTTON BASE
========================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;

  min-width: 180px;
  padding: 1rem 2rem;

  border: 2px solid transparent;
  border-radius: var(--radius-md);

  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-semibold);
  text-decoration: none;

  cursor: pointer;

  transition: var(--transition);
}

/* ==========================================================
   PRIMARY
========================================================== */

.btn--primary {
  background: var(--color-primary);
  color: #fff;
}

.btn--primary:hover {
  background: var(--color-primary-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn--primary:active {
  transform: translateY(0);
}

/* ==========================================================
   SECONDARY
========================================================== */

.btn--secondary {
  background: transparent;
  color: var(--color-primary);

  border-color: var(--color-primary);
}

.btn--secondary:hover {
  background: var(--color-primary);
  color: white;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn--secondary:active {
  transform: translateY(0);
}

/* ==========================================================
   FULL WIDTH
========================================================== */

.btn--block {
  width: 100%;
}

/* ==========================================================
   SMALL
========================================================== */

.btn--small {
  min-width: auto;
  padding: 0.75rem 1.25rem;
  font-size: 0.9rem;
}

/* ==========================================================
   LARGE
========================================================== */

.btn--large {
  padding: 1.2rem 2.5rem;
  font-size: var(--font-size-md);
}

/* ==========================================================
   DISABLED
========================================================== */

.btn:disabled,
.btn.disabled {
  opacity: 0.6;
  cursor: not-allowed;
  pointer-events: none;
}

.btn--primary {
  min-height: 52px;
}
