:root {
    --ccsd-black: #151515;
    --ccsd-gold: #caa32a;
    --bg: #f5f6f8;
    --card: #ffffff;
    --text: #202124;
    --muted: #6b7280;
    --border: #e5e7eb;
}

* { box-sizing: border-box; }
body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background: var(--bg);
    color: var(--text);
}

a { color: inherit; }
.site-wrap { min-height: 100vh; display: flex; flex-direction: column; }
.top-nav {
    background: var(--ccsd-black);
    color: #fff;
    padding: 1rem 1.25rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}
.top-nav .brand a { color: #fff; text-decoration: none; font-weight: 700; }
.nav-links { display: flex; gap: 1rem; flex-wrap: wrap; }
.nav-links a { color: #fff; text-decoration: none; }
.container { width: min(1100px, calc(100% - 2rem)); margin: 1.5rem auto; }
.narrow { width: min(500px, calc(100% - 2rem)); }
.card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 1.25rem;
    box-shadow: 0 4px 18px rgba(0,0,0,.05);
}
.hero { padding: 2rem; }
.button-row { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 1rem; }
.button, button {
    background: var(--ccsd-gold);
    color: #111;
    border: 0;
    border-radius: 10px;
    padding: .8rem 1rem;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
}
.button.secondary { background: #e9eaed; }
label { display: block; margin: .75rem 0 .35rem; font-weight: 700; }
input, textarea, select {
    width: 100%;
    padding: .8rem;
    border: 1px solid var(--border);
    border-radius: 10px;
    font: inherit;
}
.alert {
    background: #fff7db;
    border: 1px solid #efd98e;
    border-radius: 10px;
    padding: .85rem 1rem;
    margin-bottom: 1rem;
}
.admin-layout { display: grid; grid-template-columns: 240px 1fr; gap: 1rem; }
.admin-sidebar .card, .content-card { min-height: 300px; }
.admin-sidebar ul {
    list-style: none;
    padding: 0;
    margin: 0;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 14px;
}
.admin-sidebar li a {
    display: block;
    padding: .9rem 1rem;
    text-decoration: none;
    border-bottom: 1px solid var(--border);
}
.admin-sidebar li:last-child a { border-bottom: 0; }
.site-footer {
    margin-top: auto;
    text-align: center;
    padding: 1.5rem;
    color: var(--muted);
}

@media (max-width: 900px) {
    .admin-layout { grid-template-columns: 1fr; }
}
.button-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.button {
  display: inline-block;
  background: #111;
  color: #f3c300;
  padding: 12px 18px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
}

.button.secondary {
  background: #eee;
  color: #111;
}