/*
 * SandDiary public site — shared styles.
 * Externalized so CSP can drop 'unsafe-inline' for style-src.
 */

* { box-sizing: border-box; }

body {
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: linear-gradient(135deg, #87CEEB, #98D982);
  color: #1f2937;
}

/* --- Coming-soon hero (index.html) ------------------------------------ */
.coming-soon {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.coming-soon h1 {
  font-size: 3rem;
  color: #2d5016;
  margin: 0;
}

/* --- Auth callback card (auth/callback.html) -------------------------- */
.callback-shell {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.callback-card {
  background: white;
  padding: 2.5rem;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  max-width: 600px;
  width: 100%;
}

.callback-card h1 {
  color: #2d5016;
  margin: 0 0 0.5rem;
  font-size: 2rem;
}

.callback-card p {
  color: #4b5563;
  line-height: 1.6;
  margin: 0.5rem 0;
}

.ok {
  color: #2d5016;
  font-weight: 600;
}

.err {
  color: #b91c1c;
  font-weight: 600;
}

.callback-card code {
  display: block;
  word-break: break-all;
  background: #f3f4f6;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  font-size: 0.85rem;
  line-height: 1.6;
  margin: 0.5rem 0 1.25rem;
  font-family: ui-monospace, "SF Mono", Consolas, monospace;
}

.label {
  color: #6b7280;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 1rem;
}

a {
  color: #3a7a3e;
}
