body {
  margin: 0;
  padding: 0;
  font-family: "Microsoft YaHei", sans-serif;
}
#bodyBox{
  /* width: 1920px; */
  background-color: #f5f5f5;
}
.header {
  background-color: #3f7de6;
  color: white;
  padding: 0 20px;
  width: 100%;
  box-sizing: border-box;
  height: 70px;
  display: flex;
  align-items: center;
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 97;
}

.header-title {
  font-size: 24px;
  font-weight: bold;
  margin-left: 50px;
  white-space: nowrap;
}

.header-nav {
  display: flex;
  margin-left: 120px;
  height: 70px;
  flex: 1;
}

.header-nav-item {
  display: flex;
  align-items: center;
  cursor: pointer;
  width: 160px;
  text-align: center;
  justify-content: center;
  font-size: 16px;
  margin-right: 30px;
  user-select: none;
  color: #fff;
}
.header-nav-item span{
  color: #fff;
}
.icon-home{
  width: 19px;
  height: 19px;
  margin-right:8px;
}
.icon-daka{
  width: 21px;
  height: 20px;
  margin-right:8px;
}
.icon-paiban{
  width: 19px;
  height: 20px;
  margin-right:8px;
}
.icon-loginout{
  width: 18px;
  height: 18px;
  margin-right:8px;
  margin-top: 1px;
}
.header-nav-item.active {
  background: linear-gradient(0deg, #214b91, #3f7de6);
  border-bottom: 5px solid #002e7c;
}
.login-icon {
  margin-right: 17px;
  width: 20px;
  height: 20px;
  display: block;
}

.login-icon::before {
  content: "";
}
.header-user {
  display: flex;
  align-items: center;
  float: right;
  font-size: 16px;
}
.header-user span{
  margin-top: -1px;
  color: #fff;
}
.header-user div{
  white-space: nowrap;
}
.header-user .splitter {
  width: 1px;
  height: 16px;
  background: #ffffff;
  opacity: 0.3;
  margin-left: 20px;
}

.header-user-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  margin-right: 10px;
  background-color: #fff;
}
.header-user-avatar img{
  width: 100%;
  height: 100%;
}
.main-container {
  display: flex;
  /* height: calc(100vh - 70px); */
  background-color: #f5f5f5;
}

.sidebar {
  width: 460px;
  margin: 16px 0px 8px 15px;
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
}
.firesite {
  border-radius: 6px;
  background-color: #ffffff;
  background-image: url('../images/index/bg.png');
  background-repeat: no-repeat;
  background-position: right top;
  background-size: 100% 100%;
  padding: 20px 16px;
  margin-bottom: 10px;
  /* flex: 1; */
}
.firesite .label {
  display: flex;
  width: 110px;
  align-items: center;
}
.firesite .label span{
  white-space: nowrap;
}
.fire-station-title {
  font-size: 18px;
  margin-bottom: 10px;
  display: flex;
  justify-content: space-between;
}
.fire-station-title .title {
  font-size: 24px;
  color: #333333;
  font-weight: bold;
  line-height: 36px;
}
.fire-station-title .p {
  white-space: nowrap;
  width: 300px;
  overflow: hidden;
  text-overflow: ellipsis;
}
.fire-station-title .tag {
  height: 30px;
  line-height: 30px;
  background: #e4eeff;
  border-radius: 4px;
  border: 1px solid #3f7de6;
  color: #3f7de6;
  display: inline-block;
  font-size: 16px;
  padding: 0 10px;
  margin-left: 5px;
}
.fire-station-count {
  color: #1e88e5;
  font-size: 24px;
  font-weight: bold;
  text-align: right;
  width: 140px;
}

.fire-station-count .unit {
  font-size: 14px;
  color: #999999;
}

.fire-station-address {
  font-size: 14px;
  color: #666;
  margin-bottom: 15px;
  display: flex;
  align-items: flex-start;
}

.fire-station-contact {
  font-size: 14px;
  color: #666;
  margin-bottom: 7px;
  display: flex;
  align-items: flex-start;
}

.surveillance-box {
  /* background-color: #263238; */
  color: white;
  /* padding: 15px; */
  height: 260px;
  position: relative;
  overflow: hidden;
}

.surveillance-title {
  font-size: 14px;
  position: absolute;
  top: 24px;
  left: 65px;
  font-family: PingFang SC;
  font-weight: 400;
  font-size: 16px;
  color: #999999;
}
.surveillance-img {
  position: absolute;
  width: 27px;
  height: 25px;
  top: 23px;
  left: 26px;
}

.duty {
  margin-bottom: 10px;
  background: #fff;
  padding: 18px 16px 16px 12px;
  border-radius: 6px;
  height: 150px;
}

.duty-title {
  font-size: 20px;
  margin-bottom: 10px;
}

