.admin-body { background: var(--paper-alt); }

.admin-header {
  background: var(--ink);
  border-bottom: 3px solid var(--accent);
}
.admin-header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 14px 24px;
}
.admin-header .logo { color: #fff; font-size: 18px; }
.admin-nav { display: flex; gap: 20px; flex: 1; }
.admin-nav a { color: #cfcac0; text-decoration: none; font-size: 14px; font-weight: 600; }
.admin-nav a:hover { color: #fff; }
.current-user { color: #cfcac0; font-size: 13px; }
.logout-form .btn-link { color: #cfcac0; }
.logout-form .btn-link:hover { color: #fff; }

.admin-main { padding: 32px 24px; }

.admin-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
  margin: 24px 0 40px;
}
.stat-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-decoration: none;
  color: inherit;
}
.stat-num { font-size: 32px; font-weight: bold; font-family: var(--font-serif); }
.stat-label { font-size: 13px; color: var(--ink-soft); }

.admin-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.admin-table th, .admin-table td {
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.admin-table th { background: var(--paper-alt); font-size: 12px; text-transform: uppercase; letter-spacing: 0.5px; color: var(--ink-soft); }
.admin-table tr:last-child td { border-bottom: none; }
.admin-table td a { margin-right: 10px; font-size: 13px; }

.detail-table { border-collapse: collapse; margin-bottom: 24px; }
.detail-table th {
  text-align: left;
  padding: 8px 16px 8px 0;
  color: var(--ink-soft);
  font-size: 13px;
  vertical-align: top;
  white-space: nowrap;
}
.detail-table td { padding: 8px 0; font-size: 14px; }

.notes-list { list-style: none; padding: 0; margin: 16px 0; max-width: 640px; }
.note { padding: 12px 0; border-bottom: 1px solid var(--line); }
.note:last-child { border-bottom: none; }
.note-text { white-space: pre-wrap; margin: 0 0 4px; font-size: 14px; }
.note-meta { font-size: 12px; margin: 0; }

/* Two-column layout for the Talent/Booking/Contact/Contract admin
   forms only. Deliberately separate from .stacked-form (shared with the
   public "Become a Speaker"/"Request a Speaker" forms and the admin login
   page) - these four forms add .form-grid alongside .stacked-form on the
   same <form> just to widen it; .form-columns/.form-col do the actual
   column split and are only ever used inside a .form-grid form. Fields split
   in their existing top-to-bottom order: first half in .form-col:first-child,
   second half in the next one - not an interleaved/row-major grid. */
.form-grid { max-width: 900px; }
.form-columns { display: flex; gap: 32px; }
.form-col { display: flex; flex-direction: column; gap: 16px; flex: 1; min-width: 0; }

.login-wrap {
  max-width: 360px;
  margin: 96px auto;
  padding: 32px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.login-wrap h1 { text-align: center; font-size: 20px; margin-bottom: 24px; }
