/* app.css */
:root {
  --primary: #0ea5e9;
  --bg: #f9fafb;
  --text: #111827;
  --muted: #6b7280;
  --radius: 0.5rem;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
}

header {
  background: var(--primary);
  color: white;
  padding: 1rem;
  text-align: center;
}

header h1 {
  margin: 0;
}

.status {
  margin-top: 0.25rem;
  font-size: 0.9rem;
  font-weight: 500;
}

main {
  max-width: 700px;
  margin: 1rem auto;
  padding: 0 1rem;
}

form {
  display: grid;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

form input,
form textarea {
  padding: 0.5rem;
  border: 1px solid #d1d5db;
  border-radius: var(--radius);
  font-size: 1rem;
  width: 100%;
}

form textarea {
  min-height: 100px;
  resize: vertical;
}

form button {
  background: var(--primary);
  color: white;
  border: none;
  border-radius: var(--radius);
  padding: 0.75rem;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.2s;
}

form button:hover {
  background: #0284c7;
}

section h2 {
  margin-top: 0;
}

ul#notes {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 1rem;
}

.note {
  background: white;
  padding: 1rem;
  border-radius: var(--radius);
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.note h3 {
  margin: 0 0 0.25rem;
}

.note p {
  margin: 0 0 0.5rem;
}

.note small {
  color: var(--muted);
  font-size: 0.8rem;
}
