.topbar,
.footer,
.app-shell-splitter,
.app-shell-hsplitter {
  display: none !important;
}

.app-public .app-shell {
  display: block;
  min-height: 100vh;
}

.app-public .workspace {
  min-height: 100vh;
  padding: 0 !important;
  overflow: visible;
}

.app-public .workspace > .flash {
  position: fixed;
  top: 14px;
  right: 14px;
  z-index: 30;
  max-width: min(92vw, 460px);
}

.app-public .workspace > .flash li {
  margin: 0 0 8px;
  border-radius: 12px;
  border: 1px solid rgba(2, 6, 23, 0.12);
  box-shadow: 0 12px 28px rgba(2, 6, 23, 0.18);
}

.register-eftx-screen {
  min-height: 100vh;
  color: #0f172a;
  background: #f8fbff;
  font-family: "Source Sans 3", "Segoe UI", Arial, sans-serif;
}

.register-eftx-topline {
  padding: 10px 20px;
  color: #fff;
  background: linear-gradient(90deg, #1a2ec6 0%, #0f5ad6 46%, #06a3ef 100%);
}

.register-eftx-topline__inner {
  width: min(1360px, 100%);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.register-eftx-topline__contacts,
.register-eftx-topline__actions {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.register-eftx-topline a {
  text-decoration: none;
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.register-eftx-topline .chip {
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(2, 6, 23, 0.58);
}

.register-eftx-topline .social {
  display: inline-flex;
  gap: 8px;
}

.register-eftx-topline .social a {
  width: 29px;
  height: 29px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
}

.register-eftx-header {
  background: #fff;
  border-bottom: 1px solid #dce4ef;
}

.register-eftx-header__inner {
  width: min(1360px, 100%);
  margin: 0 auto;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.register-eftx-brand {
  display: inline-flex;
  flex-direction: column;
  text-decoration: none;
  gap: 4px;
}

.register-eftx-brand img {
  width: clamp(210px, 22vw, 280px);
  height: auto;
}

.register-eftx-brand span {
  color: #1e3a8a;
  font-family: "Montserrat", "Source Sans 3", sans-serif;
  font-size: clamp(12px, 1.2vw, 15px);
  font-weight: 700;
}

.register-eftx-menu {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(10px, 1.6vw, 22px);
  flex-wrap: wrap;
}

.register-eftx-menu a {
  text-decoration: none;
  color: #0f172a;
  font-family: "Montserrat", "Source Sans 3", sans-serif;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.03em;
}

.register-eftx-menu a:hover {
  color: #0d66d7;
}

.register-eftx-hero {
  position: relative;
  min-height: calc(100vh - 164px);
  overflow: hidden;
  background:
    radial-gradient(circle at 14% 18%, rgba(34, 211, 238, 0.2), transparent 36%),
    radial-gradient(circle at 86% 62%, rgba(37, 99, 235, 0.24), transparent 44%),
    linear-gradient(145deg, #05162f 0%, #0a274b 52%, #0b3d68 100%);
}

.register-eftx-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.24;
  background:
    linear-gradient(rgba(148, 163, 184, 0.25) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.25) 1px, transparent 1px);
  background-size: 56px 56px;
}

.register-eftx-hero__inner {
  position: relative;
  z-index: 1;
  width: min(1360px, 100%);
  margin: 0 auto;
  min-height: inherit;
  padding: clamp(30px, 5vw, 58px) 20px;
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(620px, 1.1fr);
  gap: clamp(18px, 2.4vw, 34px);
  align-items: start;
}

.register-eftx-copy {
  color: #deebf8;
}

.register-eftx-copy h1 {
  margin: 0;
  font-family: "Montserrat", "Source Sans 3", sans-serif;
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1.08;
  color: #fff;
}

.register-eftx-copy p {
  margin: 15px 0 0;
  font-size: clamp(18px, 1.9vw, 22px);
  line-height: 1.55;
  color: #c9e2f7;
}

.register-eftx-copy ul {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.register-eftx-copy li {
  display: inline-flex;
  align-items: flex-start;
  gap: 10px;
  color: #dfecfd;
  font-size: clamp(16px, 1.4vw, 18px);
  line-height: 1.45;
}

.register-eftx-copy li::before {
  content: "";
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
  margin-top: 10px;
  border-radius: 999px;
  background: #38bdf8;
  box-shadow: 0 0 0 4px rgba(56, 189, 248, 0.22);
}

.register-eftx-copy__actions {
  margin-top: 18px;
}

.register-eftx-copy__actions a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  padding: 8px 14px;
  background: rgba(2, 6, 23, 0.42);
  color: #fff;
  text-decoration: none;
  font-family: "Montserrat", "Source Sans 3", sans-serif;
  font-weight: 700;
  font-size: 13px;
}

.register-eftx-card {
  border: 1px solid #dae6f5;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.98);
  padding: clamp(20px, 1.8vw, 28px);
  color: #0f172a;
  box-shadow: 0 24px 58px rgba(2, 6, 23, 0.42);
}

.register-eftx-card h2 {
  margin: 0;
  font-family: "Montserrat", "Source Sans 3", sans-serif;
  font-size: 28px;
}

.register-eftx-card .muted {
  margin: 8px 0 14px;
  color: #64748b;
}

.register-form {
  margin: 0;
}

.register-form-section {
  border: 1px solid #dbe6f4;
  border-radius: 14px;
  padding: 14px;
  background: #fff;
  margin-bottom: 12px;
}

.register-form-section h3 {
  margin: 0 0 10px;
  font-family: "Montserrat", "Source Sans 3", sans-serif;
  font-size: 16px;
  color: #1f2937;
}

.register-form .section-note {
  margin: -2px 0 10px;
  color: #64748b;
  font-size: 13px;
}

.register-form .form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 10px 12px;
}

.register-form .form-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.register-form .form-field label {
  display: inline-flex;
  align-items: center;
  font-family: "Montserrat", "Source Sans 3", sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: #1f2937;
}

.register-form input,
.register-form select {
  width: 100%;
  border: 1px solid #cfdae8;
  border-radius: 11px;
  background: #fff;
  color: #0f172a;
  padding: 11px 12px;
  font-size: 14px;
  min-height: 42px;
}

.register-form input:focus,
.register-form select:focus {
  border-color: #1d4ed8;
  outline: 2px solid rgba(29, 78, 216, 0.2);
  outline-offset: 1px;
}

.register-form .password-field {
  display: flex;
  align-items: center;
  border: 1px solid #cfdae8;
  border-radius: 11px;
  background: #fff;
  padding-right: 8px;
  gap: 6px;
}

.register-form .password-field:focus-within {
  border-color: #1d4ed8;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.14);
}

.register-form .password-field input {
  border: none;
  box-shadow: none;
  outline: none;
  background: transparent;
  min-height: 40px;
}

.register-form .password-toggle {
  border: none;
  background: transparent;
  color: #334155;
  cursor: pointer;
}

.register-form .required {
  color: #dc2626;
  margin-left: 4px;
}

.register-form .error {
  display: block;
  color: #b91c1c;
  font-size: 12px;
}

.register-form .form-actions {
  margin-top: 14px;
}

.register-form .btn-primary {
  width: 100%;
  border: none;
  border-radius: 12px;
  padding: 12px;
  color: #fff;
  background: linear-gradient(130deg, #0ea5e9, #2563eb);
  font-family: "Montserrat", "Source Sans 3", sans-serif;
  font-weight: 700;
  letter-spacing: 0.02em;
  box-shadow: 0 14px 30px rgba(37, 99, 235, 0.3);
}

.register-form .btn-primary:hover {
  filter: brightness(1.04);
}

.register-form .auth-actions {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
}

.register-form .auth-actions a {
  color: #1d4ed8;
  text-decoration: none;
  font-weight: 700;
  font-size: 13px;
}

.register-form .auth-actions a:hover {
  text-decoration: underline;
}

@media (max-width: 1200px) {
  .register-eftx-header__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .register-eftx-menu {
    justify-content: flex-start;
  }

  .register-eftx-hero__inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .register-eftx-topline {
    padding: 8px 14px;
  }

  .register-eftx-topline__inner {
    gap: 10px;
  }

  .register-eftx-topline__contacts,
  .register-eftx-topline__actions {
    gap: 9px;
    font-size: 13px;
  }

  .register-eftx-topline .chip {
    padding: 6px 11px;
  }

  .register-eftx-header__inner,
  .register-eftx-hero__inner {
    padding-left: 14px;
    padding-right: 14px;
  }

  .register-form .form-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .register-eftx-topline .social {
    display: none;
  }

  .register-eftx-menu {
    gap: 8px 12px;
  }

  .register-eftx-menu a {
    font-size: 12px;
  }

  .register-eftx-card {
    padding: 16px;
    border-radius: 14px;
  }

  .register-eftx-card h2 {
    font-size: 24px;
  }

  .register-form-section {
    padding: 12px;
  }
}
