body {
  font-family: 'Segoe UI', sans-serif;
  background-color: #2d2d2d;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  margin: 0;
}

.login-card {
  background: #ffffff;
  padding: 40px 50px;
  border-radius: 8px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.5);
  width: 100%;
  max-width: 380px;
  text-align: center;
  border-top: 6px solid #E91D25;
}

h2 {
  margin-bottom: 25px;
  color: #333;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

input {
  width: 100%;
  padding: 14px;
  margin: 8px 0;
  background: #f0f0f0;
  border: 1px solid #ddd;
  color: #333;
  border-radius: 4px;
  box-sizing: border-box;
  outline: none;
  transition: all 0.3s;
}

input:focus {
  border-color: #E91D25;
  background: #fff;
  box-shadow: 0 0 5px rgba(233, 29, 37, 0.2);
}

.password-wrapper {
  position: relative;
  width: 100%;
  margin: 8px 0;
}

.password-wrapper input {
  margin: 0;
  padding-right: 45px;
}

.toggle-icon {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  width: 20px;
  height: 20px;
  fill: #777;
  transition: fill 0.3s;
}

.toggle-icon:hover { fill: #E91D25; }

button {
  width: 100%;
  padding: 14px;
  background: #E91D25;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: bold;
  font-size: 1rem;
  margin-top: 20px;
  transition: background 0.3s;
}

button:hover { background: #c4131a; }
button:disabled { background: #ccc; cursor: not-allowed; }

.links {
  margin-top: 20px;
  font-size: 0.9rem;
}

.links button {
  background: none;
  border: none;
  padding: 0;
  color: #666;
  text-decoration: none;
  cursor: pointer;
  font-size: 0.9rem;
  font-family: inherit;
  margin-top: 0;
}

.links button:hover {
  color: #E91D25;
  text-decoration: underline;
  background: none;
}

.msg-box {
  margin-top: 15px;
  font-size: 0.9rem;
  padding: 10px;
  border-radius: 4px;
  display: none;
  text-align: left;
}

.error { background-color: #ffeaea; color: #d63031; border-left: 4px solid #d63031; }
.success { background-color: #e6fffa; color: #00b894; border-left: 4px solid #00b894; }