.duty-stats {
  display: flex;
  justify-content: space-between;
}

.duty-stat {
  text-align: center;
  width: 32%;
  border-radius: 6px;
  background: #ecf3ff;
  height: 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  cursor: pointer;
}

.duty-stat-value {
  font-size: 32px;
  font-weight: bold;
  color: #1e88e5;
}

.duty-stat-label {
  font-size: 12px;
  color: #3f7de6;
}

.duty-stat-icon {
  display: inline-block;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background-color: #e3f2fd;
  color: #1e88e5;
  text-align: center;
  line-height: 20px;
  margin-right: 5px;
}
.duty-stat-icon img {
  width: 100%;
}

.equipment {
  background: #fff;
  border-radius: 6px;
  padding: 18px 16px 16px 12px;
  min-height: 274px;
}

.equipment-title {
  font-size: 20px;
  margin-bottom: 10px;
}

.equipment-table {
  width: 100%;
  border-collapse: collapse;
}
.equipment-table thead {
  background: #f5f5f5;
  border-radius: 6px;
}

.equipment-table th,
.equipment-table td {
  padding: 10px;
  text-align: center;
  border-bottom: 1px solid #eee;
}

.equipment-table th {
  font-weight: normal;
  color: #999;
}

.equipment-table .status-normal {
  /* color: #4caf50; */
}

.equipment-table .status-repair {
  color: #f44336;
}

.main-content {
  /* flex: 1; */
  width: 73.5%;
  margin: 16px 20px 20px 10px;
  box-sizing: border-box;
  background-color: #f5f5f5;
}

.alert-box {
  background: #ffe8e8;
  color: #e02412;
  padding: 10px 15px;
  border-radius: 4px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid #f8bac2;
}
.alert-box div{
  width: 98%;
  display: flex;
  align-items: center;
}
.alert-box div p{
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.alert-box-icon {
  width: 14px;
  height: 16px;
  margin-right: 9px;
}

.alert-icon-right {
  width: 14px;
  height: 14px;
}
.tabs {
  margin-bottom: 20px;
  background: #fff;
}

.tabs-nav {
  display: flex;
  border-bottom: 1px solid #eee;
}

.tabs-nav-item {
  padding: 10px 27px;
  cursor: pointer;
  position: relative;
  white-space: nowrap;
  user-select: none;
  font-weight: 400;
  font-size: 16px;
  color: #333333;
}

.tabs-nav-item.active {
  color: #1e88e5;
}

.tabs-nav-item.active::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #1e88e5;
}

.tabs-content {
  height: 100vh;
  background-color: #FFFFFF;
  border-radius: 4px;
  overflow: hidden;
  position: relative;
}
.tabs-content >div{
  padding: 16px 24px 16px 24px;
  box-sizing: border-box;
}
.map-marker {
  position: absolute;
  width: 30px;
  height: 30px;
  background-color: #f44336;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.map-marker.fire-engine {
  background-color: #ff5722;
  border: 2px solid white;
}

.map-marker.police {
  background-color: #2196f3;
  border: 2px solid white;
}

.login-icon-location {
  width: 16px;
  height: 19px;
  margin-right: 10px;
}
.icon-username {
  width: 16px;
  height: 19px;
}

.login-icon-cellphone {
  width: 18px;
  height: 15px;
  margin-right: 8px;
}
.login-icon-camera {
  width: 27px;
  height: 25px;
  margin-right: 12px;
}
.logout {
  margin-left: 20px;
  cursor: pointer;
  display: flex;
  color: #fff;
}
/* 登录 */
#login {
  margin: 0;
  padding: 0;
  height: 100vh;
  background: url('../images/login/loginbg.png');
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  position: relative;
}
#login .background-curve {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: -1;
}
#login .login-container {
  width: 360px;
  background-color: white;
  border-radius: 10px;
  padding: 72px 120px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}
#login .login-title {
  text-align: center;
  margin-bottom: 30px;
}
#login .login-title h2 {
  font-size: 24px;
  font-weight: normal;
  color: #333;
  margin-bottom: 5px;
}
#login .login-title p {
  font-size: 16px;
  color: #666;
  margin: 0;
}
#login .login-form .label {
  color: #333;
  font-size: 16px;
  margin-bottom: 9px;
}
#login .login-form-item {
  position: relative;
  margin-bottom: 20px;
  width: 360px;
  height: 50px;
  background: #F6F6F6;
  border-radius: 5px;
  display: flex;
  align-items: center;
  padding: 0 17px;
}
#login .login-input {
  height: 100%;
  flex: 1;
  border: none;
  outline: none;
  border-radius: 4px;
  padding-left: 17px;
  font-size: 14px;
  color: #333;
  background: transparent;
}
#login .login-icon {
  position: absolute;
  left: 10px;
  top: 16px;
  color: #999;
  font-size: 18px;
}
#login .icon-username{
  width: 20px;
  height: 20px;
}
#login .icon-password{
  width: 20px;
  height: 20px;
}

