.plan-wizard-page .header {
  position: relative !important;
  top: auto !important;
  background: transparent !important;
}

.plan-wizard-page .header-fixer {
  display: none !important;
}

.plan-wizard {
  box-sizing: border-box;
  width: 100%;
  max-width: 40rem;
  margin: 1.75rem auto 0.5rem;
  padding: 0 1rem;
  color: #1a1a1a;
  text-align: left;
}

.plan-wizard * {
  box-sizing: border-box;
}

.plan-wizard-title {
  margin: 0 0 1rem;
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
}

.plan-wizard-card {
  display: block;
  width: 100%;
  margin: 0 0 1rem;
  padding: 1rem;
  border: 2px solid #d9d9d9;
  border-radius: 0.8rem;
  background: #fff;
  box-shadow: 0 0 10px 5px rgba(0, 0, 0, 0.03);
  color: #1a1a1a;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 400;
  line-height: 1.4;
  text-align: left;
  cursor: pointer;
}

.plan-wizard-card:hover,
.plan-wizard-card:focus-visible {
  border-color: var(--font-color);
  outline: none;
}

.plan-wizard-panel {
  padding: 1rem;
  border: 2px solid rgb(229, 236, 243);
  border-radius: 0.8rem;
  background: #fff;
  box-shadow: 0 0 10px 5px rgba(0, 0, 0, 0.03);
}

.plan-wizard-step-title {
  margin: 0;
  color: #000;
  font-size: 1.15rem;
  font-weight: 400;
  line-height: 1.4;
}

.plan-wizard-head {
  display: flex;
  align-items: flex-start;
  margin-bottom: 0.75rem;
}

.plan-wizard-back {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  margin: -0.5rem 0.5rem 0 -10px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--font-color);
  cursor: pointer;
}

.plan-wizard-copy,
.plan-wizard-note,
.plan-wizard-prompt {
  margin: 0 0 1rem;
  color: #1a1a1a;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  text-align: center;
}

.plan-wizard-prompt {
  text-align: left;
}

.plan-wizard-modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(9, 20, 40, 0.45);
}

.plan-wizard-dialog {
  display: flex;
  flex-direction: column;
  width: min(75rem, 100%);
  height: 80vh;
  padding: 1rem 1rem 0;
  border-radius: 0.4rem;
  background: #fff;
}

.plan-wizard-dialog-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.plan-wizard-dialog-title {
  margin: 0;
  color: var(--main-color);
  font-size: 1.25rem;
  font-weight: 500;
}

.plan-wizard-dialog-actions {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.plan-wizard-refresh {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem;
  border: 0;
  background: transparent;
  color: var(--font-color);
  cursor: pointer;
}

.plan-wizard-refresh svg {
  display: block;
}

.plan-wizard-cancel {
  border: 0;
  background: transparent;
  color: var(--font-color);
  font: inherit;
  font-weight: 400;
  cursor: pointer;
}

.plan-wizard-frame {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.plan-wizard label {
  display: block;
  margin: 0 0 0.35rem;
  color: #000;
  font-size: 1rem;
  font-weight: 500;
}

.plan-wizard-field {
  margin-top: 0.85rem;
}

.plan-wizard-field:first-child {
  margin-top: 0;
}

.plan-wizard input,
.plan-wizard textarea,
.plan-wizard-select {
  display: block;
  width: 100%;
  height: 3.1rem;
  padding: 0.5rem 0.7rem;
  border: 2px solid rgb(229, 236, 243);
  border-radius: 0.7rem;
  color: #000;
  font: inherit;
  font-size: 1rem;
  background: #fff;
}

.plan-wizard input::placeholder {
  color: #8aa0b5;
  opacity: 1;
}

.plan-wizard input:hover,
.plan-wizard textarea:hover,
.plan-wizard-select:hover,
.plan-wizard input:focus,
.plan-wizard textarea:focus,
.plan-wizard-select:focus {
  outline: none;
  border-color: var(--font-color);
}

.plan-wizard textarea {
  height: auto;
  min-height: 5.5rem;
  margin: 0 0 1rem;
  padding: 0.5rem;
  border-radius: 0.5rem;
  resize: vertical;
}

.plan-wizard-phone {
  display: flex;
  align-items: flex-end;
  gap: 1rem;
  margin-top: 0.85rem;
}

.plan-wizard-country {
  flex: 0 0 10rem;
  max-width: 10rem;
  margin-top: 0;
}

.plan-wizard-phone .plan-wizard-field:last-child {
  flex: 1 1 auto;
  margin-top: 0;
}

.plan-wizard-select {
  appearance: none;
  padding-right: 2.2rem;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%230285D6' d='M7.4 8.6 12 13.2l4.6-4.6L18 10l-6 6-6-6z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: 1.4rem 1.4rem;
  background-position: right 0.55rem center;
}

.plan-wizard-submit {
  width: 100%;
  height: 2.8rem;
  margin: 0;
  padding: 0 1.2rem;
  border: 0;
  border-radius: 0.5rem;
  background: var(--font-color);
  color: #fff;
  font: inherit;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
}

.plan-wizard-submit:disabled {
  opacity: 0.4;
  cursor: default;
}

.plan-wizard-error {
  margin: 0.75rem 0 0;
  color: #b42318;
  font-size: 0.9rem;
  text-align: center;
}

.plan-wizard a {
  color: var(--font-color) !important;
  text-decoration: underline !important;
}

.plan-wizard [hidden],
.plan-wizard-modal[hidden] {
  display: none !important;
}
