/* IranNet WordPress Support Wizard + Session Fix V1.3 */

.iwp-request__copy > p {
  max-width: 680px;
}

.iwp-request__security strong {
  font-size: 11px;
}

.iwp-request__security p {
  font-size: 8px;
}

.iwp-request__security + .iwp-browser-draft-note {
  display: none !important;
}

/* Wizard */

.iwp-form-wizard {
  position: relative;
}

.iwp-wizard-progress {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-bottom: 24px;
}

.iwp-wizard-progress__line {
  position: absolute;
  top: 21px;
  right: 46px;
  left: 46px;
  height: 2px;
  overflow: hidden;
  border-radius: 99px;
  background: rgb(139 161 210 / 16%);
}

.iwp-wizard-progress__line i {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #486cf4, #55d7aa);
  box-shadow: 0 0 14px rgb(72 108 244 / 22%);
  transition: width .32s ease;
}

.iwp-wizard-progress__item {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 11px;
  align-items: center;
  color: #74849f;
}

.iwp-wizard-progress__item > span {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgb(139 161 210 / 18%);
  border-radius: 14px;
  color: #7f90ac;
  background: #0e1d3a;
  font-size: 8px;
  font-weight: 950;
  transition:
    color .22s ease,
    border-color .22s ease,
    background .22s ease,
    box-shadow .22s ease;
}

.iwp-wizard-progress__item > div {
  display: grid;
  gap: 4px;
}

.iwp-wizard-progress__item strong {
  color: #aab7cc;
  font-size: 10px;
  font-weight: 950;
}

.iwp-wizard-progress__item small {
  color: #6d7d99;
  font-size: 7px;
}

.iwp-wizard-progress__item.is-active > span {
  border-color: #6f8aff;
  color: #fff;
  background: #486cf4;
  box-shadow: 0 12px 28px rgb(72 108 244 / 24%);
}

.iwp-wizard-progress__item.is-active strong {
  color: #fff;
}

.iwp-wizard-viewport {
  overflow: hidden;
  margin-inline: -5px;
  padding-inline: 5px;
}

.iwp-wizard-track {
  display: flex;
  width: 100%;
  direction: ltr;
  transition: transform .42s cubic-bezier(.2, .8, .2, 1);
}

.iwp-wizard-panel {
  width: 100%;
  min-width: 100%;
  direction: rtl;
  opacity: .3;
  pointer-events: none;
  transition: opacity .28s ease;
}

.iwp-wizard-panel.is-active {
  opacity: 1;
  pointer-events: auto;
}

.iwp-wizard-panel__heading {
  display: flex;
  align-items: center;
  gap: 13px;
  border-bottom: 1px solid rgb(139 161 210 / 12%);
  padding-bottom: 15px;
}

.iwp-wizard-panel__heading > span {
  display: grid;
  width: 43px;
  height: 43px;
  place-items: center;
  border: 1px solid rgb(124 149 209 / 18%);
  border-radius: 13px;
  color: #7f90ac;
  background: rgb(255 255 255 / 3%);
  font-size: 8px;
  font-weight: 950;
}

.iwp-wizard-panel__heading > div {
  display: grid;
  gap: 4px;
}

.iwp-wizard-panel__heading strong {
  color: #fff;
  font-size: 11px;
  font-weight: 950;
}

.iwp-wizard-panel__heading small {
  color: #798aa6;
  font-size: 7px;
}

.iwp-wizard-panel__heading + .iwp-field-grid {
  margin-top: 18px;
}

.iwp-wizard-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 22px;
}

.iwp-wizard-actions button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 13px;
  padding: 12px 17px;
  cursor: pointer;
  font: inherit;
  font-size: 10px;
  font-weight: 950;
}

.iwp-wizard-next {
  min-width: 180px;
  border: 0;
  color: #071f18;
  background: linear-gradient(135deg, #7aebb9, #4fd3ba);
  box-shadow: 0 14px 32px rgb(57 202 158 / 18%);
}

.iwp-wizard-previous {
  border: 1px solid rgb(139 161 210 / 18%);
  color: #d6deeb;
  background: rgb(255 255 255 / 4%);
}

.iwp-wizard-actions .iwp-submit {
  width: auto;
  min-width: 230px;
  margin-top: 0;
  padding-inline: 20px;
}

/* Local-only test panel */

.iwp-session-debug {
  margin-top: 18px;
  border: 1px solid rgb(255 196 91 / 28%);
  border-radius: 18px;
  padding: 16px;
  color: #f4d89d;
  background: rgb(118 80 12 / 12%);
}

.iwp-session-debug[hidden] {
  display: none !important;
}

.iwp-session-debug strong {
  display: block;
  font-size: 10px;
  font-weight: 950;
}

.iwp-session-debug p {
  margin: 7px 0 0;
  color: #bfae8c;
  font-size: 8px;
  line-height: 1.8;
}

.iwp-session-debug pre {
  max-height: 280px;
  overflow: auto;
  margin: 12px 0 0;
  border: 1px solid rgb(255 196 91 / 16%);
  border-radius: 12px;
  padding: 12px;
  color: #d7e2f5;
  background: rgb(3 10 24 / 62%);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 7px;
  line-height: 1.7;
  direction: ltr;
  text-align: left;
  white-space: pre-wrap;
  word-break: break-word;
}

@media (max-width: 720px) {
  .iwp-wizard-progress {
    gap: 8px;
  }

  .iwp-wizard-progress__item {
    grid-template-columns: 40px 1fr;
    gap: 8px;
  }

  .iwp-wizard-progress__item > span {
    width: 40px;
    height: 40px;
  }

  .iwp-wizard-progress__item small {
    display: none;
  }

  .iwp-wizard-progress__item strong {
    font-size: 9px;
  }

  .iwp-wizard-progress__line {
    top: 19px;
    right: 38px;
    left: 38px;
  }

  .iwp-wizard-actions {
    align-items: stretch;
    flex-direction: column-reverse;
  }

  .iwp-wizard-actions button,
  .iwp-wizard-actions .iwp-submit {
    width: 100%;
    min-width: 0;
  }
}

/* End IranNet WordPress Support Wizard + Session Fix V1.3 */
