/* Simple, clean styling for the vulnerable login page */
:root {
  --bg: #0b1020;
  --card: #131a2a;
  --muted: #9aa4b2;
  --text: #e6ebf2;
  --accent: #6aa9ff;
  --accent-2: #7cf3c6;
  --danger: #ff7a7a;
  --ok: #7cff9b;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(0,0,0,.35);
}

* { box-sizing: border-box; }

html, body {
  height: 100%;
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  color: var(--text);
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(106,169,255,.15), transparent 60%),
    radial-gradient(800px 500px at 110% 20%, rgba(124,243,198,.12), transparent 60%),
    var(--bg);
}

.container {
  min-height: 100%;
  display: grid;
  place-items: center;
  padding: 32px 20px;
}

.card {
  width: 100%;
  max-width: 420px;
  background: linear-gradient(180deg, rgba(255,255,255,.02), rgba(255,255,255,.00)) , var(--card);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px;
  backdrop-filter: blur(6px);
}

.header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.badge {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 6px 16px rgba(106,169,255,.35);
  display: grid;
  place-items: center;
  font-weight: 800;
  color: #0b1220;
}

.title {
  margin: 0;
  font-size: 20px;
  letter-spacing: .3px;
}

.subtitle {
  margin: 2px 0 0 0;
  color: var(--muted);
  font-size: 13px;
}

.form {
  margin-top: 16px;
  display: grid;
  gap: 12px;
}

.label {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 6px;
}

.input {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.04);
  color: var(--text);
  outline: none;
}
.input:focus {
  border-color: rgba(106,169,255,.6);
  box-shadow: 0 0 0 4px rgba(106,169,255,.18);
}

.button {
  margin-top: 6px;
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 0;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #0b1220;
  font-weight: 700;
  cursor: pointer;
  transition: transform .04s ease;
}
.button:active { transform: translateY(1px); }

.note {
  margin-top: 14px;
  font-size: 12px;
  color: var(--muted);
  text-align: center;
}

.msg {
  margin: 12px 0 0 0;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 14px;
  border: 1px solid rgba(255,255,255,.08);
}
.msg.ok { background: rgba(124,255,155,.08); border-color: rgba(124,255,155,.28); }
.msg.bad { background: rgba(255,122,122,.08); border-color: rgba(255,122,122,.28); }

.flag {
  display: inline-block;
  margin-top: 6px;
  padding: 6px 10px;
  border-radius: 8px;
  background: rgba(106,169,255,.1);
  border: 1px dashed rgba(106,169,255,.5);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 13px;
  user-select: all;
}

.footer {
  margin-top: 18px;
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 12px;
  color: var(--muted);
}

a.hint {
  color: var(--accent);
  text-decoration: none;
}
a.hint:hover { text-decoration: underline; }
