* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: transparent;
  color: #151515;
}

.assessment-wrapper {
  width: 100%;
  padding: 25px 15px;
  display: flex;
  justify-content: center;
}

.assessment-card {
  width: 100%;
  max-width: 820px;
  background: #ffffff;
  padding: 35px;
}

.progress {
  height: 6px;
  background: #e9e9e9;
  border-radius: 10px;
  overflow: hidden;
}

.progress-bar {
  width: 16.66%;
  height: 100%;
  background: #368c06;
  transition: width .3s ease;
}

.step-counter {
  margin-top: 12px;
  font-size: 13px;
  color: #777;
}

.form-step {
  display: none;
  margin-top: 30px;
}

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

h1 {
  margin: 0 0 8px;
  font-size: 30px;
  line-height: 1.2;
}

h2 {
  margin-top: 0;
  font-size: 22px;
}

.subtitle {
  margin: 0 0 28px;
  color: #666;
}

label {
  display: block;
  font-weight: 600;
  margin: 18px 0 8px;
}

input,
select,
textarea {
  width: 100%;
  padding: 14px;
  border: 1px solid #d6d6d6;
  border-radius: 8px;
  font-size: 16px;
  background: #ffffff;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: #368c06;
  box-shadow: 0 0 0 3px rgba(54, 140, 6, .10);
}

.two-column {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.checkbox-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 15px;
}

.checkbox-grid label {
  margin: 0;
  padding: 15px;
  border: 1px solid #dddddd;
  border-radius: 8px;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
}

.checkbox-grid label:hover {
  border-color: #368c06;
}

.checkbox-grid input {
  width: auto;
  margin: 0 10px 0 0;
}

.button-row {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  margin-top: 35px;
}

button {
  border: none;
  border-radius: 8px;
  padding: 14px 24px;
  font-size: 16px;
  cursor: pointer;
}

.next-btn,
.submit-btn,
.schedule-btn {
  background: #368c06;
  color: #ffffff;
}

.next-btn {
  margin-top: 30px;
}

.button-row .next-btn,
.button-row .submit-btn {
  margin-top: 0;
}

.back-btn {
  background: #eeeeee;
  color: #222222;
}

.submit-btn {
  min-width: 210px;
}

.consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-top: 26px;
  font-weight: 400;
  line-height: 1.5;
}

.consent input {
  width: auto;
  margin-top: 5px;
  flex: 0 0 auto;
}

#formMessage {
  margin-top: 20px;
  font-weight: 600;
}

.field-error {
  min-height: 20px;
  color: #b42318;
  margin: 10px 0 0;
  font-size: 14px;
}

.success-step {
  text-align: center;
  padding: 35px 0;
}

.success-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  margin: 0 auto 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #368c06;
  color: #ffffff;
  font-size: 38px;
  font-weight: 700;
}

.success-text {
  color: #666;
  font-size: 17px;
  line-height: 1.6;
  margin: 8px auto;
  max-width: 560px;
}

.appointment-card {
  margin: 35px auto 0;
  max-width: 620px;
  border: 1px solid #e2e2e2;
  border-radius: 14px;
  padding: 28px;
  background: #fafafa;
}

.appointment-card p {
  color: #666;
  line-height: 1.6;
}

.schedule-btn {
  margin-top: 10px;
  min-width: 240px;
}

.optional-note {
  margin-bottom: 0 !important;
  font-size: 13px;
}

@media (max-width: 700px) {
  .assessment-card {
    padding: 25px 18px;
  }

  .two-column,
  .checkbox-grid {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: 25px;
  }

  .button-row {
    flex-direction: column-reverse;
  }

  .button-row button {
    width: 100%;
  }

  .schedule-btn {
    width: 100%;
    min-width: 0;
  }
}