.dialog {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 0 12px;
}

.dialog-title {
  z-index: 1;
  width: 100%;
  padding: 46px 0 12px;
  font-size: 20px;
  text-align: center;

  & h3 {
    font-weight: normal;
  }
}

.dialog-decorate {
  position: absolute;
  top: -40px;
  left: calc(50% - 56px);
  z-index: 2;
  display: flex;
  justify-content: space-between;
  width: 120px;
  height: 80px;
}

.dialog-decorate-circle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  background-image: linear-gradient(180deg, #02c9f5, #00a7cb);
  border: 6px solid white;
  border-radius: 50px;

  & img {
    width: 36px;
    height: 36px;
  }
}

.dialog-decorate-icon1 {
  display: inline-block;
  width: 10px;
  height: 10px;
  border: 2px solid #02c9f5;
  border-radius: 50%;
  transform: translateY(16px);
}

.dialog-decorate-icon2 {
  width: 16px;
  height: 16px;
  border: 2px solid #fff;
  border-radius: 50%;
  opacity: 0.6;
}

.dialog-close {
  position: absolute;
  top: 22px;
  right: 22px;
  z-index: 2;
  font-size: 24px;
  color: #d7d7d7;
  cursor: pointer;
  transition: color 100ms linear;

  &:hover {
    color: #999;
  }
}

.dialog-form {
  display: block;
  width: calc(100% - 40px);
  height: calc(100% - 89px);
  padding: 16px 30px 30px;
  overflow: hidden;
}

.dialog-content {
  flex: 1;
  width: 100%;
  height: calc(100% - 50px);
  overflow-x: hidden;
  overflow-y: auto;

  &::-webkit-scrollbar {
    width: 6px;
  }

  &::-webkit-scrollbar-track {
    background: #ededed;
    border-radius: 10px;
  }

  &::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #02c9f5, #00a7cb);
    border-radius: 10px;
  }
}

.dialog-btn-group {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  width: 100%;
  height: 50px;

  & button {
    width: 242px;
    height: 50px;
  }
}

.page-dialog {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: #f5f5f5;
}

.page-dialog-close {
  position: absolute;
  top: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  height: 40px;
  padding: 0 24px;
  margin-bottom: -24px;
}

.page-dialog-close-icon {
  z-index: 2;
  font-size: 24px;
  color: #d7d7d7;
  cursor: pointer;
  transition: color 100ms linear;

  &:hover {
    color: #999;
  }
}

.page-dialog-content {
  flex: 1;
  overflow: auto;
}
