.rc-dialog-close {
  z-index: 100;
}

.rc-dialog-header {
  border-radius: 24px 24px 0 0;
}

.rc-dialog-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1299;
}

.rc-dialog-mask {
  z-index: 1299;
  background: rgba(20, 28, 40, 0.7) !important;
}

.titaui-dialog {
  border-radius: 24px;
}

.titaui-dialog.rc-dialog {
  display: inline-block;
  margin: 0;
}

.titaui-dialog .rc-dialog-close {
  padding: 0;
  font-size: 20px;
  right: 30px;
  top: 20px;
  cursor: pointer;
  opacity: 1 !important;
  z-index: 2;
}

.titaui-dialog .tu-icon-close {
  font-size: 16px;
  color: #141c28;
}

.titaui-dialog .rc-dialog-content {
  box-shadow: none;
  border: none;
  border-radius: 24px;
}

.titaui-dialog .rc-dialog-title {
  font-size: 18px;
  font-family: OPPOSans, Arial, Verdana, Helvetica Neue, Helvetica, PingFang SC, Microsoft YaHei, sans-serif;
  font-weight: 600;
  color: #141c28;
  line-height: 26px;
}

.titaui-dialog .rc-dialog-header {
  padding: 18px 32px;
}

.titaui-dialog .rc-dialog-body {
  padding: 0;
}

.titaui-dialog .rc-dialog-footer {
  padding: 20px 32px;
  display: flex;
  justify-content: flex-end;
}

.titaui-dialog__unshow-close-icon {
  display: inline-block;
}

.titaui-dialog__btn {
  display: flex;
  width: 90px;
  height: 36px;
  border-radius: 18px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-sizing: border-box;
}

.titaui-dialog__btn > span {
  font-size: 14px;
  font-family: OPPOSans, Arial, Verdana, Helvetica Neue, Helvetica, PingFang SC, Microsoft YaHei, sans-serif;
  font-weight: 400;
  line-height: 20px;
  text-align: center;
  display: flex;
  align-items: center;
  box-sizing: border-box;
}

.titaui-dialog__btn-ok {
  background: #2879ff;
  margin-left: 12px;
  border: 1px solid #2879ff;
  color: #ffffff;
  transition: 0.2s all;
  user-select: none;
}

.titaui-dialog__btn-ok:hover {
  border: 1px solid #5c8eff;
  background: #5c8eff;
  color: #ffffff;
}

.titaui-dialog__btn-ok-not-allowed {
  background: #93bcff;
  border-color: #93bcff;
  cursor: not-allowed;
}

.titaui-dialog__btn-ok-not-allowed:hover {
  background: #93bcff;
  border-color: #93bcff;
}

.titaui-dialog__btn-ok-loading-icon {
  width: 14px;
  margin-right: 6px;
  animation-name: spin;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
  animation-duration: 1s;
}

.titaui-dialog__btn-cancel {
  border: 1px solid #dfe3ea;
  color: #6f7886;
  transition: 0.2s all;
}

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

.titaui-dialog.titaui-dialog-no-head-line .rc-dialog-header {
  border-bottom: none;
}

.titaui-dialog.titaui-dialog-no-footer-line .rc-dialog-footer {
  border-top: none;
}

.titaui-dialog.titaui-dialog-no-close .rc-dialog-close {
  display: none;
}

.titaui-dialog.titaui-dialog-no-footer .rc-dialog-footer {
  display: none;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}
