/* Scoped styles for the web dashboard's login/register screen (shared/authForm.js).
   Deliberately isolated under the .sfa- prefix so it can never collide with
   the extension's popup.css or the dashboard's app.css. */
.sfa-screen {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  background: #f6f7f9; padding: 24px;
}
.sfa-card {
  width: 380px; max-width: 100%; background: #fff; border-radius: 14px;
  padding: 28px 26px 26px; box-shadow: 0 1px 2px rgba(16,24,40,0.04), 0 8px 24px rgba(16,24,40,0.08);
}
.sfa-brand { display: flex; align-items: center; gap: 9px; margin-bottom: 18px; }
.sfa-brand-mark {
  width: 28px; height: 28px; border-radius: 8px;
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 700; font-size: 14px; flex-shrink: 0;
}
.sfa-brand h1 { font-size: 17px; margin: 0; font-weight: 700; letter-spacing: -0.01em; }

.sfa-sub { font-size: 12.5px; color: #6b7280; margin: 0 0 14px; line-height: 1.5; }

.sfa-card label { display: block; font-size: 12px; margin: 12px 0 5px; color: #374151; font-weight: 500; }
.sfa-card input {
  width: 100%; padding: 9px 10px; border: 1px solid #d1d5db; border-radius: 8px; font-size: 13px;
  font-family: inherit; transition: border-color 0.15s;
}
.sfa-card input:focus { outline: none; border-color: #2563eb; box-shadow: 0 0 0 3px rgba(37,99,235,0.12); }

.sfa-btn {
  width: 100%; margin-top: 14px; padding: 10px; border: none; border-radius: 8px;
  font-weight: 600; font-size: 13.5px; cursor: pointer; transition: background 0.15s;
}
.sfa-btn-primary { background: #2563eb; color: #fff; }
.sfa-btn-primary:hover:not(:disabled) { background: #1d4ed8; }
.sfa-btn:disabled { opacity: 0.6; cursor: not-allowed; }
.sfa-btn-google {
  background: #fff; color: #1f2937; border: 1px solid #d1d5db; margin-top: 4px;
  display: flex; align-items: center; justify-content: center; gap: 8px;
}
.sfa-btn-google:hover:not(:disabled) { background: #f9fafb; }
.sfa-google-g { width: 16px; height: 16px; flex-shrink: 0; display: inline-block; }

.sfa-divider { display: flex; align-items: center; text-align: center; color: #9ca3af; font-size: 11px; margin: 16px 0 2px; }
.sfa-divider::before, .sfa-divider::after { content: ''; flex: 1; border-bottom: 1px solid #e5e7eb; }
.sfa-divider span { padding: 0 8px; }

.sfa-turnstile { margin-top: 14px; display: flex; justify-content: center; min-height: 65px; }

.sfa-account-type { display: flex; gap: 8px; margin-top: 5px; }
.sfa-account-type-btn {
  flex: 1; padding: 8px; border: 1px solid #d1d5db; border-radius: 8px; background: #fff;
  font-size: 12.5px; font-weight: 500; color: #4b5563; cursor: pointer; transition: all 0.15s;
}
.sfa-account-type-btn.active { border-color: #2563eb; background: #eff6ff; color: #1d4ed8; font-weight: 600; }

.sfa-link { display: block; text-align: center; font-size: 12px; margin-top: 10px; color: #2563eb; cursor: pointer; }
.sfa-link:hover { text-decoration: underline; }
.sfa-error { color: #dc2626; font-size: 12px; margin-top: 8px; text-align: center; }
