1353 lines
26 KiB
CSS
1353 lines
26 KiB
CSS
/* ==========================================================================
|
|
Websurfer Modern Dark Theme & Glassmorphism Design System
|
|
========================================================================== */
|
|
|
|
:root {
|
|
--bg-main: #090d16;
|
|
--bg-card: rgba(17, 24, 39, 0.75);
|
|
--bg-card-hover: rgba(26, 36, 56, 0.85);
|
|
--bg-input: rgba(15, 23, 42, 0.8);
|
|
--bg-terminal: #070b12;
|
|
|
|
--border-subtle: rgba(255, 255, 255, 0.08);
|
|
--border-focus: #38bdf8;
|
|
--border-accent: rgba(56, 189, 248, 0.3);
|
|
|
|
--text-main: #f8fafc;
|
|
--text-muted: #94a3b8;
|
|
--text-dim: #64748b;
|
|
|
|
--primary: #38bdf8;
|
|
--primary-glow: rgba(56, 189, 248, 0.35);
|
|
--primary-gradient: linear-gradient(135deg, #38bdf8 0%, #6366f1 100%);
|
|
--secondary-gradient: linear-gradient(135deg, #334155 0%, #1e293b 100%);
|
|
|
|
--success: #10b981;
|
|
--success-glow: rgba(16, 185, 129, 0.25);
|
|
--warning: #f59e0b;
|
|
--warning-glow: rgba(245, 158, 11, 0.25);
|
|
--danger: #f43f5e;
|
|
--danger-glow: rgba(244, 63, 94, 0.3);
|
|
--info: #818cf8;
|
|
|
|
--radius-sm: 6px;
|
|
--radius-md: 10px;
|
|
--radius-lg: 14px;
|
|
--radius-xl: 20px;
|
|
|
|
--shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.5), 0 0 0 1px var(--border-subtle);
|
|
--shadow-glow: 0 0 25px var(--primary-glow);
|
|
--font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
|
|
--font-mono: 'JetBrains Mono', 'Fira Code', Menlo, monospace;
|
|
}
|
|
|
|
* {
|
|
box-sizing: border-box;
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
body {
|
|
background-color: var(--bg-main);
|
|
background-image:
|
|
radial-gradient(circle at 15% 10%, rgba(56, 189, 248, 0.08) 0%, transparent 40%),
|
|
radial-gradient(circle at 85% 20%, rgba(99, 102, 241, 0.07) 0%, transparent 45%),
|
|
radial-gradient(circle at 50% 80%, rgba(16, 185, 129, 0.04) 0%, transparent 50%);
|
|
background-attachment: fixed;
|
|
color: var(--text-main);
|
|
font-family: var(--font-sans);
|
|
font-size: 14px;
|
|
line-height: 1.5;
|
|
min-height: 100vh;
|
|
-webkit-font-smoothing: antialiased;
|
|
}
|
|
|
|
/* Custom Scrollbars */
|
|
::-webkit-scrollbar {
|
|
width: 8px;
|
|
height: 8px;
|
|
}
|
|
::-webkit-scrollbar-track {
|
|
background: rgba(0, 0, 0, 0.2);
|
|
}
|
|
::-webkit-scrollbar-thumb {
|
|
background: rgba(255, 255, 255, 0.15);
|
|
border-radius: 4px;
|
|
}
|
|
::-webkit-scrollbar-thumb:hover {
|
|
background: rgba(255, 255, 255, 0.25);
|
|
}
|
|
|
|
.app-container {
|
|
max-width: 1440px;
|
|
margin: 0 auto;
|
|
padding: 24px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 20px;
|
|
}
|
|
|
|
/* Header */
|
|
.app-header {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
padding: 16px 24px;
|
|
background: var(--bg-card);
|
|
backdrop-filter: blur(16px);
|
|
-webkit-backdrop-filter: blur(16px);
|
|
border-radius: var(--radius-lg);
|
|
box-shadow: var(--shadow-card);
|
|
border: 1px solid var(--border-subtle);
|
|
}
|
|
|
|
.brand {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 14px;
|
|
}
|
|
|
|
.logo-icon {
|
|
width: 44px;
|
|
height: 44px;
|
|
border-radius: 12px;
|
|
background: var(--primary-gradient);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
color: #090d16;
|
|
box-shadow: 0 4px 15px var(--primary-glow);
|
|
}
|
|
|
|
.brand-title {
|
|
font-size: 20px;
|
|
font-weight: 700;
|
|
letter-spacing: -0.5px;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
}
|
|
|
|
.badge-tag {
|
|
font-size: 11px;
|
|
font-weight: 600;
|
|
padding: 2px 8px;
|
|
background: rgba(56, 189, 248, 0.15);
|
|
color: var(--primary);
|
|
border-radius: 20px;
|
|
border: 1px solid var(--border-accent);
|
|
}
|
|
|
|
.brand-subtitle {
|
|
font-size: 12px;
|
|
color: var(--text-muted);
|
|
}
|
|
|
|
.header-status {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
}
|
|
|
|
/* Status Badges */
|
|
.ws-pill {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
padding: 6px 12px;
|
|
border-radius: 20px;
|
|
font-size: 12px;
|
|
font-weight: 500;
|
|
background: rgba(15, 23, 42, 0.8);
|
|
border: 1px solid var(--border-subtle);
|
|
transition: all 0.3s ease;
|
|
}
|
|
|
|
.ws-pill .status-dot {
|
|
width: 7px;
|
|
height: 7px;
|
|
border-radius: 50%;
|
|
background: var(--dim);
|
|
}
|
|
|
|
.ws-pill.connected .status-dot {
|
|
background: var(--success);
|
|
box-shadow: 0 0 8px var(--success);
|
|
}
|
|
.ws-pill.connecting .status-dot {
|
|
background: var(--warning);
|
|
animation: blink 1s infinite alternate;
|
|
}
|
|
.ws-pill.disconnected .status-dot {
|
|
background: var(--danger);
|
|
}
|
|
|
|
@keyframes blink {
|
|
from { opacity: 0.3; }
|
|
to { opacity: 1; }
|
|
}
|
|
|
|
.status-badge {
|
|
position: relative;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
padding: 6px 16px;
|
|
border-radius: 20px;
|
|
font-size: 12px;
|
|
font-weight: 700;
|
|
letter-spacing: 0.5px;
|
|
text-transform: uppercase;
|
|
transition: all 0.3s ease;
|
|
}
|
|
|
|
.status-badge.idle {
|
|
background: rgba(100, 116, 139, 0.15);
|
|
color: var(--text-muted);
|
|
border: 1px solid rgba(100, 116, 139, 0.3);
|
|
}
|
|
|
|
.status-badge.running {
|
|
background: rgba(16, 185, 129, 0.15);
|
|
color: var(--success);
|
|
border: 1px solid rgba(16, 185, 129, 0.4);
|
|
box-shadow: 0 0 15px var(--success-glow);
|
|
}
|
|
|
|
.status-badge.stopping {
|
|
background: rgba(245, 158, 11, 0.15);
|
|
color: var(--warning);
|
|
border: 1px solid rgba(245, 158, 11, 0.4);
|
|
}
|
|
|
|
.status-badge.finished {
|
|
background: rgba(56, 189, 248, 0.15);
|
|
color: var(--primary);
|
|
border: 1px solid var(--border-accent);
|
|
}
|
|
|
|
.status-badge.error {
|
|
background: rgba(244, 63, 94, 0.15);
|
|
color: var(--danger);
|
|
border: 1px solid rgba(244, 63, 94, 0.4);
|
|
}
|
|
|
|
.pulse-ring {
|
|
width: 8px;
|
|
height: 8px;
|
|
border-radius: 50%;
|
|
background: currentColor;
|
|
}
|
|
.status-badge.running .pulse-ring {
|
|
animation: pulse 1.5s infinite;
|
|
}
|
|
|
|
@keyframes pulse {
|
|
0% { transform: scale(0.95); opacity: 1; box-shadow: 0 0 0 0 currentColor; }
|
|
70% { transform: scale(1); opacity: 0.7; box-shadow: 0 0 0 8px transparent; }
|
|
100% { transform: scale(0.95); opacity: 1; }
|
|
}
|
|
|
|
/* Dashboard Grid Layout */
|
|
.dashboard-grid {
|
|
display: grid;
|
|
grid-template-columns: 1fr 1fr;
|
|
gap: 20px;
|
|
}
|
|
|
|
.full-width-card {
|
|
grid-column: 1 / -1;
|
|
}
|
|
|
|
/* Glass Card */
|
|
.card {
|
|
background: var(--bg-card);
|
|
backdrop-filter: blur(14px);
|
|
-webkit-backdrop-filter: blur(14px);
|
|
border: 1px solid var(--border-subtle);
|
|
border-radius: var(--radius-lg);
|
|
box-shadow: var(--shadow-card);
|
|
padding: 22px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 18px;
|
|
}
|
|
|
|
.card-header {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
border-bottom: 1px solid var(--border-subtle);
|
|
padding-bottom: 14px;
|
|
}
|
|
|
|
.header-title {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
}
|
|
|
|
.header-title h2 {
|
|
font-size: 16px;
|
|
font-weight: 600;
|
|
letter-spacing: -0.3px;
|
|
}
|
|
|
|
.header-hint {
|
|
font-size: 11px;
|
|
color: var(--text-dim);
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.5px;
|
|
}
|
|
|
|
/* Form Styles */
|
|
.config-form {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 16px;
|
|
}
|
|
|
|
.form-group {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 6px;
|
|
flex: 1;
|
|
}
|
|
|
|
.form-group label {
|
|
font-size: 13px;
|
|
font-weight: 500;
|
|
color: var(--text-main);
|
|
display: flex;
|
|
justify-content: space-between;
|
|
}
|
|
|
|
.required {
|
|
color: var(--danger);
|
|
}
|
|
|
|
.val-badge {
|
|
background: rgba(56, 189, 248, 0.2);
|
|
color: var(--primary);
|
|
padding: 1px 6px;
|
|
border-radius: 10px;
|
|
font-size: 12px;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.input-with-icon {
|
|
position: relative;
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
|
|
.input-icon {
|
|
position: absolute;
|
|
left: 12px;
|
|
font-size: 14px;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.input-with-icon input {
|
|
padding-left: 38px !important;
|
|
}
|
|
|
|
input[type="url"],
|
|
input[type="text"],
|
|
input[type="number"],
|
|
.form-input {
|
|
width: 100%;
|
|
padding: 10px 14px;
|
|
background: var(--bg-input);
|
|
border: 1px solid var(--border-subtle);
|
|
border-radius: var(--radius-md);
|
|
color: var(--text-main);
|
|
font-family: var(--font-sans);
|
|
font-size: 13px;
|
|
transition: all 0.2s ease;
|
|
}
|
|
|
|
input:focus {
|
|
outline: none;
|
|
border-color: var(--border-focus);
|
|
box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.15);
|
|
}
|
|
|
|
.field-help {
|
|
font-size: 11px;
|
|
color: var(--text-dim);
|
|
}
|
|
|
|
.form-row {
|
|
display: grid;
|
|
grid-template-columns: 1fr 1fr;
|
|
gap: 14px;
|
|
}
|
|
|
|
/* Range Slider */
|
|
.range-slider {
|
|
accent-color: var(--primary);
|
|
height: 6px;
|
|
background: rgba(255, 255, 255, 0.1);
|
|
border-radius: 4px;
|
|
cursor: pointer;
|
|
}
|
|
|
|
/* Toggle Switches */
|
|
.toggles-grid {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 10px;
|
|
}
|
|
|
|
.toggle-card {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
padding: 12px 14px;
|
|
background: rgba(15, 23, 42, 0.5);
|
|
border: 1px solid var(--border-subtle);
|
|
border-radius: var(--radius-md);
|
|
cursor: pointer;
|
|
transition: all 0.2s ease;
|
|
}
|
|
|
|
.toggle-card:hover {
|
|
background: var(--bg-card-hover);
|
|
border-color: rgba(255, 255, 255, 0.12);
|
|
}
|
|
|
|
.toggle-info {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 2px;
|
|
}
|
|
|
|
.toggle-title {
|
|
font-size: 13px;
|
|
font-weight: 500;
|
|
color: var(--text-main);
|
|
}
|
|
|
|
.toggle-desc {
|
|
font-size: 11px;
|
|
color: var(--text-dim);
|
|
}
|
|
|
|
.toggle-checkbox {
|
|
display: none;
|
|
}
|
|
|
|
.toggle-switch {
|
|
width: 44px;
|
|
height: 24px;
|
|
background: rgba(255, 255, 255, 0.15);
|
|
border-radius: 12px;
|
|
position: relative;
|
|
transition: all 0.3s ease;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.toggle-switch::after {
|
|
content: '';
|
|
position: absolute;
|
|
top: 3px;
|
|
left: 3px;
|
|
width: 18px;
|
|
height: 18px;
|
|
background: #ffffff;
|
|
border-radius: 50%;
|
|
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
|
|
}
|
|
|
|
.toggle-checkbox:checked + .toggle-switch {
|
|
background: var(--primary);
|
|
box-shadow: 0 0 10px var(--primary-glow);
|
|
}
|
|
|
|
.toggle-checkbox:checked + .toggle-switch::after {
|
|
transform: translateX(20px);
|
|
}
|
|
|
|
/* Advanced Collapsible */
|
|
.advanced-section {
|
|
border: 1px solid var(--border-subtle);
|
|
border-radius: var(--radius-md);
|
|
background: rgba(15, 23, 42, 0.3);
|
|
overflow: hidden;
|
|
}
|
|
|
|
.advanced-summary {
|
|
padding: 10px 14px;
|
|
font-size: 12px;
|
|
font-weight: 600;
|
|
color: var(--text-muted);
|
|
cursor: pointer;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
user-select: none;
|
|
}
|
|
|
|
.advanced-summary:hover {
|
|
color: var(--text-main);
|
|
}
|
|
|
|
.chevron {
|
|
font-size: 10px;
|
|
transition: transform 0.2s ease;
|
|
}
|
|
|
|
.advanced-section[open] .chevron {
|
|
transform: rotate(180deg);
|
|
}
|
|
|
|
.advanced-body {
|
|
padding: 12px 14px;
|
|
border-top: 1px solid var(--border-subtle);
|
|
display: grid;
|
|
grid-template-columns: 1fr 1fr;
|
|
gap: 12px;
|
|
}
|
|
|
|
/* Form Action Buttons */
|
|
.form-actions {
|
|
display: flex;
|
|
gap: 10px;
|
|
margin-top: 6px;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.btn {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 8px;
|
|
padding: 11px 18px;
|
|
font-size: 13px;
|
|
font-weight: 600;
|
|
border-radius: var(--radius-md);
|
|
border: none;
|
|
cursor: pointer;
|
|
transition: all 0.2s ease;
|
|
}
|
|
|
|
.btn:disabled {
|
|
opacity: 0.4;
|
|
cursor: not-allowed;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.btn-primary {
|
|
background: var(--primary-gradient);
|
|
color: #090d16;
|
|
box-shadow: 0 4px 14px var(--primary-glow);
|
|
}
|
|
.btn-primary:hover:not(:disabled) {
|
|
transform: translateY(-1px);
|
|
box-shadow: 0 6px 20px var(--primary-glow);
|
|
}
|
|
|
|
.btn-danger {
|
|
background: rgba(244, 63, 94, 0.18);
|
|
color: var(--danger);
|
|
border: 1px solid rgba(244, 63, 94, 0.4);
|
|
}
|
|
.btn-danger:hover:not(:disabled) {
|
|
background: var(--danger);
|
|
color: #ffffff;
|
|
box-shadow: 0 4px 15px var(--danger-glow);
|
|
}
|
|
|
|
.btn-secondary {
|
|
background: rgba(255, 255, 255, 0.08);
|
|
color: var(--text-main);
|
|
border: 1px solid var(--border-subtle);
|
|
}
|
|
.btn-secondary:hover {
|
|
background: rgba(255, 255, 255, 0.14);
|
|
}
|
|
|
|
.btn-ghost {
|
|
background: transparent;
|
|
color: var(--text-muted);
|
|
}
|
|
.btn-ghost:hover {
|
|
color: var(--text-main);
|
|
background: rgba(255, 255, 255, 0.05);
|
|
}
|
|
|
|
.btn-sm {
|
|
padding: 6px 12px;
|
|
font-size: 12px;
|
|
}
|
|
.btn-xs {
|
|
padding: 4px 8px;
|
|
font-size: 11px;
|
|
}
|
|
|
|
.btn-outline {
|
|
background: rgba(15, 23, 42, 0.6);
|
|
border: 1px solid var(--border-subtle);
|
|
color: var(--text-muted);
|
|
}
|
|
.btn-outline:hover {
|
|
color: var(--text-main);
|
|
border-color: rgba(255, 255, 255, 0.2);
|
|
}
|
|
|
|
/* Stats Card Components */
|
|
.timer-badge {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
padding: 4px 12px;
|
|
background: rgba(15, 23, 42, 0.8);
|
|
border-radius: 20px;
|
|
border: 1px solid var(--border-subtle);
|
|
font-family: var(--font-mono);
|
|
font-size: 13px;
|
|
font-weight: 600;
|
|
color: var(--primary);
|
|
}
|
|
|
|
.session-progress-strip {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 8px;
|
|
background: rgba(15, 23, 42, 0.5);
|
|
padding: 12px 14px;
|
|
border-radius: var(--radius-md);
|
|
border: 1px solid var(--border-subtle);
|
|
}
|
|
|
|
.progress-info {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
font-size: 12px;
|
|
color: var(--text-muted);
|
|
}
|
|
|
|
.iter-badge {
|
|
background: rgba(99, 102, 241, 0.2);
|
|
color: #a5b4fc;
|
|
padding: 2px 8px;
|
|
border-radius: 12px;
|
|
font-size: 11px;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.progress-bar-container {
|
|
height: 6px;
|
|
background: rgba(255, 255, 255, 0.08);
|
|
border-radius: 3px;
|
|
overflow: hidden;
|
|
position: relative;
|
|
}
|
|
|
|
.progress-bar-fill {
|
|
height: 100%;
|
|
width: 0%;
|
|
background: var(--primary-gradient);
|
|
transition: width 0.3s ease;
|
|
}
|
|
|
|
.progress-bar-fill.running {
|
|
width: 100%;
|
|
animation: shimmer 2s infinite linear;
|
|
background: linear-gradient(90deg, #38bdf8 0%, #6366f1 50%, #38bdf8 100%);
|
|
background-size: 200% 100%;
|
|
}
|
|
|
|
@keyframes shimmer {
|
|
0% { background-position: 100% 0; }
|
|
100% { background-position: -100% 0; }
|
|
}
|
|
|
|
/* Metrics Grids */
|
|
.metrics-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(3, 1fr);
|
|
gap: 12px;
|
|
}
|
|
|
|
.metrics-grid-2col {
|
|
grid-template-columns: repeat(2, 1fr);
|
|
}
|
|
|
|
.metric-tile {
|
|
background: rgba(15, 23, 42, 0.6);
|
|
border: 1px solid var(--border-subtle);
|
|
border-radius: var(--radius-md);
|
|
padding: 14px;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
transition: all 0.2s ease;
|
|
}
|
|
|
|
.metric-tile:hover {
|
|
transform: translateY(-2px);
|
|
border-color: rgba(255, 255, 255, 0.15);
|
|
}
|
|
|
|
.metric-icon {
|
|
font-size: 22px;
|
|
width: 40px;
|
|
height: 40px;
|
|
border-radius: 10px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
background: rgba(255, 255, 255, 0.05);
|
|
}
|
|
|
|
.metric-val {
|
|
font-size: 20px;
|
|
font-weight: 700;
|
|
font-family: var(--font-mono);
|
|
line-height: 1.2;
|
|
}
|
|
|
|
.metric-label {
|
|
font-size: 11px;
|
|
color: var(--text-dim);
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.5px;
|
|
}
|
|
|
|
.tile-visited .metric-val { color: #f8fafc; }
|
|
.tile-internal .metric-val { color: #38bdf8; }
|
|
.tile-external .metric-val { color: #f59e0b; }
|
|
.tile-cookies .metric-val { color: #c084fc; }
|
|
.tile-queue .metric-val { color: #60a5fa; }
|
|
.tile-errors .metric-val { color: #f43f5e; }
|
|
.tile-total-visited .metric-val { color: #38bdf8; }
|
|
.tile-total-errors .metric-val { color: #f43f5e; }
|
|
|
|
/* Dedicated Errors Section */
|
|
.count-pill {
|
|
background: rgba(244, 63, 94, 0.2);
|
|
color: var(--danger);
|
|
padding: 2px 10px;
|
|
border-radius: 12px;
|
|
font-size: 12px;
|
|
font-weight: 700;
|
|
border: 1px solid rgba(244, 63, 94, 0.3);
|
|
}
|
|
|
|
.count-pill.gray {
|
|
background: rgba(255, 255, 255, 0.1);
|
|
color: var(--text-dim);
|
|
border-color: var(--border-subtle);
|
|
}
|
|
|
|
.table-toolbar, .log-toolbar {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
}
|
|
|
|
.filter-input, .filter-input-sm {
|
|
padding: 6px 12px;
|
|
background: var(--bg-input);
|
|
border: 1px solid var(--border-subtle);
|
|
border-radius: var(--radius-sm);
|
|
color: var(--text-main);
|
|
font-size: 12px;
|
|
}
|
|
|
|
.filter-input {
|
|
width: 220px;
|
|
}
|
|
.filter-input-sm {
|
|
width: 150px;
|
|
}
|
|
|
|
.table-container {
|
|
overflow-x: auto;
|
|
border: 1px solid var(--border-subtle);
|
|
border-radius: var(--radius-md);
|
|
background: rgba(10, 15, 26, 0.6);
|
|
max-height: 360px;
|
|
overflow-y: auto;
|
|
}
|
|
|
|
.data-table {
|
|
width: 100%;
|
|
border-collapse: collapse;
|
|
text-align: left;
|
|
font-size: 12px;
|
|
}
|
|
|
|
.data-table th {
|
|
background: rgba(15, 23, 42, 0.95);
|
|
color: var(--text-muted);
|
|
font-weight: 600;
|
|
padding: 10px 14px;
|
|
border-bottom: 1px solid var(--border-subtle);
|
|
position: sticky;
|
|
top: 0;
|
|
z-index: 1;
|
|
}
|
|
|
|
.data-table td {
|
|
padding: 10px 14px;
|
|
border-bottom: 1px solid rgba(255, 255, 255, 0.04);
|
|
color: var(--text-main);
|
|
vertical-align: middle;
|
|
}
|
|
|
|
.data-table tr:hover td {
|
|
background: rgba(255, 255, 255, 0.02);
|
|
}
|
|
|
|
.url-cell {
|
|
font-family: var(--font-mono);
|
|
font-size: 11px;
|
|
color: #38bdf8;
|
|
word-break: break-all;
|
|
max-width: 320px;
|
|
}
|
|
|
|
.source-cell {
|
|
font-family: var(--font-mono);
|
|
font-size: 11px;
|
|
color: var(--text-muted);
|
|
word-break: break-all;
|
|
max-width: 260px;
|
|
}
|
|
|
|
.error-badge {
|
|
display: inline-block;
|
|
padding: 3px 8px;
|
|
border-radius: 4px;
|
|
font-size: 11px;
|
|
font-family: var(--font-mono);
|
|
font-weight: 600;
|
|
background: rgba(244, 63, 94, 0.15);
|
|
color: var(--danger);
|
|
border: 1px solid rgba(244, 63, 94, 0.3);
|
|
}
|
|
|
|
.copy-btn {
|
|
background: rgba(255, 255, 255, 0.06);
|
|
border: 1px solid var(--border-subtle);
|
|
color: var(--text-dim);
|
|
padding: 4px 8px;
|
|
border-radius: 4px;
|
|
cursor: pointer;
|
|
font-size: 11px;
|
|
transition: all 0.2s;
|
|
}
|
|
.copy-btn:hover {
|
|
color: var(--text-main);
|
|
background: rgba(255, 255, 255, 0.15);
|
|
}
|
|
|
|
.empty-state {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 36px 20px;
|
|
color: var(--text-dim);
|
|
gap: 8px;
|
|
}
|
|
|
|
.empty-icon {
|
|
font-size: 28px;
|
|
}
|
|
|
|
/* Terminal Log Console */
|
|
.terminal-window {
|
|
background: var(--bg-terminal);
|
|
border: 1px solid var(--border-subtle);
|
|
border-radius: var(--radius-md);
|
|
box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.6);
|
|
height: 280px;
|
|
overflow-y: auto;
|
|
font-family: var(--font-mono);
|
|
font-size: 12px;
|
|
padding: 12px 16px;
|
|
}
|
|
|
|
.terminal-body {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 4px;
|
|
}
|
|
|
|
.log-line {
|
|
display: flex;
|
|
gap: 8px;
|
|
align-items: baseline;
|
|
line-height: 1.4;
|
|
word-break: break-all;
|
|
}
|
|
|
|
.log-time {
|
|
color: var(--text-dim);
|
|
font-size: 11px;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.log-tag {
|
|
font-weight: 600;
|
|
font-size: 11px;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.log-msg {
|
|
color: #e2e8f0;
|
|
}
|
|
|
|
.tag-sys { color: #818cf8; }
|
|
.log-line.log-info .log-msg { color: #cbd5e1; }
|
|
.log-line.log-success .log-msg { color: #34d399; }
|
|
.log-line.log-warn .log-msg { color: #fbbf24; }
|
|
.log-line.log-error .log-msg { color: #f87171; font-weight: 500; }
|
|
|
|
.checkbox-label {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
font-size: 12px;
|
|
color: var(--text-muted);
|
|
cursor: pointer;
|
|
}
|
|
|
|
.form-select-sm {
|
|
background: var(--bg-input);
|
|
color: var(--text-main);
|
|
border: 1px solid var(--border-subtle);
|
|
border-radius: var(--radius-sm);
|
|
padding: 4px 8px;
|
|
font-size: 12px;
|
|
}
|
|
|
|
/* Toast Notifications */
|
|
.toast-container {
|
|
position: fixed;
|
|
bottom: 24px;
|
|
right: 24px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 10px;
|
|
z-index: 9999;
|
|
}
|
|
|
|
.toast {
|
|
background: rgba(15, 23, 42, 0.95);
|
|
backdrop-filter: blur(10px);
|
|
border: 1px solid var(--border-subtle);
|
|
color: var(--text-main);
|
|
padding: 12px 18px;
|
|
border-radius: var(--radius-md);
|
|
box-shadow: 0 10px 25px rgba(0,0,0,0.5);
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
font-size: 13px;
|
|
animation: slideIn 0.3s ease forwards;
|
|
}
|
|
|
|
.toast.toast-success { border-left: 4px solid var(--success); }
|
|
.toast.toast-error { border-left: 4px solid var(--danger); }
|
|
.toast.toast-info { border-left: 4px solid var(--primary); }
|
|
|
|
@keyframes slideIn {
|
|
from { transform: translateX(100%); opacity: 0; }
|
|
to { transform: translateX(0); opacity: 1; }
|
|
}
|
|
|
|
/* Tor Identity Card Styling */
|
|
.tor-card {
|
|
border-left: 4px solid #a855f7;
|
|
background: linear-gradient(180deg, rgba(168, 85, 247, 0.05) 0%, rgba(17, 24, 39, 0.8) 100%);
|
|
transition: all 0.3s ease;
|
|
}
|
|
|
|
.tor-card.active {
|
|
border-color: #a855f7;
|
|
box-shadow: 0 0 20px rgba(168, 85, 247, 0.15);
|
|
}
|
|
|
|
.tor-shield-icon {
|
|
color: #a855f7;
|
|
}
|
|
|
|
.tor-pill {
|
|
padding: 3px 10px;
|
|
border-radius: 12px;
|
|
font-size: 11px;
|
|
font-weight: 700;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.5px;
|
|
transition: all 0.3s ease;
|
|
}
|
|
|
|
.tor-pill.tor-on {
|
|
background: rgba(168, 85, 247, 0.2);
|
|
color: #d8b4fe;
|
|
border: 1px solid rgba(168, 85, 247, 0.4);
|
|
}
|
|
|
|
.tor-pill.tor-off {
|
|
background: rgba(255, 255, 255, 0.06);
|
|
color: var(--text-dim);
|
|
border: 1px solid var(--border-subtle);
|
|
}
|
|
|
|
.tor-identity-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(6, 1fr);
|
|
gap: 12px;
|
|
}
|
|
|
|
.tor-info-tile {
|
|
background: rgba(15, 23, 42, 0.6);
|
|
border: 1px solid var(--border-subtle);
|
|
border-radius: var(--radius-md);
|
|
padding: 14px 16px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 4px;
|
|
transition: all 0.2s ease;
|
|
}
|
|
|
|
.tor-info-tile:hover {
|
|
background: var(--bg-card-hover);
|
|
border-color: rgba(168, 85, 247, 0.3);
|
|
}
|
|
|
|
.tor-label {
|
|
font-size: 11px;
|
|
color: var(--text-dim);
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.5px;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.tor-val {
|
|
font-size: 14px;
|
|
font-weight: 600;
|
|
color: var(--text-main);
|
|
word-break: break-word;
|
|
}
|
|
|
|
.tor-val.monospace {
|
|
font-family: var(--font-mono);
|
|
color: #38bdf8;
|
|
}
|
|
|
|
/* Tor Circuit Strategy Sub-Section */
|
|
.tor-options-subgroup {
|
|
margin-top: 12px;
|
|
padding: 14px 16px;
|
|
background: rgba(168, 85, 247, 0.05);
|
|
border: 1px solid rgba(168, 85, 247, 0.2);
|
|
border-radius: var(--radius-md);
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 12px;
|
|
animation: fadeIn 0.3s ease;
|
|
}
|
|
|
|
@keyframes fadeIn {
|
|
from { opacity: 0; transform: translateY(-4px); }
|
|
to { opacity: 1; transform: translateY(0); }
|
|
}
|
|
|
|
.subgroup-header {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
}
|
|
|
|
.subgroup-title {
|
|
font-size: 12px;
|
|
font-weight: 600;
|
|
color: #d8b4fe;
|
|
letter-spacing: 0.3px;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.circuit-mode-selector {
|
|
display: grid;
|
|
grid-template-columns: 1fr 1fr;
|
|
gap: 10px;
|
|
}
|
|
|
|
.radio-card {
|
|
position: relative;
|
|
display: flex;
|
|
align-items: flex-start;
|
|
padding: 12px;
|
|
background: rgba(15, 23, 42, 0.6);
|
|
border: 1px solid var(--border-subtle);
|
|
border-radius: var(--radius-md);
|
|
cursor: pointer;
|
|
transition: all 0.2s ease;
|
|
user-select: none;
|
|
}
|
|
|
|
.radio-card input[type="radio"] {
|
|
position: absolute;
|
|
opacity: 0;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.radio-card:hover {
|
|
background: rgba(26, 36, 56, 0.8);
|
|
border-color: rgba(168, 85, 247, 0.3);
|
|
}
|
|
|
|
.radio-card.active {
|
|
background: rgba(168, 85, 247, 0.12);
|
|
border-color: #a855f7;
|
|
box-shadow: 0 0 12px rgba(168, 85, 247, 0.2);
|
|
}
|
|
|
|
.radio-card-body {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 4px;
|
|
}
|
|
|
|
.radio-card-header {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
}
|
|
|
|
.radio-icon {
|
|
font-size: 14px;
|
|
}
|
|
|
|
.radio-card-title {
|
|
font-size: 13px;
|
|
font-weight: 600;
|
|
color: var(--text-main);
|
|
}
|
|
|
|
.radio-card-desc {
|
|
font-size: 11px;
|
|
color: var(--text-muted);
|
|
line-height: 1.35;
|
|
}
|
|
|
|
.tor-pages-field {
|
|
margin-top: 4px;
|
|
animation: fadeIn 0.2s ease;
|
|
}
|
|
|
|
.input-with-stepper {
|
|
position: relative;
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
|
|
.input-with-stepper .input-icon {
|
|
position: absolute;
|
|
left: 12px;
|
|
font-size: 14px;
|
|
pointer-events: none;
|
|
z-index: 2;
|
|
}
|
|
|
|
.input-with-stepper .form-input {
|
|
width: 100%;
|
|
padding-left: 36px;
|
|
padding-right: 60px;
|
|
}
|
|
|
|
.input-unit {
|
|
position: absolute;
|
|
right: 12px;
|
|
font-size: 12px;
|
|
font-weight: 500;
|
|
color: var(--text-dim);
|
|
pointer-events: none;
|
|
}
|
|
|
|
/* European Exit Node Country Selector */
|
|
.tor-exit-nodes-section {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 10px;
|
|
padding-top: 10px;
|
|
border-top: 1px solid rgba(168, 85, 247, 0.15);
|
|
}
|
|
|
|
.exit-nodes-header {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
flex-wrap: wrap;
|
|
gap: 8px;
|
|
}
|
|
|
|
.exit-nodes-title-group {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
}
|
|
|
|
.count-pill-sm {
|
|
font-size: 11px;
|
|
font-weight: 600;
|
|
padding: 2px 8px;
|
|
border-radius: 12px;
|
|
background: rgba(255, 255, 255, 0.08);
|
|
color: var(--text-muted);
|
|
border: 1px solid var(--border-subtle);
|
|
transition: all 0.2s ease;
|
|
}
|
|
|
|
.count-pill-sm.active {
|
|
background: rgba(168, 85, 247, 0.2);
|
|
color: #d8b4fe;
|
|
border-color: rgba(168, 85, 247, 0.4);
|
|
}
|
|
|
|
.country-action-btns {
|
|
display: flex;
|
|
gap: 6px;
|
|
}
|
|
|
|
.btn-chip-action {
|
|
background: rgba(15, 23, 42, 0.7);
|
|
border: 1px solid var(--border-subtle);
|
|
color: var(--text-muted);
|
|
font-size: 11px;
|
|
font-weight: 500;
|
|
padding: 3px 8px;
|
|
border-radius: var(--radius-sm);
|
|
cursor: pointer;
|
|
transition: all 0.15s ease;
|
|
}
|
|
|
|
.btn-chip-action:hover {
|
|
background: rgba(168, 85, 247, 0.15);
|
|
color: #d8b4fe;
|
|
border-color: rgba(168, 85, 247, 0.3);
|
|
}
|
|
|
|
.btn-chip-action.danger:hover {
|
|
background: rgba(244, 63, 94, 0.15);
|
|
color: #f43f5e;
|
|
border-color: rgba(244, 63, 94, 0.3);
|
|
}
|
|
|
|
.country-chips-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fill, minmax(118px, 1fr));
|
|
gap: 6px;
|
|
max-height: 165px;
|
|
overflow-y: auto;
|
|
padding: 6px;
|
|
background: rgba(7, 11, 18, 0.5);
|
|
border: 1px solid var(--border-subtle);
|
|
border-radius: var(--radius-md);
|
|
}
|
|
|
|
.country-chip {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
padding: 6px 8px;
|
|
background: rgba(15, 23, 42, 0.8);
|
|
border: 1px solid var(--border-subtle);
|
|
border-radius: var(--radius-sm);
|
|
cursor: pointer;
|
|
transition: all 0.2s ease;
|
|
user-select: none;
|
|
font-family: inherit;
|
|
text-align: left;
|
|
}
|
|
|
|
.country-chip:hover {
|
|
background: rgba(26, 36, 56, 0.9);
|
|
border-color: rgba(168, 85, 247, 0.3);
|
|
}
|
|
|
|
.country-chip.active {
|
|
background: rgba(168, 85, 247, 0.18);
|
|
border-color: #a855f7;
|
|
box-shadow: 0 0 10px rgba(168, 85, 247, 0.2);
|
|
}
|
|
|
|
.chip-flag {
|
|
font-size: 14px;
|
|
line-height: 1;
|
|
}
|
|
|
|
.chip-name {
|
|
font-size: 11px;
|
|
font-weight: 500;
|
|
color: var(--text-main);
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
flex: 1;
|
|
}
|
|
|
|
.chip-code {
|
|
font-size: 10px;
|
|
font-weight: 700;
|
|
color: var(--text-dim);
|
|
font-family: var(--font-mono);
|
|
}
|
|
|
|
.country-chip.active .chip-code {
|
|
color: #d8b4fe;
|
|
}
|
|
|
|
.exit-nodes-summary {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
font-size: 12px;
|
|
color: #cbd5e1;
|
|
background: rgba(15, 23, 42, 0.4);
|
|
padding: 6px 10px;
|
|
border-radius: var(--radius-sm);
|
|
border: 1px dashed rgba(168, 85, 247, 0.25);
|
|
}
|
|
|
|
.exit-nodes-summary .summary-icon {
|
|
font-size: 13px;
|
|
}
|
|
|
|
/* Responsive layout for mobile / smaller screens */
|
|
@media (max-width: 1100px) {
|
|
.tor-identity-grid {
|
|
grid-template-columns: repeat(3, 1fr);
|
|
}
|
|
}
|
|
|
|
@media (max-width: 960px) {
|
|
.dashboard-grid {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
.metrics-grid {
|
|
grid-template-columns: repeat(2, 1fr);
|
|
}
|
|
.tor-identity-grid {
|
|
grid-template-columns: repeat(2, 1fr);
|
|
}
|
|
.circuit-mode-selector {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
.country-chips-grid {
|
|
grid-template-columns: repeat(2, 1fr);
|
|
}
|
|
.app-header {
|
|
flex-direction: column;
|
|
gap: 14px;
|
|
align-items: flex-start;
|
|
}
|
|
}
|
|
|