body {
  margin: 0;
  font-family: 'PingFang SC', 'Microsoft YaHei', Arial, sans-serif;
  background: #f5f6fa;
  color: #222;
}

.container {
  max-width: 1200px;
  margin: 32px auto;
  padding: 24px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.page-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 24px;
  letter-spacing: 2px;
}

.stats-grid {
  display: flex;
  gap: 24px;
  margin-bottom: 32px;
}

.stat-card {
  flex: 1;
  background: #f8fafc;
  border-radius: 10px;
  display: flex;
  align-items: center;
  padding: 20px 24px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
  min-width: 0;
}

.stat-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  margin-right: 18px;
  font-size: 24px;
}
.assets-icon {
  background: #e6f7ec;
  color: #1abc9c;
}
.downtime-icon {
  background: #fff7e6;
  color: #faad14;
}
.maintenance-icon {
  background: #fbeee6;
  color: #fa541c;
}
.upkeep-icon {
  background: #f6f7ff;
  color: #2f54eb;
}

.stat-content {
  flex: 1;
}
.stat-label {
  font-size: 15px;
  color: #888;
  margin-bottom: 6px;
}
.stat-value {
  font-size: 28px;
  font-weight: 600;
  color: #222;
}

.main-content {
  display: flex;
  gap: 24px;
}
.section {
  flex: 1;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
  padding: 20px 18px 18px 18px;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.section-header h2 {
  font-size: 18px;
  font-weight: 600;
  margin: 0;
}
.more-link {
  font-size: 14px;
  color: #36cfc9;
  text-decoration: none;
  transition: color 0.2s;
}
.more-link:hover {
  color: #1890ff;
}

.table-container {
  overflow-x: auto;
}
.data-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
}
.data-table th, .data-table td {
  padding: 10px 8px;
  text-align: left;
  font-size: 15px;
}
.data-table th {
  background: #f5f6fa;
  color: #888;
  font-weight: 500;
}
.data-table tbody tr {
  border-bottom: 1px solid #f0f0f0;
}
.data-table tbody tr:last-child {
  border-bottom: none;
}

.status-badge {
  display: inline-block;
  padding: 2px 12px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 500;
  color: #fff;
}
.status-maintenance {
  background: #faad14;
}
.status-waiting {
  background: #ff7875;
}

.message-list {
  max-height: 420px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.message-item {
  display: flex;
  align-items: flex-start;
  background: #f8fafc;
  border-radius: 8px;
  padding: 10px 12px;
  gap: 10px;
}
.message-icon {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  font-size: 16px;
}
.message-maintenance {
  background: #fff7e6;
  color: #faad14;
}
.message-test {
  background: #e6f7ec;
  color: #1abc9c;
}
.message-permission {
  background: #fbeee6;
  color: #fa541c;
}
.message-document {
  background: #f6f7ff;
  color: #2f54eb;
}
.message-content {
  flex: 1;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}
.message-title {
  font-size: 15px;
  color: #222;
  font-weight: 500;
}
.message-time {
  font-size: 13px;
  color: #888;
  margin-left: 16px;
  white-space: nowrap;
}

@media (max-width: 900px) {
  .main-content {
    flex-direction: column;
    gap: 18px;
  }
  .stats-grid {
    flex-direction: column;
    gap: 18px;
  }
  .container {
    padding: 10px;
  }
} 