@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap");

body.auth-login-page {
  min-height: 100vh;
  margin: 0;
  font-family: "Inter", "Poppins", 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;
}

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

.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: 14px;
  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;
}

.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__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;
  border: none;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  font-family: inherit;
  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;
}

.auth-login__submit:hover {
  box-shadow: 0 6px 20px rgba(12, 165, 84, 0.45);
  transform: translateY(-1px);
}

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

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

.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 {
  font-size: 13px;
  font-weight: 500;
  color: #8b92a8;
  text-decoration: none;
  transition: color 0.2s ease;
}

.auth-login__back:hover {
  color: #0ca554;
  text-decoration: none;
}

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

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

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