:root {
  --bg-1: #f4efe6;
  --bg-2: #fffaf0;
  --card: #ffffff;
  --ink: #1f2a2f;
  --primary: #002d72;
  --primary-2: #051d41;
  --accent: #f59e0b;
  --muted: #67707a;
  --danger: #b42318;
  --radius: 16px;
  --shadow: 0 12px 35px rgba(16, 24, 40, 0.1);
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: 'Outfit', sans-serif;
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink);
  background: linear-gradient(150deg, var(--bg-1), var(--bg-2));
  min-height: 100vh;
}
.bg-pattern {
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: .4;
  background-image: radial-gradient(rgba(15,118,110,.14) 1px, transparent 1px);
  background-size: 20px 20px;
}
.container { /* width: min(1050px, 92vw); */ margin: 0 auto; }
.flex-between { display: flex; justify-content: space-between; align-items: center; }
.topbar { padding: 16px 0; border-bottom: 1px solid rgba(0,0,0,.06); backdrop-filter: blur(5px); }
.brand { font-weight: 700; text-decoration: none; color: var(--primary-2); font-size: 1.1rem; }
.nav a { margin-left: 16px; text-decoration: none; color: var(--ink); font-weight: 500; font-size: 1rem; }
.center-name {
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: .2px;
}
.local-header {
  margin-bottom: 20px;
  border-left: 5px solid var(--primary);
  background: linear-gradient(135deg, #ffffff, #f8fbff);
}
.local-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
}
.local-nav {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.local-nav a {
  color: var(--primary-2);
  text-decoration: none;
  font-weight: 600;
  font-size: .95rem;
  padding: 5px 10px;
  border-radius: 999px;
  background: #eef4ff;
}
.local-nav a:hover {
  background: #dfeaff;
}
.main-content { min-height: 700px; padding: 28px 0 50px; }
.card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  margin-bottom: 18px;
}
.admin-collapse summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  font-weight: 700;
  list-style: none;
}
.admin-collapse summary::-webkit-details-marker {
  display: none;
}
.admin-collapse summary::after {
  content: "+";
  font-size: 1.4rem;
  line-height: 1;
  color: var(--primary);
}
.admin-collapse[open] summary::after {
  content: "-";
}
.collapse-body {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #e5e7eb;
}
h1, h2, h3 { margin-top: 0; line-height: 1.25; }
h1 { font-size: 2rem; }
h2 { font-size: 1.55rem; }
h3 { font-size: 1.2rem; }
label { display:block; font-weight: 600; margin-bottom: 7px; }
.req { color: #dc2626; font-weight: 700; }
input, select, textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #d1d5db;
  border-radius: 10px;
  margin-bottom: 16px;
  font-size: 1rem;
  font-family: inherit;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(15,118,110,.15); }
.btn {
  display: inline-block;
  border: 0;
  border-radius: 999px;
  padding: 12px 20px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  text-decoration: none;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-2); }
.btn-muted { background: #e5e7eb; color: #111827; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.alert {
  padding: 12px 14px;
  border-radius: 10px;
  margin-bottom: 16px;
  font-weight: 500;
}
.alert-success { background: #ecfdf3; color: #067647; border: 1px solid #abefc6; }
.alert-error { background: #fef3f2; color: #b42318; border: 1px solid #fecdca; }
.badge { display:inline-block; padding:6px 10px; border-radius:999px; font-weight:600; font-size:.8rem; }
.badge-pending { background:#fff7ed; color:#9a3412; }
.badge-review { background:#eff6ff; color:#1d4ed8; }
.badge-accepted { background:#ecfdf3; color:#15803d; }
.badge-rejected { background:#fef2f2; color:#b91c1c; }
.badge-incomplete { background:#f4f4f5; color:#3f3f46; }
.table-wrap { overflow-x: auto; }
table { width:100%; border-collapse: collapse; }
th, td { text-align:left; padding:10px; border-bottom:1px solid #e5e7eb; font-size:.94rem; }
.small { color: var(--muted); font-size: 1rem; }
.footer { border-top:1px solid rgba(0,0,0,.06); padding:22px 0; color:var(--muted); text-align:center; }
.hero {
  background: linear-gradient(135deg, rgb(32 99 174) , rgb(133 207 245) );
  color:#fff;
  border-radius: var(--radius);
  padding: 34px 26px;
  box-shadow: var(--shadow);
}
.checks label { display:flex; gap:8px; align-items:flex-start; font-weight:500; }
.checks input { width:auto; margin-top:4px; margin-bottom:0; }
@media (max-width: 760px) {
  .grid-2 { grid-template-columns: 1fr; }
  .nav a { margin-left: 10px; font-size:.92rem; }
  .local-header-row { flex-direction: column; align-items: flex-start; }
  .local-nav { gap: 10px 12px; }
}
