.button {
  display: inline-block;
  margin-block: var(--space-s);
  margin-inline: 0 var(--space-s);
  padding: var(--space-xs) var(--space-s);
  cursor: pointer;
  text-align: center;
  -webkit-text-decoration: none;
  text-decoration: none;
  border-radius: var(--button-border-radius-size);
  font-size: calc(var(--font-size-base) - 1px);
  font-weight: 100;
  line-height: 1rem;
  appearance: none;
  -webkit-font-smoothing: antialiased;
}

.button.small {
  margin-block: 1px !important;
  margin-inline: 1px !important;
  padding: var(--space-xs) var(--space-xs);
}

/**
 * Since Claro utilizes button and colors in different ways it is hard
 * to generalize colors afterwards in a smart way
 *
 * .field--widget-options-buttons was previously part of the .prettier initiative
 * and maybe needs to be merged with checkbox_radio.css
 */

.button:not(.button--primary, .button--danger, .color-error, .color-warning, .color-success),
.field--widget-options-buttons .form-type--checkbox label,
.field--widget-options-buttons .form-type--radio label {
  color: var(--button-bg-color--primary);
  border: 1px solid var(--button-bg-color--primary);
  background-color: var(--button-bg-color);
}

.button:not(:focus),
.field--widget-options-buttons .form-type--checkbox label:not(:focus),
.field--widget-options-buttons .form-type--radio label:not(:focus){
  box-shadow: 0 0 15px -8px var(--button-bg-color--primary);
}

.button:hover,
.field--widget-options-buttons .form-type--checkbox label:hover,
.field--widget-options-buttons .form-type--radio label:hover {
  -webkit-text-decoration: none;
  text-decoration: none;
  box-shadow: 0 0 20px -8px var(--button-bg-color--primary);
}

.button:focus,
.field--widget-options-buttons .form-type--checkbox label:focus,
.field--widget-options-buttons .form-type--radio label:focus {
  -webkit-text-decoration: none;
  text-decoration: none;
  box-shadow: 0 0 20px -8px var(--button-bg-color--primary);
}

.button:active,
.field--widget-options-buttons .form-type--checkbox label:active,
.field--widget-options-buttons .form-type--radio label:active {
  background-color: var(--button-bg-color);
  box-shadow: 0 0 15px -2px var(--button-bg-color--primary);
}

.button-color--blue {
  background-color: #3b5998 !important;
  color: white !important
}
