body {
  font-family: Arial, sans-serif;
  background: #fff;
  margin: 0;
  display: flex;
  justify-content: center;
  padding: 20px;
}

.emi-container {
  background: #fff;
  padding: 20px;
  border-radius: 8px;
	box-shadow: 0 4px 12px rgb(0 0 0 / 50%);
  max-width: 1100px;
  width: 100%;
}

.title {
  font-size: 22px;
  margin-bottom: 15px;
  border-bottom: 1px solid #ddd;
  padding-bottom: 8px;
  color: #2a2a2a;
}

.emi-content {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
}

.form-section {
  flex: 1;
  min-width: 320px;
}

.input-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 5px;
}

.input-row label {
  font-weight: bold;
  color: #333;
  font-size: 14px;
}

.input-row input[type="number"] {
  width: 150px;
  padding: 6px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

input[type="range"] {
  width: 100%;
  margin-bottom: 12px;
}

.btn-group {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

button {
  background: #666;
  color: #fff;
  padding: 10px 20px;
  border: none;
  border-radius: 4px;
  font-size: 15px;
  cursor: pointer;
}

button:hover {
  background: #444;
}

.clear-btn {
  background: #b71c1c;
}

.clear-btn:hover {
  background: #7f0000;
}

.chart-section {
  flex: 1;
  min-width: 280px;
  text-align: center;
}

.chart-section canvas {
  max-width: 220px;
  margin: auto;
}

.chart-section h3 {
  margin: 10px 0 5px;
  font-size: 18px;
}

.chart-section .note {
  font-size: 12px;
  color: #666;
}

.results {
  display: flex;
  margin-top: 25px;
  gap: 15px;
}

.result-box {
  flex: 1;
  padding: 15px;
  border-radius: 6px;
  text-align: center;
  color: #fff;
}

.result-box h4 {
  margin-bottom: 8px;
  font-size: 14px;
}

.result-box p {
  font-size: 18px;
  font-weight: bold;
}

/* Three shades of blue */
.box1 { background: #039be5; }
.box2 { background: #039be5; }
.box3 { background: #039be5; }

.box1 h4 { color: #fff; }
.box2 h4 { color: #fff; }
.box3 h4 { color: #fff; }
