/**
 * Module Name: loading.css
 * Author: Peter Chen
 * Created: 2025-12-09
 * Last Modified: 2026-07-01
 * Version: 1.0.3
 * Description: 货代端启动加载样式和全局分页工具栏排版修正
 **/
.first-loading-wrp {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 90vh;
  min-height: 90vh;
}

.first-loading-wrp>h1 {
  font-size: 30px;
  font-weight: bolder;
}

.first-loading-wrp .loading-wrp {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 98px;
}

.dot {
  position: relative;
  box-sizing: border-box;
  display: inline-block;
  width: 64px;
  height: 64px;
  font-size: 64px;
  transform: rotate(45deg);
  animation: antRotate 1.2s infinite linear;
}

.dot i {
  position: absolute;
  display: block;
  width: 28px;
  height: 28px;
  background-color: #1890ff;
  border-radius: 100%;
  opacity: 0.3;
  transform: scale(0.75);
  transform-origin: 50% 50%;
  animation: antSpinMove 1s infinite linear alternate;
}

.dot i:nth-child(1) {
  top: 0;
  left: 0;
}

.dot i:nth-child(2) {
  top: 0;
  right: 0;
  -webkit-animation-delay: 0.4s;
  animation-delay: 0.4s;
}

.dot i:nth-child(3) {
  right: 0;
  bottom: 0;
  -webkit-animation-delay: 0.8s;
  animation-delay: 0.8s;
}

.dot i:nth-child(4) {
  bottom: 0;
  left: 0;
  -webkit-animation-delay: 1.2s;
  animation-delay: 1.2s;
}

@keyframes antRotate {
  to {
    -webkit-transform: rotate(405deg);
    transform: rotate(405deg);
  }
}

@-webkit-keyframes antRotate {
  to {
    -webkit-transform: rotate(405deg);
    transform: rotate(405deg);
  }
}

@keyframes antSpinMove {
  to {
    opacity: 1;
  }
}

@-webkit-keyframes antSpinMove {
  to {
    opacity: 1;
  }
}

/* 分页工具栏全局对齐：覆盖各页面 Page 的内联 margin，避免批量操作按钮上下错位。 */
.pageBar,
.page-bar {
  display: flex !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 8px 10px !important;
  margin: 12px 0 !important;
}

.pageBar > .ivu-page,
.page-bar > .ivu-page {
  margin: 0 !important;
}

.pageBar .batchOptClass,
.pageBar .customerColumns,
.page-bar .batchOptClass,
.page-bar .customerColumns {
  display: inline-flex !important;
  align-items: center !important;
  flex: 0 0 auto !important;
  flex-wrap: nowrap !important;
  gap: 6px !important;
  margin: 0 !important;
  white-space: nowrap !important;
}

.pageBar .batchOptClass .btn,
.page-bar .batchOptClass .btn {
  margin-left: 0 !important;
}

.pageBar .ivu-poptip,
.pageBar .ivu-poptip-rel,
.page-bar .ivu-poptip,
.page-bar .ivu-poptip-rel {
  display: inline-flex;
  align-items: center;
}

.pageBar .customerColumns .ivu-dropdown,
.page-bar .customerColumns .ivu-dropdown {
  display: inline-flex !important;
  align-items: center !important;
  margin-bottom: 0 !important;
}

.pageBar .customerColumns .ivu-btn,
.page-bar .customerColumns .ivu-btn {
  display: inline-flex;
  align-items: center;
}
