/* ── Width fix ────────────────────────────────────────────────────── */

.its-contact {
  max-width: 100% !important;
  width: 100% !important;
}

/* ── Page visibility ──────────────────────────────────────────────── */

.its-contact .cf-page {
  display: none;
}

.its-contact .cf-page.active {
  display: block;
}

/* ── tel input (not in ContactStyle.css) ─────────────────────────── */

.its-contact .cf-table input[type="tel"] {
  width: 100%;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  color: #1a2e45;
  background: #f4f7fa;
  border: 1px solid #c8d4e0;
  border-radius: 3px;
  padding: 8px 10px;
  outline: none;
  transition: border-color 0.18s, background 0.18s;
}

.its-contact .cf-table input[type="tel"]:focus {
  border-color: #2e5f8a;
  background: #ffffff;
}

.its-contact .cf-table input[type="tel"]::placeholder {
  color: #555555;
}

/* ── Placeholder colour for all other fields ─────────────────────── */

.its-contact .cf-table input::placeholder,
.its-contact .cf-table textarea::placeholder,
.its-contact .cf-captcha-answer::placeholder {
  color: #555555;
}

/* ── Challenges textarea colours ─────────────────────────────────── */

#cf-challenges {
  background-color: #f4f7fa;
  color: #1a2e45;
}

/* ── Progress steps ───────────────────────────────────────────────── */

.its-contact .cf-progress {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 0 24px 0;
  padding: 0;
  gap: 0;
}

.its-contact .cf-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  min-width: 80px;
}

.its-contact .cf-step-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid #666;
  color: #666;
  font-weight: bold;
  font-size: 0.85rem;
  background: transparent;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.its-contact .cf-step-label {
  font-size: 0.72rem;
  color: #888;
  text-align: center;
  transition: color 0.2s;
  white-space: nowrap;
}

.its-contact .cf-step.active .cf-step-num {
  border-color: #ff9601;
  color: #ff9601;
}

.its-contact .cf-step.active .cf-step-label {
  color: #ff9601;
}

.its-contact .cf-step.complete .cf-step-num {
  border-color: #00a8f3;
  background: #00a8f3;
  color: #fff;
}

.its-contact .cf-step.complete .cf-step-label {
  color: #00a8f3;
}

.its-contact .cf-step-connector {
  flex: 1;
  height: 2px;
  background: #444;
  margin-bottom: 22px;
  min-width: 30px;
  max-width: 60px;
}

/* ── Navigation row ───────────────────────────────────────────────── */

.its-contact .cf-nav-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.its-contact .cf-required-note {
  font-size: 12px;
  color: #8a9bb0;
  font-style: italic;
}

/* ── Responsive ───────────────────────────────────────────────────── */

@media (max-width: 480px) {
  .its-contact .cf-step-label {
    display: none;
  }

  .its-contact .cf-step {
    min-width: 40px;
  }

  .its-contact .cf-nav-row {
    flex-direction: column;
    align-items: center;
  }
}
