/* SecureDesk-Web – Farben wie SecureDesk OS (src/securedesk/shell/theme.css) */
:root {
  --bg: #0d1b2a; --surface: #13263b; --surface2: #1b3350; --topbar: #0a1624;
  --accent: #1e90d6; --accent2: #25b6e8; --ok: #2fbf71; --warn: #f2a33a; --danger: #e5484d;
  --text: #e8eef5; --muted: #8fa3b8; --border: rgba(255, 255, 255, 0.08);
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; background: var(--bg); color: var(--text);
  font: 14px/1.45 Inter, "Segoe UI", "DejaVu Sans", system-ui, sans-serif; }
[hidden] { display: none !important; }
.muted { color: var(--muted); }
.small { font-size: 12px; }
.screen { position: fixed; inset: 0; }

#login { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; padding: 16px;
  background: radial-gradient(1200px 600px at 50% -10%, #17406a 0%, var(--bg) 60%); }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 28px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35); }
#login-form { width: min(380px, 100%); display: flex; flex-direction: column; gap: 12px; }
#login-form .logo { width: 56px; height: 56px; align-self: center; }
#login-form h1 { margin: 0; text-align: center; font-size: 26px; letter-spacing: 0.4px; }
#login-form > p.muted { margin: -6px 0 6px; text-align: center; }
label { display: flex; flex-direction: column; gap: 5px; color: var(--muted); font-size: 13px; }
label.check { flex-direction: row; align-items: center; gap: 8px; }
input:not([type=checkbox]) { background: var(--bg); color: var(--text); border: 1px solid var(--border); border-radius: 8px;
  padding: 10px 12px; font: inherit; }
input:focus { outline: 2px solid rgba(37, 182, 232, 0.6); outline-offset: 0; }
button { background: var(--surface2); color: var(--text); border: 1px solid var(--border); border-radius: 8px;
  padding: 8px 12px; font: inherit; cursor: pointer; }
button:hover { background: #22406a; }
button.danger:hover { background: var(--danger); }
#login-button { background: var(--accent); border: none; padding: 11px; font-weight: 600; margin-top: 4px; }
#login-button:hover { background: var(--accent2); }
#login-button:disabled { opacity: 0.6; cursor: wait; }
.status { min-height: 20px; margin: 0; text-align: center; }
.status.error { color: var(--danger); }

#desktop { background: #000; overflow: hidden; }
#video { width: 100%; height: 100%; object-fit: contain; display: block; cursor: default; outline: none; }
#hotzone { position: absolute; top: 0; left: 25%; right: 25%; height: 6px; }
.toolbar { position: absolute; top: 0; left: 50%; transform: translate(-50%, -110%); transition: transform 0.15s ease;
  display: flex; gap: 4px; align-items: center; padding: 6px 8px; background: var(--topbar); border: 1px solid var(--border);
  border-top: none; border-radius: 0 0 12px 12px; box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5); max-width: calc(100vw - 32px);
  flex-wrap: wrap; justify-content: center; }
.toolbar.show { transform: translate(-50%, 0); }
.toolbar button { padding: 5px 10px; background: transparent; border-color: transparent; }
.toolbar button:hover { background: rgba(255, 255, 255, 0.08); }
.toolbar button.active { background: var(--surface2); box-shadow: inset 0 -2px var(--accent2); }
.mini-logo { width: 20px; height: 20px; margin: 0 2px 0 4px; }
#account { margin-right: 6px; }
.overlay { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(13, 27, 42, 0.85); }
.overlay .card { display: flex; align-items: center; gap: 14px; }
.overlay p { margin: 0; }
.spinner { width: 22px; height: 22px; border: 3px solid var(--surface2); border-top-color: var(--accent2); border-radius: 50%;
  animation: spin 0.9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.stats { position: absolute; left: 10px; bottom: 10px; margin: 0; padding: 8px 10px; font: 12px/1.4 ui-monospace, Consolas, monospace;
  background: rgba(10, 22, 36, 0.8); border: 1px solid var(--border); border-radius: 8px; pointer-events: none; }
