* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: "Poppins", sans-serif;
}

body {
  background: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

.login-card {
  background: #fff;
  border-radius: 16px;
  padding: 50px 55px;
  width: 370px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
  text-align: center;
  border: 1px solid #e5e5e5;
  transition: box-shadow 0.3s ease;
}

.login-card:hover {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.user-icon {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  border: 2px solid #007bff;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 20px;
  color: #007bff;
  font-size: 42px;
  background: #f4f9ff;
  transition: box-shadow 0.4s ease;
}

.user-icon:hover {
  box-shadow: 0 0 10px rgba(0, 123, 255, 0.25);
}

h2 {
  margin-bottom: 25px;
  color: #222;
  font-size: 26px;
  font-weight: 600;
}

.input-group {
  position: relative;
  margin-bottom: 20px;
}

.input-group i {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #007bff;
  font-size: 15px;
}

.input-group input {
  width: 100%;
  padding: 12px 12px 12px 42px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 15px;
  color: #333;
  background: #fafafa;
  outline: none;
  transition: border-color 0.3s, box-shadow 0.3s, background 0.3s;
}

.input-group input:focus {
  border-color: #007bff;
  background: #fff;
  box-shadow: 0 0 6px rgba(0, 123, 255, 0.2);
}

.forgot {
  text-align: right;
  margin-bottom: 25px;
}

.forgot a {
  font-size: 13px;
  color: #007bff;
  text-decoration: none;
  font-weight: 500;
}

.forgot a:hover {
  text-decoration: underline;
}

button {
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 25px;
  background: #007bff;
  color: white;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.25s;
}

button:hover {
  background: #0056b3;
}

.signup-text {
  margin-top: 22px;
  font-size: 14px;
  color: #555;
}

.signup-text a {
  color: #007bff;
  text-decoration: none;
  font-weight: 600;
}

.signup-text a:hover {
  text-decoration: underline;
}

.error-message {
  color: #b00020;
  background: #fdecea;
  padding: 0.5em;
  margin-bottom: 1em;
  border: 1px solid #f5c2c7;
  border-radius: 4px;
  text-align: center;
}