/* ───────────────────────────────────────────── style_additions.css APPEND these rules to the bottom of style.css ───────────────────────────────────────────── */ /* ── Topbar avatar (initials circle) ───────── */ .topbar-avatar { position: absolute; left: 14px; width: 32px; height: 32px; border-radius: 50%; background: rgba(255,255,255,.22); color: #fff; font-size: .8rem; font-weight: 700; display: flex; align-items: center; justify-content: center; text-decoration: none; transition: background .15s; user-select: none; } .topbar-avatar:hover { background: rgba(255,255,255,.35); } /* ── User / admin badges ───────────────────── */ .badge { display: inline-block; padding: 2px 8px; border-radius: 20px; font-size: .65rem; font-weight: 700; vertical-align: middle; margin-left: 4px; } .badge-admin { background: rgba(58,180,242,.18); color: var(--accent); border: 1px solid rgba(58,180,242,.3); } .badge-suspended { background: rgba(248,113,113,.18); color: var(--red); border: 1px solid rgba(248,113,113,.3); } /* ── Admin user action buttons ─────────────── */ .user-actions { display: flex; gap: 6px; flex-wrap: wrap; } .user-actions .btn { padding: 5px 10px; font-size: .75rem; } /* ── Checkbox style in settings/admin ──────── */ input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--accent); cursor: pointer; } /* ── Auth pages (login / register) ─────────── */ .auth-wrap { display: flex; align-items: center; justify-content: center; min-height: 100vh; padding: 24px; } .auth-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 36px 30px; max-width: 380px; width: 100%; } .auth-logo { font-size: 2.5rem; text-align: center; margin-bottom: 10px; } .auth-card h1 { font-size: 1.2rem; text-align: center; margin-bottom: 6px; } .auth-sub { color: var(--text-dim); font-size: .8rem; text-align: center; margin-bottom: 24px; } .auth-footer { color: var(--text-muted); font-size: .8rem; text-align: center; margin-top: 16px; } .auth-footer a { color: var(--accent); text-decoration: none; } .auth-hint { color: var(--text-muted); font-size: .75rem; text-align: center; margin-top: 10px; } .auth-hint code { background: var(--surface2); padding: 1px 5px; border-radius: 4px; color: var(--accent); } .field-hint { font-size: .7rem; color: var(--text-muted); margin-top: 3px; }