Files
overlord/Overlord-Server/public/assets/main.css
T

1884 lines
35 KiB
CSS
Raw Normal View History

2026-03-05 00:04:26 -06:00
:root {
color-scheme: dark;
font-family:
"Inter",
"Segoe UI",
system-ui,
-apple-system,
sans-serif;
background: #04070d;
color: #e8edf2;
/* Design tokens */
--radius-lg: 14px;
--radius-md: 10px;
--radius-sm: 8px;
--radius-full: 999px;
--text-xs: 0.75rem;
--text-sm: 0.8125rem;
--text-base: 0.875rem;
--text-lg: 1rem;
--text-xl: 1.25rem;
--text-2xl: 1.5rem;
--text-3xl: 1.75rem;
--color-text: #e8edf2;
--color-text-muted: #9db1cc;
--color-text-bright: #f8fbff;
--color-surface: rgba(40, 55, 90, 0.3);
--color-surface-dark: rgba(20, 26, 40, 0.7);
--color-border: rgba(255, 255, 255, 0.08);
--color-primary: #6366f1;
--color-primary-hover: #818cf8;
--color-success: #22c55e;
--color-danger: #ef4444;
}
:root:not(.app-ready) #app-loader {
opacity: 1;
visibility: visible;
}
:root.app-ready #app-loader {
opacity: 0;
visibility: hidden;
}
#app-loader {
position: fixed;
inset: 0;
z-index: 9999;
display: grid;
place-items: center;
background: rgba(2, 6, 23, 0.92);
backdrop-filter: blur(8px);
transition: opacity 420ms ease, visibility 420ms ease;
}
.app-loader-bg {
position: absolute;
inset: 0;
background:
radial-gradient(60% 50% at 20% 20%, rgba(56, 189, 248, 0.22), transparent 70%),
radial-gradient(50% 45% at 80% 10%, rgba(99, 102, 241, 0.2), transparent 72%),
radial-gradient(65% 55% at 50% 100%, rgba(16, 185, 129, 0.12), transparent 75%);
animation: loaderBgPulse 5.2s ease-in-out infinite alternate;
}
.app-loader-core {
position: relative;
width: min(440px, 88vw);
padding: 34px 24px 24px;
border-radius: 18px;
border: 1px solid rgba(99, 102, 241, 0.3);
background:
linear-gradient(150deg, rgba(15, 23, 42, 0.92), rgba(10, 15, 30, 0.96));
box-shadow:
0 20px 46px rgba(0, 0, 0, 0.5),
0 0 0 1px rgba(129, 140, 248, 0.1);
display: grid;
justify-items: center;
gap: 8px;
overflow: hidden;
}
.app-loader-core::before {
content: "";
position: absolute;
inset: 0;
background: linear-gradient(
110deg,
transparent 20%,
rgba(129, 140, 248, 0.14) 50%,
transparent 80%
);
transform: translateX(-120%);
animation: loaderSweep 2.6s linear infinite;
pointer-events: none;
}
.loader-rings {
position: relative;
width: 86px;
height: 86px;
margin-bottom: 4px;
}
.loader-ring {
position: absolute;
inset: 0;
border-radius: 999px;
border: 2px solid transparent;
}
.ring-a {
border-top-color: rgba(56, 189, 248, 0.95);
border-right-color: rgba(99, 102, 241, 0.65);
animation: loaderSpin 1.1s linear infinite;
}
.ring-b {
inset: 8px;
border-left-color: rgba(34, 197, 94, 0.9);
border-bottom-color: rgba(56, 189, 248, 0.6);
animation: loaderSpinReverse 1.6s linear infinite;
}
.ring-c {
inset: 18px;
border-top-color: rgba(186, 230, 253, 0.95);
border-right-color: rgba(129, 140, 248, 0.7);
animation: loaderSpin 0.9s linear infinite;
}
.loader-brand {
font-size: 0.85rem;
text-transform: uppercase;
letter-spacing: 0.22em;
color: rgba(148, 163, 184, 0.95);
}
.loader-title {
font-size: 1.45rem;
font-weight: 700;
letter-spacing: 0.01em;
color: #e2e8f0;
text-shadow: 0 0 18px rgba(99, 102, 241, 0.25);
}
.loader-percent {
font-size: 2rem;
font-weight: 700;
font-variant-numeric: tabular-nums;
color: #c7d2fe;
margin-top: 2px;
}
.loader-track {
width: min(340px, 76vw);
height: 10px;
border-radius: 999px;
background: rgba(30, 41, 59, 0.9);
border: 1px solid rgba(99, 102, 241, 0.22);
overflow: hidden;
margin-top: 8px;
}
.loader-bar {
width: 0;
height: 100%;
border-radius: inherit;
background: linear-gradient(
90deg,
rgba(56, 189, 248, 0.9),
rgba(99, 102, 241, 0.95),
rgba(34, 197, 94, 0.88)
);
box-shadow: 0 0 14px rgba(56, 189, 248, 0.38);
transition: width 120ms ease-out;
}
@keyframes loaderSpin {
to {
transform: rotate(360deg);
}
}
@keyframes loaderSpinReverse {
to {
transform: rotate(-360deg);
}
}
@keyframes loaderBgPulse {
0% {
filter: saturate(0.95) brightness(0.95);
}
100% {
filter: saturate(1.1) brightness(1.06);
}
}
@keyframes loaderSweep {
to {
transform: translateX(120%);
}
}
* {
box-sizing: border-box;
}
body {
margin: 0;
min-height: 100vh;
background:
radial-gradient(120% 120% at 20% 20%, #102040 0%, transparent 45%),
radial-gradient(110% 110% at 80% 0%, #112233 0%, transparent 50%), #05070f;
background-attachment: fixed;
}
a {
color: inherit;
text-decoration: none;
}
.topbar {
position: sticky;
top: 0;
z-index: 10;
display: flex;
align-items: center;
justify-content: space-between;
gap: 10px;
padding: 14px 20px;
background: rgba(10, 15, 25, 0.9);
border-bottom: 1px solid var(--color-border);
backdrop-filter: blur(12px);
}
.brand {
font-weight: 700;
letter-spacing: 0.5px;
display: flex;
gap: 8px;
align-items: center;
}
.nav {
display: flex;
gap: 12px;
flex-wrap: wrap;
}
.nav a {
padding: 7px 12px;
border-radius: var(--radius-md);
color: #c5ced8;
display: inline-flex;
gap: 8px;
align-items: center;
}
.nav a.active,
.nav a:hover {
background: rgba(255, 255, 255, 0.08);
color: #fff;
}
.user-pill {
padding: 7px 12px;
border-radius: var(--radius-full);
background: rgba(255, 255, 255, 0.08);
display: inline-flex;
gap: 8px;
align-items: center;
color: #dfe7f2;
}
.login-body {
display: grid;
place-items: center;
min-height: 100vh;
background: #05070f;
position: relative;
overflow: hidden;
}
.login-body::before {
content: "";
position: absolute;
inset: -20%;
background:
radial-gradient(
40% 40% at 20% 20%,
rgba(99, 230, 226, 0.28),
transparent 55%
),
radial-gradient(
35% 35% at 80% 30%,
rgba(111, 179, 255, 0.25),
transparent 55%
),
linear-gradient(120deg, rgba(56, 189, 248, 0.18), rgba(59, 130, 246, 0.08));
filter: blur(40px);
animation: gradientShift 18s ease-in-out infinite alternate;
opacity: 0.9;
pointer-events: none;
}
/* .container removed — collided with Tailwind's container utility */
.section-header {
display: flex;
align-items: center;
justify-content: space-between;
gap: 12px;
flex-wrap: wrap;
}
h1 {
margin: 0 0 6px 0;
font-size: 26px;
}
p {
margin: 0;
}
.muted {
color: var(--color-text-muted);
}
.pill {
display: inline-flex;
align-items: center;
gap: 6px;
font-size: var(--text-xs);
padding: 6px 10px;
border-radius: var(--radius-full);
border: 1px solid var(--color-border);
background: rgba(255, 255, 255, 0.04);
color: #dfe7f2;
}
.pill i {
font-size: 12px;
}
.pill-online {
background: rgba(16, 185, 129, 0.16);
color: #bbf7d0;
border-color: rgba(16, 185, 129, 0.3);
}
.pill-ghost {
background: rgba(255, 255, 255, 0.04);
color: #cbd5e1;
}
.pill-unknown {
background: rgba(148, 163, 184, 0.16);
color: #e2e8f0;
border-color: rgba(148, 163, 184, 0.32);
}
.pill-win {
background: linear-gradient(
135deg,
rgba(59, 130, 246, 0.18),
rgba(14, 165, 233, 0.14)
);
color: #bfdbfe;
border-color: rgba(59, 130, 246, 0.35);
}
.pill-mac {
background: rgba(209, 213, 219, 0.12);
color: #f8fafc;
border-color: rgba(209, 213, 219, 0.22);
}
.pill-ubuntu {
background: rgba(249, 115, 22, 0.16);
color: #fed7aa;
border-color: rgba(249, 115, 22, 0.3);
}
.pill-debian {
background: rgba(236, 72, 153, 0.16);
color: #fbcfe8;
border-color: rgba(236, 72, 153, 0.32);
}
.pill-arch {
background: rgba(34, 211, 238, 0.16);
color: #a5f3fc;
border-color: rgba(34, 211, 238, 0.32);
}
.pill-fedora {
background: rgba(59, 130, 246, 0.16);
color: #c7d2fe;
border-color: rgba(59, 130, 246, 0.32);
}
.pill-linux {
background: rgba(16, 185, 129, 0.14);
color: #bbf7d0;
border-color: rgba(16, 185, 129, 0.28);
}
.pill-x64 {
background: rgba(94, 234, 212, 0.14);
color: #ccfbf1;
border-color: rgba(94, 234, 212, 0.24);
}
.pill-arm {
background: rgba(14, 165, 233, 0.14);
color: #bae6fd;
border-color: rgba(14, 165, 233, 0.24);
}
.pill-version {
background: rgba(244, 114, 182, 0.16);
color: #fbcfe8;
border-color: rgba(244, 114, 182, 0.28);
}
/* .grid removed — was colliding with Tailwind's grid utility (display: grid) */
.card {
background: linear-gradient(
145deg,
var(--color-surface),
var(--color-surface-dark)
);
border: 1px solid var(--color-border);
border-radius: var(--radius-lg);
padding: 12px 14px;
box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
}
.card.card-offline {
background: linear-gradient(
145deg,
rgba(10, 14, 24, 0.7),
rgba(4, 6, 12, 0.9)
);
border-color: rgba(71, 85, 105, 0.5);
filter: saturate(0.55);
opacity: 0.85;
}
.pill-offline {
background: rgba(51, 65, 85, 0.3);
color: #94a3b8;
border-color: rgba(71, 85, 105, 0.55);
}
.card::before {
content: "";
position: absolute;
inset: 0;
z-index: 0;
pointer-events: none;
background: var(
--card-accent,
radial-gradient(
circle at 20% 20%,
rgba(99, 102, 241, 0.08),
transparent 45%
)
);
opacity: 1;
}
.card > * {
position: relative;
z-index: 1;
}
.tone-pill-ubuntu {
--card-accent:
radial-gradient(
circle at 20% 20%,
rgba(249, 115, 22, 0.12),
transparent 45%
),
radial-gradient(circle at 80% 0%, rgba(249, 115, 22, 0.08), transparent 55%);
}
.tone-pill-debian {
--card-accent:
radial-gradient(
circle at 20% 20%,
rgba(236, 72, 153, 0.14),
transparent 45%
),
radial-gradient(circle at 80% 0%, rgba(236, 72, 153, 0.08), transparent 55%);
}
.tone-pill-kali {
--card-accent:
radial-gradient(
circle at 20% 20%,
rgba(14, 165, 233, 0.16),
transparent 45%
),
radial-gradient(circle at 80% 0%, rgba(14, 165, 233, 0.08), transparent 55%);
}
.tone-pill-fedora {
--card-accent:
radial-gradient(
circle at 20% 20%,
rgba(59, 130, 246, 0.16),
transparent 45%
),
radial-gradient(circle at 80% 0%, rgba(59, 130, 246, 0.08), transparent 55%);
}
.tone-pill-linux {
--card-accent:
radial-gradient(
circle at 20% 20%,
rgba(16, 185, 129, 0.14),
transparent 45%
),
radial-gradient(circle at 80% 0%, rgba(16, 185, 129, 0.08), transparent 55%);
}
.tone-pill-win {
--card-accent:
radial-gradient(
circle at 20% 20%,
rgba(59, 130, 246, 0.18),
transparent 45%
),
radial-gradient(circle at 80% 0%, rgba(14, 165, 233, 0.12), transparent 55%);
}
.tone-pill-mac {
--card-accent:
radial-gradient(
circle at 20% 20%,
rgba(226, 232, 240, 0.16),
transparent 45%
),
radial-gradient(circle at 80% 0%, rgba(148, 163, 184, 0.1), transparent 55%);
}
.tone-pill-unknown {
--card-accent:
radial-gradient(
circle at 20% 20%,
rgba(148, 163, 184, 0.12),
transparent 45%
),
radial-gradient(
circle at 80% 0%,
rgba(148, 163, 184, 0.06),
transparent 55%
);
}
.client-card {
padding: 14px;
}
.client-row {
display: flex;
align-items: center;
gap: 14px;
flex-wrap: wrap;
}
.thumb-wrap {
flex: 0 0 auto;
}
@keyframes gradientShift {
0% {
transform: translate3d(-4%, -2%, 0) scale(1);
}
50% {
transform: translate3d(3%, 4%, 0) scale(1.05);
}
100% {
transform: translate3d(-2%, 6%, 0) scale(1.02);
}
}
.thumb-lg {
width: 150px;
height: 96px;
object-fit: cover;
border-radius: 12px;
border: 1px solid rgba(255, 255, 255, 0.12);
background: rgba(255, 255, 255, 0.04);
display: grid;
place-items: center;
color: #8aa2c5;
font-size: 20px;
}
.thumb-lg.placeholder {
border-style: dashed;
}
.client-main {
flex: 1 1 260px;
display: flex;
flex-direction: column;
gap: 8px;
}
.title-row {
display: flex;
align-items: center;
gap: 10px;
flex-wrap: wrap;
font-weight: 700;
}
.flag {
font-size: 22px;
}
.client-name {
font-size: 16px;
}
.meta-row {
display: flex;
align-items: center;
gap: 8px;
flex-wrap: wrap;
color: #9db1cc;
font-size: 13px;
}
.chip {
padding: 4px 8px;
border-radius: var(--radius-full);
background: rgba(255, 255, 255, 0.06);
color: #d7e5ff;
font-size: var(--text-xs);
display: inline-flex;
gap: 6px;
align-items: center;
}
.ping {
font-variant-numeric: tabular-nums;
color: #9cf099;
display: inline-flex;
align-items: center;
gap: 6px;
}
.right-rail {
display: flex;
align-items: center;
gap: 10px;
}
.empty-state {
text-align: center;
padding: 18px;
color: #9db1cc;
}
.context-menu {
position: fixed;
z-index: 50;
padding: 8px;
display: flex;
flex-direction: column;
gap: 6px;
width: 180px;
}
.context-menu button {
width: 100%;
text-align: left;
padding: 8px 10px;
border: 1px solid var(--color-border);
background: rgba(255, 255, 255, 0.05);
color: var(--color-text);
border-radius: var(--radius-md);
cursor: pointer;
display: inline-flex;
gap: 8px;
align-items: center;
}
.context-menu button:hover {
background: rgba(255, 255, 255, 0.12);
}
.context-menu button.danger {
color: #ffb4b4;
border-color: rgba(255, 99, 99, 0.2);
}
.pagination {
display: flex;
align-items: center;
justify-content: center;
gap: 12px;
padding: 12px 0 28px 0;
}
.button {
padding: 9px 14px;
border-radius: var(--radius-lg);
border: 1px solid rgba(255, 255, 255, 0.14);
color: var(--color-text);
background: rgba(255, 255, 255, 0.06);
cursor: pointer;
display: inline-flex;
gap: 8px;
align-items: center;
}
.button:disabled {
opacity: 0.4;
cursor: not-allowed;
}
.button.ghost {
background: rgba(255, 255, 255, 0.04);
border-color: rgba(255, 255, 255, 0.12);
}
@media (max-width: 720px) {
.topbar {
flex-wrap: wrap;
gap: 10px;
}
.nav {
width: 100%;
justify-content: flex-start;
flex-wrap: wrap;
}
.page {
padding: 16px 14px;
}
.right-rail {
width: 100%;
justify-content: flex-start;
}
.thumb-lg {
width: 120px;
height: 80px;
}
#command-menu {
max-width: calc(100vw - 20px);
max-height: calc(100vh - 20px);
overflow-y: auto;
font-size: 14px;
}
#command-menu button {
padding: 10px 12px;
font-size: 14px;
}
#command-menu i {
font-size: 14px;
}
}
@media (min-width: 1800px) {
#clients-shell {
max-width: min(1800px, 92vw) !important;
}
#clients-shell h1 {
font-size: 2rem;
}
#clients-shell #grid {
gap: 1rem;
}
#clients-shell #grid article.card {
padding: 1.15rem 1.35rem;
}
#clients-shell #grid .thumb-img {
width: 12rem;
height: 7.25rem;
}
#clients-shell #grid .text-2xl {
font-size: 1.7rem;
line-height: 1;
}
#clients-shell #grid .text-lg {
font-size: 1.2rem;
}
#clients-shell #grid .text-sm {
font-size: 0.95rem;
}
#clients-shell #grid .text-xs {
font-size: 0.82rem;
}
#clients-shell #grid .pill {
padding: 0.35rem 0.65rem;
}
#clients-shell #grid .command-btn,
#clients-shell #grid .ban-btn {
padding: 0.7rem 0.95rem;
}
}
.login-body {
display: grid;
place-items: center;
min-height: 100vh;
background:
radial-gradient(120% 120% at 20% 20%, #102040 0%, transparent 45%),
radial-gradient(110% 110% at 80% 0%, #112233 0%, transparent 50%), #05070f;
position: relative;
overflow: hidden;
}
.login-particles {
position: absolute;
inset: 0;
pointer-events: none;
overflow: hidden;
}
.particle {
position: absolute;
width: 4px;
height: 4px;
background: radial-gradient(circle, rgba(92, 145, 255, 0.8), transparent);
border-radius: 50%;
opacity: 0;
}
.particle:nth-child(1) {
top: 20%;
left: 15%;
}
.particle:nth-child(2) {
top: 60%;
left: 80%;
}
.particle:nth-child(3) {
top: 40%;
left: 50%;
}
.particle:nth-child(4) {
top: 75%;
left: 25%;
}
.particle:nth-child(5) {
top: 15%;
left: 70%;
}
.login-card {
width: min(420px, 90vw);
background: linear-gradient(
145deg,
rgba(40, 55, 90, 0.4),
rgba(20, 26, 40, 0.85)
);
border: 1px solid rgba(255, 255, 255, 0.12);
border-radius: var(--radius-lg);
padding: 40px 32px;
box-shadow:
0 20px 60px rgba(0, 0, 0, 0.5),
0 0 100px rgba(92, 145, 255, 0.1);
position: relative;
opacity: 0;
}
.login-card::before {
content: "";
position: absolute;
inset: 0;
border-radius: var(--radius-lg);
padding: 1px;
background: linear-gradient(145deg, rgba(92, 145, 255, 0.3), transparent);
-webkit-mask:
linear-gradient(#fff 0 0) content-box,
linear-gradient(#fff 0 0);
-webkit-mask-composite: xor;
mask-composite: exclude;
pointer-events: none;
}
.login-crown-wrapper {
display: flex;
justify-content: center;
margin-bottom: 20px;
}
.login-crown {
font-size: 48px;
color: #7a5bff;
filter: drop-shadow(0 4px 12px rgba(122, 91, 255, 0.5));
}
.login-brand {
text-align: center;
font-size: 28px;
font-weight: 700;
letter-spacing: 1px;
margin-bottom: 12px;
background: linear-gradient(135deg, #7a5bff, #5672ff);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
opacity: 0;
display: block;
width: 100%;
}
.login-title {
text-align: center;
font-size: 24px;
font-weight: 600;
margin: 0 0 8px 0;
opacity: 0;
}
.login-subtitle {
text-align: center;
margin-bottom: 28px;
opacity: 0;
}
.form-group {
margin-bottom: 20px;
opacity: 0;
}
.modal {
align-items: center;
justify-content: center;
}
.modal img {
margin: 0 auto;
object-fit: contain;
}
.label {
display: block;
margin: 12px 0 6px 0;
color: #cfe0ff;
font-size: 14px;
}
.input-row {
display: flex;
align-items: center;
gap: 12px;
padding: 13px 16px;
border-radius: var(--radius-lg);
border: 1px solid rgba(255, 255, 255, 0.12);
background: rgba(255, 255, 255, 0.05);
transition: all 0.3s ease;
}
.input-row:focus-within {
border-color: rgba(92, 145, 255, 0.5);
background: rgba(255, 255, 255, 0.08);
box-shadow: 0 0 0 3px rgba(92, 145, 255, 0.1);
}
.input-row i {
color: #7a8cb5;
font-size: 16px;
}
.input-row:focus-within i {
color: #7a5bff;
}
.input-row input {
flex: 1;
background: transparent;
border: none;
color: #e8edf2;
font-size: 15px;
outline: none;
}
.input-row input::placeholder {
color: #6b7a98;
}
.button.primary {
background: linear-gradient(120deg, #4f6bff, #715dff);
border-color: rgba(129, 140, 248, 0.55);
box-shadow: 0 4px 16px rgba(99, 102, 241, 0.3);
transition: all 0.3s ease;
position: relative;
overflow: hidden;
}
.button.primary:hover {
transform: translateY(-2px);
box-shadow: 0 6px 24px rgba(122, 91, 255, 0.4);
}
.button.primary:active {
transform: translateY(0);
}
.button.full {
width: 100%;
justify-content: center;
}
@keyframes radioactiveShake {
0%,
100% {
transform: translate(0, 0);
}
25% {
transform: translate(-0.5px, 0.5px);
}
50% {
transform: translate(0.5px, -0.5px);
}
75% {
transform: translate(-0.5px, -0.5px);
}
}
@keyframes crownBounce {
0%,
100% {
transform: translateY(0);
}
50% {
transform: translateY(-4px);
}
}
@keyframes statusPulse {
0%,
100% {
opacity: 1;
box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
}
50% {
opacity: 0.9;
box-shadow: 0 0 0 6px rgba(34, 197, 94, 0);
}
}
.status-online {
animation: statusPulse 2s ease-in-out infinite;
}
@keyframes radioactiveShakeIntense {
0%,
100% {
transform: translate(0, 0);
}
10% {
transform: translate(-2px, 2px);
}
20% {
transform: translate(2px, -2px);
}
30% {
transform: translate(-2px, -2px);
}
40% {
transform: translate(2px, 2px);
}
50% {
transform: translate(-2px, 0);
}
60% {
transform: translate(2px, 0);
}
70% {
transform: translate(0, -2px);
}
80% {
transform: translate(0, 2px);
}
90% {
transform: translate(-2px, 2px);
}
}
.login-btn {
margin-top: 8px;
padding: 14px 20px;
font-size: 16px;
font-weight: 600;
opacity: 0;
position: relative;
overflow: visible;
animation: none;
}
.login-btn:hover {
animation: none;
transform: translateY(-1px);
}
.header-crown {
background: linear-gradient(135deg, #a78bfa, #c084fc);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
display: inline-block;
animation: crownBounce 2s ease-in-out infinite;
}
@keyframes cardSlideIn {
from {
opacity: 0;
transform: translateY(20px) scale(0.95);
}
to {
opacity: 1;
transform: translateY(0) scale(1);
}
}
.card-animate {
animation: cardSlideIn 0.4s ease-out forwards;
opacity: 0;
}
.ripple {
position: relative;
overflow: hidden;
}
.ripple::after {
content: "";
position: absolute;
border-radius: 50%;
background: rgba(255, 255, 255, 0.5);
width: 100px;
height: 100px;
margin-top: -50px;
margin-left: -50px;
top: var(--y, 50%);
left: var(--x, 50%);
pointer-events: none;
transform: scale(0);
opacity: 0;
}
.ripple.ripple-active::after {
animation: ripple-effect 0.6s ease-out;
}
@keyframes ripple-effect {
0% {
transform: scale(0);
opacity: 1;
}
100% {
transform: scale(4);
opacity: 0;
}
}
.toast-container {
position: fixed;
top: 80px;
right: 20px;
z-index: 9999;
display: flex;
flex-direction: column;
gap: 12px;
pointer-events: none;
}
.toast {
background: linear-gradient(
135deg,
rgba(30, 41, 59, 0.98),
rgba(15, 23, 42, 0.98)
);
border: 1px solid rgba(100, 116, 139, 0.3);
border-radius: var(--radius-lg);
padding: 16px 20px;
min-width: 320px;
max-width: 420px;
box-shadow:
0 10px 40px rgba(0, 0, 0, 0.5),
0 0 0 1px rgba(255, 255, 255, 0.05);
pointer-events: auto;
animation: toastSlideIn 0.3s ease-out;
backdrop-filter: blur(12px);
}
.toast.removing {
animation: toastSlideOut 0.3s ease-in forwards;
}
@keyframes toastSlideIn {
from {
opacity: 0;
transform: translateX(400px) scale(0.9);
}
to {
opacity: 1;
transform: translateX(0) scale(1);
}
}
@keyframes toastSlideOut {
from {
opacity: 1;
transform: translateX(0) scale(1);
}
to {
opacity: 0;
transform: translateX(400px) scale(0.9);
}
}
.toast-header {
display: flex;
align-items: center;
gap: 12px;
margin-bottom: 8px;
}
.toast-icon {
width: 24px;
height: 24px;
display: flex;
align-items: center;
justify-content: center;
border-radius: 50%;
font-size: 14px;
}
.toast-success .toast-icon {
background: rgba(34, 197, 94, 0.2);
color: #4ade80;
}
.toast-error .toast-icon {
background: rgba(239, 68, 68, 0.2);
color: #f87171;
}
.toast-info .toast-icon {
background: rgba(59, 130, 246, 0.2);
color: #60a5fa;
}
.toast-warning .toast-icon {
background: rgba(245, 158, 11, 0.2);
color: #fbbf24;
}
.toast-title {
font-weight: 600;
font-size: 15px;
color: #f1f5f9;
flex: 1;
}
.toast-close {
background: none;
border: none;
color: #94a3b8;
cursor: pointer;
padding: 4px;
display: flex;
align-items: center;
justify-content: center;
border-radius: 4px;
transition: all 0.2s;
}
.toast-close:hover {
background: rgba(100, 116, 139, 0.2);
color: #f1f5f9;
}
.toast-message {
color: #cbd5e1;
font-size: 14px;
line-height: 1.5;
padding-left: 36px;
}
.page-transition-enter {
animation: pageSlideIn 0.3s ease-out;
}
@keyframes pageSlideIn {
from {
opacity: 0;
transform: translateX(20px);
}
to {
opacity: 1;
transform: translateX(0);
}
}
@keyframes countUp {
from {
opacity: 0;
transform: translateY(10px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
.counter-animate {
animation: countUp 0.5s ease-out;
}
.login-btn-particle {
position: fixed;
pointer-events: none;
border-radius: 50%;
background: radial-gradient(
circle,
rgba(150, 120, 255, 1),
rgba(100, 130, 255, 0.9)
);
box-shadow:
0 0 12px rgba(150, 120, 255, 1),
0 0 24px rgba(120, 100, 255, 0.9),
0 0 36px rgba(100, 130, 255, 0.7);
opacity: 0;
will-change: transform, opacity;
}
.btn-text {
margin-right: 8px;
}
.btn-icon {
transition: transform 0.3s ease;
}
.button.primary:hover .btn-icon {
transform: translateX(4px);
}
.error {
color: #ff9b9b;
min-height: 18px;
margin-top: 12px;
font-size: 13px;
text-align: center;
padding: 8px;
border-radius: 8px;
background: rgba(255, 99, 99, 0.1);
border: 1px solid rgba(255, 99, 99, 0.2);
opacity: 0;
}
.error:not(:empty) {
opacity: 1;
}
.console-body {
background:
radial-gradient(120% 120% at 20% 20%, #102040 0%, transparent 45%),
radial-gradient(110% 110% at 80% 0%, #112233 0%, transparent 50%), #05070f;
min-height: 100vh;
color: #e8edf2;
font-family:
"Inter",
"Segoe UI",
system-ui,
-apple-system,
sans-serif;
}
.console-topbar {
position: sticky;
top: 0;
z-index: 20;
display: flex;
align-items: center;
justify-content: space-between;
gap: 12px;
padding: 14px 18px;
background: rgba(5, 9, 18, 0.9);
border-bottom: 1px solid rgba(255, 255, 255, 0.08);
backdrop-filter: blur(10px);
}
.console-actions {
display: flex;
align-items: center;
gap: 10px;
flex-wrap: wrap;
}
.console-main {
padding: 16px;
max-width: 1100px;
margin: 0 auto;
}
.console-card {
background: linear-gradient(
145deg,
rgba(40, 55, 90, 0.35),
rgba(12, 18, 30, 0.9)
);
border: 1px solid var(--color-border);
border-radius: var(--radius-lg);
padding: 16px;
box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
display: flex;
flex-direction: column;
gap: 12px;
}
.console-meta {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
gap: 10px;
padding: 8px;
border-radius: 12px;
background: rgba(255, 255, 255, 0.04);
border: 1px solid rgba(255, 255, 255, 0.06);
}
.console-target-id {
font-weight: 600;
color: #f8fbff;
word-break: break-all;
}
.console-output {
min-height: 46vh;
max-height: 68vh;
white-space: normal;
width: 100%;
max-width: 100%;
min-width: 0;
overflow: auto;
overflow-x: auto;
box-sizing: border-box;
padding: 14px;
border-radius: 14px;
background:
radial-gradient(
120% 120% at 20% 20%,
rgba(80, 120, 255, 0.08),
transparent 50%
),
radial-gradient(
80% 80% at 80% 0%,
rgba(24, 196, 164, 0.08),
transparent 60%
),
#0b1020;
border: 1px solid rgba(255, 255, 255, 0.08);
font-family: "JetBrains Mono", "SFMono-Regular", Menlo, Consolas, monospace;
font-size: 13px;
line-height: 1.5;
overflow-wrap: normal;
word-break: normal;
}
.console-pre {
margin: 0;
white-space: pre;
display: block;
width: max-content;
min-width: 0;
text-align: left;
}
.console-input-row {
display: grid;
grid-template-columns: auto 1fr auto;
gap: 10px;
align-items: end;
padding: 10px;
border-radius: 12px;
background: rgba(255, 255, 255, 0.04);
border: 1px solid rgba(255, 255, 255, 0.08);
}
.console-input-row .prompt {
padding: 8px 10px;
border-radius: 10px;
background: rgba(255, 255, 255, 0.06);
color: #cfe0ff;
font-family: "JetBrains Mono", "SFMono-Regular", Menlo, Consolas, monospace;
}
#console-input {
width: 100%;
min-height: 46px;
max-height: 200px;
resize: vertical;
border: 1px solid rgba(255, 255, 255, 0.08);
background: rgba(3, 7, 18, 0.8);
color: #e8edf2;
border-radius: 12px;
padding: 10px 12px;
font-family: "JetBrains Mono", "SFMono-Regular", Menlo, Consolas, monospace;
font-size: 14px;
}
.console-buttons {
display: flex;
align-items: center;
gap: 8px;
}
.console-buttons .button {
display: inline-flex;
align-items: center;
gap: 6px;
}
@media (max-width: 720px) {
.console-topbar {
flex-wrap: wrap;
}
.console-actions {
width: 100%;
justify-content: flex-start;
}
.console-input-row {
grid-template-columns: 1fr;
}
.console-input-row .prompt {
width: fit-content;
}
.console-buttons {
width: 100%;
justify-content: flex-start;
flex-wrap: wrap;
}
#console-input {
min-height: 60px;
}
}
/* Search highlighting */
mark.search-match {
background-color: rgba(250, 204, 21, 0.3);
color: inherit;
padding: 2px 0;
border-radius: 2px;
}
mark.search-current {
background-color: rgba(251, 146, 60, 0.5);
color: inherit;
padding: 2px 0;
border-radius: 2px;
box-shadow: 0 0 0 2px rgba(251, 146, 60, 0.6);
}
/* Dashboard polish */
#top-nav {
box-shadow: 0 10px 30px rgba(2, 6, 23, 0.45);
}
#top-nav nav a {
position: relative;
border-color: rgba(71, 85, 105, 0.55) !important;
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.02);
transition:
transform 160ms ease,
border-color 160ms ease,
background-color 160ms ease,
box-shadow 160ms ease;
}
#top-nav nav a i {
transition:
transform 160ms ease,
filter 160ms ease;
}
#top-nav nav a:hover {
transform: translateY(-1px);
border-color: rgba(99, 102, 241, 0.45) !important;
box-shadow:
inset 0 1px 0 rgba(255, 255, 255, 0.04),
0 8px 22px rgba(2, 6, 23, 0.28);
}
#top-nav nav a:hover i {
transform: translateY(-1px) scale(1.06);
filter: drop-shadow(0 0 8px rgba(148, 163, 184, 0.35));
}
#top-nav nav a.nav-active {
border-color: rgba(99, 102, 241, 0.62) !important;
background: linear-gradient(
135deg,
rgba(49, 46, 129, 0.45),
rgba(30, 41, 59, 0.9)
) !important;
box-shadow:
inset 0 0 0 1px rgba(129, 140, 248, 0.18),
0 10px 26px rgba(30, 64, 175, 0.24);
}
#top-nav nav a.nav-active i {
filter: drop-shadow(0 0 10px rgba(129, 140, 248, 0.45));
}
#total-pill {
background: linear-gradient(
135deg,
rgba(30, 58, 138, 0.55),
rgba(15, 23, 42, 0.75)
) !important;
border-color: rgba(59, 130, 246, 0.5) !important;
box-shadow: 0 8px 20px rgba(30, 64, 175, 0.25);
}
#filter-status,
#filter-os,
#sort {
transition:
border-color 150ms ease,
box-shadow 150ms ease,
background-color 150ms ease;
}
#filter-status:focus,
#filter-os:focus,
#sort:focus {
border-color: rgba(99, 102, 241, 0.65) !important;
box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.18);
outline: none;
}
#search-shell {
transition:
border-color 150ms ease,
box-shadow 150ms ease,
background-color 150ms ease;
}
#search-shell:focus-within {
border-color: rgba(99, 102, 241, 0.65) !important;
box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.18);
}
#select-all,
#clear-selection,
#prev,
#next {
transition:
transform 150ms ease,
border-color 150ms ease,
box-shadow 150ms ease;
}
#select-all:hover,
#clear-selection:hover,
#prev:hover,
#next:hover {
transform: translateY(-1px);
border-color: rgba(99, 102, 241, 0.45) !important;
box-shadow: 0 8px 18px rgba(15, 23, 42, 0.4);
}
#bulk-toolbar {
background:
radial-gradient(
120% 120% at 0% 0%,
rgba(99, 102, 241, 0.15),
transparent 55%
),
rgba(49, 46, 129, 0.3) !important;
border-color: rgba(99, 102, 241, 0.45) !important;
box-shadow: 0 10px 24px rgba(30, 41, 59, 0.32);
}
#grid article.card {
position: relative;
overflow: hidden;
border-color: rgba(71, 85, 105, 0.55) !important;
backdrop-filter: blur(4px);
transition:
transform 170ms ease,
border-color 170ms ease,
box-shadow 170ms ease;
}
#grid article.card:hover {
transform: translateY(-2px);
border-color: rgba(99, 102, 241, 0.45) !important;
box-shadow:
0 18px 36px rgba(2, 6, 23, 0.45),
0 0 0 1px rgba(99, 102, 241, 0.14);
}
/* Cohesive UI polish layer */
:root {
--ui-surface: rgba(8, 12, 24, 0.72);
--ui-surface-strong: rgba(11, 17, 33, 0.9);
--ui-surface-elevated: rgba(14, 22, 40, 0.94);
--ui-border: rgba(148, 163, 184, 0.2);
--ui-border-strong: rgba(99, 102, 241, 0.4);
--ui-ring: rgba(99, 102, 241, 0.28);
--ui-shadow: 0 14px 34px rgba(2, 6, 23, 0.35);
}
body {
text-rendering: optimizeLegibility;
-webkit-font-smoothing: antialiased;
}
.topbar,
.console-topbar,
#top-nav {
background: linear-gradient(
170deg,
rgba(8, 12, 24, 0.92),
rgba(6, 10, 20, 0.84)
);
border-bottom: 1px solid var(--ui-border);
box-shadow: 0 12px 30px rgba(2, 6, 23, 0.45);
}
.container,
.console-main,
.page {
gap: 20px;
}
.card,
.console-card,
.login-card,
.context-menu,
.modal {
backdrop-filter: blur(10px);
border-color: var(--ui-border);
box-shadow: var(--ui-shadow);
}
.card,
.console-card {
transition:
transform 180ms ease,
border-color 180ms ease,
box-shadow 180ms ease,
background-color 180ms ease;
}
.card:hover,
.console-card:hover {
border-color: var(--ui-border-strong);
}
.button,
.context-menu button,
button {
transition:
transform 150ms ease,
border-color 150ms ease,
box-shadow 150ms ease,
background-color 150ms ease,
color 150ms ease;
}
.button:hover:not(:disabled),
.context-menu button:hover,
button:hover:not(:disabled) {
transform: translateY(-1px);
border-color: var(--ui-border-strong);
box-shadow: 0 10px 22px rgba(2, 6, 23, 0.36);
}
.button.primary {
background: linear-gradient(120deg, #4f6bff, #715dff);
border-color: rgba(129, 140, 248, 0.55);
box-shadow:
0 10px 24px rgba(79, 70, 229, 0.35),
inset 0 1px 0 rgba(255, 255, 255, 0.2);
}
.button.ghost {
background: linear-gradient(
170deg,
rgba(30, 41, 59, 0.32),
rgba(15, 23, 42, 0.28)
);
border-color: rgba(148, 163, 184, 0.24);
}
.button.danger {
background: linear-gradient(130deg, rgba(185, 28, 28, 0.82), rgba(153, 27, 27, 0.9));
border-color: rgba(248, 113, 113, 0.45);
color: #fee2e2;
}
input:not([type="checkbox"]):not([type="radio"]):not([type="range"]),
select,
textarea,
.input-row,
#search,
#filter-status,
#filter-os,
#sort,
#console-input {
background-color: var(--ui-surface);
border-color: var(--ui-border);
}
.input-row input,
#search {
background-color: transparent !important;
border-color: transparent !important;
box-shadow: none !important;
}
input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):focus,
select:focus,
textarea:focus,
.input-row:focus-within,
#filter-status:focus,
#filter-os:focus,
#sort:focus,
#console-input:focus {
border-color: var(--ui-border-strong) !important;
box-shadow: 0 0 0 3px var(--ui-ring);
outline: none;
}
.pill,
.chip,
.user-pill {
border-color: rgba(148, 163, 184, 0.26);
background: linear-gradient(
165deg,
rgba(30, 41, 59, 0.45),
rgba(15, 23, 42, 0.3)
);
}
table {
width: 100%;
border-collapse: collapse;
border: 1px solid var(--ui-border);
border-radius: 12px;
overflow: hidden;
background: var(--ui-surface-strong);
}
thead th {
background: rgba(30, 41, 59, 0.65);
color: #dbe7ff;
font-weight: 600;
letter-spacing: 0.01em;
border-bottom: 1px solid var(--ui-border);
}
th,
td {
padding: 10px 12px;
border-bottom: 1px solid rgba(148, 163, 184, 0.14);
}
tbody tr:nth-child(even) {
background: rgba(15, 23, 42, 0.45);
}
tbody tr:hover {
background: rgba(49, 46, 129, 0.2);
}
* {
scrollbar-width: thin;
scrollbar-color: rgba(129, 140, 248, 0.55) rgba(15, 23, 42, 0.6);
}
*::-webkit-scrollbar {
width: 10px;
height: 10px;
}
*::-webkit-scrollbar-track {
background: rgba(15, 23, 42, 0.55);
border-radius: 999px;
}
*::-webkit-scrollbar-thumb {
background: linear-gradient(180deg, rgba(99, 102, 241, 0.76), rgba(56, 189, 248, 0.7));
border-radius: 999px;
border: 2px solid rgba(15, 23, 42, 0.75);
}
*::-webkit-scrollbar-thumb:hover {
background: linear-gradient(180deg, rgba(129, 140, 248, 0.88), rgba(34, 211, 238, 0.84));
}
@media (prefers-reduced-motion: reduce) {
*,
*::before,
*::after {
animation-duration: 1ms !important;
animation-iteration-count: 1 !important;
transition-duration: 1ms !important;
scroll-behavior: auto !important;
}
.login-btn,
.header-crown,
.status-online,
.card-animate {
animation: none !important;
}
.card-animate {
opacity: 1 !important;
transform: none !important;
}
}