/* ================
   Goals & Stats Layout
   ================ */

/* Flex container for both sections */
.stats-page {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 30px;
  padding: 20px;
}

/* Shared box styles */
.calculator-container,
.review-form-container {
  background-color: #fafafa;
  padding: 25px 30px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  width: 360px;
}

/* Headings */
h2 {
  text-align: center;
  margin-bottom: 15px;
  color: #222;
}

/* Inputs, selects, textarea */
input,
select,
textarea {
  width: 100%;
  padding: 8px;
  margin-top: 5px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
}

/* Buttons */
button {
  background-color: #28a745;
  color: white;
  border: none;
  padding: 10px;
  border-radius: 5px;
  cursor: pointer;
  font-weight: bold;
  margin-top: 10px;
  width: 100%;
}

button:hover {
  background-color: #218838;
}

/* Fieldsets */
fieldset {
  border: none;
  margin-top: 10px;
}

legend {
  font-weight: bold;
}

/* Responsive design */
@media (max-width: 800px) {
  .stats-page {
    flex-direction: column;
    align-items: center;
  }

  .calculator-container,
  .review-form-container {
    width: 90%;
    max-width: 400px;
  }
}

.stats-page {
  background: linear-gradient(to right, #f9f9f9 40%, #ffffff 60%);
  border-radius: 10px;
  padding: 40px;
}
