* { box-sizing: border-box; }
html, body {
  margin: 0;
  height: 100%;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  background: radial-gradient(circle at top, #1a1a2e 0%, #0b0b14 70%);
  color: #fff;
}
.wrap {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  padding: 40px 32px;
  width: 100%;
  max-width: 360px;
  text-align: center;
  backdrop-filter: blur(10px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
.logo {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.logo span { color: #ff3b3b; }
.sub {
  color: #aaa;
  font-size: 14px;
  margin-bottom: 24px;
}
form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
input[type="password"] {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 10px;
  padding: 14px 16px;
  color: #fff;
  font-size: 16px;
  outline: none;
  transition: border-color 0.2s;
}
input[type="password"]:focus {
  border-color: #ff3b3b;
}
button {
  background: #ff3b3b;
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 14px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, opacity 0.2s;
}
button:hover { background: #e62e2e; }
button:disabled { opacity: 0.6; cursor: default; }
.error {
  color: #ff6b6b;
  font-size: 13px;
  min-height: 18px;
  margin-top: 16px;
}