/**
 * Eric Meyer's Reset CSS v2.0 (http://meyerweb.com/eric/tools/css/reset/)
 * http://cssreset.com
 */
html, body, div, span, applet, object, iframe,
h1, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header,
menu, nav, output, ruby, section, summary,
time, mark, audio, video, input {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font-weight: normal;
    vertical-align: baseline;
    outline: none;
}

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, menu, nav, section {
    display: block;
}

body {
    line-height: 1;
}

blockquote, q {
    quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
    content: none;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

/* custom */
a {
    /*color: #7e8c8d;*/
    text-decoration: none;
    -webkit-backface-visibility: hidden;
}

li {
    list-style: none;
}

::-webkit-scrollbar {
    width: 5px;
    height: 5px;
}

::-webkit-scrollbar-track-piece {
    background-color: rgba(0, 0, 0, 0.2);
    -webkit-border-radius: 6px;
}

::-webkit-scrollbar-thumb:vertical {
    height: 5px;
    background-color: rgba(125, 125, 125, 0.7);
    -webkit-border-radius: 6px;
}

::-webkit-scrollbar-thumb:horizontal {
    width: 5px;
    background-color: rgba(125, 125, 125, 0.7);
    -webkit-border-radius: 6px;
}

html, body {
    width: 100%;
    height: 100%;
    line-height: 1;
    font-weight: 200;
    font-family: 'PingFang SC', 'STHeitiSC-Light', 'Helvetica-Light', arial, sans-serif;
}

h2{
    margin: 0;
    padding: 0;
    border: 0;
    font-size: .6em;
    font-weight: normal;
    vertical-align: baseline;
    outline: none;
}

body {
    -webkit-text-size-adjust: none;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

.err-msg {
    margin-left: 15px;
    font-size: 12px;
    color: #EB4444;
    font-family: PingFangSC-Regular, PingFang SC;
}

:root {
  --primary-color: #0052D9;
  --el-color-primary: #0052D9;
}

.el-button--primary {
  background-color: var(--primary-color) !important;
  border-color: var(--primary-color) !important;
}

.el-link--primary {
  color: var(--primary-color) !important;
}

.el-tabs__active-bar {
  background-color: var(--primary-color) !important;
}

.el-tabs__nav > .el-tabs__item:hover{
  color: var(--primary-color) !important;
}

.el-tabs__nav > .is-active:hover{
  color: #FFF !important;
}

/* 分页器 star */
.pagination-box {
    width: 100%;
    display: flex;
    align-items: center;
    margin-top: 15px;
}

.pagination-box > i{
    flex: 1;
}

.pagination-box > div{
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12px;
}

.pagination-box > div > span {
    margin-right: 10px;
}

.f-24-w-500 {
  font-size: 24px;
  font-family: PingFangSC, PingFang SC;
  font-weight: 500;
}

.f-16-w-400 {
  font-size: 16px;
  font-family: PingFangSC, PingFang SC;
  font-weight: 400;
}

.f-12-w-400 {
  font-size: 12px;
  font-family: PingFangSC, PingFang SC;
  font-weight: 400;
}

.f-16-w-500 {
  font-size: 16px;
  font-family: PingFangSC, PingFang SC;
  font-weight: 500;
}

.f-14-w-400{
  font-size: 14px;
  font-family: PingFangSC, PingFang SC;
  font-weight: 400;
}

.f-14-w-500{
  font-size: 14px;
  font-family: PingFangSC, PingFang SC;
  font-weight: 400;
}

.ff {
  font-family: 'PingFang SC', 'Microsoft YaHei', Arial, sans-serif;
}

.page-card-box{
  width: 100%;
  height: 100%;
  border-radius: 8px !important;
  box-sizing: border-box;
}

.page-card-box > .el-card__body{
  height: 100%;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
}
.page-table-header{
  flex: 1;
}
.page-table-header > th{
  background-color: #EBEDF1 !important;
  color: #191919;
}
.page-table > .is-scrolling-none{
  height: 100%;
}

.can-toggle-box{
  position: relative;
  width: 180px;
  height: 32px;
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  justify-content: space-between;
  background-color: #EBEDF1;
}

.can-toggle-box > .can-toggle-task, .can-toggle-box > .can-toggle-tasks{
  width: 50%;
  height: 100%;
  line-height: 32px;
  text-align: center;
  z-index: 2;
  transition: all .3s;
}
.can-toggle-box > .can-toggle-task, .can-toggle-box > .can-toggle-tasks:hover{
  cursor: pointer
}

.can-toggle-box > .active-tab {
  color: #FFF;
}

.can-toggle-box > .active-none{
  color: #666;
}

.can-toggle-box > .can-toggle-slide {
  top: 2px;
  position: absolute;
  width: 88px;
  height: 28px;
  border-radius: 2px;
  background-color: #0052D9;
  z-index: 1;
  transition: all .3s;
}

.can-toggle-box > .can-toggle-slide-left{
  left: 2px;
}

.can-toggle-box > .can-toggle-slide-right {
  left: 90px;
}

.ordinary-point, .library-point, .charging-point, .delivery-point, .pathway-point, .narrow-point, .waiting-point, .gate-point {
  position: relative;
  z-index: 99;
}

.delivery-point > .point-img-box, .pathway-point > .point-img-box,
.narrow-point > .point-img-box,
.waiting-point > .point-img-box,
.gate-point > .point-img-box {
  top: -22px !important;
}

.charging-point, .delivery-point, .pathway-point, .narrow-point, .waiting-point, .gate-point{
  transform: rotate(0deg) !important;
}

.ordinary-point > .point-img-box,
.library-point > .point-img-box,
.charging-point > .point-img-box,
.delivery-point > .point-img-box,
.pathway-point > .point-img-box,
.narrow-point > .point-img-box,
.waiting-point > .point-img-box,
.gate-point > .point-img-box {
  position: absolute;
  width: 24px;
  height: 24px;
  top: -12px;
  left: -12px;
  z-index: 9;
  /* display: none;    */
}

.point-img-box > img {
  width: 100%;
  height: 100%;
}

/* 触底反弹动画样式 */
@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-20px);
  }
  60% {
    transform: translateY(-10px);
  }
}

