.login-page {
  font-family: 'Segoe UI', sans-serif;
  background-color: #f5f7fa;
  min-height: calc(100vh - 120px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.login-container {
  width: 100%;
  max-width: 420px;
  padding: 2.5rem;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  animation: fadeInUp 0.6s ease-in-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.login-container h2 {
  text-align: center;
  color: #262b31;
  margin-bottom: 1.8rem;
}

.login-container form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.login-container input {
  width: 100%;
  padding: 0.75rem;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 1rem;
  background: #f9f9f9;
}

.login-container input:focus {
  border-color: #262b31;
  outline: none;
  background: #fff;
}

.login-container button[type="submit"] {
  background:rgb(45, 143, 143);
  color: #fff;
  padding: 0.8rem;
  border-radius: 8px;
  border: none;
  cursor: pointer;
}

.login-container button[type="submit"]:hover {
  opacity: 0.9;
}

.password-toggle-btn {
  font-size: 0.85rem;
  background: none;
  border: none;
  color: #007bff;
  cursor: pointer;
  text-align: left;
  padding: 0;
}

.auth-links {
  margin-top: 1.2rem;
  display: flex;
  justify-content: space-between;
  font-size: 0.95rem;
}

.auth-links a {
  color: #007bff;
  text-decoration: none;
}

.auth-links a:hover {
  text-decoration: underline;
}

@media (max-width: 500px) {
  .login-container {
    padding: 1.8rem;
    margin: 1rem;
  }
}
