*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  font-family: system-ui, -apple-system, sans-serif;
  padding: 1rem;
}

.card {
  background: #ffffff;
  border-radius: 16px;
  padding: 2.5rem 2rem;
  width: 100%;
  max-width: 380px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
  text-align: center;
}

.logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  background: #f0f4ff;
  border-radius: 50%;
  margin-bottom: 1rem;
  color: #3b5bdb;
}

h1 {
  font-size: 1.4rem;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 1.5rem;
}

.alert {
  background: #fff0f0;
  border: 1px solid #ffcdd2;
  color: #c62828;
  border-radius: 8px;
  padding: .65rem 1rem;
  font-size: .875rem;
  margin-bottom: 1rem;
}

label {
  display: block;
  text-align: left;
  font-size: .85rem;
  font-weight: 600;
  color: #444;
  margin-bottom: .4rem;
}

input[type="password"] {
  width: 100%;
  padding: .75rem 1rem;
  border: 1.5px solid #ddd;
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color .2s;
  outline: none;
  margin-bottom: 1.25rem;
}

input[type="password"]:focus {
  border-color: #3b5bdb;
  box-shadow: 0 0 0 3px rgba(59,91,219,.12);
}

button {
  width: 100%;
  padding: .8rem;
  background: #3b5bdb;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s, transform .1s;
}

button:hover  { background: #2f4ac2; }
button:active { transform: scale(.98); }