.bounce-effect {
  animation: bounce 1s ease infinite; /* 设置反弹动画 */
}

.btm-loading{
  width: 100%;
  display: flex;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #0052D9;
}

.btm-load-end, .step-detail-box, .bind-device-box{
  color: #000000;
}

.robot-parent {
  position: relative;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  will-change: transform;
  transition: transform .3s;
  z-index: 99;
  transform: rotate(0deg) !important;
}

.robot-img-box{
  position: absolute;
  width: 22px;
  height: 22px;
  background-image: url('/static/images/postiona_03.png');
  background-size: 100% 100%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 99;
}

.robot-child-img {
  position: absolute;
  width: 20px;
  height: 20px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: none;
}

.library-point, .ordinary-point{
  text-align: center;
}

.point-name-text{
  position: absolute;
  bottom: 10px;
  white-space: nowrap;
}

.el-button--small {
  padding: .8rem 1.5rem !important
}

.el-button {
  line-height: 1 !important;
}

[class^="direction-view"] {
  position: relative;
  z-index: 9;
}

[class^="direction-view"] > [class^="direction-img-box-l"] {
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  display: flex;
  justify-content: center;
  align-items: center;
}

[class^="direction-view"] > [class^="direction-img-box-r"] {
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;

  display: flex;
  justify-content: center;
  align-items: center;
  /* background-image: url('/static/images/test.png');
  transform: rotate(45deg); */
}

.direction-bg-img-l {
  position: relative;
  width: 100%;
  height: 20px;
  background-image: url('/static/images/test2.png');
  background-repeat: repeat-x;
  background-position-y: center
}

.direction-bg-img-r {
  width: 100%;
  height: 20px;
  background-image: url('/static/images/test2.png');
  background-repeat: repeat-x;
  background-position-y: center
}
