/* General Form Container */

.iti {
  width: 100%;
}

.form-container {
  padding: 5%;
  color: #fff;
  border-radius: 8px;
  box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
  border: 1px solid var(--primary-blue-color);
  border-radius: 4px;
}

.form-container h1 {
  text-align: center;
  margin-bottom: 3%;
  color: var(--primary-blue-color);
}

/* Personal Info Grid */
.personal-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.form-group {
  position: relative;
}

.input-wrapper {
  position: relative;
}

.input-wrapper input[type="text"],
.input-wrapper input[type="email"],
.input-wrapper input[type="tel"] {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
  box-sizing: border-box;
  background-color: #fff;
  color: #000;
}

.input-wrapper label i {
  font-size: 22px;
  color: var(--primary-blue-color);
}

.input-wrapper label {
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  color: #aaa;
}

/* Health Questions Section */
.question-container-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.question-item {
  background: #fff;
  padding: 15px;
  border-radius: 6px;
  /*box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);*/
  border: 1px solid #ddd;
}

.question-item label {
  font-weight: bold;
  display: block;
  margin-bottom: 10px;
  color: #54595f;
}

.radio-group {
  display: flex;
  align-items: center;
  gap: 15px;
}

.radio-group input[type="radio"] {
  margin-right: 5px;
}

.radio-group label {
  margin: 0;
  color: #54595f;
}

/* Responsive Design */
@media (max-width: 768px) {
  .personal-info-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 480px) {
  .personal-info-grid {
    grid-template-columns: 1fr;
  }

  .question-container-grid {
    grid-template-columns: 1fr;
  }

  .form-container {
    padding: 3%;
  }
}

/* Checkbox design */

.checkbox-wrapper-36 *,
.checkbox-wrapper-36 *::before,
.checkbox-wrapper-36 *::after {
  box-sizing: border-box;
}

.checkbox-wrapper-36 label {
  background: white;
  border-radius: 12px;
  box-shadow: 0px 50px 20px 0 rgba(0, 0, 0, 0.1);
  display: flex;
  height: 50px;
  padding: 8px;
  position: relative;
  transition: transform 300ms ease, box-shadow 300ms ease;
  width: 116px;
}

.checkbox-wrapper-36 input {
  display: none;
}

.checkbox-wrapper-36 label:after {
  animation: move-left-36 400ms;
  background: #e2e2e2
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='27' height='27' viewBox='0 0 24 24'%3E%3Cpath stroke='#E2E2E2' fill='#E2E2E2' stroke-linecap='round' d='M20.285 2l-11.285 11.567-5.286-5.011-3.714 3.716 9 8.728 15-15.285z'/%3E%3C/svg%3E")
    no-repeat center;
  border-radius: 12px;
  content: "";
  left: 8px;
  outline: none;
  position: absolute;
  transition: background 100ms linear;
  width: 36px;
  height: 36px;
  left: 8px;
  top: 7px;
}

.checkbox-wrapper-36 label:active {
  box-shadow: 0px 10px 20px 0 rgba(0, 0, 0, 0.2);
  transform: scale(1.15);
}

.checkbox-wrapper-36 input:checked + label:after {
  animation: move-right-36 400ms;
  background: #6eb54e
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='27' height='27' viewBox='0 0 24 24'%3E%3Cpath stroke='white' fill='white' stroke-linecap='round' d='M20.285 2l-11.285 11.567-5.286-5.011-3.714 3.716 9 8.728 15-15.285z'/%3E%3C/svg%3E")
    no-repeat center;
  left: 72px;
}

@keyframes move-right-36 {
  0% {
    left: 8px;
  }

  75% {
    left: 78px;
  }

  100% {
    left: 72px;
  }
}

@keyframes move-left-36 {
  0% {
    left: 72px;
  }

  75% {
    left: 2px;
  }

  100% {
    left: 8px;
  }
}
