body.auth-login-page,
body.auth-open-browser-page {
  min-height: 100vh;
  margin: 0;
  font-family: "Inter", sans-serif;
  background: #0f1419;
  background-image:
    radial-gradient(ellipse 80% 60% at 50% -10%, rgba(12, 165, 84, 0.22), transparent),
    radial-gradient(ellipse 50% 40% at 100% 100%, rgba(12, 165, 84, 0.08), transparent);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
}

.auth-login {
  width: 100%;
  max-width: 440px;
}

.auth-login__card {
  background: rgba(36, 39, 61, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 20px;
  box-shadow:
    0 24px 48px rgba(0, 0, 0, 0.35),
    0 0 0 1px rgba(255, 255, 255, 0.03) inset;
  padding: 40px 36px 36px;
}

.auth-login__brand {
  text-align: center;
  margin-bottom: 32px;
}

.auth-login__logo {
  width: 72px;
  height: 72px;
  object-fit: contain;
  margin-bottom: 16px;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
}

.auth-login__title {
  margin: 0 0 6px;
  font-size: 26px;
  font-weight: 700;
  color: #f4f6f8;
  letter-spacing: -0.02em;
}

.auth-login__subtitle {
  margin: 0;
  font-size: 13px;
  font-weight: 400;
  color: #8b92a8;
  line-height: 1.5;
}

.auth-login__form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.auth-login__label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
  gap: 8px;
  min-height: 20px;
}

.auth-login__field > label {
  display: block;
  margin: 0 0 8px;
}

.auth-login__field label {
  font-size: 13px;
  font-weight: 500;
  color: #c5cad6;
}

.auth-login__label-row label {
  margin: 0;
}

.auth-login__field .otp-input {
  margin-top: 10px;
}

.auth-login__hint {
  font-size: 12px;
  color: #6b7289;
  font-weight: 400;
}

.auth-login__hint--warn {
  color: #f59e0b;
}

.auth-login__input-wrap {
  position: relative;
}

.auth-login__input-wrap .auth-login__icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: #6b7289;
  font-size: 15px;
  pointer-events: none;
  transition: color 0.2s ease;
}

.auth-login__input-wrap:focus-within .auth-login__icon {
  color: #0ca554;
}

.auth-login__input {
  width: 100%;
  height: 48px;
  padding: 0 16px 0 44px;
  font-size: 15px;
  font-family: inherit;
  color: #eef1f6;
  background: #1a1d2e;
  border: 1px solid #2e3348;
  border-radius: 12px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.auth-login__input::placeholder {
  color: #5c6378;
  font-size: 15px;
  font-weight: 400;
  letter-spacing: normal;
  opacity: 1;
}

.auth-login__input:hover {
  border-color: #3d4458;
}

.auth-login__input:focus {
  outline: none;
  border-color: #0ca554;
  background: #16192a;
  box-shadow: 0 0 0 3px rgba(12, 165, 84, 0.15);
}

.auth-login__input--password {
  padding-right: 48px;
}

.auth-login__input.auth-login__input--password[type="password"] {
  height: 50px;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.32em;
  padding-left: 46px;
  padding-right: 50px;
  font-family: "Inter", sans-serif;
}

.auth-login__input.auth-login__input--password[type="password"]::placeholder {
  font-size: 15px;
  font-weight: 400;
  letter-spacing: normal;
  font-family: "Inter", sans-serif;
}

.auth-login__toggle-pwd {
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 10px;
  background: transparent;
  color: #6b7289;
  font-size: 16px;
  cursor: pointer;
  transition: color 0.2s ease, background 0.2s ease;
}

.auth-login__toggle-pwd:hover {
  color: #0ca554;
  background: rgba(12, 165, 84, 0.1);
}

.auth-login__input-wrap:focus-within .auth-login__toggle-pwd {
  color: #8b92a8;
}

.auth-login__submit {
  margin-top: 8px;
  width: 100%;
  height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  font-family: inherit;
  letter-spacing: 0.01em;
  color: #fff;
  cursor: pointer;
  background: linear-gradient(135deg, #0ca554 0%, #099647 100%);
  box-shadow: 0 4px 14px rgba(12, 165, 84, 0.35);
  transition: transform 0.15s ease, box-shadow 0.2s ease, opacity 0.2s ease, background 0.2s ease;
}

.auth-login__submit:hover:not(:disabled) {
  box-shadow: 0 6px 20px rgba(12, 165, 84, 0.45);
  transform: translateY(-1px);
  background: linear-gradient(135deg, #0db75c 0%, #0ca554 100%);
}

.auth-login__submit:active:not(:disabled) {
  transform: translateY(0);
  box-shadow: 0 2px 10px rgba(12, 165, 84, 0.3);
}

.auth-login__submit:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
}

.auth-login__actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 8px;
}

.auth-login__actions .auth-login__submit {
  margin-top: 0;
}

.auth-login__back-btn {
  width: 100%;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  color: #c5cad6;
  font-size: 15px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}

.auth-login__back-btn:hover {
  color: #0ca554;
  border-color: rgba(12, 165, 84, 0.35);
  background: rgba(12, 165, 84, 0.1);
  transform: translateY(-1px);
}

.auth-login__back-btn:active {
  transform: translateY(0);
}

.auth-login__footer {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  text-align: center;
}

.auth-login__back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 600;
  color: #a8afc2;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}

.auth-login__back:hover {
  color: #0ca554;
  border-color: rgba(12, 165, 84, 0.28);
  background: rgba(12, 165, 84, 0.08);
  transform: translateY(-1px);
  text-decoration: none;
}

.auth-login__back i {
  margin-right: 0;
  font-size: 12px;
}

@media (max-width: 480px) {
  .auth-login__card {
    padding: 32px 24px 28px;
  }

  .auth-login__title {
    font-size: 22px;
  }
}

.auth-open-browser__actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 8px;
}

.auth-open-browser__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 14px 18px;
  border: none;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.auth-open-browser__btn:active {
  transform: scale(0.98);
}

.auth-open-browser__btn--chrome {
  color: #fff;
  background: linear-gradient(135deg, #4285f4 0%, #3367d6 100%);
  box-shadow: 0 8px 20px rgba(66, 133, 244, 0.28);
}

.auth-open-browser__btn--yandex {
  color: #fff;
  background: linear-gradient(135deg, #fc3f1d 0%, #e02810 100%);
  box-shadow: 0 8px 20px rgba(252, 63, 29, 0.24);
}

.auth-open-browser__hint {
  margin: 18px 0 0;
  text-align: center;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.5;
}
