:root {
  --bg: #04111f;
  --panel: #052338;
  --border: #0b3a57;
  --text: #e5f3ff;
  --muted: #9fb6cc;
  --accent: #10b6c8;
  --accent-2: #8ad13f;
  --danger: #ef4444;
}

* { box-sizing: border-box; }
body.dark { background: var(--bg); color: var(--text); font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, 'Helvetica Neue', Arial, 'Noto Sans', 'Apple Color Emoji','Segoe UI Emoji', 'Segoe UI Symbol', sans-serif; margin:0; }
a { color: #9fb7ff; text-decoration: none; }
.app-header { display:flex; align-items:center; justify-content:space-between; padding:12px 18px; border-bottom:1px solid var(--border); background: var(--panel); position: sticky; top:0; z-index:10;}
.brand { font-weight:700; letter-spacing:.5px; }
nav a, .app-header .btn { margin-left: 10px; }
.container { max-width: 1100px; margin: 24px auto; padding: 0 16px; }
.card { background: var(--panel); border:1px solid var(--border); border-radius: 12px; padding: 16px; }
label { display:block; margin: 10px 0; font-size: 14px; color: var(--muted); }
input[type=text], input[type=password], select {
  width: 100%; padding: 10px; background: #0b0d12; color: var(--text);
  border:1px solid var(--border); border-radius: 8px;
}
table { width:100%; border-collapse: collapse; margin-top: 10px; }
th, td { border-bottom:1px solid var(--border); padding: 8px; text-align:left; }
.btn { background: #202635; color: var(--text); border:1px solid var(--border); border-radius: 8px; padding: 8px 12px; cursor: pointer;}
.btn.primary { background: var(--accent); border-color: #5b3cff; }
.btn.success { background: var(--accent-2); border-color: #17994a; }
.btn.danger { background: var(--danger); border-color: #b91c1c; }
.grid { display: grid; gap: 12px; }
.grid.cols-2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
.flex { display:flex; gap: 10px; align-items:center; flex-wrap: wrap; }
.inline { display:inline; }
.range { width: 120px; }
.toast { position: fixed; bottom: 16px; right: 16px; background:#1f2937; padding: 12px 16px; border-radius: 8px; border:1px solid var(--border); }
.tabs { display:flex; gap:10px; margin-bottom:10px; }
.tabs button[aria-selected="true"] { background: var(--accent); }
.muted { color: var(--muted); }
.app-footer { border-top:1px solid var(--border); padding: 12px 18px; color: var(--muted); text-align:center; }
@media (max-width: 800px){ .grid.cols-2 { grid-template-columns: 1fr; } }


/* SkillTrax branding adjustments */
body.dark {
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  margin: 0;
}
a {
  color: var(--accent);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
.app-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 18px;
  background: var(--panel);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 10;
}
.brand-link {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
}
.brand-logo {
  height: 40px;
  width: auto;
  object-fit: contain;
  margin-right: 6px;
}
.brand-text {
  font-weight: 700;
  font-size: 1.4rem;
  letter-spacing: 0.04em;
}
nav a, .app-header .btn {
  margin-left: 10px;
}
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 16px 18px 40px;
}
.card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 16px;
}
/* Alle Skilltrax-Logos im Inhalt verkleinern */
img[src*="skilltrax-logo"], 
img[src*="SkilltraxLogo"] {
  max-width: 220px;   /* Breite begrenzen */
  height: auto;
  display: block;
}
/* Allgemeines Styling für mehrzeilige Eingaben */
textarea,
textarea.input {
  width: 100%;
  padding: 10px;
  background: #0b0d12;
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 8px;
  resize: vertical;
  font-family: inherit;
}

/* Speziell: großes Textfeld für Feedback */
#fbFormBody {
  min-height: 260px;      /* Höhe nach Wunsch anpassen (z.B. 300px) */
  font-size: 1.05rem;
  line-height: 1.5;
}
/* Allgemeines Styling für mehrzeilige Eingaben */
textarea,
textarea.input {
  width: 100%;
  padding: 10px;
  background: #0b0d12;
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 8px;
  resize: vertical;
  font-family: inherit;
}

/* Speziell: großes Textfeld für Feedback */
#fbFormBody {
  min-height: 260px;      /* Höhe nach Wunsch anpassen (z.B. 300px) */
  font-size: 1.05rem;
  line-height: 1.5;
}

