/* Staff admin page. Brand basics are in /brand.css. */

body { background: var(--mist); font-size: 15px; }

.session { display: flex; align-items: center; gap: 14px; font-size: 14px; font-weight: 500; }

.band {
  padding: 30px 0 84px;
  background:
    linear-gradient(to bottom, rgba(244, 246, 250, 0) 20%, var(--mist) 100%),
    linear-gradient(100deg, #1fdc5f 0%, #74d8a4 38%, #5f7fe0 72%, #2a49db 100%);
}
.band h1 { font-size: clamp(1.6rem, 3.5vw, 2.3rem); }
.band h1 .accent { color: var(--blue); }

main { margin-top: -56px; padding-bottom: 48px; }

.card {
  margin-bottom: 24px;
  padding: 28px;
  background: #fff;
  border-radius: var(--radius-box);
  box-shadow: 0 8px 28px rgba(20, 36, 53, 0.1);
}
.card h2 { margin-bottom: 14px; font-size: 1.25rem; font-weight: 500; }
.card.signin { max-width: 560px; }
.card.signin p:first-child { margin-top: 0; }

label { display: block; margin-bottom: 6px; font-weight: 500; }
.row { display: flex; gap: 10px; align-items: center; }
.row.spread { justify-content: space-between; align-items: flex-start; }
.row input { flex: 1; min-width: 0; }

input {
  padding: 11px 12px;
  border: 1px solid var(--navy);
  border-radius: var(--radius-input);
  background: #fff;
  color: var(--navy);
  font: inherit;
}
input::placeholder { color: #8a97a8; }

.created { margin-top: 18px; padding: 18px; border-radius: 16px; background: var(--mist); border-left: 5px solid var(--green); }
.created p { margin: 0 0 10px; }

.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th, td { padding: 12px 10px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
th { color: var(--muted); font-size: 0.82rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; }
td { overflow-wrap: anywhere; }
tbody tr:last-child td { border-bottom: 0; }
td.actions { white-space: nowrap; }
td.actions button { margin: 0 6px 6px 0; }
.sub { display: block; color: var(--muted); font-size: 0.86rem; }

.pill { display: inline-block; padding: 2px 12px; border-radius: 12px; font-size: 0.82rem; font-weight: 600; background: var(--footer); }
.pill.complete { background: #d6f8e2; color: #006b30; }
.pill.uploading, .pill.open { background: #ffe8db; color: #a33a00; }
.pill.deleted, .pill.expired, .pill.purged { background: var(--footer); color: var(--muted); }

tr.history td { background: var(--mist); font-size: 0.9rem; }
tr.history ul { margin: 0; padding-left: 18px; }

@media (max-width: 560px) {
  .card { padding: 20px 16px; }
  .session #user-email { display: none; }
  .row { flex-wrap: wrap; }
}
