body {
  overflow: hidden;
  background-color: #FEFEFE;
}
body * {
  box-sizing: border-box;
  font-family: opensans, verdana;
}
textarea {
  line-height: 140% !important;
  padding: 4px 6px;
}
input,
select {
  padding: 3px;
  border-radius: 2px;
  border: 1px solid #c7c7c7;
}
input[readonly],
textarea[readonly] {
  color: #777 !important;
  background-color: #f9f9f9 !important;
}
input[type=text][disabled],
input[type=password][disabled],
textarea[disabled] {
  background-color: #eee;
}
a {
  color: #3379B8 !important;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
.preview-msg {
  position: absolute;
  left: 0px;
  right: 0px;
  top: 30%;
  font-size: 16px;
  color: #aaa;
  text-align: center;
  text-shadow: 1px 1px 1px #fafafa;
}
#app-toolbar {
  background-color: transparent;
  padding: 0 10px;
  margin: 14px 10px 0 365px;
}
#app-toolbar .w2ui-tb-icon {
  margin-top: 2px;
}
.w2ui-sidebar .w2ui-sidebar-body .w2ui-node-group :nth-child(1) {
  display: none;
}
.w2ui-menu .w2ui-menu-item .menu-icon span {
  margin-top: -2px;
  height: 18px;
}
#app-container {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: none;
}

#app-container #app-title{
  display: flex;
  gap:10px;
}

#app-container .app-logo {
  display: block;

  position: relative;
  top: -3px;
}
#app-container #app-header {
  z-index: 2;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 60px;
  background-color: #fff;
  border-bottom: 1px solid #dedede;
}
#app-container #app-header #app-title {
  display: inline-block;
  padding: 15px 15px 0 25px;
  font-size: 20px;
  color: #606060;
  text-shadow: 0 1px 2px #fff;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}
#app-container #app-header #app-title .app-logo {
  border-radius: 3px;
  height: 40px;
  width: 40px;
  position: absolute;
  left: 15px;
  top: 11px;
}
#app-container #app-header #app-title .app-caption {
  margin-top: 4px;
  margin-left: 45px;
  color: #165DFF;
}
#app-container #app-header #app-title .icon-chevron-right {
  font-size: 15px;
  position: relative;
  top: -1px;
  color: #8a8a8a;
}
#app-container #app-main {
  z-index: 1;
  position: absolute;
  top: 60px;
  left: 0;
  right: 0;
  bottom: 0;
  font-size: 11px;
  border-top: 1px solid white;
}
.column-setup-action {
  color: transparent;
  text-shadow: none;
  padding: 5px 2px;
  border-radius: 2px;
  margin-top: -4px;
}
.column-setup-action:hover {
  background-color: #d3d3d3;
}
.w2ui-node .w2ui-node-badge {
  margin-right: -5px !important;
}
.w2ui-node:hover .w2ui-node-badge .column-setup-action {
  color: #777;
}


/*服务器状态图标样式*/


/* 新增加载动画样式 */
.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.9);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  pointer-events: all;
}
.loading-spinner {
  width: 50px;
  height: 50px;
  border: 4px solid #f3f3f3;
  border-top: 4px solid #37a2da;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
.server-status-dashboard-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  gap: 20px;
}
.chart-container {
  width: 30%;
  min-width: 300px;
  height: 400px;
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  padding: 15px;
  margin-top:14px;
  position: relative;
}

.info-text {
  text-align: center;
  margin-top: 10px;
  font-size: 14px;
  color: #666;
  position: absolute;
  bottom: 40px;
  left: 0;
  right: 0;
}
.network-container {
  width: 60%;
  min-width: 600px;
  height: 320px;
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  padding: 15px;
  margin: 20px auto;
}
.network-stats {
  display: flex;
  justify-content: space-around;
  margin-top: 15px;
}
.network-stat {
  text-align: center;
  padding: 10px;
  background: #f0f0f0;
  border-radius: 5px;
  min-width: 120px;
}
.network-stat-value {
  font-size: 18px;
  font-weight: bold;
  color: #37a2da;
}
.network-stat-label {
  font-size: 12px;
  color: #666;
}

/*访问量统计图标样式*/

.visitcount-container {
  max-width: 1200px;
  margin: 0 auto;
}


#stats-container {

  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.stat-card {
  background: white;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

#total-views {
  min-width: 250px;
  text-align: center;
}

.stat-title {
  font-size: 1.2rem;
  color: #7f8c8d;
  margin-bottom: 15px;
}

.stat-value {
  font-size: 2.8rem;
  font-weight: bold;
  color: #2c3e50;
}

#daily-chart {
  width: 700px;
  height: 450px;
}

.last-updated {
  text-align: center;
  margin-top: 20px;
  color: #95a5a6;
  font-size: 0.9rem;
}

@media (max-width: 768px) {
  #stats-container {
    flex-direction: column;
    align-items: center;
  }

  #daily-chart {
    width: 100%;
    height: 350px;
  }
}

/*系统统计看板图表样式*/

.statistics-chart-container {
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  margin-bottom: 8px;
  padding: 15px;
}
.statistics-chart-header{
  display: flex;
  justify-content: space-between;
}

.statistics-chart-update-time-container{
  color: #a9aeb8;
  font-size: 12px;
  line-height: 28px;
}
.statistics-chart-title {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 15px;
  padding-left: 10px;
  border-left: 4px solid #5470c6;
}
.statistics-chart {
  width: 100%;
  height: 400px;
}
@media (min-width: 768px) {
  .statistics-chart-grid {
    display: grid;
    gap: 20px;
  }

}

@media (min-width: 1199px) and (max-width: 1599px) {
  .statistics-chart-grid { grid-template-columns: repeat(2, 1fr); }
}
/* 1400px+: 3列 */
@media (min-width: 1600px) {
  .statistics-chart-grid { grid-template-columns: repeat(3, 1fr); }
}





/*驾驶员评价看板图表样式*/

.driverreview-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 20px;
}


.driverreview-charts-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 40px;
}

.driverreview-chart-wrapper {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  padding: 20px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  transition: all 0.3s ease;
}

.driverreview-chart-wrapper:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.driverreview-chart-title {
  font-size: 1.5rem;
  margin-bottom: 15px;
  text-align: center;
  color: #ffcc00;
  font-weight: 600;
}

.driverreview-chart {
  width: 100%;
  height: 350px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.2rem;
  color: #ccc;
}

/* 768px以下 - 每个图表占一行 */
@media (max-width: 767px) {
  .driverreview-chart-wrapper {
    flex: 1 1 100%;
  }

  .driverreview-chart {
    height: 300px;
  }
}

/* 768px到1199px - 每个图表占一行 */
@media (min-width: 768px) and (max-width: 1199px) {
  .driverreview-chart-wrapper {
    flex: 1 1 100%;
  }

  .driverreview-chart {
    height: 350px;
  }
}

/* 1200px以上 - 前两个图表在一行，最后一个占一行 */
@media (min-width: 1200px) {
  .driverreview-chart-wrapper {
    flex: 1 1 calc(50% - 10px);
  }

  .driverreview-chart-wrapper:last-child {
    flex: 1 1 100%;
  }
}
