/* Style de base. Modifie ce que tu veux. */

:root {
  --bg: #fafaf9;
  --ink: #1c1917;
  --ink-soft: #57534e;
  --accent: #2563eb;
  --accent-ink: #ffffff;
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.5;
}

main {
  max-width: 640px;
  margin: 4rem auto;
  padding: 0 1.5rem;
}

h1 {
  font-size: 2.25rem;
  margin: 0 0 0.5rem;
}

p {
  color: var(--ink-soft);
  margin: 0 0 1rem;
}

button {
  font: inherit;
  background: var(--accent);
  color: var(--accent-ink);
  border: none;
  border-radius: var(--radius);
  padding: 0.6rem 1.1rem;
  cursor: pointer;
  transition: opacity 0.15s ease;
}

button:hover {
  opacity: 0.9;
}

#hello-output {
  margin-top: 1rem;
  font-weight: 600;
  color: var(--accent);
  min-height: 1.5em;
}

/* Écran de connexion */
.cq-login {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.cq-login-card {
  width: 100%;
  max-width: 340px;
  background: #fff;
  border: 1px solid #e7e5e4;
  border-radius: 12px;
  padding: 1.75rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  text-align: center;
}

.cq-login-card h1 {
  font-size: 1.5rem;
}

.cq-primary,
.cq-ghost {
  display: block;
  width: 100%;
  margin-top: 0.75rem;
}

.cq-ghost {
  background: transparent;
  color: var(--ink-soft);
  border: 1px solid #e7e5e4;
}

.cq-whoami {
  font-size: 0.875rem;
  color: var(--ink-soft);
}
