.relative-box {
  z-index: 1;
  max-width: 520px;
  min-height: 20px;
}
.relative-box:hover,
.relative-box.is-active {
  position: relative;
}
.relative-box.no-slot {
  position: fixed;
  top: 50%;
  left: 50%;
  z-index: 9999;
  width: 520px;
  min-height: 0;
  transform: translate(-50%, -50%);
}
.relative-box.no-slot .bc-dial-bar {
  margin-top: 0;
}
.hover-wrapper {
  position: absolute;
  max-width: 520px;
}
.bc-dial-bar {
  position: relative;
  width: 520px;
  height: 86px;
  margin-top: 8px;
  overflow: hidden;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 20px 60px 0 rgba(100, 107, 122, 0.3);
}
.bc-dial-bar.drag {
  cursor: move;
}
.bc-dial-bar .bc-dial-bar-start {
  display: flex;
  height: 100%;
}
.bc-dial-bar .bc-dial-bar-start .call-info {
  flex: 1;
  padding: 24px;
}
.bc-dial-bar .bc-dial-bar-start .call-info .phone {
  font-size: 16px;
  font-weight: 600;
  line-height: 16px;
  color: #242934;
}
.bc-dial-bar .bc-dial-bar-start .call-info .number {
  margin-top: 8px;
  font-size: 14px;
  font-weight: 400;
  line-height: 14px;
  color: #9ca6b9;
}
.bc-dial-bar .bc-dial-bar-start .call-info .number > span {
  color: #242934;
}
.bc-dial-bar .bc-dial-bar-start .todo {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 89px;
  height: 100%;
  font-size: 14px;
  font-weight: 500;
  line-height: 14px;
  color: #9ca6b9;
  cursor: pointer;
  border-left: 1px solid #edf1f6;
}
.bc-dial-bar .bc-dial-bar-start .todo img {
  width: 24px;
  height: 24px;
  margin-bottom: 12px;
}
.bc-dial-bar .bc-dial-bar-start .call {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 90px;
  height: 100%;
  font-size: 14px;
  font-weight: 500;
  line-height: 14px;
  color: #fff;
  cursor: pointer;
  background: #0056ff;
}
.bc-dial-bar .bc-dial-bar-start .call img {
  width: 24px;
  height: 24px;
  margin-bottom: 15px;
}
.bc-dial-bar .bc-dial-bar-in-progress {
  position: absolute;
  top: 0;
  display: flex;
  align-items: center;
  width: 100%;
  height: 100%;
  background: #0056ff;
}
.bc-dial-bar .bc-dial-bar-in-progress .call-img {
  position: absolute;
  display: flex;
  align-items: center;
  width: 147px;
  height: 100%;
}
.bc-dial-bar .bc-dial-bar-in-progress .call-img .img-box {
  position: relative;
  margin-left: 24px;
}
.bc-dial-bar .bc-dial-bar-in-progress .call-img .img-box.is-calling::before,
.bc-dial-bar .bc-dial-bar-in-progress .call-img .img-box.is-calling::after {
  position: absolute;
  top: 50%;
  left: 50%;
  content: "";
  border: white 1px solid;
  border-radius: 100%;
  transform: translate(-50%, -50%);
}
.bc-dial-bar .bc-dial-bar-in-progress .call-img .img-box.is-calling::before {
  opacity: 0.1;
  animation: wave1 0.8s linear infinite;
}
.bc-dial-bar .bc-dial-bar-in-progress .call-img .img-box.is-calling::after {
  opacity: 0.2;
  animation: wave2 0.8s linear infinite;
}
@keyframes wave2 {
  from {
    width: 40px;
    height: 40px;
    border-radius: 100%;
  }
  to {
    width: 104px;
    height: 104px;
    border-radius: 100%;
  }
}
@keyframes wave1 {
  from {
    width: 104px;
    height: 104px;
    border-radius: 100%;
  }
  to {
    width: 160px;
    height: 160px;
    border-radius: 100%;
  }
}
.bc-dial-bar .bc-dial-bar-in-progress .call-img .img-box img {
  width: 44px;
  height: 44px;
}
.bc-dial-bar .bc-dial-bar-in-progress .call-info {
  flex: 1;
  margin-left: 92px;
}
.bc-dial-bar .bc-dial-bar-in-progress .call-info .status-label {
  font-size: 16px;
  font-weight: 600;
  line-height: 16px;
  color: #fff;
}
.bc-dial-bar .bc-dial-bar-in-progress .call-info .status-label .dot {
  display: inline-block;
  height: 1em;
  overflow: hidden;
  line-height: 1;
  vertical-align: -0.25em;
}
.bc-dial-bar .bc-dial-bar-in-progress .call-info .status-label .dot::before {
  display: block;
  white-space: pre-wrap;
  content: "...\A..\A.";
  animation: dot 1.5s infinite step-start both;
}
@keyframes dot {
  33% {
    transform: translateY(-2em);
  }
  66% {
    transform: translateY(-1em);
  }
}
.bc-dial-bar .bc-dial-bar-in-progress .call-info .tip {
  display: flex;
  align-items: center;
  margin-top: 8px;
  font-size: 14px;
  font-weight: 400;
  line-height: 14px;
  color: rgba(255, 255, 255, 0.6);
}
.bc-dial-bar .bc-dial-bar-in-progress .action {
  padding: 24px;
  cursor: pointer;
}
.bc-dial-bar .bc-dial-bar-in-progress .action .close {
  width: 14px;
  height: 14px;
  opacity: 0.4;
}
.bc-dial-bar .bc-dial-bar-in-progress .action .hang-up {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 40px;
  font-weight: 500;
  color: #f12525;
  background: #fff;
  border-radius: 20px;
}
.bc-dial-bar-popover .bc-dial-bar {
  margin-top: 0;
}
.bc-dial-bar-popover-mask {
  position: fixed;
  inset: 0;
  z-index: 1000;
  width: 100%;
  height: 100%;
}
.slide-move-enter-active {
  animation: slide-move-in 0.5s;
}
.slide-move-leave-active {
  animation: slide-move-in 0.2s 0.5s reverse;
}
@keyframes slide-move-in {
  0% {
    transform: translateX(100%);
  }
  60% {
    transform: translateX(-5%);
  }
  100% {
    transform: translateX(0);
  }
}
@keyframes fade-out-up {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
