.button {
  display: flex;
  align-items: center;
  border-radius: 10px;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  font-family: 'Roboto', sans-serif;
  font-size: 14px;
}

.btn-primary {
  background-color: #51d1e9;
  color: #fff;
  border: none;
  &:hover {
    border:1px solid #00bcd4 !important;
    color: #00bcd4 !important;
    background: #f0fbfd !important;
  }
}

.btn-outline {
  background-color: #fff;
  border: 1px solid #e6ebf1;
  color: #595959;
}

.btn-disable {
  background-color: #F7F7F8;
  border: 1px solid #E6EBF1;
  color: #D0D4D7;
  cursor: not-allowed !important;
}

.btn-search {
  background-color: #fff;
  border: 1px solid #e6ebf1;
  color: #595959;

  &:hover {
    border-color: #00bcd4;
    color: #00bcd4;
    background: #f0fbfd;
  }
}

.btn-loaded {
  opacity: 1;
}

.btn-loading {
  opacity: 0.6;
  cursor: not-allowed;
}

.btn-loading {
  position: relative;
  color: transparent !important;
  pointer-events: none;
}

.btn-loading::after {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: btn-spin 0.6s linear infinite;
}

@keyframes btn-spin {
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

.btn-danger {
  background-color: #ff4d4f;
  color: #fff;
  border: none;
  &:hover {
    background: #fff !important;
    border: 1px solid #ff4d4f !important;
    color: #ff4d4f !important;
  }
}
