@import url('/static/styles/fonts.css');

:root {
  --bg: #f4f3f1;
  --card: #ffffff;
  --card-border: rgba(0, 0, 0, 0.05);
  --text: #1a1a1a;
  --text-secondary: #888888;
  --accent: #2563eb;
  --accent-hover: #1d4ed8;
  --red: #dc2626;
  --radius-sm: 10px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}
.auth-container {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.auth-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  padding: 48px 40px;
  width: 100%;
  max-width: 420px;
}
.auth-logo {
  text-align: center;
  font-family: 'Inter', sans-serif;
  font-size: 20px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 36px;
}
.auth-title {
  font-family: 'Inter', sans-serif;
  font-size: 28px;
  font-weight: 600;
  text-align: center;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.auth-subtitle { font-size: 14px; color: var(--text-secondary); text-align: center; margin-bottom: 32px; }
.form-group { margin-bottom: 20px; }
.form-label { display: block; font-size: 13px; font-weight: 500; margin-bottom: 6px; color: #555; }
.form-input {
  width: 100%; padding: 12px 16px;
  border: 1px solid rgba(0, 0, 0, 0.1); border-radius: var(--radius-sm);
  font-size: 15px; font-family: inherit;
  background: #fff;
  outline: none; transition: all 0.15s ease;
}
.form-input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1); }
.form-input.totp { text-align: center; font-size: 28px; letter-spacing: 0.3em; font-weight: 600; font-family: 'Inter', sans-serif; }
.btn {
  display: flex; align-items: center; justify-content: center;
  width: 100%; padding: 13px 24px; border: none; border-radius: var(--radius-sm);
  font-size: 15px; font-weight: 600; font-family: inherit; cursor: pointer; transition: all 0.15s ease;
}
.btn-primary { background: var(--accent); color: white; }
.btn-primary:hover { background: var(--accent-hover); }
.error-msg {
  background: rgba(220, 38, 38, 0.06); color: var(--red);
  padding: 12px 16px; border-radius: var(--radius-sm); font-size: 14px; margin-bottom: 20px;
}
.qr-container { text-align: center; margin: 24px 0; }
.qr-container img { border-radius: 12px; }
.qr-help { font-size: 13px; color: var(--text-secondary); text-align: center; margin-top: 16px; line-height: 1.6; }
