:root { /* Modern Color Palette */ --primary: #6366f1; --primary-dark: #4f46e5; --primary-light: #818cf8; --secondary: #8b5cf6; --accent: #ec4899; --success: #10b981; --error: #ef4444; --warning: #f59e0b; /* Background Colors - Darker for glass effect */ --bg-primary: #0a0e1a; --bg-secondary: #0f1419; --bg-tertiary: #1a1f2e; --bg-glass: rgba(255, 255, 255, 0.03); --bg-glass-hover: rgba(255, 255, 255, 0.06); --bg-glass-strong: rgba(255, 255, 255, 0.08); /* Text Colors */ --text-primary: #f1f5f9; --text-secondary: #cbd5e1; --text-tertiary: #94a3b8; --text-muted: #64748b; /* Borders & Shadows - Enhanced for glass */ --border-color: rgba(255, 255, 255, 0.08); --border-color-strong: rgba(255, 255, 255, 0.15); --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.3); --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.4), 0 2px 4px -1px rgba(0, 0, 0, 0.3); --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.5), 0 4px 6px -2px rgba(0, 0, 0, 0.4); --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.6), 0 10px 10px -5px rgba(0, 0, 0, 0.5); --shadow-glow: 0 0 30px rgba(99, 102, 241, 0.4); /* Spacing */ --spacing-xs: 0.25rem; --spacing-sm: 0.5rem; --spacing-md: 1rem; --spacing-lg: 1.5rem; --spacing-xl: 2rem; --spacing-2xl: 3rem; /* Border Radius */ --radius-sm: 0.375rem; --radius-md: 0.5rem; --radius-lg: 0.75rem; --radius-xl: 1rem; --radius-2xl: 1.5rem; --radius-full: 9999px; /* Transitions */ --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1); --transition-base: 200ms cubic-bezier(0.4, 0, 0.2, 1); --transition-slow: 300ms cubic-bezier(0.4, 0, 0.2, 1); } * { margin: 0; padding: 0; box-sizing: border-box; } html { width: 100vw; max-width: 100vw; height: 100%; overflow: hidden; margin: 0; padding: 0; box-sizing: border-box; } body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Inter', Roboto, 'Helvetica Neue', Arial, sans-serif; background: linear-gradient(135deg, #0a0e1a 0%, #0f1419 50%, #1a1f2e 100%); background-attachment: fixed; width: 100vw; max-width: 100vw; height: 100vh; height: 100dvh; color: var(--text-primary); line-height: 1.6; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow: hidden; margin: 0; padding: 0; box-sizing: border-box; } /* Container */ .container { display: flex; flex-direction: column; width: 100vw; max-width: 100vw; min-width: 100vw; height: 100vh; height: 100dvh; overflow: hidden; margin: 0; padding: 0; box-sizing: border-box; position: relative; } /* Header */ .header { display: flex; justify-content: space-between; align-items: center; padding: calc(var(--spacing-lg) - 0.5rem) var(--spacing-xl); flex-shrink: 0; position: sticky; top: 0; z-index: 100; background: rgba(10, 14, 26, 0.7); backdrop-filter: blur(30px) saturate(200%); -webkit-backdrop-filter: blur(30px) saturate(200%); border-bottom: 1px solid var(--border-color); box-shadow: var(--shadow-md), inset 0 1px 0 rgba(255, 255, 255, 0.05); width: 100%; max-width: 100%; box-sizing: border-box; position: relative; overflow: hidden; } .header::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 30%; background: linear-gradient(180deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0) 100%); pointer-events: none; z-index: 0; } .header > * { position: relative; z-index: 1; } .header-content { display: flex; flex-direction: column; align-items: flex-start; } .header h1 { font-size: 1.8rem; font-weight: 700; background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; margin-bottom: 0.25rem; } .header-status { display: flex; align-items: center; gap: var(--spacing-lg); } .status { display: flex; align-items: center; gap: var(--spacing-md); font-size: 0.875rem; color: var(--text-secondary); } .status-indicator { width: 10px; height: 10px; border-radius: var(--radius-full); background: var(--success); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); animation: pulse-ring 2s cubic-bezier(0.4, 0, 0.6, 1) infinite; position: relative; flex-shrink: 0; } .status-indicator::before { content: ''; position: absolute; inset: 0; border-radius: var(--radius-full); background: var(--success); animation: pulse-dot 2s cubic-bezier(0.4, 0, 0.6, 1) infinite; } .status-indicator.disconnected { background: var(--error); animation: none; } .status-indicator.disconnected::before { background: var(--error); animation: none; } @keyframes pulse-ring { 0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); } 50% { box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); } 100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); } } @keyframes pulse-dot { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.8; transform: scale(0.95); } } /* Main Layout */ .main-layout { display: flex; flex: 1; width: 100%; max-width: 100%; min-width: 0; overflow: hidden; min-height: 0; box-sizing: border-box; } /* Sidebar */ .sidebar { width: 16rem; min-width: 16rem; max-width: 16rem; flex-shrink: 0; background: var(--bg-glass); backdrop-filter: blur(30px) saturate(200%); -webkit-backdrop-filter: blur(30px) saturate(200%); border-right: 1px solid var(--border-color); display: flex; flex-direction: column; overflow: hidden; box-sizing: border-box; box-shadow: var(--shadow-md), inset 0 1px 0 rgba(255, 255, 255, 0.03); position: relative; } .sidebar::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 20%; background: linear-gradient(180deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0) 100%); pointer-events: none; z-index: 0; } .sidebar > * { position: relative; z-index: 1; } .sidebar-section { padding: var(--spacing-md); border-bottom: 1px solid var(--border-color); } .sidebar-section:last-child { border-bottom: none; margin-top: auto; border-top: 1px solid var(--border-color); } .sidebar h2 { font-size: 0.875rem; font-weight: 600; color: var(--text-secondary); margin-bottom: var(--spacing-sm); } /* View Tabs */ .view-tab { width: 100%; text-align: left; padding: var(--spacing-sm) var(--spacing-md); font-size: 0.875rem; border-radius: var(--radius-sm); transition: all var(--transition-base); background: var(--bg-glass); backdrop-filter: blur(25px) saturate(200%); -webkit-backdrop-filter: blur(25px) saturate(200%); color: var(--text-secondary); text-decoration: none; display: block; margin-bottom: var(--spacing-xs); border: 1px solid var(--border-color); box-shadow: var(--shadow-sm), inset 0 1px 0 rgba(255, 255, 255, 0.03); } .view-tab:hover:not(.active) { background: var(--bg-glass-hover); border-color: var(--border-color-strong); box-shadow: var(--shadow-md), inset 0 1px 0 rgba(255, 255, 255, 0.05); } .view-tab.active { background: rgba(99, 102, 241, 0.3); backdrop-filter: blur(25px) saturate(200%); -webkit-backdrop-filter: blur(25px) saturate(200%); border-color: rgba(99, 102, 241, 0.5); color: var(--text-primary); box-shadow: 0 2px 4px rgba(99, 102, 241, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.1); } .view-tab.hidden { display: none; } /* Stats */ .stats-list { display: flex; flex-direction: column; gap: var(--spacing-xs); font-size: 0.75rem; } .stat-item { display: flex; justify-content: space-between; align-items: center; } .stat-label { color: var(--text-tertiary); } .stat-value { color: var(--text-primary); font-weight: 600; } .stat-value.success { color: var(--success); } .stat-value.primary { color: var(--primary-light); } /* Main Content Area */ .main-content { flex: 1; display: flex; flex-direction: column; width: 100%; min-width: 0; max-width: 100%; overflow: hidden; min-height: 0; position: relative; box-sizing: border-box; } .view-container { flex: 1; position: relative; overflow: hidden; min-height: 0; width: 100%; max-width: 100%; height: 100%; box-sizing: border-box; } .view-content { display: none !important; visibility: hidden; width: 100%; height: 100%; position: absolute; top: 0; left: 0; right: 0; bottom: 0; overflow: hidden; z-index: 1; background: transparent; } .view-content.active { display: flex !important; visibility: visible; flex-direction: column; z-index: 2; background: transparent; } .view-content-inner { height: 100%; width: 100%; overflow-y: auto; overflow-x: hidden; padding: var(--spacing-lg); box-sizing: border-box; display: flex; flex-direction: column; align-items: stretch; } .view-content-inner > * { width: 100%; max-width: 100%; flex-shrink: 0; } .view-content-inner > .flex { width: 100%; max-width: 100%; } /* Glass Cards - Enhanced Dark Glass */ .glass-card { background: var(--bg-glass); backdrop-filter: blur(30px) saturate(200%); -webkit-backdrop-filter: blur(30px) saturate(200%); border: 1px solid var(--border-color); border-radius: var(--radius-lg); padding: var(--spacing-md); box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255, 255, 255, 0.05); transition: all var(--transition-base); position: relative; overflow: hidden; } .glass-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 30%; background: linear-gradient(180deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0) 100%); pointer-events: none; border-radius: inherit; z-index: 0; } .glass-card > * { position: relative; z-index: 1; } .glass-card:hover { background: var(--bg-glass-hover); border-color: var(--border-color-strong); box-shadow: var(--shadow-xl), inset 0 1px 0 rgba(255, 255, 255, 0.1); } /* Text Utilities */ .text-primary { color: var(--text-primary); } .text-secondary { color: var(--text-secondary); } .text-tertiary { color: var(--text-tertiary); } .text-muted { color: var(--text-muted); } .text-center { text-align: center; } /* Grid */ .grid { display: grid; } .grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); } .grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } .grid-cols-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); } .gap-4 { gap: var(--spacing-md); } .gap-2 { gap: var(--spacing-sm); } .mb-6 { margin-bottom: var(--spacing-lg); } .mb-4 { margin-bottom: var(--spacing-md); } .mb-2 { margin-bottom: var(--spacing-sm); } .mb-1 { margin-bottom: var(--spacing-xs); } .mt-4 { margin-top: var(--spacing-md); } .py-12 { padding-top: var(--spacing-2xl); padding-bottom: var(--spacing-2xl); } .py-4 { padding-top: var(--spacing-md); padding-bottom: var(--spacing-md); } .py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; } .py-2 { padding-top: var(--spacing-sm); padding-bottom: var(--spacing-sm); } .py-1 { padding-top: var(--spacing-xs); padding-bottom: var(--spacing-xs); } .px-4 { padding-left: var(--spacing-md); padding-right: var(--spacing-md); } .px-3 { padding-left: 0.75rem; padding-right: 0.75rem; } .px-2 { padding-left: var(--spacing-sm); padding-right: var(--spacing-sm); } .p-4 { padding: var(--spacing-md); } .p-6 { padding: var(--spacing-lg); } /* Status Badges */ .status-badge { padding: var(--spacing-xs) var(--spacing-sm); font-size: 0.75rem; font-weight: 600; border-radius: var(--radius-sm); display: inline-block; } .status-badge.resolved { background: var(--success); color: white; } .status-badge.insufficient_quorum { background: var(--warning); color: white; } .status-badge.tie { background: #f97316; color: white; } .status-badge.no_claims { background: var(--bg-tertiary); color: var(--text-primary); } .status-badge.error { background: var(--error); color: white; } /* Buttons - Glassy/Glossy */ .btn { padding: var(--spacing-sm) var(--spacing-md); border: 1px solid var(--border-color); border-radius: var(--radius-sm); font-size: 0.875rem; font-weight: 500; cursor: pointer; transition: all var(--transition-base); display: inline-flex; align-items: center; justify-content: center; gap: var(--spacing-xs); backdrop-filter: blur(20px) saturate(180%); -webkit-backdrop-filter: blur(20px) saturate(180%); position: relative; overflow: hidden; } .btn::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 50%; background: linear-gradient(180deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 100%); pointer-events: none; border-radius: inherit; } .btn-primary { background: rgba(99, 102, 241, 0.3); border-color: rgba(99, 102, 241, 0.5); color: var(--text-primary); box-shadow: 0 4px 6px -1px rgba(99, 102, 241, 0.2), 0 2px 4px -1px rgba(99, 102, 241, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.1); } .btn-primary:hover:not(:disabled) { background: rgba(99, 102, 241, 0.5); border-color: rgba(99, 102, 241, 0.7); box-shadow: 0 10px 15px -3px rgba(99, 102, 241, 0.3), 0 4px 6px -2px rgba(99, 102, 241, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.2); transform: translateY(-2px); } .btn-secondary { background: var(--bg-glass); color: var(--text-primary); border: 1px solid var(--border-color); box-shadow: var(--shadow-sm), inset 0 1px 0 rgba(255, 255, 255, 0.03); } .btn-secondary:hover:not(:disabled) { background: var(--bg-glass-hover); border-color: var(--border-color-strong); box-shadow: var(--shadow-md), inset 0 1px 0 rgba(255, 255, 255, 0.08); } .btn:disabled { opacity: 0.5; cursor: not-allowed; } /* Inputs and Selects - Glass effect */ .input, .select { width: 100%; min-width: 0; background: rgba(15, 20, 30, 0.6); backdrop-filter: blur(25px) saturate(200%); -webkit-backdrop-filter: blur(25px) saturate(200%); border: 1px solid var(--border-color); border-radius: var(--radius-sm); padding: var(--spacing-sm) var(--spacing-md); color: var(--text-primary); font-size: 0.9rem; transition: all var(--transition-base); font-family: inherit; box-sizing: border-box; box-shadow: var(--shadow-sm), inset 0 1px 0 rgba(255, 255, 255, 0.03); } .input:focus, .select:focus { outline: none; border-color: var(--primary); background: rgba(15, 20, 30, 0.8); box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2), var(--shadow-md), inset 0 1px 0 rgba(255, 255, 255, 0.05); } .input::placeholder { color: var(--text-tertiary); } /* Tables - Enhanced Glass */ .table-container { background: var(--bg-glass); backdrop-filter: blur(30px) saturate(200%); -webkit-backdrop-filter: blur(30px) saturate(200%); border: 1px solid var(--border-color); border-radius: var(--radius-lg); overflow: hidden; width: 100%; max-width: 100%; flex: 1 1 auto; min-width: 0; box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255, 255, 255, 0.05); position: relative; } .table-container::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 20%; background: linear-gradient(180deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0) 100%); pointer-events: none; border-radius: inherit; z-index: 0; } table { width: 100%; max-width: 100%; border-collapse: collapse; table-layout: fixed; min-width: 100%; display: table; } table tbody, table thead { width: 100%; display: table-header-group; } table tbody { display: table-row-group; } table tbody tr, table thead tr { width: 100%; display: table-row; } /* Distribute table columns evenly across full width */ table th, table td { width: auto; } table th:first-child, table td:first-child { width: 18%; } table th:nth-child(2), table td:nth-child(2) { width: 12%; } table th:nth-child(3), table td:nth-child(3) { width: 22%; } table th:nth-child(4), table td:nth-child(4) { width: 10%; } table th:nth-child(5), table td:nth-child(5) { width: 15%; } table th:nth-child(6), table td:nth-child(6) { width: 10%; } table th:last-child, table td:last-child { width: 13%; } thead { background: rgba(15, 20, 30, 0.7); backdrop-filter: blur(30px) saturate(200%); -webkit-backdrop-filter: blur(30px) saturate(200%); border-bottom: 1px solid var(--border-color); } th { padding: var(--spacing-md) var(--spacing-md); text-align: left; font-size: 0.75rem; font-weight: 600; color: var(--text-secondary); text-transform: uppercase; cursor: pointer; user-select: none; transition: background var(--transition-base); white-space: nowrap; display: table-cell; } th:hover { background: var(--bg-glass-hover); } tbody tr { border-top: 1px solid var(--border-color); transition: background var(--transition-base); } tbody tr:hover { background: var(--bg-glass-hover); } td { padding: var(--spacing-md); color: var(--text-primary); word-wrap: break-word; overflow-wrap: break-word; display: table-cell; } .sort-indicator { display: inline-block; margin-left: 4px; color: var(--text-tertiary); font-size: 10px; } /* Loading Spinner */ @keyframes spin { to { transform: rotate(360deg); } } .animate-spin { animation: spin 1s linear infinite; } .spinner { display: inline-block; width: 2rem; height: 2rem; border-radius: var(--radius-full); border: 2px solid var(--border-color); border-top-color: var(--primary); animation: spin 1s linear infinite; } /* Progress Bars */ .progress-bar-container { width: 100%; background: var(--bg-tertiary); border-radius: var(--radius-full); height: 0.5rem; overflow: hidden; } .progress-bar { height: 100%; border-radius: var(--radius-full); transition: width var(--transition-slow); } .progress-bar.success { background: var(--success); } .progress-bar.warning { background: var(--warning); } /* Chart Container */ canvas { max-width: 100%; height: auto; } /* Monospace Font */ .font-mono { font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', 'Consolas', 'source-code-pro', monospace; font-size: 0.875rem; } /* Flex Utilities */ .flex { display: flex; width: 100%; max-width: 100%; } .flex-col { flex-direction: column; } .flex-1 { flex: 1; min-width: 0; } .items-center { align-items: center; } .justify-between { justify-content: space-between; } .justify-end { justify-content: flex-end; } .gap-4 { gap: var(--spacing-md); } .gap-2 { gap: var(--spacing-sm); } /* Text Sizes */ .text-xs { font-size: 0.75rem; } .text-sm { font-size: 0.875rem; } .text-2xl { font-size: 1.5rem; } .font-bold { font-weight: 700; } .font-semibold { font-weight: 600; } .font-medium { font-weight: 500; } /* Colors */ .text-indigo-400 { color: var(--primary-light); } .text-green-400 { color: var(--success); } .text-yellow-400 { color: var(--warning); } .text-orange-400 { color: #f97316; } .text-blue-400 { color: #3b82f6; } .text-purple-400 { color: var(--secondary); } .text-red-400 { color: var(--error); } /* Responsive */ @media (max-width: 768px) { .grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); } .grid-cols-2 { grid-template-columns: repeat(1, minmax(0, 1fr)); } .grid-cols-3 { grid-template-columns: repeat(1, minmax(0, 1fr)); } .grid-cols-4 { grid-template-columns: repeat(1, minmax(0, 1fr)); } .grid-cols-5 { grid-template-columns: repeat(2, minmax(0, 1fr)); } table { font-size: 0.875rem; } th, td { padding: var(--spacing-sm); } .sidebar { width: 12rem; } } /* Scrollbar styling */ ::-webkit-scrollbar { width: 8px; height: 8px; } ::-webkit-scrollbar-track { background: var(--bg-secondary); border-radius: var(--radius-sm); } ::-webkit-scrollbar-thumb { background: var(--bg-tertiary); border-radius: var(--radius-sm); } ::-webkit-scrollbar-thumb:hover { background: var(--text-tertiary); } /* Link styles */ a { text-decoration: none; color: inherit; } a:hover { text-decoration: none; } /* Utility classes for backward compatibility */ .bg-gray-800, .bg-gray-700, .bg-gray-900 { background: var(--bg-glass) !important; backdrop-filter: blur(20px) saturate(180%); -webkit-backdrop-filter: blur(20px) saturate(180%); } .border-gray-700 { border-color: var(--border-color) !important; } .text-gray-100, .text-gray-200, .text-gray-300 { color: var(--text-primary) !important; } .text-gray-400 { color: var(--text-tertiary) !important; } .text-gray-500 { color: var(--text-muted) !important; } .rounded-lg { border-radius: var(--radius-lg); } .rounded { border-radius: var(--radius-sm); } .rounded-full { border-radius: var(--radius-full); } .border { border-width: 1px; } .border-b { border-bottom-width: 1px; } .border-r { border-right-width: 1px; } .border-t { border-top-width: 1px; } .divide-y > * + * { border-top: 1px solid var(--border-color); } .divide-gray-700 > * + * { border-top-color: var(--border-color); } .hover\:bg-gray-700:hover { background: var(--bg-glass-hover) !important; } .hover\:bg-gray-600:hover { background: var(--bg-glass-hover) !important; } .hover\:bg-indigo-700:hover { background: var(--primary-dark) !important; } .bg-indigo-600 { background: var(--primary) !important; } .bg-green-500 { background: var(--success) !important; } .bg-yellow-500 { background: var(--warning) !important; } .bg-gray-700 { background: var(--bg-tertiary) !important; } .bg-gray-600 { background: var(--bg-tertiary) !important; } .bg-green-900\/20 { background: rgba(16, 185, 129, 0.2) !important; } .inline-block { display: inline-block; } .inline-flex { display: inline-flex; } .h-8 { height: 2rem; } .w-8 { width: 2rem; } .w-full { width: 100%; } .w-64 { width: 16rem; } .w-48 { width: 12rem; } .h-2 { height: 0.5rem; } .h-4 { height: 1rem; } .h-3 { height: 0.75rem; } .w-3 { width: 0.75rem; } .overflow-hidden { overflow: hidden; } .overflow-x-auto { overflow-x: auto; width: 100%; max-width: 100%; min-width: 0; display: block; } .overflow-y-auto { overflow-y: auto; } .space-y-1 > * + * { margin-top: var(--spacing-xs); } .uppercase { text-transform: uppercase; } .text-left { text-align: left; } .text-right { text-align: right; } .ml-2 { margin-left: var(--spacing-sm); } .mr-2 { margin-right: var(--spacing-sm); } .vertical-align\:middle { vertical-align: middle; }