:root { color-scheme: dark; --bg: #0b1020; --panel: rgba(19, 28, 51, .82); --line: rgba(148, 163, 184, .18); --text: #edf2ff; --muted: #9aa8c7; --accent: #8b5cf6; --accent2: #22d3ee; --green: #34d399; --yellow: #fbbf24; --red: #fb7185; }
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; color: var(--text); background: radial-gradient(circle at 12% 0%, #1e2b5c 0, transparent 36%), radial-gradient(circle at 90% 10%, #163f55 0, transparent 30%), var(--bg); font: 14px/1.6 Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
h1, h2, p { margin: 0; } h1 { font-size: clamp(25px, 4vw, 38px); letter-spacing: -.04em; } h2 { font-size: 19px; letter-spacing: -.02em; } code { color: #c4b5fd; word-break: break-all; }
.hidden { display: none !important; } .muted { color: var(--muted); } .eyebrow { color: #a5b4fc; font-size: 10px; font-weight: 800; letter-spacing: .17em; text-transform: uppercase; }
.glass-card { border: 1px solid var(--line); border-radius: 20px; background: var(--panel); box-shadow: 0 18px 60px rgba(0,0,0,.2); backdrop-filter: blur(18px); }
.center-view { display: grid; min-height: 100vh; place-items: center; padding: 22px; } .login-card { width: min(100%, 430px); padding: 38px; } .brand-mark { display: grid; width: 48px; height: 48px; margin-bottom: 24px; place-items: center; border-radius: 15px; color: #fff; background: linear-gradient(135deg, var(--accent), var(--accent2)); font-weight: 900; }
.login-card h1 { margin: 8px 0; font-size: 28px; } form { display: grid; gap: 14px; margin-top: 28px; } label { display: grid; gap: 7px; color: var(--muted); font-size: 12px; font-weight: 700; } input, select { width: 100%; border: 1px solid var(--line); border-radius: 11px; outline: none; padding: 12px 13px; color: var(--text); background: rgba(15,23,42,.8); font: inherit; } input:focus, select:focus { border-color: var(--accent2); box-shadow: 0 0 0 3px rgba(34,211,238,.12); }
.primary-button, .ghost-button, .table-button { border: 0; border-radius: 11px; cursor: pointer; color: #fff; font: inherit; font-weight: 800; transition: transform .15s, opacity .15s; } button:hover { transform: translateY(-1px); opacity: .9; } .primary-button { padding: 12px 16px; background: linear-gradient(135deg, var(--accent), #6366f1); } .primary-button.compact { padding: 9px 14px; } .ghost-button { padding: 9px 13px; border: 1px solid var(--line); background: transparent; } .table-button { padding: 5px 10px; border: 1px solid var(--line); background: rgba(255,255,255,.06); font-size: 12px; }
.app-shell { width: min(1180px, calc(100% - 36px)); margin: 0 auto; padding: 34px 0 60px; } .topbar, .panel-heading, .topbar-actions, .hero, .detail-list > div { display: flex; align-items: center; justify-content: space-between; gap: 18px; } .topbar { margin-bottom: 26px; } .topbar-actions { align-items: center; } .hero { margin-bottom: 18px; padding: 23px 26px; background: linear-gradient(100deg, rgba(91, 33, 182, .42), rgba(8, 145, 178, .2)); } .hero-meta { display: grid; gap: 2px; text-align: right; color: var(--muted); font-size: 12px; } .hero-meta strong { color: #fff; font-size: 16px; }
.status-dot { display: inline-block; width: 9px; height: 9px; margin-right: 8px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 14px currentColor; } .status-dot.online { color: var(--green); background: var(--green); }
.section-grid { display: grid; gap: 18px; margin-bottom: 18px; } .platform-grid { grid-template-columns: repeat(4, 1fr); } .main-grid { grid-template-columns: 1.05fr .95fr; } .status-card, .panel { padding: 22px; } .card-label { color: var(--muted); font-size: 12px; font-weight: 800; } .big-status { margin-top: 13px; font-size: 26px; font-weight: 850; } .big-status.success { color: var(--green); } .big-status.warning { color: var(--yellow); } .big-status.neutral { color: #c4b5fd; font-size: 22px; } .panel-heading { margin-bottom: 21px; } .badge, .state-pill { border-radius: 999px; padding: 4px 9px; background: rgba(255,255,255,.08); color: var(--muted); font-size: 10px; font-weight: 900; letter-spacing: .08em; } .success-badge { color: var(--green); background: rgba(52,211,153,.12); } .warning-badge { color: var(--yellow); background: rgba(251,191,36,.12); }
.detail-list { display: grid; gap: 0; margin-top: 26px; } .detail-list > div { border-top: 1px solid var(--line); padding: 11px 0; color: var(--muted); } .detail-list strong { max-width: 65%; overflow: hidden; color: var(--text); font-size: 12px; text-overflow: ellipsis; white-space: nowrap; } .qr-panel { display: grid; place-items: center; gap: 8px; padding: 14px; border: 1px dashed var(--line); border-radius: 14px; color: var(--muted); } .qr-panel img { width: min(100%, 240px); border-radius: 8px; background: #fff; }
.connection-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 18px; } .danger-button { border: 1px solid rgba(251,113,133,.45); border-radius: 11px; cursor: pointer; padding: 9px 13px; color: #fecdd3; background: rgba(251,113,133,.1); font: inherit; font-weight: 800; }
.group-form { display: grid; grid-template-columns: 1.2fr 1fr auto; align-items: end; margin: 0 0 20px; } .table-wrap { overflow-x: auto; } table { width: 100%; border-collapse: collapse; } th, td { border-top: 1px solid var(--line); padding: 13px 10px; text-align: left; vertical-align: middle; } th { color: var(--muted); font-size: 11px; } .state-pill { letter-spacing: 0; } .state-pill.active { color: var(--green); background: rgba(52,211,153,.12); } .state-pill.paused { color: var(--yellow); background: rgba(251,191,36,.12); } .empty { padding: 28px 10px; color: var(--muted); text-align: center; }
.translation-policy-block { margin-top: 25px; padding-top: 21px; border-top: 1px solid var(--line); }
.subheading { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 15px; } .subheading h3 { margin: 3px 0 0; font-size: 16px; }
.translation-form { display: grid; gap: 14px; margin-top: 0; } .field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; } .check-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; } .check-label { display: flex; align-items: center; gap: 7px; min-height: 38px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 10px; color: var(--text); background: rgba(15,23,42,.45); font-size: 12px; } input[type="checkbox"] { width: auto; accent-color: var(--accent2); } .check-label input { margin: 0; } .language-checks { display: flex; gap: 16px; flex-wrap: wrap; color: var(--text); font-size: 12px; font-weight: 500; } .language-checks input { width: auto; margin-right: 5px; accent-color: var(--accent2); } textarea { width: 100%; resize: vertical; border: 1px solid var(--line); border-radius: 11px; outline: none; padding: 11px 13px; color: var(--text); background: rgba(15,23,42,.8); font: inherit; } textarea:focus { border-color: var(--accent2); box-shadow: 0 0 0 3px rgba(34,211,238,.12); } button:disabled, input:disabled { cursor: not-allowed; opacity: .45; } .policy-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.error-text { min-height: 22px; color: var(--red); } .toast { position: fixed; right: 24px; bottom: 24px; min-height: 24px; color: var(--green); font-weight: 800; } @media (max-width: 850px) { .platform-grid, .main-grid { grid-template-columns: 1fr 1fr; } .hero { align-items: flex-start; flex-direction: column; } .hero-meta { text-align: left; } } @media (max-width: 600px) { .app-shell { width: min(100% - 24px, 1180px); padding-top: 22px; } .topbar { align-items: flex-start; flex-direction: column; } .platform-grid, .main-grid { grid-template-columns: 1fr; } .group-form, .field-grid { grid-template-columns: 1fr; } .check-grid { grid-template-columns: 1fr 1fr; } .login-card { padding: 28px 22px; } }
