.landing-register-page {
  --landing-bg: none;
  position: fixed;
  inset: 0;
  z-index: 100;
  min-height: 100vh;
  min-height: 100dvh;
  background: #0a0a12;
  background-image: var(--landing-bg);
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}

.landing-register-page-content {
  min-height: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: clamp(16px, 4vw, 48px);
  box-sizing: border-box;
}

.landing-register-page-inner {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  gap: clamp(16px, 4vw, 48px);
}

.landing-register-card {
  flex: 0 1 500px;
  max-width: 520px;
  width: 100%;
  padding: clamp(24px, 4vw, 40px);
  border-radius: 16px;
  background: rgb(10 8 12 / 37%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.45);
  /* backdrop-filter: blur(10px); */
}

.landing-register-logo {
  text-align: center;
  margin-bottom: 28px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.landing-register-logo img {
  max-width: 220px;
  max-height: 56px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.landing-login-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.landing-field label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 6px;
}

.landing-input-row {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 10px;
  padding: 0 12px;
  min-height: 48px;
  transition: border-color 0.2s;
}

.landing-input-row:focus-within {
  border-color: rgba(245, 226, 121, 0.55);
}

.landing-input-icon {
  flex-shrink: 0;
  color: rgba(255, 255, 255, 0.55);
  font-size: 16px;
}

.landing-input-row input:focus {
  outline: none;
  border: none;
  box-shadow: none;
}

.landing-input-row input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 15px;
  outline: none;
  height: 44px;
}

.landing-input-row input::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.landing-pw-toggle {
  flex-shrink: 0;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.55);
  cursor: pointer;
  padding: 8px;
  line-height: 1;
}

.landing-pw-toggle:hover {
  color: var(--primary-color);
}

.landing-remember-row {
  margin-top: -4px;
}

.landing-remember {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.75);
  cursor: pointer;
  user-select: none;
}

.landing-remember input {
  width: 16px;
  height: 16px;
  accent-color: var(--primary-color-1);
}

.landing-login-submit {
  margin-top: 8px;
  width: 100%;
  min-height: 48px;
  border: 0;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  color: #1a1408;
  background: linear-gradient(180deg, #fff6c4 0%, var(--primary-color) 45%, #e8cf5a 100%);
  box-shadow: 0 4px 16px rgba(245, 226, 121, 0.35);
  transition: transform 0.15s, box-shadow 0.15s;
}

.landing-login-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(245, 226, 121, 0.45);
}

.landing-lang-flags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.landing-lang-flag {
  display: block;
  width: 36px;
  height: 100%;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid transparent;
  opacity: 0.85;
  transition: opacity 0.2s, border-color 0.2s;
  border-radius: 50px;
}

.landing-lang-flag:hover,
.landing-lang-flag.is-active {
  opacity: 1;
  border-color: var(--primary-color);
}

.landing-lang-flag img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.landing-footer-links {
  text-align: center;
  margin-top: 16px;
}

.landing-footer-links a {
  font-size: 14px;
  font-weight: 600;
  color: var(--primary-color);
  text-decoration: none;
}

.landing-footer-links a:hover {
  text-decoration: underline;
}

.landing-register-hero {
  flex: 1 1 55%;
  min-height: 280px;
  pointer-events: none;
}

.landing-loading-overlay.loading_login {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0, 0, 0, 0.35);
}

.landing-loading-overlay.loading_login:not([style*="display: none"])::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 40px;
  height: 40px;
  margin: -20px 0 0 -20px;
  border: 3px solid rgba(255, 255, 255, 0.25);
  border-top-color: var(--primary-color);
  border-radius: 50%;
  animation: landing-spin 0.8s linear infinite;
}

@keyframes landing-spin {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 900px) {
  .landing-register-page-inner {
    flex-direction: column;
    align-items: stretch;
  }

  .landing-register-card {
    flex: 1 1 auto;
    max-width: none;
  }

  .landing-register-hero {
    display: none;
  }

  .landing-register-page {
    background-position: center top;
  }
}