:root {
  --bg: #1b120b;
  --panel: rgba(255,255,255,0.06);
  --text: #f2e9e1;
  --muted: #c9b8ac;
  --accent: #d8a15b;
  --accent-2: #f2c48d;
  --border: rgba(255,255,255,0.14);
  --glass-shadow: 0 8px 30px rgba(0,0,0,0.25);
}
* { box-sizing: border-box }
html, body {
  margin: 0;
  padding: 0;
  background:
    radial-gradient(60% 120% at -10% -10%, rgba(242,196,141,0.10) 0%, rgba(0,0,0,0) 70%),
    radial-gradient(60% 120% at 110% -10%, rgba(216,161,91,0.10) 0%, rgba(0,0,0,0) 70%),
    linear-gradient(180deg, #1b120b 0%, #24170f 40%, #1a120d 100%);
  color: var(--text);
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, sans-serif;
}
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px;
}
.app-header {
  border-bottom: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.06);
  backdrop-filter: saturate(120%) blur(10px);
  -webkit-backdrop-filter: saturate(120%) blur(10px);
  box-shadow: var(--glass-shadow);
  position: sticky;
  top: 0;
  z-index: 10;
}
.app-header h1 {
  margin: 0 0 8px;
  font-size: 20px;
}
.controls {
  display: flex;
  gap: 8px;
  align-items: center;
}
input[type="search"], input[type="text"], select {
  width: 100%;
  max-width: 360px;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.9);
  color: #2b1b10;
  backdrop-filter: saturate(120%) blur(6px);
  -webkit-backdrop-filter: saturate(120%) blur(6px);
  transition: border-color .2s ease, box-shadow .2s ease, transform .1s ease;
}
input[type="search"]:focus, input[type="text"]:focus, select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(216,161,91,0.25);
}
select option {
  color: #2b1b10;
  background: #f6efe8;
}
button {
  padding: 10px 14px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.2);
  background: linear-gradient(180deg, var(--accent) 0%, #b17836 100%);
  color: #2b1b10;
  cursor: pointer;
  transition: transform .08s ease, box-shadow .2s ease, filter .2s ease;
  box-shadow: 0 4px 14px rgba(0,0,0,0.25);
}
button:hover {
  filter: brightness(1.05);
}
button:active {
  transform: translateY(1px);
}
button.secondary {
  background: rgba(255,255,255,0.06);
  color: var(--text);
}
.filters {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 8px;
  margin: 12px 0;
}
.filter-item {
  display: grid;
  gap: 6px;
  padding: 10px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.06);
  backdrop-filter: saturate(120%) blur(10px);
  -webkit-backdrop-filter: saturate(120%) blur(10px);
  border-radius: 8px;
  box-shadow: var(--glass-shadow);
}
.filter-item label {
  color: var(--muted);
  font-size: 12px;
}
.status {
  margin: 8px 0;
  color: var(--muted);
}
.table-wrap {
  overflow: auto;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 12px;
  background: rgba(255,255,255,0.05);
  backdrop-filter: saturate(120%) blur(10px);
  -webkit-backdrop-filter: saturate(120%) blur(10px);
  box-shadow: var(--glass-shadow);
}
table {
  width: 100%;
  border-collapse: collapse;
  border-spacing: 0;
}
thead th {
  position: sticky;
  top: 0;
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--text);
  font-weight: 600;
  text-align: left;
  border-bottom: 1px solid rgba(255,255,255,0.16);
  padding: 10px;
  white-space: nowrap;
}
thead th:first-child {
  border-top-left-radius: 12px;
}
thead th:last-child {
  border-top-right-radius: 12px;
}
tbody td {
  padding: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.10);
  vertical-align: top;
  transition: background-color .15s ease;
}
tbody tr:nth-child(even) td {
  background: rgba(255,255,255,0.03);
}
tbody tr:hover td {
  background: linear-gradient(90deg, rgba(216,161,91,0.12), rgba(255,255,255,0));
}
tbody tr:hover td:first-child {
  box-shadow: inset 3px 0 0 0 var(--accent);
}
.pagination {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: flex-end;
  padding: 12px 0;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 10px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.pagination .info {
  color: var(--muted);
}
.footer {
  color: var(--muted);
  font-size: 12px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  padding: 8px 12px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
