* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', 'Roboto', Arial, sans-serif;
}

body {
  min-height: 100vh;
  background: linear-gradient(135deg, #e9f0fa 0%, #c9e0f7 50%, #f5fafd 100%);

  background-repeat: repeat;
  display: flex;
  justify-content: center;
  align-items: center;
}
.login-container {
  background: #fff;
  padding: 2.5rem 2rem 2rem 2rem;
  border-radius: 18px;
  box-shadow: 0 6px 32px rgba(60, 100, 180, 0.10), 0 1.5px 6px rgba(0,0,0,0.04);
  width: 370px;
  max-width: 95vw;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.login-form h2 {
  text-align: center;
  margin-bottom: 1.5rem;
  color: #2d3a4b;
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: 0.5px;
}

.login-form input {
  width: 100%;
  padding: 0.75rem 1rem;
  margin: 0.7rem 0;
  border: 1.5px solid #e3eafc;
  border-radius: 8px;
  font-size: 1rem;
  background: #f7fbff;
  transition: border 0.2s, box-shadow 0.2s;
  box-shadow: 0 1px 2px rgba(79,140,255,0.03);
}

.login-form input:focus {
  border-color: #4f8cff;
  outline: none;
  box-shadow: 0 0 0 2px #e3f0ff;
}

.login-form button {
  width: 100%;
  padding: 0.85rem;
  background: linear-gradient(90deg, #4f8cff 0%, #6ed6ff 100%);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 8px rgba(79,140,255,0.08);
  margin-top: 0.5rem;
}

.login-form button:hover {
  background: linear-gradient(90deg, #6ed6ff 0%, #4f8cff 100%);
  box-shadow: 0 4px 16px rgba(79,140,255,0.12);
}

.forgot {
  text-align: center;
  margin-top: 1.2rem;
}

.forgot a {
  color: #4f8cff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

.forgot a:hover {
  text-decoration: underline;
  color: #2d3a4b;
}
.form-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-top: 15px;
  font-size: 0.85rem;
}

.form-links p {
  width: 100%;
  text-align: center;
}

.form-links a {
  color: #4f8cff;
  text-decoration: none;
  transition: color 0.2s;
}

.form-links a:hover {
  color: #3a75d5;
  text-decoration: underline;
}
.form-alert {
  padding: 12px 16px;
  margin-bottom: 1rem;
  border-radius: 6px;
  font-size: 1rem;
  text-align: center;
  font-weight: 500;
}

.form-alert.error {
  background-color: #f8d7da;
  color: #a94442;
  border: 1.5px solid #f5c6cb;
}
@media (max-width: 480px) {
  .login-container {
    padding: 1.5rem 0.7rem 1.2rem 0.7rem;
    width: 98vw;
  }
  .login-form h2 {
    font-size: 1.1rem;
  }
}