/* ══════════════════════════════════════════════════════════════════
   Jarvis Design-System – dunkles Glassmorphism-Dashboard
   ══════════════════════════════════════════════════════════════════ */
:root {
  --bg:        #070B16;
  --bg-2:      #0B1120;
  --card:      rgba(255,255,255,0.045);
  --card-hi:   rgba(255,255,255,0.07);
  --border:    rgba(255,255,255,0.09);
  --border-hi: rgba(120,170,255,0.28);
  --txt:       #E9EEF7;
  --txt-mut:   #8A94A9;
  --txt-dim:   #5C6579;
  --accent:    #3E7BFA;
  --accent-2:  #22D3EE;
  --violet:    #8B5CF6;
  --orange:    #FB923C;
  --green:     #34D399;
  --red:       #F87171;
  --grad:      linear-gradient(135deg,#3E7BFA 0%,#22D3EE 100%);
  --grad-violet: linear-gradient(135deg,#8B5CF6 0%,#3E7BFA 100%);
  --radius:    20px;
  --radius-sm: 13px;
  --shadow:    0 8px 40px rgba(0,0,0,.45);
  --font: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Inter', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: var(--font);
  color: var(--txt);
  background: var(--bg);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  position: relative;
  overflow-x: hidden;
}
/* Ambient-Glows wie in der Referenz */
body::before, body::after {
  content: ''; position: fixed; border-radius: 50%; filter: blur(120px);
  z-index: 0; pointer-events: none; opacity: .5;
}
body::before { width: 620px; height: 620px; top: -220px; left: -160px;
  background: radial-gradient(circle,#1E40AF 0%,transparent 70%); }
body::after  { width: 560px; height: 560px; bottom: -240px; right: -140px;
  background: radial-gradient(circle,#0E7490 0%,transparent 70%); opacity:.4; }

/* ── Karten ── */
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  backdrop-filter: blur(22px) saturate(120%);
  -webkit-backdrop-filter: blur(22px) saturate(120%);
  box-shadow: var(--shadow);
  position: relative; z-index: 1;
}
.card-pad { padding: 22px 24px; }

.card-title { font-size: 13px; font-weight: 600; color: var(--txt-mut);
  letter-spacing: .3px; display: flex; align-items: center; gap: 8px; }

/* ── Buttons ── */
.btn {
  border: none; border-radius: 12px; cursor: pointer; font-family: var(--font);
  font-weight: 650; font-size: 14px; padding: 12px 20px; color: #fff;
  background: var(--grad); transition: transform .15s, box-shadow .2s, opacity .2s;
  box-shadow: 0 6px 20px rgba(62,123,250,.28);
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 10px 28px rgba(62,123,250,.4); }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none; }
.btn-ghost { background: var(--card-hi); box-shadow: none; color: var(--txt);
  border: 1px solid var(--border); }
.btn-ghost:hover { background: rgba(255,255,255,.1); box-shadow: none; }

/* ── Inputs ── */
.field { margin-bottom: 15px; }
.field label { display: block; font-size: 12.5px; color: var(--txt-mut);
  margin-bottom: 7px; font-weight: 550; }
.input {
  width: 100%; padding: 13px 15px; border-radius: 12px;
  background: rgba(255,255,255,.05); border: 1px solid var(--border);
  color: var(--txt); font-size: 15px; font-family: var(--font);
  transition: border-color .2s, background .2s;
}
.input:focus { outline: none; border-color: var(--border-hi);
  background: rgba(62,123,250,.08); }
.input::placeholder { color: var(--txt-dim); }

/* ── Diverses ── */
.muted { color: var(--txt-mut); }
.err { background: rgba(248,113,113,.12); border: 1px solid rgba(248,113,113,.3);
  color: #FCA5A5; border-radius: 11px; padding: 11px 14px; font-size: 13px;
  margin-bottom: 14px; }
.ok-box { background: rgba(52,211,153,.1); border: 1px solid rgba(52,211,153,.3);
  color: #6EE7B7; border-radius: 11px; padding: 11px 14px; font-size: 13px; }
.badge { font-size: 11px; font-weight: 600; padding: 3px 10px; border-radius: 20px;
  background: rgba(255,255,255,.07); color: var(--txt-mut); }
.grad-text { background: var(--grad); -webkit-background-clip: text;
  background-clip: text; -webkit-text-fill-color: transparent; }

::-webkit-scrollbar { width: 9px; height: 9px; }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,.1); border-radius: 6px; }
::-webkit-scrollbar-track { background: transparent; }
