.prwc-register,
.prwc-register * {
  box-sizing: border-box;
}

.prwc-register {
  position: relative;
  max-width: 960px;
  margin: 0 auto;
  padding: 36px;
  overflow: hidden;
  border: 1px solid #d8e7ea;
  border-radius: 28px;
  background:
    radial-gradient(circle at top right, rgba(26, 143, 107, 0.12), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, #f7fbfc 100%);
  box-shadow: 0 28px 70px rgba(15, 23, 42, 0.1);
  -webkit-text-size-adjust: 100%;
}

.prwc-register__header {
  margin-bottom: 28px;
  padding-right: 72px;
}

.prwc-register__header h2,
.prwc-section h3 {
  margin: 0 0 8px;
  color: #102a43;
}

.prwc-register__header p {
  margin: 0;
  color: #486581;
  font-size: 16px;
  line-height: 1.6;
}

.prwc-register__form {
  display: grid;
  gap: 24px;
}

.prwc-grid {
  display: grid;
  gap: 18px;
}

.prwc-grid--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.prwc-grid--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.prwc-field {
  display: grid;
  gap: 8px;
}

.prwc-field label,
.prwc-checkbox span {
  font-weight: 600;
  color: #243b53;
}

.prwc-field input {
  width: 100%;
  min-height: 54px;
  padding: 14px 16px;
  border: 1px solid #bcccdc;
  border-radius: 14px;
  background: #fdfefe;
  color: #102a43;
  font-size: 16px;
  line-height: 1.2;
  appearance: none;
  -webkit-appearance: none;
}

.prwc-field input[readonly] {
  background: #eef4f8;
  color: #102a43;
  cursor: default;
}

.prwc-field input:focus {
  outline: none;
  border-color: #2680c2;
  box-shadow: 0 0 0 3px rgba(38, 128, 194, 0.15);
}

.prwc-section {
  padding: 24px;
  border: 1px solid #d9e2ec;
  border-radius: 20px;
  background: linear-gradient(180deg, #f8fbff 0%, #eef6fb 100%);
}

.prwc-section__heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  margin-bottom: 16px;
}

.prwc-checkbox {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

.prwc-checkbox input {
  width: 18px;
  height: 18px;
  margin: 0;
}

.prwc-checkbox--legal {
  align-items: flex-start;
  margin-top: 18px;
}

.prwc-checkbox--legal input {
  margin-top: 4px;
}

.prwc-billing-fields.is-disabled {
  opacity: 0.7;
}

.prwc-billing-fields[hidden] {
  display: none;
}

.prwc-section--legal {
  border: 1px solid #d9e2ec;
}

.prwc-legal-text {
  display: grid;
  gap: 10px;
  color: #334e68;
  line-height: 1.55;
}

.prwc-legal-text p {
  margin: 0;
}

.prwc-legal-text a {
  color: #175cd3;
  font-weight: 600;
}

.prwc-notice {
  margin-bottom: 24px;
  padding: 16px 18px;
  border: 1px solid transparent;
  border-radius: 14px;
}

.prwc-notice ul {
  margin: 0;
  padding-left: 18px;
}

.prwc-notice--success {
  border-color: #abefc6;
  background: #ecfdf3;
  color: #05603a;
}

.prwc-notice--error {
  border-color: #fecdca;
  background: #fef2f2;
  color: #b42318;
}

.prwc-notice--info {
  border-color: #b2ddff;
  background: #eff8ff;
  color: #175cd3;
}

.prwc-password-field {
  position: relative;
}

.prwc-password-field input {
  padding-right: 58px;
}

.prwc-password-toggle {
  position: absolute;
  top: 50%;
  right: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #52606d;
  cursor: pointer;
  transform: translateY(-50%);
}

.prwc-password-toggle:focus-visible {
  outline: 2px solid #2680c2;
  outline-offset: 2px;
}

.prwc-password-toggle__icon {
  display: inline-flex;
}

.prwc-password-toggle__icon svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.prwc-password-toggle__icon--hide {
  display: none;
}

.prwc-password-toggle.is-active .prwc-password-toggle__icon--show {
  display: none;
}

.prwc-password-toggle.is-active .prwc-password-toggle__icon--hide {
  display: inline-flex;
}

.prwc-submit {
  min-height: 56px;
  padding: 16px 28px;
  justify-self: start;
  border: 0 !important;
  border-radius: 25px !important;
  background: #002e59 !important;
  background-image: none !important;
  color: #ffffff !important;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 16px 30px rgba(0, 46, 89, 0.24);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  appearance: none !important;
  -webkit-appearance: none !important;
  text-shadow: none !important;
}

.prwc-submit:hover,
.prwc-submit:focus-visible {
  border: 0 !important;
  background: #002e59 !important;
  background-image: none !important;
  color: #ffffff !important;
  transform: translateY(-1px);
  box-shadow: 0 20px 36px rgba(0, 46, 89, 0.32);
}

@media (max-width: 900px) {
  .prwc-grid--three {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .prwc-register {
    padding: 22px;
    border-radius: 22px;
  }

  .prwc-register__header {
    padding-right: 0;
  }

  .prwc-grid--two,
  .prwc-grid--three,
  .prwc-section__heading {
    display: grid;
    grid-template-columns: 1fr;
  }

  .prwc-section {
    padding: 18px;
  }

  .prwc-submit {
    width: 100%;
    justify-self: stretch;
  }
}

@media (max-width: 480px) {
  .prwc-register {
    padding: 16px;
  }

  .prwc-register__header h2 {
    font-size: 28px;
    line-height: 1.1;
  }
}
