.inner-page-banner {
  position: relative;
  overflow: hidden;
  min-height: 5.5rem;
  margin: 5px 0;
  background-color: #117f9b;
  color: #fff;
}

.inner-page-banner::before,
.inner-page-banner::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.inner-page-banner::before {
  inset: -9rem -2rem auto 0;
  height: 18rem;
  opacity: 0.3;
  background:
    repeating-radial-gradient(ellipse at 17% 43%, transparent 0 10px, rgba(71, 194, 209, 0.5) 11px 12px, transparent 13px 21px),
    repeating-radial-gradient(ellipse at 84% 67%, transparent 0 12px, rgba(71, 194, 209, 0.38) 13px 14px, transparent 15px 25px);
  transform: rotate(-2deg);
}

.inner-page-banner::after {
  top: -5.5rem;
  right: 5%;
  width: 17rem;
  height: 17rem;
  border: 2.7rem solid rgba(11, 103, 132, 0.32);
  border-radius: 50%;
}

.inner-page-banner__inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  min-height: 5.5rem;
}

.inner-page-banner__content {
  padding: 0.25rem 0 0.25rem 0.85rem;
  border-left: 3px solid #fff;
}

.inner-page-banner h1 {
  margin: 0 0 0.55rem;
  color: #fff;
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.015em;
}

.inner-page-banner__breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.67rem;
  font-weight: 500;
}

