*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --bg: #0d1117; --surface: #161b22; --border: #30363d;
  --accent: #58a6ff; --accent2: #1f6feb; --text: #e6edf3;
  --muted: #8b949e; --danger: #f85149; --radius: 12px;
}
body {
  background: var(--bg); color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  min-height: 100vh; display: flex; flex-direction: column;
  align-items: center; justify-content: center; padding: 1rem;
}
.card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 2.5rem 2rem; width: 100%;
  max-width: 380px; box-shadow: 0 16px 48px rgba(0,0,0,.5);
}
.logo { display: flex; flex-direction: column; align-items: center; gap: .6rem; margin-bottom: 2rem; }
.logo svg { width: 48px; height: 48px; }
.logo-title { font-size: 1.25rem; font-weight: 700; letter-spacing: -.4px; }
.logo-sub { font-size: .75rem; color: var(--muted); letter-spacing: .5px; text-transform: uppercase; }
.field { margin-bottom: 1rem; }
.field label { display: block; font-size: .8rem; color: var(--muted); margin-bottom: .4rem; }
.field input {
  width: 100%; background: var(--bg); border: 1px solid var(--border);
  border-radius: 8px; color: var(--text); font-size: .95rem;
  padding: .6rem .85rem; outline: none; transition: border-color .2s;
}
.field input:focus { border-color: var(--accent); }
.btn {
  width: 100%; padding: .7rem; background: var(--accent2); color: #fff;
  border: none; border-radius: 8px; font-size: .95rem; font-weight: 600;
  cursor: pointer; margin-top: .5rem; transition: background .2s, transform .1s;
}
.btn:hover { background: var(--accent); }
.btn:active { transform: scale(.98); }
.error {
  display: none; background: rgba(248,81,73,.12); border: 1px solid rgba(248,81,73,.4);
  border-radius: 8px; color: var(--danger); font-size: .82rem;
  padding: .55rem .8rem; margin-top: .9rem; text-align: center;
}
.divider { border: none; border-top: 1px solid var(--border); margin: 1.5rem 0 1rem; }
.storage-info { display: flex; justify-content: space-between; font-size: .75rem; color: var(--muted); }
.storage-bar { width: 100%; height: 4px; background: var(--border); border-radius: 2px; margin-top: .4rem; overflow: hidden; }
.storage-bar-fill { height: 100%; width: 63%; background: linear-gradient(90deg, var(--accent2), var(--accent)); border-radius: 2px; }
footer { margin-top: 2rem; font-size: .72rem; color: var(--muted); text-align: center; line-height: 1.6; }
