body.auth-register-page {
  /* min-height: 100vh; */
  margin: 0;
  display: block;
  background: #f4f0ff;
  color: #171222;
  position: relative;
  /* min-height: 47vh; */
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
}

.auth-register-page h1 {
  color: #181225;
  font-size: 1.7rem;
  line-height: 1.05;
  font-weight: 700;
  margin-bottom: 0.55rem;
}

.auth-register-page .video-bg {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  background: #0c0718;
}

.auth-register-page .video-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.auth-register-page .auth-bg-overlay {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at top left, rgba(146, 102, 255, 0.44), rgba(146, 102, 255, 0) 34%),
    radial-gradient(circle at bottom right, rgba(122, 85, 255, 0.42), rgba(122, 85, 255, 0) 38%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.84), rgba(246, 241, 255, 0.62) 48%, rgba(237, 228, 255, 0.48));
}

.auth-register-page .auth-register-shell {
  position: relative;
  z-index: 2;
  width: min(964px, calc(100% - 48px));
  /* min-height: calc(95vh - 80px); */
  margin: 40px auto;
  display: grid;
  grid-template-columns: minmax(300px, 390px) minmax(0, 1fr);
  align-items: stretch;
  background: rgba(255, 255, 255, 0.17);
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 32px;
  box-shadow: 0 30px 80px rgba(37, 21, 84, 0.26);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  overflow: hidden;
}

.auth-register-page .sign-in__logo {
  height: auto;
  padding: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.2), rgba(126, 90, 255, 0.08));
  border-right: 1px solid rgba(255, 255, 255, 0.42);
}

.auth-register-page .auth-visual-card {
  height: 100%;
  min-height: 620px;
  padding: 12px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.auth-register-page .auth-visual-card picture {
  display: block;
  width: 100%;
  height: 100%;
}

.auth-register-page .auth-visual-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 18px;
}

.auth-register-page .sign-in__details {
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.66), rgba(255, 255, 255, 0.52));
}

.auth-register-page .auth-panel {
  width: min(560px, 100%);
  padding: 47px 64px;
}

.auth-register-page .auth-panel > p {
  color: #5a556c;
  font-size: 1rem;
  line-height: 1.55;
  /* text-align: center; */
  justify-content: center;
}

.auth-register-page .sign-in__form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
}

.auth-register-page .form__control {
  gap: 0.45rem;
}

.auth-register-page label {
  color: #30284b;
  font-weight: 600;
}

.auth-register-page .sign-in__form input[type="text"],
.auth-register-page .sign-in__form input[type="email"],
.auth-register-page .sign-in__form input[type="password"] {
  width: 100%;
  /* min-height: 60px; */
  padding: 16px 18px;
  border: 1px solid rgba(94, 70, 180, 0.18);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.94), 0 18px 36px rgba(104, 77, 196, 0.08);
  color: #1d1830;
  font-size: 1rem;
}

.auth-register-page .sign-in__form input::placeholder {
  color: #9d96b4;
}

.auth-register-page .sign-in__form input:focus {
  border-color: rgba(88, 69, 189, 0.8);
  box-shadow: 0 0 0 4px rgba(89, 70, 192, 0.12);
  transform: none;
}

.auth-register-page .password-field-wrap {
  position: relative;
  width: 100%;
}

.auth-register-page .password-field {
  width: 100%;
  padding-right: 58px !important;
}

