:root {
  --bg: #f7f6f3;
  --surface: #ffffff;
  --text: #1c1a17;
  --text-muted: #6b6459;
  --border: #e3ded4;
  --accent: #b8862c;
  --accent-ink: #ffffff;
  --danger: #b3423a;
  --radius: 10px;
  --shadow: 0 1px 2px rgba(28, 26, 23, 0.06), 0 6px 20px rgba(28, 26, 23, 0.06);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  padding: 0.55em 1.1em;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font-size: 0.95rem;
  cursor: pointer;
  transition: filter 0.15s ease;
}

.btn:hover { filter: brightness(0.97); }

.btn-accent {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-ink);
}

.btn-danger {
  background: var(--danger);
  border-color: var(--danger);
  color: #fff;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

input, textarea, select {
  font: inherit;
  color: inherit;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.55em 0.7em;
  width: 100%;
}

input:focus, textarea:focus, select:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}

label {
  display: block;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 0.3em;
}

/* Riga di copyright in fondo alle pagine pubbliche */
.copyright { margin: 0.9rem 0 0; font-size: 0.75rem; color: var(--text-muted); text-align: center; }
footer.film-footer { padding: 1rem 1rem 2.5rem; }