.inner-page-banner__breadcrumb a:hover { text-decoration: underline; }
.inner-page-banner__breadcrumb span[aria-hidden="true"] { color: #b8edf3; font-size: 0.9rem; }

.open-registration-page {
  width: min(100% - 2rem, 1320px);
  margin: clamp(2.2rem, 5vw, 4.3rem) auto clamp(4rem, 7vw, 7rem);
  color: #173f50;
}

.centre-context {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  padding: 1rem 1.25rem;
  border: 1px solid #d3e5e8;
  border-left: 4px solid #12b9b7;
  border-radius: 0.85rem;
  background: #fff;
  box-shadow: 0 0.5rem 1.7rem rgba(24, 76, 91, 0.06);
}

.centre-context.loading { opacity: 0.72; }
.context-icon {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 0.8rem;
  background: #e5f8f6;
  color: #078e91;
  font-size: 1.25rem;
  font-weight: 800;
}

.centre-context > div { flex: 1; min-width: 0; }
.centre-context small, .centre-context strong, .centre-context p { display: block; }
.centre-context small { color: #6b818b; font-size: 0.64rem; font-weight: 800; letter-spacing: 0.09em; text-transform: uppercase; }
.centre-context strong { margin-top: 0.08rem; font-size: 0.95rem; }
.centre-context p { margin: 0.12rem 0 0; color: #718791; font-size: 0.72rem; }
.source-badge { padding: 0.42rem 0.75rem; border-radius: 99px; background: #e3f6eb; color: #168159; font-size: 0.65rem; font-weight: 800; white-space: nowrap; }

.registration-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 19rem;
  gap: 1.25rem;
  align-items: start;
}

.form-main, .aside-card, .aside-note {
  border: 1px solid #d8e6e9;
  border-radius: 1rem;
  background: #fff;
  box-shadow: 0 0.65rem 2.2rem rgba(26, 72, 86, 0.065);
}

.form-main { padding: clamp(1.3rem, 3vw, 2.2rem); }
.form-section { padding-bottom: 1.9rem; margin-bottom: 1.9rem; border-bottom: 1px solid #e4edef; }
.form-section header { display: flex; align-items: center; gap: 0.85rem; margin-bottom: 1.35rem; }
.section-mark { display: grid; flex: 0 0 auto; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 0.8rem; background: #e5f7ee; color: #18865c; font-size: 0.7rem; font-weight: 800; }
.section-mark.blue { background: #e5f1f8; color: #18749e; }
.section-mark.orange { background: #fff0df; color: #d87719; }
.form-section h2 { margin: 0; color: #143d4f; font-size: 1.08rem; }
.form-section header p { margin: 0.12rem 0 0; color: #768b94; font-size: 0.72rem; }

.field-grid { display: grid; gap: 1rem; }
.field-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.field-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.field.wide { grid-column: 1 / -1; }
.field { min-width: 0; }
.field label { display: block; margin-bottom: 0.38rem; color: #345765; font-size: 0.72rem; font-weight: 700; }
.field label b { color: #dc4050; }
.field input, .field select, .field textarea {
  display: block;
  width: 100%;
  min-height: 2.85rem;
  padding: 0.68rem 0.8rem;
  border: 1px solid #c9dce1;
  border-radius: 0.58rem;
  background: #fff;
  color: #183f50;
  font-size: 0.78rem;
  outline: 0;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.field textarea { min-height: 5.7rem; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: #078da2; box-shadow: 0 0 0 3px rgba(7, 141, 162, 0.11); }
.field input.invalid, .field select.invalid, .field textarea.invalid { border-color: #e34652; background: #fffafa; }
.field > small, .declaration-error { display: block; min-height: 0.9rem; margin-top: 0.22rem; color: #d92f3e; font-size: 0.65rem; }

.input-icon { position: relative; display: block; width: 100%; }
.input-icon > span { position: absolute; z-index: 2; top: 50%; left: 0.82rem; transform: translateY(-50%); color: #68838e; font-size: 0.7rem; font-weight: 700; }
.input-icon input { padding-left: 2.35rem; }
.input-icon.dial input { padding-left: 3.2rem; }
.input-icon.password input { padding-right: 3.5rem; }
.password-toggle { position: absolute; z-index: 3; top: 0.42rem; right: 0.42rem; min-width: 2.7rem; height: 2rem; padding: 0 0.35rem; border: 0; border-radius: 0.35rem; background: #edf5f7; color: #44717f; cursor: pointer; font-size: 0.63rem; font-weight: 700; }
.password-rule { margin: 0.65rem 0 0; color: #6b818b; font-size: 0.68rem; }
.password-rule span { color: #078da2; }

.declaration { display: flex; align-items: flex-start; gap: 0.75rem; padding: 0.95rem 1rem; border-radius: 0.65rem; background: #eef7f8; color: #456570; font-size: 0.72rem; line-height: 1.5; cursor: pointer; }
.declaration input { flex: 0 0 auto; margin-top: 0.18rem; accent-color: #078da2; }
.form-actions { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1.15rem; }
.login-link { color: #617b85; font-size: 0.72rem; }
.login-link strong { color: #047d99; }
.form-actions button { display: inline-flex; align-items: center; justify-content: center; gap: 1rem; min-width: 13rem; padding: 0.85rem 1.2rem; border: 0; border-radius: 0.6rem; background: linear-gradient(105deg, #08799c, #10aaa5); color: #fff; box-shadow: 0 0.65rem 1.4rem rgba(4, 131, 151, 0.21); cursor: pointer; font-size: 0.76rem; font-weight: 800; }
.form-actions button:hover { transform: translateY(-1px); box-shadow: 0 0.8rem 1.7rem rgba(4, 131, 151, 0.27); }
.form-actions button:disabled { opacity: 0.62; cursor: wait; transform: none; }

.form-alert { display: none; margin-bottom: 1.15rem; padding: 0.85rem 1rem; border-radius: 0.6rem; font-size: 0.75rem; }
.form-alert.show { display: block; }
.form-alert.error { background: #fde9eb; color: #a72c38; }
.form-alert.info { background: #e8f5fa; color: #176581; }
.website-field { position: absolute !important; left: -10000px !important; }

.registration-aside { display: flex; min-width: 0; flex-direction: column; gap: 1rem; }
.aside-card { position: sticky; top: 6.3rem; padding: 1.5rem; }
.aside-icon { display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 0.85rem; background: #e4f7f3; color: #078e89; font-size: 1.2rem; font-weight: 800; }
.aside-kicker { margin: 0.9rem 0 0.2rem; color: #12a6a6; font-size: 0.62rem; font-weight: 800; letter-spacing: 0.09em; text-transform: uppercase; }
.aside-card h3 { margin: 0 0 1rem; color: #153f50; font-size: 1rem; }
.aside-card ol { margin: 0; padding: 0; list-style: none; }
.aside-card li { display: flex; gap: 0.75rem; padding: 0.9rem 0; border-top: 1px solid #e6eef0; }
.aside-card li > span { display: grid; flex: 0 0 1.8rem; place-items: center; height: 1.8rem; border-radius: 50%; background: #edf6f8; color: #087a97; font-size: 0.68rem; font-weight: 800; }
.aside-card b, .aside-card small { display: block; }
.aside-card b { color: #294d5b; font-size: 0.72rem; }
.aside-card small { margin-top: 0.15rem; color: #758b94; font-size: 0.62rem; line-height: 1.45; }
.aside-note { display: flex; gap: 0.75rem; padding: 1rem; border-color: #f0dfa9; background: #fff9eb; }
.aside-note > span { color: #df9821; font-weight: 800; }
.aside-note b { color: #61532e; font-size: 0.7rem; }
.aside-note p { margin: 0.2rem 0 0; color: #7c714f; font-size: 0.61rem; line-height: 1.5; }

.registration-success {
  width: min(31rem, calc(100% - 2rem));
  padding: 2.2rem;
  border: 0;
  border-radius: 1.15rem;
  color: #17384d;
  box-shadow: 0 1.8rem 5rem rgba(10, 56, 71, 0.25);
  text-align: center;
}
.registration-success::backdrop { background: rgba(10, 42, 53, 0.58); backdrop-filter: blur(3px); }
.success-mark { display: grid; place-items: center; width: 4rem; height: 4rem; margin: 0 auto; border-radius: 50%; background: #dbf5e7; color: #15945e; font-size: 1.55rem; font-weight: 800; }
.registration-success h2 { margin: 1rem 0 0.25rem; font-size: 1.45rem; }
.registration-success > p { color: #6b838f; font-size: 0.78rem; }
.success-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; margin: 1rem 0; }
.success-detail span { padding: 0.8rem; border-radius: 0.6rem; background: #f1f7f9; }
.success-detail small, .success-detail strong { display: block; }
.success-detail small { color: #718894; font-size: 0.62rem; }
.success-detail strong { margin-top: 0.22rem; color: #14516c; font-size: 0.78rem; }
.success-login { display: block; width: 100%; padding: 0.78rem; border-radius: 0.55rem; background: #087f9d; color: #fff; font-size: 0.76rem; font-weight: 800; }

.registration-message {
  width: min(29rem, calc(100% - 2rem));
  padding: 2rem;
  border: 0;
  border-radius: 1.15rem;
  color: #17384d;
  box-shadow: 0 1.8rem 5rem rgba(10, 56, 71, 0.25);
  text-align: center;
}
.registration-message::backdrop { background: rgba(10, 42, 53, 0.58); backdrop-filter: blur(3px); }
.message-mark { display: grid; place-items: center; width: 3.6rem; height: 3.6rem; margin: 0 auto; border-radius: 50%; background: #fde9eb; color: #d43746; font-size: 1.45rem; font-weight: 900; }
.registration-message h2 { margin: 1rem 0 0.45rem; font-size: 1.3rem; }
.registration-message > p { margin: 0; color: #5f7782; font-size: 0.8rem; line-height: 1.6; white-space: pre-line; }
.registration-message button { min-width: 7rem; margin-top: 1.25rem; padding: 0.72rem 1.2rem; border: 0; border-radius: 0.55rem; background: #087f9d; color: #fff; cursor: pointer; font-size: 0.76rem; font-weight: 800; }

@media (max-width: 980px) {
  .registration-shell { grid-template-columns: 1fr; }
  .registration-aside { display: grid; grid-template-columns: 1fr 1fr; }
  .aside-card { position: static; }
}

@media (max-width: 720px) {
  .inner-page-banner, .inner-page-banner__inner { min-height: 5rem; }
  .field-grid.three, .field-grid.two { grid-template-columns: 1fr; }
  .field.wide { grid-column: auto; }
  .registration-aside { grid-template-columns: 1fr; }
  .form-actions { align-items: stretch; flex-direction: column-reverse; }
  .form-actions button { width: 100%; }
}

@media (max-width: 480px) {
  .open-registration-page { width: min(100% - 1rem, 1320px); }
  .form-main { padding: 1rem; }
  .centre-context { align-items: flex-start; padding: 0.85rem; }
  .source-badge { display: none; }
  .success-detail { grid-template-columns: 1fr; }
}
