/* Button styles
   ========================================================================== */

.button {
  border: none;
  font-family: inherit;
  font-weight: inherit;
  font-size: inherit;
  flex: 1;
  cursor: pointer;
  transition: background-color 0.2s ease, opacity 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  gap: 0.5rem;
  height: 100%;
  box-sizing: border-box;
  text-align: center;
}

.button--primary {
  background-color: transparent;
  border: 1px solid #25e39a;
  color: #fff;
  border-radius: 0.5rem;
}

.button--primary:hover:not(.button--disabled) {
  background-color: #1d4ed8;
}

.button--secondary {
  background-color: #173243;
  border-radius: 0.5rem;
  color: #fff;
}

.button--secondary:hover:not(.button--disabled) {
  background-color: #d1d5db;
}

.button--outline {
  background-color: transparent;
  border: 1px solid #173243;
  border-radius: 0.5rem;
  color: #173243;
}

.button--outline:hover:not(.button--disabled) {
  background-color: #eff6ff;
}

.button--sm {
  padding: 0.75rem;
}

.button--md {
  padding: 0.875rem;
}

.button--lg {
  padding: .875rem 2rem;
}

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

@media (max-width: 576px) {
  .button--lg {
    padding: 1rem;
    font-size: 0.875rem;
  }
}
