* { font-family: "微软雅黑" }
body, html {
  height: 100%;
  margin: 0;
  padding: 0;
  font-family: 'Microsoft YaHei', Arial, sans-serif;
  box-sizing: border-box;
  overflow: hidden; /* 防止出现滚动条 */
}
body{
    background: url('../images/large/large-bg.jpg') no-repeat center center/cover;
    transform-origin: top left; /* 设置变换原点为左上角 */
}

#app-container {
  width: 1920px; /* 设计稿宽度 */
  height: 960px; /* 设计稿高度 */
  position: relative;
  transform-origin: 0 0; /* 设置变换原点为左上角 */
}

.main-header {
  position: relative;
  width: 100%;
  height: 74px;
  background: url('../images/large/header-bg.png') no-repeat center center/cover;
  display: flex;
  align-items: center;
  justify-content: center;
}

.header-content {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.header-content h1 {
  color: #fff;
  font-size: 48px;
  letter-spacing: 16px;
  margin: 0 auto;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
}
.header-buttons {
  position: absolute;
  right: 30px;
  top: 29px;
  z-index: 2;
  display: flex;
  align-items: center;
}
.header-buttons a, .header-buttons button {
  margin-left: 12px;
  color: #fff;
  border: none;
  border-radius: 4px;
  font-size: 12px;
  height: 34px;
  line-height: 34px;
  padding: 0 12px;
  cursor: pointer;
  transition: background 0.2s;
}
.header-buttons .btn-item{
    background: #0568eb;
}
.header-buttons .btn-link{
    background: #4966f5;
}

.header-buttons .btn-item:hover {
  background: #0056b3;
}
.header-buttons .btn-link:hover {
  background: #334188;
}


.main-content {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  width: 100%;
  max-width: 1920px;
  margin: 0 auto;
  margin-top: 16px;
  min-height: 800px;
}
.side {
  width: 420px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.side.left {
  margin-left: 30px;
}
.side.right {
  margin-right: 30px;
}
.box {
  background: rgba(10, 30, 60, 0.7);
  border-radius: 5px;
  height: 380px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.15);
  background: url('../images/large/box2-header-bg.png') no-repeat left top/cover;
}
.box-header {
  height: 48px;
  line-height: 48px;
  color: #fff;
  font-size: 22px;
  display: flex;
  align-items: center;
  padding-left: 24px;
  font-weight: bold;
}
.box-header img{
    width: 30px;
    height: 30px;
    margin-right: 12px;
}
.box-body {
  min-height: 180px;
  padding: 18px;
}
.center {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.big-box {
  width: 980px;
  height: 616px;
  overflow: hidden;
  position: relative;
}
.big-box-header {
  height: 48px;
  background: url('../images/large/big-box-header-bg.png') no-repeat left center/cover;
  color: #55e29c;
  font-size: 28px;
  display: flex;
  align-items: center;
  padding-left: 38px;
  font-weight: bold;
  text-align: center;
  line-height: 48px;
  align-items: center;
  justify-content: center;
}
.big-box-header .num-record{
  width: 36px;
  height: 36px;
  background: url('../images/large/num-bg.png') no-repeat center center/cover;
  display: inline-block;
  text-align: center;
  line-height: 36px;
  margin-left: 12px;
}


.big-box-body.patrol-bg {
  width: 100%;
  height: calc(100% - 72px);
}
.summary-bar {
  display: flex;
  justify-content: space-between;
  width: 980px;
  margin-top: 20px;
  background: rgba(0, 60, 120, 0.7);
  border-radius: 5px;
  gap: 20px;
}
.summary-item {
  flex: 1;
  color: #fff;
  width: 230px;
  height: 144px;
  background: url('../images/large/box-header-bg.png') no-repeat left center/cover;
}
.summary-title {
    height: 48px;
    line-height: 48px;
    color: #fff;
    font-size: 22px;
    display: flex;
    align-items: center;
    padding-left: 24px;
    font-weight: bold;
}
.summary-title img{
    width: 30px;
    height: 30px;
    margin-right: 12px;
}
.summary-value {
  font-size: 32px;
  font-weight: bold;
  margin-top: 12px;
  margin-left: 24px;
}
.summary-up-user{
    color: #9679F9;
    margin-top: 5px;
    margin-left: 24px;
    font-weight: bold;
}
.summary-up-device{
    color: #ffa311;
    margin-top: 5px;
    margin-left: 24px;
    font-weight: bold;
}
.summary-up-checkpoint{
    color: #41b7fb;
    margin-top: 5px;
    margin-left: 24px;
    font-weight: bold;
}
.summary-up-route{
    color: #08c882;
    margin-top: 5px;
    margin-left: 24px;
    font-weight: bold;
}

.main-footer {
  text-align: center;
  color: #fff;
  font-size: 16px;
  letter-spacing: 2px;
  margin-left: 30px;
  margin-right: 30px;
}
.footer-content span {
  margin: 0 18px;
  font-size: 12px;
}

.footer-ai {
  display: flex;
  text-align: left;
}
.footer-ai .ai-total {
  box-sizing: border-box;
  width: 420px;
  height: 30px;
  line-height: 30px;
  font-size: 16px;
  border-radius: 15px;
  padding-left: 5px;
  background: url('../images/large/ai-info-bg.png') no-repeat center center/cover;
}
.footer-ai .ai-total .ai-title{
  color: #fff;
  background-color: #0073e8;
  width: 108px;
  font-size: 16px;
  padding: 2px 10px;
  border-radius: 10px;
  margin-right: 10px;
}
.footer-ai .ai-detail {
  flex: 1;
  margin-left: 16px;
  height: 30px;
  padding: 2px 10px;
  box-sizing: border-box;
  border-radius: 10px;
  line-height: 30px;
  font-size: 16px;
  background: url('../images/large/ai-info-bg.png') no-repeat center center/cover;
  overflow: hidden; /* 添加溢出隐藏 */
  white-space: nowrap; /* 防止文本换行 */
}

.footer-ai .ai-detail span {
  display: inline-block;
  white-space: nowrap;
  padding-left: 100%;
  animation: scroll-left 25s linear infinite;
}

#map{
	width: 980px;
	height: 544px;
}
.item-chart {
	height: 280px;
}

/* 修改滚动动画实现真正的无缝衔接 */
@keyframes scroll-left {
  0%  {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-100%);
  }
}