body {
  font-family: Arial, sans-serif;
  background: #FEF6E4; /* warm cream background */
  margin: 0;
  padding: 0;
  text-align: center;
}

/* Calculator card */
.calculator {
  max-width: 800px;
  margin: 2rem auto;
  background: #fff;
  padding: 20px;
  border: 1px solid #ddd;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  text-align: left;
}

/* Logo + Title inside card */
.header-box {
  text-align: center;
  margin-bottom: 1rem;
  border-bottom: 1px solid #eee;
  padding-bottom: 1rem;
}

.logo {
  max-width: 200px;
  display: block;
  margin: 0 auto 20px auto;
}

h1 {
  margin: 0;
}

/* Disclaimer styling */
.disclaimer {
  max-width: 600px;
  margin: 1rem auto;
  font-size: 13px;
  color: #666;
  text-align: center;
  font-style: italic;
}

/* Intro paragraph */
.calculator p {
  text-align: center;
}

/* Form labels and inputs */
label {
  display: block;
  margin: 10px 0 5px;
  font-weight: bold;
}

input {
  width: 100%;
  padding: 8px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

/* Button styling */
button {
  display: block;
  margin: 20px auto;   /* auto left/right centers it */
  background: #3498db;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  padding: 10px 20px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s ease;
}

button:hover {
  background: #3498db;
}

/* Result text */
.result {
  display: none; /* hidden by default */
  margin-top: 20px;
  font-size: 18px;
  font-weight: bold;
  color: #333;
  text-align: center;
}

/* Two-column layout */
.two-columns {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.two-columns div {
  width: 48%;
}

.two-columns h3 {
  text-align: center;
  margin-bottom: 10px;
}

/* Charts side by side */
.charts {
  display: none;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

.charts canvas {
  max-width: 300px;
  max-height: 250px;
  background: #fafafa;
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 10px;
}

/* Back link */
.back-link {
  margin: 2rem;
  text-align: center;
}

.back-link a {
  display: inline-block;
  padding: 10px 20px;
  background: #3498db;
  border: 1px solid #ddd;
  border-radius: 5px;
  text-decoration: none;
  color: #fff;
  font-weight: bold;
  transition: background 0.3s;
}

.back-link a:hover {
  background: #3498db;
}
