.button {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 24px;
  line-height: 30px;
  padding: 20px 30px;
  margin: 0;
  border: 0;
  border-radius: 4px;
  max-height: 71px;
  white-space: nowrap;
  text-decoration: none;
  width: fit-content;
  cursor: pointer;
  transition: color 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
}

.button-sm {
  font-size: 18px;
  padding: 10px 20px;
}

.button.button-primary {
  background-color: var(--primary-color);
  color: #fff;
}

.button.button-primary:hover,
.button.button-primary:focus-visible {
  color: var(--primary-color);
  background-color: #fff;
  box-shadow:inset 0 0 0 1px var(--primary-color);
}

.button.button-secondary {
  background-color: var(--secondary-color);
  color: #fff;
}

.button.button-secondary:hover,
.button.button-secondary:focus-visible {
  background-color: #022366;
}

.button.button-third {
  box-shadow: inset 0 0 0 1px #0B43CD;
  background-color: #fff;
  color: #0B43CD;;
}

.button.button-third:hover,
.button.button-third:focus-visible {
  background-color: #0B43CD;
  color: #fff;
}

.button.button-table {
  padding: 15px 30px;
}

.button.button-visible {
  position: relative;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.button.button-visible.visible {
  opacity: 1;
  pointer-events: auto;
}

.button.button-visible.hidden {
  display: none;
}

.button.button-action {
  background-color: #fff;
  height: 70px;
  width: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid var(--primary-color);
  border-radius: 4px;
  transition: background-color 0.4s ease;
  padding: 0;
}

.button.button-action svg {
  color: var(--primary-color);
  transition: color 0.4s ease;
}

.button.button-action:hover {
  background-color: var(--primary-color);
}

.button.button-action:hover svg {
  color: #fff;
}