/* ==========================================================================
   Lander Form Styles
   Scoped under .lander-* to avoid conflicts with existing theme CSS.
   Uses theme CSS variables from style.css (--tl2-blue, --tl2-blue-hover, etc.)
   ========================================================================== */

.lander-form-wrapper {
  width: 100%;
  box-sizing: border-box;
}

/* Header */
.lander-form-header {
  text-align: center;
  margin-bottom: 32px;
}

.lander-form-heading {
  font-family: "Mulish", sans-serif;
  font-weight: 700;
  font-size: 24px;
  color: var(--black);
}

.lander-form-subheading {
  font-family: "Mulish", sans-serif;
  font-size: 18px;
  color: var(--grey-safe-on-white);
}

/* Progress Bar */
.lander-progress-bar {
  height: 18px;
  background-color: var(--grey-light-accent);
  border: 1px solid #cacaca;
  position: relative;
  margin-bottom: 8px;
}

#pgLine {
  display: block;
  width: 10%;
  height: 100%;
  background-color: var(--tl2-blue-hover);
  color: var(--white);
  font-family: "Mulish", sans-serif;
  font-style: italic;
  font-weight: 400;
  font-size: 12px;
  text-align: right;
  padding-right: 3px;
  transition: width 0.5s ease;
  line-height: 16px;
}

/* Quote Form Container */
.lander-quote-form {
  padding: 30px 20px;
  background: var(--white);
}

.lander-quote-form form {
  position: relative;
  overflow: hidden;
}

.lander-quote-form h2 {
  color: var(--black);
  font-family: "Mulish", sans-serif;
  font-weight: 700;
  font-size: 24px;
  margin: 15px 0 20px;
  text-align: center;
}

/* Steps */
.lander-step {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.lander-step.active {
  position: relative;
  z-index: 2;
  opacity: 1;
  pointer-events: auto;
}

/* Icon Choices (Yes/No) */
.lander-icon-container {
  text-align: center;
  padding: 0;
}

.lander-choices {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 20px 0;
}

.lander-choice-item {
  display: inline-block;
  padding: 10px 20px 20px;
  text-align: center;
  cursor: pointer;
}

.lander-choice-icon {
  background: var(--grey-light-accent);
  height: 180px;
  width: 180px;
  border-radius: 100%;
  margin: 0 auto;
  border: 1px solid #cacaca;
  transition: box-shadow 0.3s, transform 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lander-choice-icon img {
  height: 110px;
  width: 110px;
}

.lander-choice-item h3 {
  margin: 6px 0 0;
  padding: 0;
}

.lander-choice-item h3 span {
  color: var(--tl2-blue-hover);
  font-family: "Mulish", sans-serif;
  font-weight: 700;
  font-size: 14px;
  text-decoration: underline;
  transition: color 0.2s ease;
}

.lander-choice-item:hover .lander-choice-icon {
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.35);
}

.lander-choice-item:hover h3 span {
  color: var(--tl2-blue);
}

/* Form Fields */
.lander-field-group {
  position: relative;
  margin-bottom: 1.5rem;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

.lander-input,
.lander-select,
.lander-textarea {
  width: 100%;
  font-size: 18px;
  padding: 10px 14px;
  border: 1px solid #cdcdcd;
  border-radius: 4px;
  color: var(--black);
  font-weight: 600;
  box-sizing: border-box;
  font-family: "Mulish", sans-serif;
}

.lander-textarea {
  min-height: 100px;
  resize: vertical;
}

.lander-input:focus,
.lander-select:focus,
.lander-textarea:focus {
  outline: none;
  border-color: var(--tl2-blue-hover);
  box-shadow: 0 0 0 2px rgba(0, 123, 194, 0.2);
}

/* Error Messages */
.lander-error {
  color: #dc3545;
  font-size: 13px;
  margin-top: 4px;
  min-height: 18px;
}

/* Continue / Submit Buttons — matches theme .primary-button / .contact-us .btn */
.lander-continue {
  display: block;
  min-width: 240px;
  margin: 10px auto 30px;
  padding: 12px 40px;
  background-color: var(--tl2-blue-hover);
  color: var(--white);
  border: none;
  border-radius: 4px;
  font-family: "Mulish", sans-serif;
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.2s ease-out, box-shadow 0.2s ease-out;
}

.lander-continue:hover {
  background-color: var(--tl2-blue);
  box-shadow: inset 0 3.5em 0 0 var(--tl2-blue);
}

.lander-continue:disabled {
  background-color: #ccc;
  cursor: not-allowed;
  box-shadow: none;
}

/* TCPA */
.lander-tcpa {
  margin: 20px auto 0;
  padding: 0 10px;
  max-width: 500px;
}

.lander-tcpa-text {
  font-size: 12px;
  color: var(--grey-safe-on-white);
  line-height: 1.4;
}

.lander-tcpa-text a {
  color: var(--tl2-blue-hover);
  text-decoration: underline;
}

/* Sub Form (below form) */
.lander-sub-form {
  margin: 20px 0 30px;
  text-align: center;
}

.lander-sub-form p {
  font-family: "Mulish", sans-serif;
  font-weight: 700;
  font-size: 18px;
}

.lander-sub-form a {
  color: var(--tl2-blue-hover);
  text-decoration: underline;
  font-weight: 700;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 550px) {
  .lander-choice-icon {
    height: 130px;
    width: 130px;
  }

  .lander-choice-icon img {
    height: 80px;
    width: 80px;
  }
}

@media (max-width: 450px) {
  .lander-form-wrapper {
    padding: 30px 10px;
  }

  .lander-quote-form {
    padding: 20px 10px;
  }

  .lander-choice-icon {
    height: 120px;
    width: 120px;
  }

  .lander-choice-icon img {
    height: 80px;
    width: 80px;
  }

  .lander-choices {
    gap: 10px;
  }
}

@media (max-width: 370px) {
  .lander-choice-icon {
    height: 110px;
    width: 110px;
  }

  .lander-choice-icon img {
    height: 70px;
    width: 70px;
  }
}
