/* =========================
   MULTI STEP LOGIC
========================= */

.form-step {
  display: none;
}

.form-step.active {
  display: flex;
  flex-direction: column;
  min-height: 600px;
}

/* =========================
   FORM LAYOUT
========================= */

.form-group {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  padding: 1rem;
}

@media (min-width: 64rem) {
  .form-group {
    flex-direction: row;
  }
}

.form-footer {
  padding: 1rem;
  display: flex;
  justify-content: space-between;
}

/* =========================
   TEXT INPUTS & TEXTAREA
========================= */

.form-group>label {
  display: block;
  width: 100%;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="date"],
input[type="number"],
textarea {
  width: 100%;
  padding: 0.6rem;
  margin-top: 0.3rem;
  background: #fff;
  border: 1px solid #ccc;
  font-family: inherit;
}

/* =========================
   SELECT
========================= */

select {
  width: 100%;
  padding: 0.6rem;
  margin-top: 0.3rem;
  background-color: #ffffff;
  color: #000000;
  border: 1px solid #ccc;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}

/* =========================
   CHECKBOXES & RADIOS
========================= */

input[type="checkbox"],
input[type="radio"] {
  width: auto;
  margin: 0;
  accent-color: var(--asave-yellow);
}

/* Checkbox wrapper */

.checkbox-group {
  margin: 1.5rem 0;
}

.checkbox {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
}

.checkbox input {
  flex-shrink: 0;
}

/* =========================
   RADIO GROUP
========================= */

.radio-wrapper {
  display: block;
}

.radio-group {
  border: none;
  padding: 0;
  margin: 0;
}

.radio-group legend {
  margin-bottom: 0.75rem;
  font-weight: 600;
}

.radio-group label {
  display: inline;
  margin: 0;
}

/* =========================
   FILE INPUT
========================= */

input[type="file"] {
  width: 100%;
}

input[type="file"]::file-selector-button {
  padding: 0.4rem 0.8rem;
  border: none;
  background: #000;
  color: #fff;
  cursor: pointer;
}

/* =========================
   BUTTONS
========================= */

.btn-next,
.btn-prev,
button[type="submit"] {
  background-color: var(--asave-yellow);
  color: var(--asave-black);
  border: none;
  padding: 0.75rem 1rem;
  text-transform: uppercase;
  font-size: 1.2rem;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.btn-next:hover,
.btn-prev:hover,
button[type="submit"]:hover {
  background-color: var(--asave-yellow-dark);
}

@media (min-width: 640px) {

  .btn-next,
  .btn-prev,
  button[type="submit"] {
    max-width: 200px;
    width: 100%;
  }
}

/* =========================
   UTILITIES
========================= */

.select-container {
  display: flex;
  gap: 2rem;
}

.hp {
  display: none;
}