/* pages/warning/warning.wxss */
.warning-container {
  min-height: 100vh;
  background-color: #f5f5f5;
  padding-bottom: 100rpx;
}

/* 状态栏 */
.status-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20rpx 30rpx;
  background-color: #fff;
  border-bottom: 1rpx solid #eee;
}

.time {
  font-size: 32rpx;
  font-weight: 500;
  color: #333;
}

.status-icons {
  display: flex;
  align-items: center;
  gap: 20rpx;
}

.icon, .signal, .battery {
  font-size: 28rpx;
  color: #666;
}

/* 标题栏 */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 30rpx;
  background-color: #fff;
  border-bottom: 1rpx solid #eee;
}

.title {
  font-size: 36rpx;
  font-weight: 600;
  color: #333;
  flex: 1;
  text-align: center;
}

.header-icons {
  display: flex;
  align-items: center;
  gap: 20rpx;
}

.header-icon {
  font-size: 32rpx;
  color: #666;
  width: 60rpx;
  height: 60rpx;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #f5f5f5;
  border-radius: 30rpx;
}

/* 提示横幅 */
.banner {
  display: flex;
  align-items: center;
  margin: 20rpx 30rpx;
  padding: 20rpx;
  background-color: #fff3cd;
  border-radius: 8rpx;
  border-left: 6rpx solid #ffc107;
}

.banner-icon {
  font-size: 28rpx;
  margin-right: 15rpx;
}

.banner-text {
  font-size: 28rpx;
  color: #856404;
}

/* 今日预警 */
.today-warnings {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 30rpx;
  background-color: #fff;
  margin: 20rpx 30rpx 0;
  border-radius: 8rpx;
  box-shadow: 0 2rpx 8rpx rgba(0,0,0,0.1);
}

.section-title {
  font-size: 32rpx;
  font-weight: 500;
  color: #333;
}

.arrow {
  font-size: 32rpx;
  color: #999;
}

/* 养殖场列表 */
.farm-list {
  margin: 20rpx 30rpx;
}

.farm-item {
  background-color: #fff;
  margin-bottom: 20rpx;
  padding: 30rpx;
  border-radius: 8rpx;
  box-shadow: 0 2rpx 8rpx rgba(0,0,0,0.1);
}

.farm-name {
  font-size: 30rpx;
  font-weight: 500;
  color: #333;
  margin-bottom: 20rpx;
}

.warnings-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15rpx;
}

.warning-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20rpx 10rpx;
  border-radius: 8rpx;
  min-height: 120rpx;
  justify-content: center;
}

.warning-item.red {
  background-color: #ffebee;
  border: 2rpx solid #f44336;
}

.warning-item.green {
  background-color: #e8f5e8;
  border: 2rpx solid #4caf50;
}

.warning-item.blue {
  background-color: #e3f2fd;
  border: 2rpx solid #2196f3;
}

.warning-item.orange {
  background-color: #fff3e0;
  border: 2rpx solid #ff9800;
}

.warning-count {
  font-size: 36rpx;
  font-weight: 600;
  color: #333;
  margin-bottom: 8rpx;
}

.warning-label {
  font-size: 22rpx;
  color: #666;
  text-align: center;
  line-height: 1.2;
}