:root { --bg: #0a0a0f; --bg-2: #131318; --bg-3: #1b1b22; --bg-4: #232330; --border: #26262f; --border-2: #33333d; --text: #ececf1; --muted: #8b8b98; --dim: #5b5b66; --accent: #a855f7; --accent-2: #7c3aed; --accent-soft: rgba(168, 85, 247, 0.12); --accent-dim: rgba(168, 85, 247, 0.18); --green: #34d399; --green-dim: rgba(52, 211, 153, 0.12); --red: #f87171; --red-dim: rgba(248, 113, 113, 0.12); --purple-1: #c084fc; --mono: "JetBrains Mono", "Cascadia Code", Consolas, monospace; } * { box-sizing: border-box; } html, body { margin: 0; padding: 0; background: var(--bg); color: var(--text); font-family: "Inter", system-ui, -apple-system, sans-serif; font-size: 14px; line-height: 1.5; -webkit-font-smoothing: antialiased; } a { color: inherit; text-decoration: none; } .mono { font-family: var(--mono); font-size: 12px; } .accent { color: var(--accent); } .muted { color: var(--muted); } ::-webkit-scrollbar { width: 9px; height: 9px; } ::-webkit-scrollbar-thumb { background: var(--border-2); border-radius: 6px; } ::-webkit-scrollbar-thumb:hover { background: var(--accent-2); } ::-webkit-scrollbar-track { background: transparent; } /* ---------- sidebar ---------- */ .sidebar { position: fixed; left: 0; top: 0; bottom: 0; width: 248px; background: var(--bg-2); border-right: 1px solid var(--border); display: flex; flex-direction: column; overflow-y: auto; z-index: 20; padding: 20px 14px; } .brand { display: flex; align-items: center; gap: 11px; padding: 2px 6px 18px; } .brand-logo { width: 38px; height: 38px; border-radius: 11px; background: linear-gradient(135deg, var(--accent-2), var(--accent)); display: flex; align-items: center; justify-content: center; font-size: 19px; color: #fff; box-shadow: 0 4px 16px rgba(124, 58, 237, 0.4); } .brand-name { font-size: 19px; font-weight: 800; letter-spacing: -0.4px; color: #fff; } .brand-dot { color: var(--accent); } .profile { background: var(--bg-3); border: 1px solid var(--border); border-radius: 14px; padding: 14px; display: flex; align-items: center; gap: 12px; margin-bottom: 20px; } .profile-avatar { width: 42px; height: 42px; border-radius: 12px; background: linear-gradient(135deg, #2a2a35, #1e1e27); border: 1px solid var(--border-2); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 18px; color: var(--accent); } .profile-name { font-weight: 600; font-size: 14px; } .profile-role { font-size: 11px; color: var(--muted); margin-top: 1px; } .nav-group-label { font-size: 10px; text-transform: uppercase; letter-spacing: 1.2px; color: var(--dim); font-weight: 700; padding: 14px 8px 6px; } .nav { display: flex; flex-direction: column; gap: 3px; } .nav-item { display: flex; align-items: center; gap: 11px; padding: 9px 12px; border-radius: 10px; color: var(--muted); font-weight: 500; font-size: 13px; transition: background 0.15s, color 0.15s; } .nav-item:hover { background: var(--bg-3); color: var(--text); } .nav-item .nav-ico { width: 17px; height: 17px; flex: 0 0 17px; opacity: 0.85; } .sidebar-foot { margin-top: auto; padding: 14px 6px 4px; border-top: 1px solid var(--border); display: flex; flex-direction: column; gap: 8px; } .online { display: flex; align-items: center; gap: 7px; font-size: 12px; color: var(--text); font-weight: 600; } .online-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 8px var(--green); } .foot-user { font-size: 12px; color: var(--muted); } .logout-btn { margin-top: 4px; padding: 9px 12px; border-radius: 10px; background: var(--red-dim); color: var(--red); font-weight: 600; font-size: 13px; text-align: center; transition: background 0.15s; } .logout-btn:hover { background: rgba(248, 113, 113, 0.2); } /* ---------- main ---------- */ .main.with-sidebar { margin-left: 248px; } .main { padding: 26px 30px 60px; } .flash { padding: 12px 16px; margin-bottom: 18px; border-radius: 12px; border: 1px solid var(--border); font-size: 13px; } .flash-success { background: var(--green-dim); border-color: rgba(52, 211, 153, 0.3); color: var(--green); } .flash-error { background: var(--red-dim); border-color: var(--red); color: var(--red); } .flash-info { background: var(--bg-3); } /* ---------- page head ---------- */ .page-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; } .page-head h1 { margin: 0; font-size: 24px; font-weight: 800; letter-spacing: -0.4px; } .page-head .muted { margin: 4px 0 0; } .with-ico { display: flex; align-items: center; gap: 10px; } .head-ico { width: 26px; height: 26px; } .head-actions { display: flex; gap: 10px; } .section-title { margin: 34px 0 14px; font-size: 17px; font-weight: 700; } /* ---------- buttons ---------- */ .btn { display: inline-flex; align-items: center; gap: 6px; padding: 9px 15px; border-radius: 10px; font-size: 13px; font-weight: 600; border: 1px solid var(--border-2); cursor: pointer; background: var(--bg-3); color: var(--text); transition: background 0.15s, border 0.15s, transform 0.1s; } .btn:hover { background: var(--bg-4); } .btn:active { transform: translateY(1px); } .btn-primary { background: linear-gradient(135deg, var(--accent-2), var(--accent)); border-color: transparent; color: #fff; } .btn-primary:hover { background: linear-gradient(135deg, #6d28d9, #9333ea); } .btn-ghost { background: transparent; } .btn-sm { padding: 5px 10px; font-size: 12px; } /* ---------- stat cards ---------- */ .stat-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin-bottom: 20px; } .stat-card { background: var(--bg-2); border: 1px solid var(--border); border-radius: 16px; padding: 20px 22px; display: flex; flex-direction: column; gap: 12px; position: relative; overflow: hidden; } .stat-card::after { content: ""; position: absolute; top: 0; right: 0; width: 120px; height: 120px; background: radial-gradient(circle at top right, var(--accent-dim), transparent 70%); pointer-events: none; } .stat-ico { width: 46px; height: 46px; border-radius: 13px; background: linear-gradient(135deg, var(--accent-2), var(--accent)); display: flex; align-items: center; justify-content: center; } .stat-ico img { width: 24px; height: 24px; filter: brightness(0) invert(1); } .stat-num { font-size: 28px; font-weight: 800; letter-spacing: -0.5px; line-height: 1; } .stat-label { color: var(--muted); font-size: 12.5px; font-weight: 500; } .stat-trend { align-self: flex-start; font-size: 11px; color: var(--green); font-weight: 600; background: var(--green-dim); padding: 2px 9px; border-radius: 20px; } .stat-trend.up::before { content: "↑ "; } /* ---------- type cards grid ---------- */ .grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; } .type-card { display: flex; align-items: center; gap: 12px; background: var(--bg-2); border: 1px solid var(--border); border-radius: 12px; padding: 14px; transition: border 0.15s, transform 0.15s, background 0.15s; } .type-card:hover { border-color: var(--accent); transform: translateY(-2px); background: var(--bg-3); } .type-ico { width: 30px; height: 30px; flex: 0 0 30px; } .type-label { font-size: 12px; color: var(--muted); font-weight: 500; } .type-count { font-size: 19px; font-weight: 700; margin-top: 2px; } /* ---------- charts ---------- */ .charts-row { display: grid; grid-template-columns: 3fr 2fr; gap: 16px; margin-bottom: 20px; } .charts-row.single { grid-template-columns: 1fr; } .chart-card { background: var(--bg-2); border: 1px solid var(--border); border-radius: 16px; padding: 20px; } .chart-card h2 { margin: 0 0 16px; font-size: 15px; font-weight: 700; } .chart-body { position: relative; min-height: 240px; } /* ---------- tables ---------- */ .table-card { background: var(--bg-2); border: 1px solid var(--border); border-radius: 16px; overflow: hidden; } .table-scroll { overflow-x: auto; } table { width: 100%; border-collapse: collapse; } th, td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--border); font-size: 13px; } th { font-size: 11px; text-transform: uppercase; letter-spacing: 0.7px; color: var(--muted); background: var(--bg-3); font-weight: 700; } tbody tr:last-child td { border-bottom: none; } tbody tr:hover { background: rgba(255, 255, 255, 0.02); } .empty { text-align: center; color: var(--muted); padding: 30px; font-style: italic; } .client-link { color: var(--accent); font-weight: 500; } /* ---------- status chip ---------- */ .chip { display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; border-radius: 20px; font-size: 11px; font-weight: 600; } .chip-green { background: var(--green-dim); color: var(--green); } .chip-red { background: var(--red-dim); color: var(--red); } .chip-gray { background: var(--bg-4); color: var(--muted); } /* ---------- secrets ---------- */ .pw { color: var(--accent); cursor: pointer; font-family: var(--mono); font-size: 12px; } .pw:hover { background: var(--accent-dim); border-radius: 4px; } .tag { display: inline-block; padding: 2px 9px; border-radius: 20px; background: var(--bg-3); border: 1px solid var(--border-2); font-size: 11px; color: var(--muted); font-weight: 600; } /* ---------- auth ---------- */ .auth-wrap { display: flex; align-items: center; justify-content: center; min-height: 88vh; } .auth-card { width: 380px; background: var(--bg-2); border: 1px solid var(--border); border-radius: 20px; padding: 38px 36px; display: flex; flex-direction: column; box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4); } .auth-logo { width: 54px; height: 54px; border-radius: 15px; align-self: center; background: linear-gradient(135deg, var(--accent-2), var(--accent)); display: flex; align-items: center; justify-content: center; font-size: 26px; color: #fff; box-shadow: 0 6px 24px rgba(124, 58, 237, 0.5); } .auth-card h1 { margin: 16px 0 2px; font-size: 22px; text-align: center; font-weight: 800; } .auth-sub { text-align: center; color: var(--muted); margin: 0 0 24px; font-size: 13px; } .auth-card label { font-size: 12px; color: var(--muted); margin: 12px 0 5px; } .auth-card input { background: var(--bg-3); border: 1px solid var(--border-2); color: var(--text); padding: 12px 14px; border-radius: 11px; font-size: 14px; transition: border 0.15s; } .auth-card input:focus { outline: none; border-color: var(--accent); } .auth-card .btn { margin-top: 22px; justify-content: center; } .auth-link { text-align: center; margin-top: 16px; color: var(--muted); font-size: 12px; } .auth-link:hover { color: var(--accent); } /* ---------- search ---------- */ .search-bar { display: flex; gap: 10px; margin-bottom: 20px; } .search-bar input { flex: 1; background: var(--bg-2); border: 1px solid var(--border-2); color: var(--text); padding: 12px 14px; border-radius: 11px; font-size: 14px; } .search-bar input:focus { outline: none; border-color: var(--accent); } /* ---------- builder / fileshare ---------- */ .form-card, .upload-card, .build-progress { background: var(--bg-2); border: 1px solid var(--border); border-radius: 16px; padding: 22px 24px; margin-bottom: 22px; max-width: 640px; } .form-card h2, .upload-card h2, .build-progress h2 { margin: 0 0 16px; font-size: 15px; font-weight: 700; } .form-card label, .upload-card label { font-size: 12px; color: var(--muted); margin: 12px 0 4px; display: block; } .form-card input, .upload-card input { width: 100%; background: var(--bg-3); border: 1px solid var(--border-2); color: var(--text); padding: 10px 12px; border-radius: 9px; font-size: 13px; font-family: var(--mono); } .form-card input:focus, .upload-card input:focus { outline: none; border-color: var(--accent); } .form-card .hint, .upload-card .hint { font-size: 11px; color: var(--muted); margin: 4px 0 0; } .form-card .hint code, .upload-card .hint code { color: var(--accent); } .form-row { display: flex; gap: 12px; } .form-row > div { flex: 1; } .form-card .btn, .upload-card .btn { margin-top: 20px; } .upload-form { display: flex; flex-direction: column; gap: 10px; } .upload-form input[type="file"] { color: var(--text); background: var(--bg-3); border: 1px solid var(--border-2); border-radius: 9px; padding: 9px 12px; font-size: 13px; } .upload-form input[type="text"] { max-width: 200px; } .build-log { font-family: var(--mono); font-size: 12px; background: #05060a; border: 1px solid var(--border); border-radius: 10px; padding: 14px; max-height: 300px; overflow: auto; white-space: pre-wrap; word-break: break-word; color: #c9d1da; } .build-actions { margin-top: 14px; } .tag-done { color: var(--green); border-color: rgba(52,211,153,0.3); background: var(--green-dim); } .tag-running { color: var(--accent); border-color: var(--accent); background: var(--accent-soft); } .tag-error { color: var(--red); border-color: var(--red); background: var(--red-dim); } .panel-foot { text-align: center; padding: 16px 12px 20px; } .panel-foot a { color: var(--muted); font-size: 12px; text-decoration: none; opacity: .75; transition: opacity .15s ease; } .panel-foot a:hover { opacity: 1; color: var(--accent); }