:root {
  --bg: #121212;
  --panel: #181818;
  --panel2: #242424;
  --text: #ffffff;
  --muted: #b3b3b3;
  --accent: #1db954;
  --accent-hover: #1ed760;
  --danger: #e91429;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body, #root { height: 100%; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: "Circular", "Segoe UI", system-ui, sans-serif;
  overflow: hidden;
}

.app { display: flex; flex-direction: column; height: 100%; }
.main { display: flex; flex: 1; min-height: 0; padding: 8px; gap: 8px; }

/* ---------- Content / Toolbar ---------- */
.content {
  flex: 1; min-width: 0;
  background: linear-gradient(180deg, #282828 0%, var(--panel) 240px);
  border-radius: 8px;
  overflow-y: auto;
  padding: 24px 24px 48px;
  scroll-padding: 24px 0 48px;
}
.content h2 { font-size: 26px; margin-bottom: 16px; }
.content { scrollbar-width: none; } /* Firefox */
.content::-webkit-scrollbar { display: none; } /* Chrome/Safari Desktop */
.toolbar { display: flex; gap: 8px; margin-bottom: 20px; }
.search {
  flex: 1; background: #3a3a3a; border: none; outline: none;
  border-radius: 20px; padding: 10px 16px;
  color: var(--text); font-size: 14px;
}
.search:focus { background: #444; }
.search-wrap { flex: 1; position: relative; display: flex; min-width: 0; }
.search-wrap .search { width: 100%; padding-right: 36px; }
.clear-btn {
  position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
  z-index: 2;
  background: none; border: none; color: var(--muted);
  cursor: pointer; font-size: 14px; padding: 6px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.clear-btn:hover { color: var(--text); background: rgba(255,255,255,.1); }
.search-btn {
  width: 40px; height: 40px; flex-shrink: 0;
  border-radius: 50%; border: none; cursor: pointer;
  background: var(--accent); color: #000; font-size: 16px;
  display: flex; align-items: center; justify-content: center;
}
.search-btn:hover { background: var(--accent-hover); transform: scale(1.06); }

/* ---------- Interpreten-Kacheln ---------- */
.view-toggle {
  background: none; border: 1px solid #444; border-radius: 6px;
  color: var(--muted); font-size: 15px; padding: 4px 10px; cursor: pointer;
}
.view-toggle:hover { color: var(--text); border-color: #888; }
.artist-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 16px;
}
.artist-tile {
  background: var(--panel2); border-radius: 8px; padding: 12px;
  cursor: pointer; transition: background .15s;
}
.artist-tile:hover { background: #2e2e2e; }
.artist-tile img {
  width: 100%; aspect-ratio: 1; object-fit: cover;
  border-radius: 6px; background: #333; margin-bottom: 8px;
}
.artist-tile .artist-name {
  font-size: 14px; font-weight: 600;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.artist-tile .artist-count { font-size: 12px; color: var(--muted); }
.logout-btn {
  width: 40px; height: 40px; flex-shrink: 0;
  border-radius: 50%; border: 1px solid #444; cursor: pointer;
  background: none; color: var(--muted); font-size: 16px;
  display: flex; align-items: center; justify-content: center;
}
.logout-btn:hover { color: var(--danger); border-color: var(--danger); }

.jobs {
  background: rgba(29, 185, 84, 0.12); border: 1px solid rgba(29, 185, 84, 0.3);
  border-radius: 6px; padding: 8px 12px; margin-bottom: 12px;
  font-size: 13px; color: var(--accent-hover);
}

/* ---------- Animationen ---------- */
@keyframes spin { to { transform: rotate(360deg); } }
.spin { display: inline-block; animation: spin 1s linear infinite; }
