@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;700&display=swap');

* {
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  color: #333;
  letter-spacing: 0.5px;
  font-variation-settings: "wdth" 500;
}

body {
  margin: 0;
  padding: 0;
  background-color: #f4f4f9;
}

form {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto; /* Ensure it's centered */
  padding: 2rem;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  box-sizing: border-box; /* This ensures padding is included in the element's width */
}

h2, .form-header {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  font-weight: bold;
  display: block;
  margin-bottom: 0.5rem;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
input[type="date"],
textarea {
  width: 100%;
  padding: 10px;
  border-radius: 5px;
  border: 1px solid #ddd;
  box-sizing: border-box; /* Ensure padding doesn't increase the width */
}

input[type="radio"] {
  margin-right: 0.5rem;
}

.radio-group label {
  margin-right: 1rem;
}

textarea {
  resize: vertical;
}

.form-buttons {
  display: flex;
  justify-content: space-between;
  margin-top: 1rem;
}

button {
  padding: 10px 20px;
  background-color: #008CBA;
  border: none;
  border-radius: 5px;
  color: white;
  cursor: pointer;
}

button:hover {
  background-color: #005f74;
}

button:disabled {
  background-color: #b0bec5;
  cursor: not-allowed;
}

.form-step {
  display: none;
}

.form-step-active {
  display: block;
}

.step {
  display: inline-block;
  margin-right: 1rem;
  padding: 10px;
  background-color: #ddd;
  border-radius: 5px;
}

.step.active {
  background-color: #008CBA;
  color: white;
}

/* Styling for step indicator container */
.form-steps-indicator {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.step {
  font-size: 1rem;
  margin: 5px;
  padding: 10px;
  text-align: center;
}

/* Note for 'Yes' options */
.note-if-yes {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: #007700;
  background-color: #e5f8e5;
  padding: 5px;
  border-radius: 5px;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
  .form-buttons {
    flex-direction: column;
    align-items: center;
  }

  button {
    width: 100%;
    margin-bottom: 10px;
  }

  .form-step {
    padding: 1rem;
  }

  .form-steps-indicator {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 20px;
  }

  .step {
    font-size: 0.9rem;
    margin: 5px;
  }

  .show_big_screen {
    padding: 0 10px;
  }

  .input-container label {
    display: block;
    margin-top: 1rem;
  }

  input[type="text"], input[type="email"], input[type="tel"], input[type="number"], input[type="date"], textarea {
    font-size: 1rem;
    padding: 8px;
  }
}

@media screen and (max-width: 480px) {
  h2 {
    font-size: 1.25rem;
  }

  .form-group {
    margin-bottom: 1rem;
  }

  input, button {
    font-size: 0.9rem;
  }

  .form-header {
    font-size: 1.2rem;
  }

  .radio-group label {
    margin-right: 0.5rem;
  }

  .step {
    font-size: 0.8rem;
    padding: 8px;
  }

  .note-if-yes {
    font-size: 0.8rem;
  }
}

