@keyframes pg-spin {
  to {
    transform: rotate(360deg);
  }
}
.pg-form {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 22px 20px;
  font-family: "Poppins", sans-serif;
  color: #606060;
}
.pg-form__step {
  grid-column: 1/-1;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 22px 20px;
}
.pg-form__step[hidden] {
  display: none;
}
.pg-form__progress {
  grid-column: 1/-1;
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: #606060;
}
.pg-form__section {
  grid-column: span 12;
}
@media (max-width: 767px) {
  .pg-form__section {
    grid-column: 1/-1 !important;
  }
}
.pg-form__section.is-separated {
  margin-top: 12px;
  padding-top: 28px;
  border-top: 1px solid #e5e5e5;
}
.pg-form__section-title {
  margin: 0 0 6px;
  font-weight: 700;
  color: #606060;
  line-height: 1.2;
}
.pg-form__section--h2 .pg-form__section-title {
  font-size: 24px;
}
.pg-form__section--h3 .pg-form__section-title {
  font-size: 19px;
}
.pg-form__section-desc {
  margin: 0 0 18px;
  font-size: 15px;
  color: #606060;
}
.pg-form__section-body {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 22px 20px;
}
.pg-form__field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}
.pg-form__field[hidden] {
  display: none;
}
@media (max-width: 767px) {
  .pg-form__field {
    grid-column: 1/-1 !important;
  }
}
.pg-form__label {
  font-weight: 600;
  font-size: 13px;
  line-height: 18px;
  color: #606060;
}
.pg-form__required {
  color: #606060;
}
.pg-form__control {
  position: relative;
  display: flex;
  align-items: center;
}
.pg-form__icon {
  position: absolute;
  left: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: #fff7ec;
  pointer-events: none;
}
.pg-form__icon img {
  width: 16px;
  height: 16px;
  display: block;
}
.pg-form__input {
  width: 100%;
  box-sizing: border-box;
  padding: 14px 16px;
  font-family: "Poppins", sans-serif;
  font-size: 15px;
  color: #606060;
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 10px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  appearance: none;
}
.pg-form__input::placeholder {
  color: #9e9e9e;
}
.pg-form__input:focus {
  outline: none;
  border-color: #3da94e;
  box-shadow: inset 0 0 0 1px #3da94e;
}
.pg-form__input:disabled {
  background: #f5f5f5;
  cursor: not-allowed;
}
.pg-form__icon + .pg-form__input {
  padding-left: 50px;
}
.pg-form select.pg-form__input {
  padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%233da94e' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
}
.pg-form__select-wrap {
  position: relative;
  width: 100%;
}
.pg-form__select-wrap.has-custom select.pg-form__input {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  z-index: -1;
}
.pg-form__select-wrap.is-open .pg-form__select-trigger {
  border-color: #3da94e;
  box-shadow: inset 0 0 0 1px #3da94e;
  border-radius: 10px 10px 0 0;
}
.pg-form__select-wrap.is-open .pg-form__select-chevron {
  transform: translateY(-50%) rotate(180deg);
}
.pg-form__select-trigger {
  width: 100%;
  box-sizing: border-box;
  padding: 14px 44px 14px 16px;
  font-family: "Poppins", sans-serif;
  font-size: 15px;
  color: #606060;
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 10px;
  cursor: pointer;
  text-align: left;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pg-form__select-trigger:focus {
  outline: none;
  border-color: #3da94e;
  box-shadow: inset 0 0 0 1px #3da94e;
}
.pg-form__select-chevron {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: #3da94e;
  transition: transform 0.15s ease;
  display: flex;
  align-items: center;
}
.pg-form__select-panel {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #fff;
  border: 1px solid #3da94e;
  border-top: none;
  border-radius: 0 0 10px 10px;
  z-index: 200;
  max-height: 220px;
  overflow-y: auto;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
  list-style: none;
  margin: 0;
  padding: 4px 0;
}
.pg-form__select-panel[hidden] {
  display: none;
}
.pg-form__select-option {
  padding: 12px 16px;
  cursor: pointer;
  font-size: 15px;
  color: #606060;
  font-family: "Poppins", sans-serif;
}
.pg-form__select-option:hover {
  background: rgba(61, 169, 78, 0.08);
}
.pg-form__select-option.is-selected {
  background: rgba(61, 169, 78, 0.1);
  color: #3da94e;
  font-weight: 600;
}
.pg-form__options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
}
.pg-form__option {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  cursor: pointer;
}
.pg-form__separator {
  padding: 0;
}
.pg-form__separator .pg-form__separator-label,
.pg-form__separator .pg-form__separator-line {
  display: none;
}
.pg-form__separator-label {
  font-size: 13px;
  font-weight: 600;
  color: #606060;
}
.pg-form__separator-line {
  width: 100%;
  height: 0;
  margin: 0;
  border: 0;
  border-top: 1px solid #e5e5e5;
}
.pg-form__error {
  min-height: 0;
  font-size: 11px;
  line-height: 1.3;
  color: #e03434;
}
.pg-form__field--error .pg-form__input,
.pg-form__field--error .pg-form__select-trigger {
  border-color: #e03434;
  box-shadow: inset 0 0 0 1px #e03434;
}
.pg-form__field--error .pg-form__icon {
  background: #ffeded;
}
.pg-form__server-error {
  grid-column: 1/-1;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: #fef1f1;
  border: 1px solid #e03434;
  border-radius: 8px;
  color: #b82626;
  font-size: 14px;
  font-family: "Poppins", sans-serif;
}
.pg-form__server-error[hidden] {
  display: none;
}
.pg-form__server-error-icon {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #e03434;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.pg-form__server-error-icon svg {
  width: 16px;
  height: 16px;
  display: block;
}
.pg-form__server-error-text {
  line-height: 20px;
}
.pg-form__honeypot {
  position: absolute !important;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.pg-form__actions {
  grid-column: 1/-1;
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 8px;
}
.pg-form__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 136px;
  padding: 12px 27px;
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  font-size: 14px;
  line-height: 1;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.pg-form__btn--primary {
  background: #68c453;
  color: #fff;
}
.pg-form__btn--primary:hover {
  transform: translateY(-2px);
}
.pg-form__btn--primary:disabled {
  opacity: 0.75;
  cursor: not-allowed;
  transform: none;
}
.pg-form__btn--secondary {
  background: transparent;
  color: #f89838;
  border-color: #f89838;
}
.pg-form__btn--secondary:hover {
  background: rgba(248, 152, 56, 0.1);
}
.pg-form__spinner {
  display: inline-block;
  width: 14px;
  height: 14px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: pg-spin 0.7s linear infinite;
  flex-shrink: 0;
}
.pg-form__success {
  grid-column: 1/-1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 16px 0 8px;
  gap: 20px;
}
.pg-form__success[hidden] {
  display: none;
}
.pg-form__success-title {
  margin: 0;
  font-family: "Poppins", sans-serif;
  font-size: 44px;
  font-weight: 600;
  color: #f89838;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}
.pg-form__success-desc {
  margin: 0;
  font-size: 14px;
  color: #7a7a7a;
  max-width: 531px;
  line-height: 22px;
}
.pg-form__success-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}
.pg-form__success-icon img {
  width: 120px;
  height: 120px;
  display: block;
}
.pg-form__message {
  grid-column: 1/-1;
  padding: 14px 16px;
  border-radius: 10px;
  font-size: 15px;
  font-family: "Poppins", sans-serif;
}
.pg-form__message[hidden] {
  display: none;
}
.pg-form__message--success {
  background: rgba(51, 155, 71, 0.1);
  color: #267a37;
}
.pg-form__message--error {
  background: rgba(214, 73, 47, 0.1);
  color: #b53d28;
}