.titaui-rect-btn {
  display: inline-block;
  cursor: pointer;
  box-sizing: border-box;
  text-align: center;
  font-size: 14px;
}

.titaui-rect-btn--small {
  border-radius: 14px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 64px;
  font-size: 14px;
  padding: 0 12px;
}

.titaui-rect-btn--normal {
  border-radius: 16px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 90px;
  padding: 0 12px;
}

.titaui-rect-btn--big {
  border-radius: 18px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 90px;
  padding: 0 16px;
}

.titaui-rect-btn--default {
  background: #fff;
  border: 1px solid #2879ff;
  color: #2879ff;
}

.titaui-rect-btn--default .titaui-rect-btn__icon {
  color: #2879ff;
}

.titaui-rect-btn--default:hover {
  background: #e9f1ff;
}

.titaui-rect-btn--primary {
  color: #fff;
  background: #2879ff;
}

.titaui-rect-btn--primary:hover {
  background: #5c8eff;
}

.titaui-rect-btn--secondary {
  font-size: 14px;
  font-weight: normal;
  color: #2879ff;
  line-height: 28px;
  background: rgba(40, 121, 255, 0.2);
  margin-right: 16px;
}

.titaui-rect-btn--secondary:hover {
  color: #fff;
  background-color: #2879ff;
}

.titaui-rect-btn--cancel {
  color: #6f7886;
  border: 1px solid #dfe3ea;
  background: #ffffff;
}

.titaui-rect-btn--cancel:hover {
  color: #2879ff;
  border: 1px solid #2879ff;
}

.titaui-rect-btn--delete {
  background: #ffffff;
  color: #f05e5e;
  border: 1px solid #f05e5e;
}

.titaui-rect-btn--delete:hover {
  background: rgba(240, 94, 94, 0.1);
}

.titaui-rect-btn__icon {
  margin-right: 4px;
  vertical-align: middle;
}

.titaui-rect-btn--disabled {
  opacity: 0.4;
  cursor: not-allowed;
  user-select: none;
}

.titaui-rect-btn--disabled:hover .titaui-rect-btn--default:hover {
  background: #fff;
}

.titaui-rect-btn--disabled:hover .titaui-rect-btn--primary:hover {
  background: #2879ff;
}

.titaui-rect-btn--disabled:hover .titaui-rect-btn--secondary:hover {
  background: rgba(40, 121, 255, 0.2);
}

.titaui-rect-btn--disabled:hover .titaui-rect-btn--cancel:hover {
  background: #ffffff;
}

.titaui-rect-btn--disabled:hover .titaui-rect-btn--delete:hover {
  background: #ffffff;
}

.titaui-rect-btn--primary.titaui-rect-btn--disabled {
  background: #93bcff;
  opacity: 1;
}

.titaui-rect-btn--primary.titaui-rect-btn--disabled:hover {
  background: #93bcff;
}
