.login-container {
  position: relative;
  z-index: 1;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
  font-family: 'Inter', sans-serif;
}

.login-card {
  border-radius: 1rem;
  padding: 2rem;
  width: 100%;
  max-width: 400px;
  box-sizing: border-box;
}

.login-logo img {
  width: 100px;
  max-width: 100vw;
  height: auto;
}

.login-card h1 {
  font-size: clamp(1.6rem, 5vw, 2rem);
  margin-bottom: 0.5rem;
  line-height: 1.2;
}

.login-card p {
  font-size: clamp(0.85rem, 3.5vw, 1rem);
  color: #ccc;
  margin-bottom: 1.5rem;
  line-height: 1.4;
}

.login-form {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.login-form input {
  padding: 0.9rem 1.1rem;
  border-radius: 0.5rem;
  border: none;
  font-size: 1rem;
  background: rgba(255,255,255,0.07);
  color: white;
  width: 100%;
  box-sizing: border-box;
}

.login-form input::placeholder {
  color: #aaa;
}

.login-form button {
  padding: 0.9rem;
  border-radius: 0.5rem;
  border: none;
  background: #facc15;
  color: black;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: 0.2s;
}

.login-form button:hover,
.login-form button:focus {
  background: #fde047;
  outline: none;
}

.login-links {
  display: flex;
  justify-content: space-between;
  margin-top: 1.25rem;
  font-size: clamp(0.8rem, 3vw, 0.9rem);
  flex-wrap: wrap;
  gap: 0.75rem;
}

.login-links a {
  color: #ccc;
  text-decoration: none;
  transition: 0.2s;
}

.login-links a:hover,
.login-links a:focus {
  color: white;
  text-decoration: underline;
}

.password-container {
  position: relative;
}

.toggle-password {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  color: #6b7280;
}

@media (max-width: 420px) {
  .login-container {
    padding: 1rem 0.8rem;
  }

  .login-card {
    padding: 1.5rem;
    border-radius: 0.9rem;
    max-width: none;
    margin: 0 0.5rem;
  }

  .login-logo img {
    width: 120px;
  }

  .login-form input,
  .login-form button {
    font-size: 0.95rem;
    padding: 0.8rem 1rem;
  }

  .login-links {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.9rem;
  }
}

@media (min-width: 768px) {
  .login-card {
    padding: 2.5rem;
    max-width: 420px;
  }

  .login-logo img {
    width: 120px;
  }
}

@media (min-width: 1200px) {
  .login-card {
    max-width: 460px;
    padding: 3rem;
  }

  .login-logo img {
    width: 120px;
  }
}