.titaui-img-viewer {
  font-family: OPPOSans, Arial, Verdana, Helvetica Neue, Helvetica, PingFang SC, Microsoft YaHei, sans-serif;
  user-select: none;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1300;
  background: #ffffff;
  display: flex;
  flex-direction: column;
}

.titaui-img-viewer__header {
  width: 100%;
  height: 58px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0px 0px 8px 0px rgba(127, 145, 180, 0.1);
  word-break: keep-all;
  white-space: nowrap;
}

.titaui-img-viewer__header-file-name {
  font-size: 16px;
  font-weight: 600;
  color: #141c28;
  line-height: 26px;
  margin-left: 20px;
  flex: 1;
  overflow: hidden;
}

.titaui-img-viewer__header-download {
  display: inline-flex;
  align-items: center;
  color: #141c28;
  font-size: 16px;
}

.titaui-img-viewer__header-download:hover {
  color: #2879ff;
}

.titaui-img-viewer__header-download::after {
  content: '';
  display: inline-block;
  width: 1px;
  height: 22px;
  background: linear-gradient(180deg, rgba(191, 199, 213, 0) 0%, #bfc7d5 51%, rgba(191, 199, 213, 0) 100%);
  border-radius: 1px;
  margin-left: 20px;
}

.titaui-img-viewer__header-download-icon {
  margin-right: 4px;
}

.titaui-img-viewer__header-close {
  color: #141c28;
  font-weight: 600;
  font-size: 16px;
  margin: 0 16px;
  cursor: pointer;
}

.titaui-img-viewer__body {
  width: 100%;
  flex: 1;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: #f7f9fb;
}

.titaui-img-viewer__body-img {
  max-width: 800px;
  max-height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
  cursor: move;
}

.titaui-img-viewer__body-operate-btn {
  position: absolute;
  width: 48px;
  height: 48px;
  background: #ffffff;
  box-shadow: 0px 4px 8px 0px rgba(127, 145, 180, 0.2);
  border-radius: 24px;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #141c28;
}

.titaui-img-viewer__body-operate-btn:hover {
  cursor: pointer;
  color: #2879ff;
}

.titaui-img-viewer__body-operate-btn--left {
  left: 60px;
}

.titaui-img-viewer__body-operate-btn--right {
  right: 60px;
}

.titaui-img-viewer__body-operate-btn--disable {
  color: #bfc7d5;
}

.titaui-img-viewer__body-operate-btn--disable:hover {
  cursor: not-allowed;
  color: #bfc7d5;
}

.titaui-img-viewer__body--loading {
  position: absolute;
  z-index: 2;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f7f9fb;
}

.titaui-img-viewer__footer {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 24px;
  width: 216px;
  height: 48px;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0px 4px 12px 0px rgba(127, 145, 180, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
}

.titaui-img-viewer__footer-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  color: #141c28;
}

.titaui-img-viewer__footer-btn:hover {
  cursor: pointer;
  color: #2879ff;
}
