/* Онлайн-режим: страница входа, «Пользователи» и подпись внизу боковой панели программы */
:root { --a-bg: #f2f3f7; --a-card: #ffffff; --a-text: #1c1d22; --a-muted: #6b6f7b; --a-line: #e3e5ec; --a-accent: #0a84ff; --a-danger: #e5484d; --a-ok: #34c759; }
@media (prefers-color-scheme: dark) { :root { --a-bg: #1f2128; --a-card: #2a2d36; --a-text: #f2f3f7; --a-muted: #9a9fac; --a-line: #3a3e4a; --a-accent: #3b9bff; } }
body.auth-page { margin: 0; min-height: 100vh; display: grid; place-items: center; background: var(--a-bg); color: var(--a-text); font: 15px/1.45 "Segoe UI", system-ui, -apple-system, sans-serif; padding: 16px; box-sizing: border-box; }
.auth-card { width: min(380px, 100%); background: var(--a-card); border: 1px solid var(--a-line); border-radius: 18px; padding: 28px; box-sizing: border-box; box-shadow: 0 10px 30px rgba(0,0,0,.08); }
.auth-card.wide { width: min(760px, 100%); }
.auth-logo { display: flex; gap: 12px; align-items: center; margin-bottom: 22px; }
.auth-logo b { display: block; font-size: 17px; }
.auth-logo small { color: var(--a-muted); }
.auth-mark { width: 40px; height: 40px; border-radius: 12px; background: linear-gradient(135deg, #0a84ff, #af52de); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 19px; flex: none; }
.auth-card label { display: block; font-size: 13px; color: var(--a-muted); margin-bottom: 14px; }
.auth-card input { display: block; width: 100%; box-sizing: border-box; margin-top: 6px; padding: 11px 12px; border-radius: 10px; border: 1px solid var(--a-line); background: var(--a-bg); color: var(--a-text); font: inherit; }
.auth-card input:focus { outline: 2px solid var(--a-accent); outline-offset: 0; border-color: transparent; }
.auth-card button[type="submit"] { width: 100%; padding: 11px; border: 0; border-radius: 10px; background: var(--a-accent); color: #fff; font: inherit; font-weight: 600; cursor: pointer; }
.auth-card button[disabled] { opacity: .6; cursor: progress; }
.auth-error, .auth-msg.error { color: var(--a-danger); margin: 12px 0 0; }
.auth-msg { margin: 16px 0 0; }
.auth-hint { color: var(--a-muted); font-size: 13px; margin: 18px 0 0; }
.users-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; flex-wrap: wrap; }
.back { color: var(--a-accent); text-decoration: none; white-space: nowrap; }
.users-table { width: 100%; border-collapse: collapse; margin-bottom: 8px; }
.users-table th { text-align: left; font-weight: 500; color: var(--a-muted); font-size: 13px; padding: 6px 8px; border-bottom: 1px solid var(--a-line); }
.users-table td { padding: 9px 8px; border-bottom: 1px solid var(--a-line); }
.users-table .muted { color: var(--a-muted); font-size: 13px; }
.users-table .actions { text-align: right; white-space: nowrap; }
.link { background: none; border: 0; color: var(--a-accent); font: inherit; cursor: pointer; padding: 2px 6px; }
.link.danger { color: var(--a-danger); }
.online-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--a-ok); margin-left: 8px; vertical-align: middle; }
.auth-card h3 { font-size: 15px; margin: 22px 0 10px; }
.row-form { display: flex; gap: 8px; flex-wrap: wrap; }
.row-form input { flex: 1 1 180px; margin: 0; width: auto; }
.row-form button[type="submit"] { flex: 0 0 auto; width: auto; padding: 11px 18px; }
/* подпись внизу боковой панели программы */
.sidebar-bottom .online-link { background: none; border: 0; padding: 0; color: inherit; font: inherit; text-decoration: underline; text-underline-offset: 2px; cursor: pointer; opacity: .85; }
.sidebar-bottom .online-link:hover { opacity: 1; }
.sidebar-bottom .dot.online { background: #34c759; }
