/* Body styles */
body {
  margin: 0;
  font-family: Arial, sans-serif;
  font-size: 16px;
}

/* Container styles */
.container {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
}

/* Header styles */
h1 {
  margin-top: 0;
  font-size: 36px;
  font-weight: bold;
  text-align: center;
}

/* Form styles */
.form-container {
  border: 1px solid #ccc;
  padding: 20px;
  margin-bottom: 20px;  
  overflow: hidden; /* Add overflow property */
}

.form-group {
  margin-bottom: 10px;
}

label {
  display: block;
  font-weight: bold;
  margin-bottom: 5px;
}

input[type="number"],
input[type="text"] {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  width: calc(100% - 22px); /* Adjust width to account for padding and border */
  box-sizing: border-box; /* Include padding and border in the width calculation */
}

button[type="submit"],
button[type="button"] {
  padding: 10px;
  background-color: #4CAF50;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  margin-right: 10px;
  margin-bottom: 20px;
  margin-top: 10px;
}

button[type="submit"]:hover,
button[type="button"]:hover {
  background-color: #3e8e41;
}
.form-explanation {
  font-size: 15px; /* Adjust the font size as needed */
  font-style: italic;
}
.separator {
  height: 1px; /* Set the height of the separator */
  background-color: transparent; /* Set the background color to transparent */
  border-top: 1px dashed #ccc; /* Add a dashed border on the top */
  margin: 20px 0; /* Add margin to separate the forms */
}


/* Results styles */
.results {
  font-weight: bold;
  margin-top: 20px;
}

.results label {
  display: inline-block;
  width: 200px;
}

/* Styling for the form headings */
.form-heading {
  cursor: pointer;
  font-weight: bold;
  margin-top: 1em;
}

/* Styling for the form containers */
.form-container {
  border: 1px solid #ccc;
  margin-top: 1em;
  padding: 1em;
}

/* Hide all form containers by default */
.form-container {
  display: block;
}

/* Show the active form container */
.form-container.active {
  display: none;
}

.form-toggle-button {
  float: right;
  margin-top: 1px;
}

/* Footer styles */
footer {
  background-color: #f2f2f2; /* Light gray background */
  padding: 20px 0; /* Add padding to top and bottom */
  text-align: center; /* Center-align text */
}

footer p {
  margin: 0; /* Remove default margin */
}

footer a {
  color: #333; /* Dark gray text color for the link */
  text-decoration: none; /* Remove underline */
}

footer a:hover {
  text-decoration: underline; /* Add underline on hover */
}

quick-links {
  margin-bottom: 20px;
}

.quick-links ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

.quick-links ul li {
  display: inline;
  margin-right: 20px;
}

.quick-links ul li:last-child {
  margin-right: 0;
}
