:root {
  font-family: "Inter", "Noto Sans SC", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background: #0f172a;
  color: #0f172a;
  color-scheme: light;
}

[hidden] {
  display: none !important;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: linear-gradient(160deg, #0f172a 0%, #1f4870 70%, #2563eb 100%);
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  padding: 1.5rem 2rem;
  color: #fff;
}

.topbar__brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.topbar__brand img {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  object-fit: cover;
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.35);
}

.topbar__brand h1 {
  margin: 0;
  font-weight: 600;
}

.topbar__brand p {
  margin: 0.35rem 0 0;
  opacity: 0.85;
}

.layout {
  flex: 1;
  display: flex;
  justify-content: center;
  padding: 2rem;
}

.panel {
  width: min(1100px, 96vw);
  background: rgba(248, 250, 252, 0.98);
  border-radius: 24px;
  box-shadow: 0 24px 65px rgba(15, 23, 42, 0.3);
  padding: 2.5rem;
}

.panel__header {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  align-items: flex-end;
  margin-bottom: 1.5rem;
}

.filters label {
  display: grid;
  gap: 0.5rem;
  font-size: 0.9rem;
}

select,
input,
textarea {
  font: inherit;
  border-radius: 12px;
  border: 1px solid #d0d7e7;
  padding: 0.65rem 0.75rem;
  background: #fff;
}

button {
  appearance: none;
  border: none;
  border-radius: 999px;
  font: inherit;
  font-weight: 600;
  padding: 0.65rem 1.4rem;
  cursor: pointer;
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #fff;
  box-shadow: 0 15px 35px rgba(37, 99, 235, 0.35);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

button:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 40px rgba(37, 99, 235, 0.45);
}

button.ghost {
  background: rgba(15, 23, 42, 0.15);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: none;
}

.form {
  display: grid;
  gap: 1rem;
}

.form label {
  display: grid;
  gap: 0.35rem;
}

.form__feedback {
  min-height: 1.25rem;
  margin: 0;
  font-size: 0.9rem;
  color: #d14343;
}

.table-wrapper {
  overflow-x: auto;
  border-radius: 18px;
}

table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
}

thead {
  background: #0f172a;
  color: #fff;
}

thead th {
  padding: 0.9rem;
  text-align: left;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

tbody tr + tr {
  border-top: 1px solid #e2e8f0;
}

tbody td {
  padding: 0.9rem;
  vertical-align: top;
  font-size: 0.92rem;
  color: #1e293b;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.badge[data-status="submitted"] {
  background: rgba(14, 165, 233, 0.12);
  color: #0ea5e9;
}

.badge[data-status="reviewing"] {
  background: rgba(250, 204, 21, 0.15);
  color: #b45309;
}

.badge[data-status="accepted"] {
  background: rgba(22, 163, 74, 0.15);
  color: #15803d;
}

.badge[data-status="rejected"] {
  background: rgba(239, 68, 68, 0.15);
  color: #b91c1c;
}

.actions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.actions select,
.actions textarea {
  width: 100%;
}

.actions textarea {
  min-height: 80px;
  resize: vertical;
}

@media (max-width: 960px) {
  .panel__header {
    flex-direction: column;
    align-items: stretch;
  }

  thead th,
  tbody td {
    white-space: nowrap;
  }
}
