.form-header {
  text-align: center;
  margin-bottom: 2rem;
  padding: 0 1rem;
  padding-top: 2rem;
}

.form-header h3 {
  font-size: 1.75rem;
  font-weight: bold;
  color: #000;
  margin-bottom: 0.5rem;
}

.form-header h4 {
  font-size: 1.25rem;
  color: #5cb85c;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.form-header p {
  font-size: 1rem;
  color: #444;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
}


.business-loan-form {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.form-container {
  background: #ffffff;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  max-width: 900px;
  width: 90%;
  margin: 2rem auto;
}

form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

form label {
  font-weight: 600;
  color: #333;
}

form input[type="number"],
form input[type="email"],
form input[type="tel"],
form input[type="text"],
form select {
  padding: 0.75rem;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 1rem;
  width: 100%;
}

form input[type="number"]:focus,
form input[type="email"]:focus,
form input[type="tel"]:focus,
form input[type="text"]:focus,
form select:focus {
  border-color: #5cb85c;
  outline: none;
  box-shadow: 0 0 0 2px rgba(92, 184, 92, 0.2);
}

form button[type="submit"] {
  background-color: #5cb85c;
  color: white;
  padding: 1rem;
  font-weight: bold;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

form button[type="submit"]:hover {
  background-color: #4cae4c;
}

form input[type="checkbox"] {
  margin-right: 0.5rem;
  transform: scale(1.2);
}

.checkbox-wrapper {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  line-height: 1.4;
  margin-top: 1rem;
}

.checkbox-wrapper input[type="checkbox"] {
  margin-top: 0.2rem; /* slight vertical alignment adjustment */
  transform: scale(1.2);
  flex-shrink: 0; /* prevents checkbox from shrinking */
}

.checkbox-wrapper label {
  font-size: 0.95rem;
  color: #333;
}

.error-message {
  color: red;
  font-size: 0.875rem; /* smaller than base text */
  margin-top: 4px;
}
input.invalid {
  border-color: red;
}
