/* Styles for admin.html only. The public pages use assets/cinematic/site.css and per-page inline CSS. */
:root {
  --accent: #f58b8c;
  --accent-dark: #e37576;
  --blush: #f6e3e0;
  --text: #1c1a19;
  --bg: #fbf7f4;
  --muted: rgba(28,26,25,0.7);
  --muted-2: rgba(28,26,25,0.6);
  --border: rgba(28,26,25,0.1);
  --dark-1: #161211;
  --dark-2: #241a19;
  --dark-3: #3a2422;
  --video-black: #0d0d0d;
  --footer-bg: #ececea;
  --cream-text: #fbf7f4;
  --cream-text-muted: rgba(251,247,244,0.75);
  --font-heading: "Montagu Slab", Georgia, serif;
  --font-accent: "Cormorant Garamond", Georgia, serif;
  --font-body: "Work Sans", -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
* { box-sizing: border-box; }
html, body {
  margin: 0;
  padding: 0;
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--text);
  background: var(--bg);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3 {
  font-family: var(--font-heading);
  font-weight: 500;
  margin: 0;
}
p { line-height: 1.7; margin: 0; }
a { color: var(--accent-dark); text-decoration: none; }
a:hover { color: var(--accent); }
img, video { max-width: 100%; display: block; }
button { font-family: inherit; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}
.btn {
  cursor: pointer;
  display: inline-block;
  border-radius: 6px;
  font-size: 13px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 14px 32px;
  border: none;
  transition: opacity .2s ease, background .2s ease, color .2s ease, transform .25s ease, box-shadow .25s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.admin-shell {
  max-width: 960px;
  margin: 0 auto;
  padding: 48px 24px 100px;
  font-family: var(--font-body);
}
.admin-login {
  max-width: 380px;
  margin: 100px auto;
  text-align: center;
}
.admin-login input {
  width: 100%;
  padding: 12px 14px;
  margin-bottom: 12px;
  border: 1px solid rgba(0,0,0,0.15);
  border-radius: 6px;
}
.admin-card {
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: 10px;
  padding: 24px;
  margin-bottom: 28px;
  background: #fff;
}
.admin-card h2 { margin-top: 0; font-size: 20px; }
.admin-row {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 10px;
  flex-wrap: wrap;
}
.admin-row label {
  width: 140px;
  font-size: 13px;
  color: #6b6b6b;
}
.admin-row input, .admin-row textarea, .admin-row select {
  flex: 1;
  padding: 10px 12px;
  border: 1px solid rgba(0,0,0,0.15);
  border-radius: 6px;
  font-family: var(--font-body);
  min-width: 200px;
}
@media (max-width: 600px) {
  .admin-row { flex-direction: column; align-items: stretch; }
  .admin-row label { width: auto; }
  .admin-row input, .admin-row textarea, .admin-row select { min-width: 0; }
  .admin-shell { padding: 32px 16px 80px; }
  .top-bar { flex-wrap: wrap; gap: 12px; }
}
.admin-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
  border-bottom: 1px solid rgba(0,0,0,0.1);
  flex-wrap: wrap;
}
.admin-tabs button {
  background: none;
  border: none;
  padding: 10px 18px;
  cursor: pointer;
  font-size: 14px;
  border-bottom: 2px solid transparent;
  color: var(--text);
}
.admin-tabs button.active { border-bottom-color: var(--accent); font-weight: 700; }
.admin-list-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid rgba(0,0,0,0.08);
  gap: 12px;
}
.pill {
  display: inline-block;
  background: var(--blush);
  border-radius: 999px;
  padding: 3px 12px;
  font-size: 12px;
  color: var(--muted);
}
.top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
}
.admin-shell .btn { border-radius: 999px; }
.admin-shell .btn.secondary {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.15);
  color: var(--text);
}
.admin-shell .btn.danger {
  background: #fff;
  border: 1px solid #d9534f;
  color: #d9534f;
}
.admin-shell .btn.danger:hover { background: #d9534f; color: #fff; }
.form-msg {
  font-size: 14px;
  margin-top: 10px;
  display: block;
}
.form-msg.ok { color: #2e7d32; }
.form-msg.err { color: #c62828; }
#site-error {
  position: fixed;
  bottom: 16px;
  left: 16px;
  right: 16px;
  z-index: 300;
  background: #fff;
  color: #1c1a19;
  padding: 16px;
  border: 2px solid #e37576;
  border-radius: 8px;
}
:focus-visible { outline: 3px solid var(--accent-dark); outline-offset: 4px; }
.sortable-item { cursor: default; }
.sortable-item .drag-handle {
  cursor: grab;
  color: var(--muted);
  letter-spacing: -2px;
  padding: 6px 4px;
  user-select: none;
  flex: none;
}
.sortable-item .item-main { flex: 1; min-width: 0; }
.sortable-item .item-actions {
  display: flex;
  gap: 6px;
  flex: none;
  align-items: center;
}
.sortable-item .move-up, .sortable-item .move-down { padding: 6px 12px; min-width: 40px; }
.sortable-item.dragging { opacity: .45; }
@media (max-width: 600px) {
  .sortable-item { flex-wrap: wrap; }
  .sortable-item .item-actions { width: 100%; justify-content: flex-end; }
}
