body {
  font-family: sans-serif;
  background: linear-gradient(135deg, #0d47a1 0%, #1976d2 100%);
  min-height: 100vh;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.login-box {
  max-width: 360px;
  width: 100%;
  background: #fff;
  padding: 2.5em 2em 2em 2em;
  border-radius: 12px;
  box-shadow: 0 6px 32px #0d47a144;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  border-top: 8px solid #0d47a1;
  border-bottom: 2px solid #1976d2;
  margin: 2em 0;
}
.login-box h2 {
  margin-top: -1.2em;
  margin-bottom: 1.2em;
  text-align: center;
  color: #fff;
  background: linear-gradient(90deg, #0d47a1 0%, #1976d2 100%);
  border-radius: 8px 8px 0 0;
  padding: 0.8em 0 0.7em 0;
  font-size: 1.35em;
  font-weight: 700;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 8px #0d47a122;
  position: relative;
  top: -2.5em;
  left: -2em;
  width: calc(100% + 4em);
}
.error {
  color: #b00;
  margin-bottom: 1em;
  text-align: center;
}
label {
  display: block;
  margin-top: 1em;
  color: #0d47a1;
  font-weight: 500;
}
input[type=text], input[type=password] {
  width: 100%;
  padding: 0.5em;
  margin-top: 0.2em;
  box-sizing: border-box;
  border: 1.5px solid #1976d2;
  border-radius: 4px;
  font-size: 1em;
  background: #f5faff;
  color: #222;
  transition: border 0.2s;
}
input[type=text]:focus, input[type=password]:focus {
  border: 2px solid #0d47a1;
  outline: none;
}
button {
  margin-top: 1.5em;
  width: 100%;
  padding: 0.7em;
  background: linear-gradient(90deg, #0d47a1 0%, #1976d2 100%);
  color: #fff;
  border: none;
  border-radius: 4px;
  font-size: 1em;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 2px 8px #0d47a122;
  letter-spacing: 0.5px;
  transition: background 0.2s;
}
button:hover {
  background: linear-gradient(90deg, #1976d2 0%, #0d47a1 100%);
}
