.pz-form {
  background: #ffffff;
  border: 1px solid #e1e6ef;
  border-radius: 18px;
  padding: 22px;
  box-shadow: 0 12px 28px rgba(10, 61, 145, 0.08);
  font-family: "Manrope", "Avenir Next", sans-serif;
  color: #0c1b33;
}

.pz-form__eyebrow {
  display: inline-block;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
  color: #0a3d91;
  margin-bottom: 6px;
}

.pz-form__title {
  font-size: 1.4rem;
  margin-bottom: 8px;
}

.pz-form__sub {
  color: #2b3d57;
  margin-bottom: 16px;
}

.pz-form__progress {
  display: grid;
  gap: 6px;
  margin-bottom: 12px;
}

.pz-form__progress-bar {
  background: #eef2f7;
  border-radius: 999px;
  height: 6px;
  overflow: hidden;
}

.pz-form__progress-bar span {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, #0a3d91, #12a673);
  transition: width 0.3s ease;
}

body .pz-form .pz-step {
  display: none !important;
  flex-direction: column;
  gap: 12px;
  max-height: 0 !important;
  opacity: 0;
  overflow: hidden;
  pointer-events: none;
}

body .pz-form .pz-step.is-active {
  display: flex !important;
  max-height: none !important;
  opacity: 1;
  overflow: visible;
  pointer-events: auto;
}

.pz-step__hint {
  color: #6b7a93;
  font-size: 0.95rem;
}

.pz-form input[type="text"],
.pz-form input[type="tel"],
.pz-form input[type="date"] {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid #d8dee9;
  font-size: 1rem;
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 6px 16px rgba(10, 61, 145, 0.06);
}

.pz-input {
  padding-left: 44px;
  background-repeat: no-repeat;
  background-position: 14px center;
  background-size: 18px 18px;
}

.pz-input--pet {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%230a3d91' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M12 21c4 0 7-3 7-7 0-4-3-7-7-7S5 10 5 14c0 4 3 7 7 7Z'/><circle cx='7.5' cy='9.5' r='1.5'/><circle cx='16.5' cy='9.5' r='1.5'/><circle cx='9.5' cy='6' r='1.5'/><circle cx='14.5' cy='6' r='1.5'/></svg>");
}

.pz-input--breed {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%230a3d91' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M3 12l6-6 6 6 6-6'/><path d='M3 12v6h6'/><path d='M21 12v6h-6'/></svg>");
}

.pz-input--date {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%230a3d91' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><rect x='3' y='4' width='18' height='18' rx='2'/><path d='M16 2v4M8 2v4M3 10h18'/></svg>");
}

.pz-input--user {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%230a3d91' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><circle cx='12' cy='8' r='4'/><path d='M4 20c2-4 14-4 16 0'/></svg>");
}

.pz-input--zip {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%230a3d91' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M12 21s7-5 7-11a7 7 0 1 0-14 0c0 6 7 11 7 11Z'/><circle cx='12' cy='10' r='3'/></svg>");
}

.pz-input--phone {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%230a3d91' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M22 16.92V21a2 2 0 0 1-2.18 2A19.8 19.8 0 0 1 3 5.18 2 2 0 0 1 5 3h4.09a2 2 0 0 1 2 1.72c.12.86.3 1.7.54 2.5a2 2 0 0 1-.45 2.11L9.91 10.91a16 16 0 0 0 3.18 3.18l1.58-1.27a2 2 0 0 1 2.11-.45c.8.24 1.64.42 2.5.54a2 2 0 0 1 1.72 2.01Z'/></svg>");
}

.pz-input--code {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%230a3d91' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><rect x='3' y='11' width='18' height='10' rx='2'/><path d='M7 11V7a5 5 0 0 1 10 0v4'/></svg>");
}

.pz-form label {
  display: grid;
  gap: 6px;
  font-weight: 600;
  color: #0c1b33;
}

