:root {
  --enerix-green: #0d7c3d;
  --enerix-yellow: #ffe990;
  --text-dark: #333;
  --text-light: #666;
  --border: #e0e0e0;
}

body {
  font-family: 'Segoe UI', sans-serif;
  background: transparent; 
  margin: 0;
  padding: 0;
  color: var(--text-dark);
}

.layout {
  background: #fff;
  padding: 40px 20px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
  max-width: 800px;
  margin: auto;
  min-height: 100%;
  box-sizing: border-box;
}

h2 {
  color: var(--enerix-green);
  font-size: 1.8rem;
  margin-bottom: 28px;
  text-align: center;
}

.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
}

.form-group label {
  font-weight: 500;
  margin-bottom: 6px;
  font-size: 1rem;
}

.form-group select {
  padding: 10px 14px;
  font-size: 1rem;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: #fff;
  transition: border-color 0.3s ease;
}

.form-group select:focus {
  outline: none;
  border-color: var(--enerix-green);
}

button {
  background-color: var(--enerix-green);
  color: white;
  padding: 14px 24px;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.2s ease;
  width: 100%;
  margin-top: 10px;
}

button:hover {
  background-color: #0a5f30;
}

.chart-container {
  margin-top: 40px;
}

.chart-title {
  font-size: 20px;
  font-weight: bold;
  color: var(--enerix-green);
  margin-bottom: 20px;
  text-align: center;
}

.total-bar {
  background: #444;
  color: #fff;
  text-align: center;
  padding: 12px;
  font-size: 18px;
  font-weight: bold;
  border-radius: 8px;
  margin-bottom: 25px;
}

.saving-row {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
  gap: 15px;
}

.saving-row .label {
  flex: 0 0 220px;
  font-size: 14px;
}

.saving-row .bar-container {
  flex: 1;
  height: 22px;
  background: #f0f0f0;
  border-radius: 11px;
  overflow: hidden;
}

.saving-row .bar {
  height: 100%;
  border-radius: 11px;
  transition: width 0.6s ease;
}

.saving-row .value {
  flex: 0 0 80px;
  text-align: right;
  font-weight: 600;
}

.bar-green { background: #c9df90; }
.bar-darkgreen { background: #0d7c3d; }
.bar-yellow { background: #ffe600; }
.bar-grey { background: #e0e0e0; }

#explanation {
  font-size: 12px;
  color: #666;
  margin-top: 20px;
  line-height: 1.4;
}
