@import 'moda-themes/themes';

.mo-web-button {
  display: inline-block;
  padding: 0 30px;
  height: 44px;
  text-align: center;
  font-family: font-family('sans');
  font-size: 12px;
  line-height: 3.67;
  cursor: pointer;
  border-radius: 0;
  border: none;
  outline: 0;

  &.mo-web-button--claret {
    color: white;
    background-color: color('black');
    text-transform: uppercase;
  }

  &.mo-web-button--primary {
    color: white;
    background-color: color('black');
    padding: 12px 20px;
    line-height: 1.67;
    text-transform: uppercase;

    &:focus {
      outline: 1px solid color('black');
      outline-offset: 1px;
    }
    &:hover {
      background-color: color('cement');
      outline: none;
    }
    &:active {
      background-color: color('cement');
      outline: none;
    }
    &:disabled {
      background-color: color('noise');
      color: color('cement');
    }
  }

  &.mo-web-button--secondary {
    color: color('black');
    background-color: white;
    border: 1px solid color('black');
    padding: 12px 20px;
    line-height: 1.67;
    text-transform: uppercase;

    &:hover {
      background-color: color('noise');
    }
    &:focus {
      outline: 1px solid color('black');
      outline-offset: 1px;
    }
    &:active {
      background-color: color('noise');
    }
    &:disabled {
      background-color: white;
      color: color('elephant');
      border-color: color('cashmere');
    }
  }

  .mo-web-button-loader {
    margin-top: 3px;
    fill: white;
  }
}