.pz-choice {
  display: grid;
  gap: 12px;
}

.pz-choice label {
  background: #f7f9fc;
  border: 1px solid #e1e6ef;
  border-radius: 14px;
  padding: 14px 16px;
  font-weight: 600;
  display: grid;
  grid-template-columns: 28px 1fr 20px;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.pz-choice input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.pz-choice .pz-choice__icon {
  width: 28px;
  height: 28px;
  border-radius: 10px;
  background: #e9f3ef;
  color: #0c1b33;
  display: grid;
  place-items: center;
  font-size: 16px;
  font-weight: 700;
}

.pz-choice .pz-choice__indicator {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid #c6d2e5;
  display: inline-block;
  position: relative;
}

.pz-choice input:checked + .pz-choice__icon {
  background: #e1f3ea;
  color: #0a3d91;
}

.pz-choice input:checked ~ .pz-choice__indicator {
  border-color: #0a3d91;
}

.pz-choice input:checked ~ .pz-choice__indicator::after {
  content: "";
  position: absolute;
  inset: 3px;
  background: #0a3d91;
  border-radius: 50%;
}

.pz-choice label:hover {
  border-color: rgba(10, 61, 145, 0.35);
  box-shadow: 0 10px 22px rgba(10, 61, 145, 0.08);
}

.pz-choice input:checked ~ span + .pz-choice__indicator {
  border-color: #0a3d91;
}

.pz-choice label.is-selected {
  background: #f0f6ff;
  border-color: rgba(10, 61, 145, 0.4);
  box-shadow: 0 12px 28px rgba(10, 61, 145, 0.12);
}

.pz-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 6px;
}

.pz-btn {
  background: linear-gradient(135deg, #0a3d91, #0d4ba8);
  color: #fff;
  border: none;
  border-radius: 12px;
  padding: 12px 18px;
  font-weight: 700;
  cursor: pointer;
}

.pz-btn--ghost {
  background: #eef2f7;
  color: #0c1b33;
}

.pz-link {
  margin-top: 6px;
  background: none;
  border: none;
  color: #0a3d91;
  font-weight: 700;
  cursor: pointer;
  text-align: left;
}

.pz-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
}

.pz-form .pz-check {
  display: flex;
  flex-direction: row;
  gap: 10px;
  align-items: flex-start;
  flex-wrap: nowrap;
  font-weight: 600;
  color: #2b3d57;
}

.pz-form .pz-check input[type='checkbox'] {
  order: 0;
  margin: 3px 0 0 0;
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  display: inline-block;
}

.pz-check__text {
  order: 1;
  flex: 1;
}

.pz-error {
  color: #b3261e;
  font-weight: 600;
}

.pz-step [data-error]:empty {
  display: none;
}

.pz-form input.is-invalid {
  border-color: #b3261e;
  box-shadow: 0 0 0 3px rgba(179, 38, 30, 0.15);
}

.pz-form input:focus {
  border-color: #0a3d91;
  box-shadow: 0 0 0 3px rgba(10, 61, 145, 0.12);
  outline: none;
}

.pz-form input::placeholder {
  color: #98a3b6;
}

.pz-phone {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 10px;
  align-items: center;
}

.pz-select {
  width: 72px;
  min-width: 72px;
  min-height: 48px;
  border-radius: 12px;
  border: 1px solid #d8dee9;
  background: #fff;
  padding: 10px 8px;
  font-weight: 600;
  font-size: 12px;
  color: #0c1b33;
  box-shadow: 0 6px 16px rgba(10, 61, 145, 0.06);
  text-align: center;
}

@media (max-width: 600px) {
  .pz-form {
    padding: 18px;
  }

  .pz-grid {
    grid-template-columns: 1fr;
  }

  .pz-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .pz-btn,
  .pz-btn--ghost {
    width: 100%;
  }

  .pz-phone {
    grid-template-columns: 72px 1fr;
  }
}
