:root {
  --bg: #0f0f12;
  --card: #18181b;
  --text: #e2e2e8;
  --primary: #5865F2;
  --success: #43b581;
  --danger: #f04747;
  --info: #0096cf;
  --radius: 10px;
}
* { box-sizing: border-box; margin: 0; padding: 0; font-family: 'Segoe UI', sans-serif; }
body { background: var(--bg); color: var(--text); min-height: 100vh; }
.center { display: flex; align-items: center; justify-content: center; height: 100vh; }
.card { background: var(--card); padding: 2rem; border-radius: var(--radius); width: 90%; max-width: 400px; text-align: center; box-shadow: 0 10px 30px rgba(0,0,0,0.4); }
.btn { border: none; padding: 0.6rem 1.2rem; border-radius: 6px; cursor: pointer; margin: 0.3rem; color: #fff; background: #333; transition: 0.2s; }
.btn.primary { background: var(--primary); }
.btn.danger { background: var(--danger); }
.btn:hover { filter: brightness(1.1); }
.hidden { display: none !important; }

/* Layout */
.topbar { display: flex; justify-content: space-between; align-items: center; padding: 1rem 2rem; background: var(--card); border-bottom: 1px solid #222; }
.layout { display: flex; min-height: calc(100vh - 60px); }
.sidebar { width: 220px; background: #141417; padding: 1rem; display: flex; flex-direction: column; gap: 0.5rem; }
.sidebar button { background: transparent; color: var(--text); text-align: left; border: none; padding: 0.6rem; cursor: pointer; border-radius: 6px; }
.sidebar button:hover { background: #222; }
.content { flex: 1; padding: 2rem; }
.container { width: 90%; max-width: 900px; margin: 2rem auto; }

/* Formulare */
input, textarea, select { width: 100%; padding: 0.7rem; margin: 0.4rem 0; border-radius: 6px; border: 1px solid #333; background: #111; color: #fff; }
textarea { min-height: 80px; }
.checks { display: flex; flex-direction: column; gap: 0.4rem; margin: 1rem 0; }
.actions { margin-top: 1rem; }

/* Grid Server */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 1rem; margin-top: 1rem; }
.server-card { background: var(--card); padding: 1rem; border-radius: var(--radius); cursor: pointer; text-align: center; transition: 0.2s; }
.server-card:hover { transform: translateY(-3px); outline: 2px solid var(--primary); }

/* Toasts (AutoDebug) */
#toasts { position: fixed; bottom: 1rem; right: 1rem; z-index: 9999; display: flex; flex-direction: column; gap: 0.5rem; }
.toast { padding: 0.8rem 1.2rem; border-radius: 8px; color: #fff; font-size: 0.9rem; box-shadow: 0 4px 12px rgba(0,0,0,0.3); animation: slideIn 0.3s ease; max-width: 320px; }
.toast.info { background: var(--info); }
.toast.success { background: var(--success); }
.toast.error { background: var(--danger); }
@keyframes slideIn { from { transform: translateX(100%); opacity: 0; } to { transform: translateX(0); opacity: 1; } }