* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background: #0b1c2d;
  color: #f5f2eb;
}

/* HEADER */
.sim-header {
  text-align: center;
  padding: 70px 20px;
  background: #0b1f33;
}

.sim-header h1 {
  margin-bottom: 10px;
}

.sim-header p {
  opacity: 0.85;
}

/* PAGE */
.sim-page {
  padding-bottom: 80px;
}

/* CONTAINER */
.sim-container {
  max-width: 1000px;
  margin: 40px auto;
  padding: 0 20px;
}

/* CONTROLS */
.sim-controls {
  margin-top: -30px;
}

.control-block label {
  font-weight: 600;
}

.crop-select-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
}

select,
input {
  width: 100%;
  padding: 10px;
  border-radius: 6px;
  border: none;
  background: #f5f2eb;
  color: #0b1c2d;
}

.helper-text {
  font-size: 12px;
  opacity: 0.8;
}

/* BADGE */
.badge-focus {
  display: none;
  background: #b87333;
  color: white;
  padding: 6px 12px;
  border-radius: 14px;
  font-size: 12px;
  font-weight: 600;
}

/* SECTIONS */
.sim-section {
  background: #112a42;
  padding: 24px;
  border-radius: 14px;
  margin-top: 30px;
}

.sim-section h3 {
  margin-top: 0;
  color: #e6d3a3;
}

.sim-section h4 {
  margin-top: 20px;
  color: #d6b36a;
}

/* ROWS */
.sim-row {
  display: grid;
  grid-template-columns: 30px 1fr 140px;
  gap: 12px;
  align-items: center;
  margin-top: 12px;
}

/* SUMMARY */
.sim-summary {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.sim-summary div {
  background: #ffffff;
  color: #0b1c2d;
  padding: 20px;
  border-radius: 12px;
  text-align: center;
  border-top: 4px solid #b87333;
}

.sim-summary h4 {
  margin-bottom: 8px;
}

.sim-item {
  display: grid;
  grid-template-columns: 30px 1fr 160px 120px;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.item-name {
  font-weight: 600;
}

.impact {
  display: block;
  font-size: 12px;
  color: #d6b36a;
}

.qty-control {
  display: flex;
  align-items: center;
  gap: 6px;
}

.qty-control input {
  width: 60px;
  text-align: center;
  background: #f5f2eb;
  color: #0b1c2d;
  border-radius: 6px;
  border: none;
  padding: 6px;
}

.qty-btn {
  background: #b87333;
  border: none;
  color: white;
  width: 32px;
  height: 32px;
  border-radius: 6px;
  cursor: pointer;
}

.qty-btn:hover {
  background: #a4632a;
}

.item-cost {
  font-weight: 600;
  text-align: right;
}

