.greensites-traffic-card {
  background-color: #f4fdf8;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
  border-radius: 12px;
  padding: 14px;
  width: 400px;
  height: 250px;
  color: #1e1e1e;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-grow: 1;
}

.greensites-traffic-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}

.greensites-traffic-card-header h2 {
  font-size: 18px;
  font-weight: 600;
  margin: 0;
}

.greensites-traffic-card-badge {
  font-size: 12px;
  font-weight: 500;
  background-color: #e1f3e7;
  color: #128c4a;
  padding: 2px 10px;
  border-radius: 6px;
}

.greensites-traffic-card-section {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

.greensites-traffic-card-section span {
  color: #7a9c7d;
  font-size: 12px;
  margin-bottom: 6px;
}

.greensites-traffic-card-slider {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.greensites-traffic-card-slider input[type="range"] {
  flex: 1;
  margin-right: 10px;
  accent-color: #31b573;
  color: #31b573;
}

.greensites-traffic-card-slider span {
  font-size: 14px;
  color: #333;
  white-space: nowrap;
}

.greensites-traffic-card-details-row {
  display: flex;
  justify-content: space-between;
  margin: 16px 0;
  font-size: 14px;
  color: #444;
}

.greensites-traffic-card-details-row strong {
  font-weight: 600;
}

.greensites-traffic-card-form-group {
  text-align: center;
  margin-top: 10px;
}

.greensites-traffic-card-form-group label {
  font-size: 13px;
  display: block;
  font-weight: 500;
}

.greensites-traffic-card-offset-button {
  background-color: #3ebd6b;
  color: white;
  border: none;
  padding: 10px 10px;
  border-radius: 6px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.greensites-traffic-card-offset-button:hover {
  background-color: #28a066;
}

.greensites-traffic-card-content {
  background: #ffffff;
  border-radius: 12px;
  padding: 16px;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.05);
}
