/* ── Login — login.css ── */

* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: 'Inter', -apple-system, sans-serif;
  background: #000;
  color: #fff;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.card {
  background: #0a0a0a;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  padding: 48px 40px;
  max-width: 420px;
  width: 100%;
  text-align: center;
}
.logo {
  width: 48px; height: 48px;
  background: #FF0050;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 24px;
  font-size: 20px; font-weight: 800; color: #fff;
}
h1 { font-size: 22px; font-weight: 700; margin-bottom: 4px; }
.subtitle { font-size: 13px; color: rgba(255,255,255,0.45); margin-bottom: 32px; }

/* ── Magic link form ── */
.magic-form { text-align: left; }
.magic-label { font-size: 12px; font-weight: 600; color: rgba(255,255,255,0.5); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 8px; display: block; }
.magic-input {
  width: 100%;
  padding: 13px 16px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  color: #fff;
  font-size: 15px;
  font-family: 'Inter', sans-serif;
  outline: none;
  transition: border-color 0.15s;
}
.magic-input:focus { border-color: #FF0050; }
.magic-input::placeholder { color: rgba(255,255,255,0.3); }
.magic-btn {
  display: block; width: 100%;
  padding: 14px;
  background: #FF0050;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 15px; font-weight: 600;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  margin-top: 12px;
  transition: background 0.15s;
}
.magic-btn:hover { background: #e0003e; }
.magic-btn:disabled { opacity: 0.5; cursor: not-allowed; }

/* ── Divider ── */
.divider {
  display: none; align-items: center; gap: 12px;
  margin: 24px 0;
  color: rgba(255,255,255,0.25);
  font-size: 12px;
}
.divider.visible { display: flex; }
.divider::before, .divider::after {
  content: ''; flex: 1;
  border-top: 1px solid rgba(255,255,255,0.1);
}

/* ── Google btn ── */
.google-btn {
  display: none; align-items: center; justify-content: center; gap: 12px;
  width: 100%; padding: 13px 24px;
  background: #fff; color: #000;
  border: none; border-radius: 8px;
  font-size: 15px; font-weight: 600;
  font-family: 'Inter', sans-serif;
  cursor: pointer; text-decoration: none;
  transition: background 0.15s;
}
.google-btn:hover { background: #f0f0f0; }
.google-btn.visible { display: flex; }

/* ── Messages ── */
.msg {
  margin-top: 16px; padding: 12px 16px;
  border-radius: 8px; font-size: 13px;
  display: none;
}
.msg.error { display: block; background: rgba(255,0,80,0.1); border: 1px solid rgba(255,0,80,0.3); color: #ff6b6b; }
.msg.success { display: block; background: rgba(78,205,196,0.1); border: 1px solid rgba(78,205,196,0.3); color: #4ecdc4; }

.footer { margin-top: 28px; font-size: 11px; color: rgba(255,255,255,0.2); }
.footer a { color: rgba(255,0,80,0.6); text-decoration: none; }
