body.tg-login {
  min-height: 120vh;
  display: flex;
  flex-direction: column;
  background: #fcf9f8;
  color: #1c1b1b;
}

.login-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 50;
  background: rgba(252, 249, 248, 0.82);
  backdrop-filter: blur(0.24rem);
}

.login-header__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 0.96rem;
  padding: 0 0.432rem;
}

.login-header__brand {
  color: #0d0d0d;
  font-size: 0.64rem;
  line-height: 1;
  font-weight: 900;
  letter-spacing: -0.065em;
}

.login-main {
  flex: 1 0 auto;
  display: flex;
  min-height: calc(120vh - 2.416rem);
}

.login-visual {
  position: relative;
  flex: 0 0 55%;
  min-height: 8.4rem;
  overflow: hidden;
  background: #f6f3f2;
}

.login-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1);
  opacity: 0.9;
  mix-blend-mode: multiply;
}

.login-visual__wash {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.08) 0%, rgba(252, 249, 248, 0.82) 100%);
}

.login-visual__copy {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  max-width: 6.24rem;
  padding: 0 0.864rem 0.864rem;
}

.login-visual__copy h1 {
  margin: 0 0 0.216rem;
  color: #0d0d0d;
  font-size: 0.64rem;
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -0.052em;
}

.login-visual__copy p {
  margin: 0;
  color: #4e4639;
  font-size: 0.48rem;
  line-height: 1.65;
  font-weight: 300;
}

.login-panel {
  flex: 0 0 45%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow-y: auto;
  padding: 0.864rem 1.296rem;
  background: #fcf9f8;
}

.login-card {
  width: min(100%, 8.808rem);
}

.login-card__header {
  margin-bottom: 0.432rem;
}

.login-card__header h2 {
  margin: 0 0 0.108rem;
  color: #0d0d0d;
  font-size: 0.8rem;
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.052em;
}

.login-card__header p {
  margin: 0;
  color: #4e4639;
  font-size: 0.426666rem;
  line-height: 1.55;
}

.login-form {
  display: grid;
  gap: 0.324rem;
}

.login-fields {
  display: grid;
  gap: 0.216rem;
}

.login-field {
  position: relative;
}

.login-field input {
  display: block;
  width: 100%;
  min-height: 0.576rem;
  padding: 0.135rem 0;
  border: 0;
  border-bottom: 1px solid rgba(209, 197, 180, 0.55);
  border-radius: 0;
  background: transparent;
  color: #1c1b1b;
  font-size: 0.426666rem;
  line-height: 1.3;
  outline: none;
  box-shadow: none;
  transition: border-color 0.25s ease;
}

.login-field input::placeholder {
  color: #7f7667;
}

.login-field input:focus {
  border-color: #c5a059;
}

.login-field--password input {
  padding-right: 0.486rem;
}

.login-eye {
  position: absolute;
  right: 0;
  top: 50%;
  display: inline-flex;
  width: 0.48rem;
  height: 0.48rem;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  background: transparent;
  color: #7f7667;
  transform: translateY(-50%);
  transition: color 0.25s ease;
}

.login-eye:hover {
  color: #c5a059;
}

.login-eye svg {
  width: 0.48rem;
  height: 0.48rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.login-form__meta {
  display: flex;
  justify-content: flex-start;
}

.login-form__meta a {
  color: #7f7667;
  font-size: 0.373334rem;
  transition: color 0.25s ease;
}

.login-form__meta a:hover {
  color: #c5a059;
}

.login-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 0.876rem;
  margin-top: 0.216rem;
  border: 0;
  border-radius: 0.024rem;
  background: #c5a059;
  color: #ffffff;
  font-size: 0.373334rem;
  font-weight: 800;
  letter-spacing: 0.182em;
  text-transform: uppercase;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.login-submit:hover {
  opacity: 0.92;
  transform: translateY(-0.02rem);
}

.login-divider {
  display: flex;
  align-items: center;
  gap: 0.216rem;
  margin: 0.432rem 0 0.324rem;
}

.login-divider span {
  flex: 1 1 auto;
  height: 1.2px;
  background: #e5e2e1;
}

.login-divider em {
  flex: 0 0 auto;
  color: #7f7667;
  font-size: 0.426666rem;
  font-style: normal;
  letter-spacing: 0.156em;
  text-transform: uppercase;
}

.login-social {
  display: grid;
  gap: 0.162rem;
}

.login-social__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.162rem;
  min-height: 0.696rem;
  border: 1px solid rgba(209, 197, 180, 0.55);
  border-radius: 0.024rem;
  background: transparent;
  color: #1c1b1b;
  font-size: 0.533334rem;
  font-weight: 600;
  transition: background-color 0.25s ease, border-color 0.25s ease;
}

.login-social__button:hover {
  border-color: rgba(197, 160, 89, 0.6);
  background: #ffffff;
}

.login-social__button svg {
  width: 0.48rem;
  height: 0.48rem;
  fill: currentColor;
}

.login-register {
  margin: 0.432rem 0 0;
  color: #4e4639;
  font-size: 0.373334rem;
  line-height: 1.5;
  text-align: center;
}

.login-register a {
  color: #c5a059;
  font-weight: 700;
  text-decoration: none;
}

.login-register a:hover {
  text-decoration: underline;
  text-underline-offset: 0.04rem;
}

.login-footer {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.432rem;
  padding: 0.648rem;
  background: #0d0d0d;
  color: #ffffff;
  font-size: 0.2rem;
  font-weight: 700;
  letter-spacing: 0.156em;
  text-transform: uppercase;
}

.login-footer p {
  margin: 0;
}

.login-footer__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.432rem;
}

.login-footer__links a {
  color: rgba(255, 255, 255, 0.42);
  transition: color 0.25s ease;
}

.login-footer__links a:hover {
  color: #c5a059;
}

@media (max-width: 991.98px) {
  .login-main {
    display: block;
    min-height: auto;
  }

  .login-visual {
    display: none;
  }

  .login-panel {
    min-height: calc(120vh - 2.752rem);
    padding: 0.972rem 0.648rem;
  }

  .login-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .login-footer__links {
    justify-content: flex-start;
  }
}

@media (max-width: 575.98px) {
  .login-header__bar {
    min-height: 0.864rem;
    padding: 0 0.324rem;
  }

  .login-panel {
    min-height: auto;
    padding: 0.756rem 0.432rem 0.972rem;
  }

  .login-card__header h2 {
    font-size: 0.96rem;
  }

  .login-divider {
    gap: 0.162rem;
  }

  .login-divider em {
    font-size: 0.213334rem;
  }

  .login-footer {
    padding: 0.486rem 0.432rem;
  }

  .login-footer__links {
    flex-direction: column;
    gap: 0.162rem;
  }
}

