*
{
  box-sizing:border-box;
}

:root
{
  --bg:#0f172a;
  --panel:#111c36;
  --card:rgba(255,255,255,.06);
  --card2:rgba(255,255,255,.09);
  --text:rgba(255,255,255,.92);
  --muted:rgba(255,255,255,.65);
  --border:rgba(255,255,255,.14);
  --shadow:0 18px 50px rgba(0,0,0,.35);
  --radius:16px;
}

body
{
  font-family: Verdana, Arial, sans-serif;
  margin:0;
  color:var(--text);
  background:
    radial-gradient(900px 520px at 15% 10%, rgba(99,102,241,.28), transparent 60%),
    radial-gradient(900px 520px at 85% 20%, rgba(236,72,153,.18), transparent 60%),
    radial-gradient(900px 520px at 50% 90%, rgba(34,197,94,.12), transparent 55%),
    var(--bg);
  min-height:100vh;
}

.container
{
  max-width:1050px;
  margin:22px auto;
  padding:18px;
}

.card
{
  background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.04));
  border:1px solid var(--border);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  padding:18px;
}

.header
{
  display:flex;
  gap:14px;
  align-items:flex-start;
  justify-content:space-between;
  flex-wrap:wrap;
}

h1
{
  margin:0;
  font-size:26px;
  letter-spacing:.2px;
}

h2
{
  margin:16px 0 10px 0;
  font-size:18px;
  color:var(--text);
}

.small
{
  font-size:12px;
  color:var(--muted);
  margin-top:6px;
}

a
{
  color:inherit;
  text-decoration:none;
}

.actions
{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}

.btn
{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:10px 12px;
  border-radius:12px;
  border:1px solid var(--border);
  background:rgba(255,255,255,.06);
  color:var(--text);
  font-weight:700;
  transition:transform .12s ease, background .12s ease, border-color .12s ease;
}

.btn:hover
{
  transform: translateY(-1px);
  background: rgba(255,255,255,.10);
  border-color: rgba(255,255,255,.22);
}

.btn-primary
{
  border-color: rgba(99,102,241,.55);
  background: linear-gradient(180deg, rgba(99,102,241,.28), rgba(99,102,241,.12));
}

.btn-danger
{
  border-color: rgba(239,68,68,.55);
  background: linear-gradient(180deg, rgba(239,68,68,.22), rgba(239,68,68,.10));
}

.designation
{
  width:100%;
  padding:12px 12px;
  margin:8px 0;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.06);
  color: var(--text);
  outline:none;
}

.form-row
{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:14px;
}

@media screen and (max-width:820px)
{
  .form-row
  {
    grid-template-columns:1fr;
  }
}

.table-wrap
{
  overflow:auto;
  border-radius:14px;
  border:1px solid var(--border);
  background: rgba(255,255,255,.04);
}

table
{
  width:100%;
  border-collapse: collapse;
  min-width:900px;
}

th, td
{
  padding:12px 10px;
  text-align:left;
  vertical-align:middle;
  border-bottom:1px solid rgba(255,255,255,.10);
}

th
{
  font-size:12px;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:var(--muted);
  background: rgba(255,255,255,.06);
  border-bottom: 1px solid rgba(255,255,255,.14);
}

.thumb
{
  width:42px;
  height:42px;
  object-fit:cover;
  border-radius:10px;
  border:1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.06);
  display:block;
}

.pill{
  display:inline-block;
  padding:6px 10px;
  border-radius:999px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
  font-size:12px;
  color:var(--text);
}

.table-hinweis
{
  display:none;
  padding:12px;
  border-radius:14px;
  border:1px solid rgba(240,195,109,.55);
  background: rgba(240,195,109,.10);
  color: var(--text);
  margin-bottom:12px;
}

.results-cards{
  display:none;
  gap:12px;
}

.result-card{
  border:1px solid var(--border);
  border-radius:14px;
  background: rgba(255,255,255,.04);
  padding:14px;
}

.result-top{
  display:flex;
  gap:12px;
  align-items:center;
  margin-bottom:10px;
}

.result-title{
  font-weight:800;
  font-size:16px;
}

.result-row{
  display:flex;
  justify-content:space-between;
  gap:14px;
  padding:8px 0;
  border-bottom:1px dashed rgba(255,255,255,.14);
}

.result-row:last-child{
  border-bottom:none;
}

.result-label{
  color: var(--muted);
  font-weight:700;
}

.result-actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top:12px;
}

@media screen and (max-width:700px){
  .table-wrap{ display:none; }
  .results-cards{ display:grid; }
}

@media screen and (max-width:420px){
  .results-cards{ display:none; }
  .table-hinweis{ display:block; }
}

.pagination{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top:14px;
}

.page{
  padding:10px 12px;
  border-radius:12px;
  border:1px solid var(--border);
  background: rgba(255,255,255,.06);
  font-weight:800;
}

.page.active{
  border-color: rgba(99,102,241,.55);
  background: linear-gradient(180deg, rgba(99,102,241,.28), rgba(99,102,241,.12));
}