#login .login-btn {
  width: 100%;
  height: 50px;
  background-color: #3f7de6;
  border: none;
  border-radius: 4px;
  color: white;
  font-size: 16px;
  cursor: pointer;
  margin-top: 10px;
  transition: background-color 0.3s;
}

#login .login-btn:hover {
  background-color: #3a5bbf;
}
.pagination{
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  justify-content: flex-end;
  margin: 20px auto 0;
}
.pagination-button {
  width: 32px;
  height: 32px;
  background: #3F7DE6;
  border-radius: 4px;
  margin: 0 5px;
  border: 1px solid #DCDCDC;
  cursor: pointer;
  user-select: none;
  background-color: transparent;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pagination-button img{
  width: 25px;
  height: 25px;
}
.pagination-button.active {
  width: 32px;
  height: 32px;
  text-align: center;
  background: #3F7DE6;
  border-radius: 4px;
  font-weight: 400;
  font-size: 16px;
  color: #FFFFFF;
  border-color: #3F7DE6;
}
.totalNum{
  font-family: Microsoft YaHei;
  font-weight: 400;
  font-size: 16px;
  color: #666666;
}
.jump{
  font-family: Microsoft YaHei;
  font-weight: 400;
  font-size: 16px;
  color: #666666;
}
.confrimPage{
  width: 62px;
  height: 32px;
  line-height: 32px;
  text-align: center;
  background: #3F7DE6;
  border-radius: 4px;
  font-family: HarmonyOS Sans SC;
  font-weight: 400;
  font-size: 14px;
  color: #FFFFFF;
  margin: 0 30px 0 21px;
  border: 1px solid #DCDCDC;
}
.pagination input{
  width: 47px;
  height: 37px;
  border-radius: 6px;
  border: 1px solid #DCDCDC;
  outline: none;
  margin: 0 8px;
  background-color: transparent;
  text-align: center;
}
#page-buttons{
  display: flex;
  align-items: center;
}
/* 隐藏所有浏览器中的数字输入框的箭头 */
.pagination input[type="number"]::-webkit-inner-spin-button,
.pagination input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.pagination input[type="number"] {
  -moz-appearance: textfield; /* Firefox */
  appearance: none; /* IE10+ */
}
/* 可选：去除Firefox中的聚焦时出现的轮廓 */
.pagination input[type="number"]:focus {
  outline: none;
}
/* 为了防止在移动设备上仍然能通过触摸滑动来更改值，可能还需要添加以下样式 */
.pagination input[type="number"] {
  -moz-user-select: none; /* Firefox all */
  -ms-user-select: none;  /* IE 10+ */
  -khtml-user-select: none; /* Konqueror HTML */
  -webkit-user-select: none; /* Chrome all / Safari all */
  user-select: none; /* Likely future */
}

.prev-page,.next-page {
  width: 32px;
  height: 32px;
  background: #FFFFFF;
  border-radius: 4px;
  border: 1px solid #E6E6E6;
  position: relative;
}
.next-page{
  margin-right: 39px;
}
.pagination .disabledBtn{
  background: #E6E6E6;
  border: none;
}
.pagination .disabledBtn::before{
  border-color:#8B9EBE !important;
}
.prev-page::before,.next-page::before {
  content: "";
  position: absolute;
  width: 6px;
  height: 6px;
  border-top: 2px solid #000;
  border-right: 2px solid #000;
  top: 50%;
  left: 50%;
  transform-origin: center;
}

.prev-page::before {
  transform: translate(-30%, -50%) rotate(-135deg);
}

.next-page::before {
  transform: translate(-70%, -50%) rotate(45deg);
}
/* 新增下拉框样式 */
.pagination select {
  width: 100px;
  height: 32px;
  border-radius: 4px;
  border: 1px solid #DCDCDC;
  margin: 0 10px;
  padding: 0 5px;
  outline: none;
  background-color: transparent;
}
.closeImg{
  cursor: pointer;
}
#standby-container{
  padding: 16px 24px 16px 24px;
  box-sizing: border-box;
}
.mb16{
  margin-bottom: 16px;
}
.searchBox .select{
  height: 36px;
  margin-right: 17px;
}
.top-div{
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.top-div .right{
  text-align: right;
}
.top-div .right .rate{
  font-size: 40px;
  font-weight: 600;
  color: #1e88e5;
}
.table-data{
  height: 573px;
  overflow: auto;
}
.table-data table th{
  background: #f5f5f5;
  position: sticky;
  top: 0;
  z-index: 10;
}
.footer{
    position: fixed;
    left: 50%;
    bottom: 5%;
    transform: translateX(-50%);
}
