@import '../styles/index';

.button {
  height: 98px;
  min-height: 98px;
  background: @brand-primary;
  border-radius: 20px;
  box-sizing: border-box;
  display: inline-flex;
  font-size: 36px;
  color: #ffffff;
  border: 1px solid @brand-primary;
  justify-content: center;
  align-items: center;
  line-height: 36px;
  padding: 0 11px;
  user-select: none;
  cursor: pointer;

  &:active {
    opacity: 0.7;
  }
}

.bold {
  font-weight: bold;
}

.block {
  display: flex;
  width: 100%;
}

.ghost {
  background-color: transparent;
  color: @brand-primary;
}

.round {
  border-radius: 59px;
}

.loading {
  pointer-events: none;
}

.disable {
  pointer-events: none;
  background-color: #cccccc;
  border-color: #cccccc;
  color: #fff;
}

.small {
  height: 78px;
  min-height: 78px;
  font-size: 30px;
  padding: 0 27px;
}

.action {
  min-width: 152px;
  height: 74px;
  min-height: 74px;
  border-radius: 10px;
  font-size: 26px;
  width: auto;
}

.default {
  background-color: #fff;
  border: 1px solid #e2e2e2;
  color: #999999;
}

.info {
  background-color: #07c160;
  border: 1px solid #07c160;
}

.warning {
  background-color: #ee0a24;
  border: 1px solid #ee0a24;
}

.danger {
  background-color: #ff976a;
  border: 1px solid #ff976a;
}

.ghost.default {
  background-color: transparent;
}

.noBorder {
  border: none;
  color: @brand-primary;
}

.elderly {
  &.button {
    font-size: 41px;
  }

  &.action {
    height: 116px;
    background: #00b8a9;
    border-radius: 20px;
    font-size: 36px;
    font-weight: bold;
    color: #ffffff;
    border-color: #00b8a9;
  }
}
