.top-box {
  display: flex;
}
#content {
  display: block;
}
.top-item {
  flex: 1;
  height: 166px;
  background-color: var(--td-bg-color-container);
  margin-right: 30px;
  box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.04);
  opacity: 1;
  border-radius: 3px;
  padding-top: 18px;
}
.active-div {
  position: relative;
}
.histogram-box {
  position: absolute;
  top: 48px;
  right: 79px;
}
.histogram-box > span {
  display: inline-block;
  width: 11px;
  background: #42C2FB;
  margin-right: 9px;
}
.histogram-box > span:nth-of-type(1) {
  height: 54px;
}
.histogram-box > span:nth-of-type(2) {
  height: 76px;
}
.histogram-box > span:nth-of-type(3) {
  height: 43px;
}
.histogram-box > span:nth-of-type(4) {
  margin-right: 0;
  height: 58px;
}
.top-item:nth-last-of-type(1) {
  margin-right: 0;
}
.item-nums,
.item-title {
  margin-left: 30px;
}
.item-title {
  margin-top: 5px;
}
.item-nums {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}
.num {
  font-size: 32px;
  font-weight: 800;
  color: rgba(0, 0, 0, 0.9);
  margin-right: 10px;
  margin-bottom: 10px;
}
.trend {
  display: inline-block;
  font-size: 13px;
  padding: 1px 6px;
  border-radius: 3px;
  font-weight: 400;
}
.up-green-text {
  color: #50CD89;
  background: #f1fbf6;
  white-space: nowrap;
}
.down-red-text {
  color: #F1416C;
  background: #fef0f3;
}
.blue-text {
  color: #019EF7;
  background: #ebf7ff;
}
.active-box {
  margin-top: 5px;
  margin-left: 30px;
}
.item-title {
  font-size: 13px;
  color: #9696A3;
}
.mid-box {
  width: 100%;
  margin-top: 33px;
  display: flex;
  flex-wrap: wrap;
}
.mid-box > div {
  min-width: calc(50% - 16px);
  height: 425px;
  margin-bottom: 30px;
  box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.04);
  border-radius: 3px;
}
.mid-box > div:nth-child(2n) {
  margin-left: 30px;
}
.statistics-box {
  box-sizing: border-box;
  background-color: #fff;
  padding: 26px 30px 22px 30px;
}
.statistics-title {
  color: var(--td-text-color-primary);
  font-weight: bold;
  font-size: 18px;
}
.statistics-list {
  margin-top: 15px;
  height: calc(100% - 45px);
}
.customer-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 57px;
}
.ranking {
  display: inline-block;
  width: 20px;
  height: 20px;
  line-height: 20px;
  text-align: center;
  color: rgba(0, 0, 0, 0.6);
  font-size: 12px;
  background: #EFF2F5;
}
.index-item {
  color: #9696A3;
  font-size: 13px;
}
.userName-item {
  margin-left: 113px;
  font-size: 13px;
  color: #9696A3;
}
.customer-name {
  margin-left: 45px;
  color: rgba(0, 0, 0, 0.9);
  font-size: 16px;
}
.time {
  font-size: 13px;
  color: #9696A3;
  text-align: right;
}
.customer-money {
  font-weight: bold;
  font-size: 18px;
  color: rgba(0, 0, 0, 0.9);
}
.bottom-box {
  margin-top: 30px;
  height: 400px;
  display: flex;
}
.bottom-item {
  background: var(--td-bg-color-container);
  box-sizing: border-box;
  background-color: var(--td-bg-color-container);
  padding: 26px 30px 0 30px;
  min-width: calc(50% - 16px);
  height: 425px;
  margin-bottom: 30px;
  box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.04);
  border-radius: 3px;
}
.table-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 45px;
}
.table-head-1 {
  display: flex;
  justify-self: start;
  align-items: center;
  height: 45px;
}
.mar-113 {
  margin-left: 113px;
}
.visit_time-itme {
  color: rgba(0, 0, 0, 0.9);
  font-size: 14px;
}
.decline-bg {
  background: url('../img/index/decline_bg.png') bottom no-repeat;
  background-size: 100% 100%;
  background-color: var(--td-bg-color-container);
}
.increase-bg {
  background: url('../img/index/increase_bg.png') bottom no-repeat;
  background-color: var(--td-bg-color-container);
  background-size: 100% 100%;
}
.bottom-list {
  overflow: hidden;
  height: calc(100% - 70px);
}
.bottom-list .t-list__inner .t-list-item {
  padding: 0;
  border-bottom: 1px dashed #DCDCDC;
}
.bottom-list .t-list__inner .t-list-item:nth-last-of-type(1) {
  border: none;
}
.bottom-list .t-list__inner .t-list-item .t-list-item__content {
  width: 100%;
}
.todo-box {
  box-sizing: border-box;
  padding: 26px 30px 0 30px;
  height: 425px;
  box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.04);
}
.todo-box.dcim-cabinet {
  height: 184px;
}
.todo-box.dcim-cabinet .todo-item {
  width: 100%;
}
.todo-box.dcim-cabinet .todo-item .todo-title {
  white-space: nowrap;
}
.todo-box .todo-name {
  color: var(--td-text-color-primary);
  font-weight: bold;
  font-size: 18px;
}
.todo-box .todo-main {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 20px;
  row-gap: 20px;
}
.todo-box .todo-item {
  color: var(--td-text-color-primary);
  background-color: #f7f8fa;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 16px;
  transition: all 0.3s;
  border-radius: 4px;
}
.todo-box .todo-item .todo-title {
  display: flex;
  align-items: center;
  column-gap: 10px;
  font-size: 14px;
}
.todo-box .todo-item .todo-title .todo-img {
  width: 32px;
  height: 32px;
}
.todo-box .todo-item .todo-title .todo-img + span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.todo-box .todo-item .todo-title .todo-img-1 {
  background: url('../img/index/todo-1.svg') no-repeat;
  background-size: 100% 100%;
}
.todo-box .todo-item .todo-title .todo-img-2 {
  background: url('../img/index/todo-2.svg') no-repeat;
  background-size: 100% 100%;
}
.todo-box .todo-item .todo-title .todo-img-3 {
  background: url('../img/index/todo-3.svg') no-repeat;
  background-size: 100% 100%;
}
.todo-box .todo-item .todo-title .todo-img-4 {
  background: url('../img/index/todo-4.svg') no-repeat;
  background-size: 100% 100%;
}
.todo-box .todo-item .todo-title .todo-img-5 {
  background: url('../img/index/todo-5.svg') no-repeat;
  background-size: 100% 100%;
}
.todo-box .todo-item .todo-title .todo-img-6 {
  background: url('../img/index/todo-6.svg') no-repeat;
  background-size: 100% 100%;
}
.todo-box .todo-item .todo-title .todo-img-7 {
  background: url('../img/index/todo-7.svg') no-repeat;
  background-size: 100% 100%;
}
.todo-box .todo-item .todo-title .todo-img-8 {
  background: url('../img/index/todo-8.svg') no-repeat;
  background-size: 100% 100%;
}
.todo-box .todo-item .todo-title .todo-img-9 {
  background: url('../img/index/todo-9.svg') no-repeat;
  background-size: 100% 100%;
}
.todo-box .todo-item .todo-title .todo-img-10 {
  background: url('../img/index/todo-10.svg') no-repeat;
  background-size: 100% 100%;
}
.todo-box .todo-item .todo-title .todo-img-11 {
  background: url('../img/index/todo-11.svg') no-repeat;
  background-size: 100% 100%;
}
.todo-box .todo-item .todo-num {
  font-size: 20px;
  font-weight: bold;
}
.todo-box .todo-item .todo-num-0 {
  color: rgba(0, 0, 0, 0.26);
}
.todo-box .todo-item:hover {
  background-color: #ebf1fc;
  box-shadow: 0px 6px 8px rgba(0, 0, 0, 0.2);
  color: #0052D9;
}
.todo-box .todo-item:hover .todo-title .todo-img-1 {
  background: url('../img/index/todo-1-hover.svg') no-repeat;
  background-size: 100% 100%;
}
.todo-box .todo-item:hover .todo-title .todo-img-2 {
  background: url('../img/index/todo-2-hover.svg') no-repeat;
  background-size: 100% 100%;
}
.todo-box .todo-item:hover .todo-title .todo-img-3 {
  background: url('../img/index/todo-3-hover.svg') no-repeat;
  background-size: 100% 100%;
}
.todo-box .todo-item:hover .todo-title .todo-img-4 {
  background: url('../img/index/todo-4-hover.svg') no-repeat;
  background-size: 100% 100%;
}
.todo-box .todo-item:hover .todo-title .todo-img-5 {
  background: url('../img/index/todo-5-hover.svg') no-repeat;
  background-size: 100% 100%;
}
.todo-box .todo-item:hover .todo-title .todo-img-6 {
  background: url('../img/index/todo-6-hover.svg') no-repeat;
  background-size: 100% 100%;
}
.todo-box .todo-item:hover .todo-title .todo-img-7 {
  background: url('../img/index/todo-7-hover.svg') no-repeat;
  background-size: 100% 100%;
}
.todo-box .todo-item:hover .todo-title .todo-img-8 {
  background: url('../img/index/todo-8-hover.svg') no-repeat;
  background-size: 100% 100%;
}
.todo-box .todo-item:hover .todo-title .todo-img-9 {
  background: url('../img/index/todo-9-hover.svg') no-repeat;
  background-size: 100% 100%;
}
.todo-box .todo-item:hover .todo-title .todo-img-10 {
  background: url('../img/index/todo-10-hover.svg') no-repeat;
  background-size: 100% 100%;
}
.todo-box .todo-item:hover .todo-title .todo-img-11 {
  background: url('../img/index/todo-11-hover.svg') no-repeat;
  background-size: 100% 100%;
}
/* home-drag */
.home-drag .t-row > div {
  width: 100%;
}
.home-drag .t-row > div > span {
  display: flex;
  flex-wrap: wrap;
}
.home-drag #drag-row {
  width: auto;
}
.home-drag .t-col {
  min-height: 166px;
  position: relative;
}
.home-drag .t-col .mover {
  position: absolute;
  cursor: pointer;
  opacity: 0;
  top: 10px;
  right: 25px;
  z-index: 2;
  transition: all 0.3s;
}
.home-drag .t-col .mover:hover {
  opacity: 1;
}
.home-drag .drag-box {
  background-color: var(--td-bg-color-container);
  box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.04);
  border-radius: 3px;
  margin-bottom: 35px;
  position: relative;
}
.home-drag .drag-box:hover + .mover {
  opacity: 1;
}
.home-drag .top-setting {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 20px;
}
.home-drag .top-setting h2 {
  margin: 0;
}
.home-drag .top-setting .t-icon {
  font-size: 18px;
  cursor: pointer;
}
.home-checked {
  padding: 10px 20px 10px 10px;
}
.home-checked .tit {
  margin: 0;
  margin-bottom: 5px;
}
.home-checked .t-checkbox {
  display: block;
}
.home-checked .t-checkbox .t-checkbox__label {
  font-size: 12px;
  color: #666;
}
.echars-div {
  min-width: calc(50% - 16px);
  height: 425px;
  margin-bottom: 30px;
  box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.04);
  border-radius: 3px;
  background-color: var(--td-bg-color-container);
}
@media screen and (max-width: 1700px) {
  .histogram-box {
    right: 20px;
  }
}
@media screen and (max-width: 1650px) {
  .todo-box .todo-main {
    gap: 10px;
    grid-template-columns: repeat(2, 1fr);
  }
  .todo-box .todo-item {
    padding: 10px;
  }
  .todo-box .todo-item .todo-title {
    white-space: nowrap;
  }
  .todo-box .todo-item .todo-title .todo-img {
    width: 24px;
    height: 24px;
  }
  .todo-box .todo-item .todo-num {
    font-size: 16px;
  }
}
:root[theme-mode=dark] .num,
:root[theme-mode=dark] .visit_time-itme,
:root[theme-mode=dark] .customer-name {
  color: #fff;
}
:root[theme-mode=dark] .todo-box .todo-item,
:root[theme-mode=dark] .ranking {
  background-color: #474a4e;
}
