/* Minimal Basis-Styling — wird in Phase 1 durch das vollständige Design-System ersetzt. */
:root {
    --bg: #0d1117;
    --bg-card: #161b22;
    --border: #30363d;
    --text: #e6edf3;
    --text-muted: #8b949e;
    --accent: #1f6feb;
    --success: #28a745;
    --error: #d9534f;
}

* { box-sizing: border-box; }

body {
    margin: 0;
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    background: var(--bg);
    color: var(--text);
}

.app-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px;
    border-bottom: 1px solid var(--border);
}

.app-header__brand { color: var(--text); font-weight: 700; text-decoration: none; }

.app-main { padding: 20px; max-width: 960px; margin: 0 auto; }

.text-muted { color: var(--text-muted); }

.login-card {
    max-width: 320px;
    margin: 80px auto;
    padding: 24px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 10px;
}

.login-card label { display: block; margin-top: 12px; margin-bottom: 4px; font-size: 0.85rem; }
.login-card input {
    width: 100%; padding: 10px; border-radius: 6px;
    border: 1px solid var(--border); background: var(--bg); color: var(--text);
}
.login-card button {
    width: 100%; margin-top: 16px; padding: 10px; border: none; border-radius: 6px;
    background: var(--accent); color: #fff; font-weight: 700; cursor: pointer;
}
.login-card .error { color: var(--error); font-size: 0.85rem; }

.conn-indicator {
    position: fixed; top: 0; left: 0; right: 0; z-index: 9999;
    text-align: center; padding: 6px; font-size: 0.8rem; font-weight: 700;
}
.conn-online { background: var(--success); color: #fff; }
.conn-offline { background: var(--error); color: #fff; }
