.pt-container {
  max-width: 650px;
  margin: 40px auto;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 12px #e5e5e5;
  padding: 25px 25px 22px 25px;
}

.pt-search-form {
  display: flex;
  gap: 13px;
  margin-bottom: 22px;
  align-items: center;
}

.pt-search-form input[type="text"], .pt-search-form input[type="date"] {
  font-size: 1.13em;
  padding: 11px 14px;
  border-radius: 6px;
  border: 1px solid #bae;
}

.pt-btn {
  background: #1976d2;
  color: #fff;
  padding: 11px 32px;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  font-size: 1.09em;
  cursor: pointer;
}

.pt-btn:hover {
  background: #135bb8;
}

#passport-result {
  margin-top: 17px;
}

.pt-stepper-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 22px;
  width: 100%;
}

.pt-stepper-hz {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow-x: auto;
  width: 100%;
  padding-bottom: 12px;
}

.pt-stepper-step {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 1px 8px #e8e8e8;
  min-width: 120px;
  min-height: 77px;
  padding: 13px 10px 11px 10px;
  text-align: center;
  position: relative;
  flex-shrink: 0;
}

.pt-step-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #eee;
  color: #bbb;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 7px auto;
  font-weight: 600;
  font-size: 18px;
  border: 2.5px solid #bbb;
}

.pt-step-label {
  font-size: 13px;
  font-weight: 600;
  color: #1976D2;
}

.pt-stepper-connector {
  width: 44px;
  height: 5px;
  background: #ccc;
  margin: 0 -7px;
  flex-shrink: 0;
}

.pt-stepper-step.active .pt-step-num {
  background: #E3F2FD;
  border-color: #1976D2;
  color: #1976D2;
}

.pt-stepper-step.active .pt-step-label {
  color: #1976D2;
}

.pt-stepper-step.completed .pt-step-num {
  background: #E8F5E9;
  border-color: #388e3c;
  color: #388e3c;
}

.pt-stepper-step.completed .pt-step-label {
  color: #168944;
}

.pt-stepper-step.completed + .pt-stepper-connector,
.pt-stepper-step.active + .pt-stepper-connector {
  background: #1976D2;
}

.pt-stepper-step.final .pt-step-num {
  background: #388e3c;
  border-color: #43a047;
  color: #fff;
}

.pt-details {
  margin-bottom: 18px;
}

.pt-search-again-btn {
  font-size: 1em;
  padding: 12px 40px;
  border-radius: 7px;
  background: #1976d2;
  color: #fff;
  border: none;
  font-weight: 600;
  margin-top: 22px;
  cursor: pointer;
}

.pt-search-again-btn:hover {
  background: #135bb8;
}

.pt-error {
  color: #b91c1c;
  font-weight: 600;
  margin-top: 10px;
}

.pt-loading {
  color: #1976d2;
}

/* ---------------- MOBILE RESPONSIVE FIX ----------------- */
@media (max-width: 700px) {
  .pt-container {
    padding: 10px 2vw 15px 2vw;
    max-width: 100%;
  }
  .pt-search-form {
    flex-direction: column;
    gap: 9px;
    align-items: stretch;
  }
  .pt-btn {
    width: 100%;
    padding-left: 0;
    padding-right: 0;
  }
  .pt-details {
    font-size: 1em;
  }
}

/* Stepper horizontal scroll for mobile, each step wider if screen small */
@media (max-width: 540px) {
  .pt-stepper-hz {
    overflow-x: auto;
    width: 100%;
    justify-content: flex-start;
  }
  .pt-stepper-step {
    min-width: 155px;
    font-size: 0.97em;
    padding-left: 6px;
    padding-right: 6px;
  }
  .pt-step-label {
    font-size: 12.2px;
  }
  .pt-stepper-connector {
    width: 30px;
    margin: 0 -4px;
  }
}