.auth-register-page .password-toggle-btn {
  position: absolute;
  top: 50%;
  right: 14px;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: rgba(89, 70, 192, 0.1);
  color: #5341ab;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.auth-register-page .password-toggle-btn:hover,
.auth-register-page .password-toggle-btn:focus {
  background: rgba(89, 70, 192, 0.18);
  color: #2e215f;
  outline: none;
}

.auth-register-page .password-toggle-btn:active {
  transform: translateY(-50%) scale(0.96);
}

.auth-register-page .password-toggle-btn i {
  font-size: 18px;
  pointer-events: none;
}

.auth-register-page .btn {
  width: 100%;
  /* min-height: 60px; */
  margin-top: 0.2rem;
  border: none;
  border-radius: 18px;
  padding: 14px 18px;
  background: linear-gradient(135deg, #5440b0 0%, #7754df 100%);
  box-shadow: 0 18px 40px rgba(93, 63, 194, 0.26);
  color: #ffffff;
  font-weight: 600;
  font-size: 1rem;
}

.auth-register-page .btn:hover,
.auth-register-page .btn:focus {
  background: linear-gradient(135deg, #5e49bd 0%, #8864ee 100%);
}

.auth-register-page .auth-consent {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 1.3rem;
  color: #5e5872;
  font-size: 0.95rem;
  line-height: 1.6;
}

.auth-register-page a,
.auth-register-page a:active,
.auth-register-page a:visited {
  color: #5541b8;
  font-weight: 600;
  /* text-align: center; */
}

.auth-register-page .next__page {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.35rem;
  margin-top: 1.6rem;
  text-align: center;
  color: #5e5872;
  font-size: 0.98rem;
}

.auth-register-page .error1,
.auth-register-page .error2,
.auth-register-page #form-error {
  margin-top: 0.45rem;
  color: #c43e56;
  font-size: 0.92rem;
}

@media screen and (max-width: 980px) {
  body.auth-register-page {
    padding: 88px 16px 32px;
  }

  .auth-register-page .auth-register-shell {
    width: min(100%, calc(100% - 32px));
    margin: 0 auto;
    grid-template-columns: 1fr;
  }

  .auth-register-page .sign-in__logo {
    padding: 16px 16px 0;
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.42);
  }

  .auth-register-page .auth-visual-card {
    min-height: 260px;
  }

  .auth-register-page .auth-panel {
    padding: 32px 24px;
  }
}

@media screen and (max-width: 640px) {
  body.auth-register-page {
    align-items: flex-start;
    padding: 72px 8px 16px;
  }

  .auth-register-page .public-language-dropdown {
    top: 0.65rem;
    right: 0.65rem;
  }

  .auth-register-page .auth-register-shell {
    width: calc(100% - 12px);
    margin: 0 auto;
    border-radius: 20px;
  }

  .auth-register-page .sign-in__logo {
    padding: 10px 10px;
  }

  .auth-register-page .auth-visual-card {
    min-height: 132px;
    padding: 8px;
  }

  .auth-register-page .auth-panel {
    padding: 18px 14px 14px;
  }

  .auth-register-page h1 {
    font-size: 1.48rem;
    margin-bottom: 0.3rem;
  }

  .auth-register-page .auth-panel > p {
    font-size: 0.86rem;
    line-height: 1.35;
  }

  .auth-register-page .sign-in__form {
    gap: 0.68rem;
    margin-top: 1rem;
  }

  .auth-register-page .form__control {
    gap: 0.28rem;
  }

  .auth-register-page label {
    font-size: 0.88rem;
  }

  .auth-register-page .sign-in__form input[type="text"],
  .auth-register-page .sign-in__form input[type="email"],
  .auth-register-page .sign-in__form input[type="password"],
  .auth-register-page .btn {
    min-height: 46px;
    padding: 11px 14px;
    font-size: 0.95rem;
    border-radius: 15px;
  }

  .auth-register-page .password-field {
    padding-right: 48px !important;
  }

  .auth-register-page .password-toggle-btn {
    width: 32px;
    height: 32px;
    right: 10px;
  }

  .auth-register-page .password-toggle-btn i {
    font-size: 15px;
  }

  .auth-register-page .auth-consent,
  .auth-register-page .next__page {
    font-size: 0.82rem;
    line-height: 1.35;
  }

  .auth-register-page .auth-consent {
    margin-top: 0.8rem;
    gap: 0.2rem;
  }

  .auth-register-page .next__page {
    margin-top: 0.8rem;
    margin-bottom: 0.2rem;
    gap: 0.2rem;
  }

  .auth-register-page .error1,
  .auth-register-page .error2,
  .auth-register-page #form-error {
    font-size: 0.82rem;
    margin-top: 0.2rem;
  }

  .auth-register-page .grecaptcha-badge {
    transform: scale(0.82);
    transform-origin: right bottom;
  }
}
