@import '../../aws/css/base.css';

body,
button {
  font-family: 'HarmonyOS_Sans_SC', 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC',
    'Hiragino Sans GB', 'Microsoft YaHei', 'Helvetica Neue', Helvetica, Arial, sans-serif, 'Apple Color Emoji',
    'Segoe UI Emoji', 'Segoe UI Symbol' !important;
}
input {
  font-family: unset !important;
}
a {
  text-decoration: none;
  color: #333;
}
a:hover,
a:visited,
a:link,
a:active {
  color: #333;
}
ul,
ol {
  list-style: none;
}
.beautify-scrollbar2 {
  margin-right: -6px;
  padding-right: 6px;
  overflow: auto;
}
.beautify-scrollbar2::-webkit-scrollbar {
  width: 6px;
  background-color: #fff;
  opacity: 0;
  /* transition: all 0.3s ease-in-out; */
}

.beautify-scrollbar2::-webkit-scrollbar-thumb {
  border-radius: 4px;
  width: 6px;
  background-color: rgba(0, 0, 0, 0);
}
.beautify-scrollbar2:hover::-webkit-scrollbar-thumb {
  background-color: rgba(0, 0, 0, 0.2);
}
.beautify-scrollbar2::-webkit-scrollbar-track {
  width: 6px;
  background-color: transparent;
}

.beautify-scrollbar::-webkit-scrollbar {
  width: 6px;
  background-color: transparent;
  opacity: 0;
}
.beautify-scrollbar::-webkit-scrollbar:active {
  width: 6px;
  background-color: transparent;
  /* opacity: 1; */
}
.beautify-scrollbar::-webkit-scrollbar-thumb {
  border-radius: 4px;
  width: 6px;
  background-color: rgba(0, 0, 0, 0.2);
}
.beautify-scrollbar::-webkit-scrollbar-track {
  width: 16px;
}
@keyframes slide-to-right {
  from {
    background-position: 100% 50%;
  }
  to {
    background-position: 0% 50%;
  }
}
.skeleton-loading {
  position: relative;
  overflow: hidden;
}
.skeleton-loading::after {
  content: ' ';
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  display: inline-block;
  z-index: 999;
  background-image: linear-gradient(90deg, #f2f2f2 7%, #ededed);
  animation: slide-to-right 2s infinite;
  background-size: 400% 400%;
}

.hover-border:hover {
  position: relative;
}
.hover-border:hover::after {
  content: ' ';
  display: inline-block;
  position: absolute;
  width: 100%;
  height: 100%;
  background: transparent;
  border: solid 1px var(--primary-color);
}
.active-border {
  position: relative;
}
.active-border::after {
  content: ' ';
  display: inline-block;
  position: absolute;
  width: 100%;
  height: 100%;
  background: transparent;
  border: solid 2px var(--primary-color) !important;
}
.pointer {
  cursor: pointer;
}

.bottom-line {
  position: relative;
}
.bottom-line::after {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: #eeeeee;
  display: inline-block;
  content: ' ';
}

@keyframes message-in {
  from {
    transform: translateY(-24px);
  }
  to {
    transform: translateY(0);
  }
}
@keyframes slide-in-bottom {
  0% {
    transform: translateY(100%);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}
@keyframes slide-in-left {
  0% {
    transform: translateX(-100%);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}
@keyframes slide-out-bottom {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(100%);
  }
}

.g-color-picker-box {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.g-color-picker-box .color-picker {
  background-image: conic-gradient(
    rgb(57, 41, 255),
    rgb(57, 107, 235),
    rgb(93, 255, 82),
    rgb(255, 219, 30),
    rgb(255, 118, 118),
    rgb(255, 40, 40),
    rgb(81, 129, 255),
    rgb(57, 41, 255)
  );
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background-clip: padding-box;
  background-origin: padding-box;
  position: relative;
}
.g-color-picker-box .color-picker div {
  border-radius: 100%;
  display: inline-block;
  width: 14px;
  height: 14px;
  border: solid 1px #fff;
  margin: 2px;
}
::selection {
  /* color: #fff; */
  /* background: var(--primary-hover); */
}
input::selection,
input::-moz-selection {
  color: #fff;
  background: var(--primary-hover);
}

.mgl0 {
  margin-left: 0;
}
.mgr0 {
  margin-right: 0;
}
.cursor-rotate {
  cursor: url('https://cdn.pacdora.com/ui/cursor/rotate.png') 12 12, default;
}

/* zoho客服 cookie接受弹窗 */
.zoho-msgbanr {
  display: none !important;
}
