.container { padding: 40px; background-color: #f1f5f9; /* Lighter, cleaner background */ min-height: 100vh; display: flex; flex-direction: column; gap: 32px; animation: fadeIn 0.5s ease-out; } @keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } } /* 1. Vitals Row */ .vitalsRow { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; } .vitalCard { background: rgba(255, 255, 255, 0.8); backdrop-filter: blur(12px); border: 1px solid rgba(255, 255, 255, 0.5); border-radius: 20px; padding: 24px; display: flex; align-items: center; gap: 20px; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05); } .vitalCard:hover { transform: translateY(-5px); background: white; box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1); border-color: var(--primary); } .vitalIcon { width: 48px; height: 48px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 20px; } .vitalMeta { display: flex; flex-direction: column; } .vitalLabel { font-size: 10px; font-weight: 800; color: #64748B; letter-spacing: 0.1em; } .vitalValue { font-size: 28px; font-weight: 900; color: #1E293B; line-height: 1.2; margin: 4px 0; } .vitalSub { font-size: 11px; font-weight: 700; color: #94A3B8; } /* 2. Main Dashboard Grid */ .mainGrid { display: grid; grid-template-areas: "sentinel sentinel" "intensity audit"; grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; gap: 32px; } @media (max-width: 1400px) { .mainGrid { grid-template-areas: "sentinel sentinel" "intensity intensity" "audit audit"; grid-template-columns: 1fr; } } /* Common Card Styling */ .sentinelArea, .riskArea, .intensityArea, .auditArea { background: white; border: 1px solid #E2E8F0; border-radius: 24px; padding: 32px; display: flex; flex-direction: column; gap: 24px; } .cardHeader { display: flex; align-items: center; gap: 16px; border-bottom: 1px solid #F1F5F9; padding-bottom: 20px; margin-bottom: 4px; } .headerIcon { font-size: 24px; color: #3B82F6; } .headerText h3 { font-size: 14px; font-weight: 900; color: #1E293B; letter-spacing: 0.05em; margin: 0; } .headerText span { font-size: 11px; color: #64748B; font-weight: 600; } /* AI Sentinel Specifics */ .sentinelArea { grid-area: sentinel; background: radial-gradient(circle at 70% 30%, rgba(124, 58, 237, 0.4) 0%, transparent 70%), radial-gradient(circle at 10% 80%, rgba(79, 70, 229, 0.3) 0%, transparent 60%), rgba(15, 23, 42, 0.98); backdrop-filter: blur(32px); border: 1px solid rgba(255, 255, 255, 0.1); color: #fff; position: relative; overflow: hidden; box-shadow: 0 40px 100px -20px rgba(76, 29, 149, 0.3); padding: 48px; /* Increased padding for premium feel */ } .sentinelArea .headerText h3 { color: #fff; } .sentinelArea .headerText span { color: rgba(255,255,255,0.4); } .sentinelArea::after { content: ''; position: absolute; top: 0; right: 0; width: 150px; height: 150px; background: radial-gradient(circle, #3B82F610 0%, transparent 70%); z-index: 0; } .sentinelContent { display: grid; grid-template-columns: 1fr 280px; gap: 32px; z-index: 1; } .narrativeBox { padding-right: 40px; border-right: 1px solid rgba(255, 255, 255, 0.08); } .narrativeBox strong { color: #fff !important; font-weight: 800; background: rgba(124, 58, 237, 0.2); padding: 0 4px; border-radius: 4px; } .narrativeBox p { font-size: 17px; line-height: 1.8; color: rgba(255, 255, 255, 0.95) !important; font-weight: 400; margin-bottom: 24px; } .narrativeBox li { color: rgba(255, 255, 255, 0.9) !important; font-size: 15px; margin-bottom: 12px; } .actionGrid { display: flex; flex-direction: column; gap: 12px; } .actionGrid label { font-size: 9px; font-weight: 900; color: var(--neural-accent-violet); letter-spacing: 0.2em; } .actionItem { display: flex; gap: 16px; align-items: center; padding: 18px; background: rgba(255, 255, 255, 0.05); border-radius: 16px; border: 1px solid rgba(255, 255, 255, 0.1); transition: all 0.2s; } .actionItem:hover { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.2); transform: translateX(8px); } .actionBullet { width: 24px; height: 24px; background: linear-gradient(135deg, #7c3aed, #4f46e5); color: white; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 900; flex-shrink: 0; box-shadow: 0 4px 12px rgba(124, 58, 237, 0.4); } .actionItem p { font-size: 13px; font-weight: 600; color: #fff !important; line-height: 1.5; } /* SLA Risk Table (Wide Bottom) */ .riskArea { grid-area: risk; } .tableWrapper { width: 100%; overflow-x: auto; margin-top: 8px; } .breachTable { width: 100%; border-collapse: separate; border-spacing: 0 8px; } .breachTable th { text-align: left; font-size: 10px; font-weight: 900; color: #94A3B8; letter-spacing: 0.1em; padding: 0 24px 8px; text-transform: uppercase; } .breachRow { background: #FEF2F2; border: 1px solid #FEE2E2; transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1); cursor: pointer; } .breachRow:hover { transform: scale(1.005); background: #FFF1F1; box-shadow: 0 4px 12px rgba(239, 68, 68, 0.08); } .breachRow td { padding: 16px 24px; } .breachRow td:first-child { border-top-left-radius: 16px; border-bottom-left-radius: 16px; } .breachRow td:last-child { border-top-right-radius: 16px; border-bottom-right-radius: 16px; } .priorityBadge { padding: 4px 10px; border-radius: 8px; font-size: 11px; font-weight: 900; color: white; } .priorityBadge[data-priority="P0"], .priorityBadge[data-priority="Critical"] { background: #EF4444; } .priorityBadge[data-priority="P1"], .priorityBadge[data-priority="High"] { background: #F59E0B; } .priorityBadge[data-priority="P2"], .priorityBadge[data-priority="Medium"] { background: #3B82F6; } .priorityBadge[data-priority="P3"], .priorityBadge[data-priority="Low"] { background: #64748B; } .refCell { font-family: 'JetBrains Mono', monospace; font-size: 12px; font-weight: 700; color: #64748B; } .titleCell { font-size: 14px; font-weight: 800; color: #991B1B; } .statusBadge { font-size: 11px; font-weight: 700; color: #B91C1C; text-transform: uppercase; background: rgba(239, 68, 68, 0.08); padding: 4px 12px; border-radius: 20px; } .timeCell { font-size: 18px; font-weight: 900; color: #EF4444; text-align: right; } .emptyCell { text-align: center; padding: 60px !important; color: #64748B; font-size: 14px; font-weight: 700; } .emptyCell .shieldIcon { display: block; margin: 0 auto 16px; font-size: 40px; opacity: 0.2; } /* Markdown Support in Narrative */ .narrativeBox strong { color: #1E293B; font-weight: 800; } .narrativeBox ul, .narrativeBox ol { margin: 12px 0; padding-left: 20px; } .narrativeBox li { margin-bottom: 8px; font-size: 14px; color: #475569; } /* Intensity Section (Tall Sidebar) */ .intensityArea { grid-area: intensity; flex: 1; } .categoryChart { display: flex; flex-direction: column; gap: 20px; } .categoryBarRow { display: flex; flex-direction: column; gap: 8px; } .categoryLabel { display: flex; justify-content: space-between; align-items: flex-end; } .categoryLabel span { font-size: 13px; font-weight: 800; color: #1E293B; } .categoryLabel label { font-size: 11px; font-weight: 700; color: #64748B; } .barContainer { height: 8px; background: #F1F5F9; border-radius: 4px; overflow: hidden; } .barFill { height: 100%; background: linear-gradient(90deg, var(--neural-accent-indigo), var(--neural-accent-cyan)); border-radius: 4px; transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1); } /* Audit Ledger Specifics */ .auditArea { grid-area: audit; } .auditList { display: flex; flex-direction: column; gap: 20px; } .auditEntry { display: flex; gap: 16px; align-items: flex-start; } .auditTime { font-size: 11px; font-weight: 800; color: #94A3B8; padding-top: 2px; white-space: nowrap; } .auditContent { display: flex; flex-direction: column; } .auditAction { font-size: 10px; font-weight: 900; color: #334155; letter-spacing: 0.05em; } .auditContent p { font-size: 12px; color: #64748B; margin-top: 2px; } /* Global Loading */ .loadingContainer { display: flex; flex-direction: column; align-items: center; justify-content: center; height: 100vh; gap: 20px; } .loadingPulse { width: 60px; height: 60px; background: #3B82F6; border-radius: 50%; animation: pulse 1.5s ease-in-out infinite; } .loadingContainer span { font-size: 14px; font-weight: 800; color: #3B82F6; letter-spacing: 0.1em; } @keyframes pulse { 0% { transform: scale(0.9); opacity: 0.8; } 50% { transform: scale(1.1); opacity: 0.4; } 100% { transform: scale(0.9); opacity: 0.8; } } .miniSpinner { width: 14px; height: 14px; border: 2px solid #3B82F630; border-top-color: #3B82F6; border-radius: 50%; animation: spin 1s linear infinite; margin-left: auto; } @keyframes spin { to { transform: rotate(360deg); } } /* Dashboard Trend & Surge Enhancements */ .miniTrendContainer { height: 24px; width: 60px; margin-top: 8px; opacity: 0.6; } .volumeWaveContainer { height: 80px; width: 100%; margin-bottom: 24px; background: linear-gradient(180deg, rgba(59, 130, 246, 0.05) 0%, transparent 100%); border-radius: 12px; padding: 8px; } .velocityBadge { font-size: 8px; font-weight: 900; padding: 2px 6px; border-radius: 4px; text-transform: uppercase; letter-spacing: 0.05em; margin-left: 8px; } .surge { background: #FEF2F2; color: #EF4444; border: 1px solid #FEE2E2; } .stable { background: #F0FDF4; color: #16A34A; border: 1px solid #DCFCE7; } .declining { background: #F1F5F9; color: #64748B; border: 1px solid #E2E8F0; } /* SLA Risk Matrix Enhancements */ .atRiskRow { background: #FFFBEB; border: 1px solid #FEF3C7; transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1); cursor: pointer; } .atRiskRow:hover { transform: scale(1.005); background: #FFF9E1; box-shadow: 0 4px 12px rgba(245, 158, 11, 0.08); } .riskMeterWrapper { display: flex; flex-direction: column; gap: 4px; } .riskMeterTrack { height: 6px; background: #E2E8F0; border-radius: 3px; overflow: hidden; width: 100px; } .riskMeterFill { height: 100%; border-radius: 3px; transition: width 1s cubic-bezier(0.16, 1, 0.3, 1); } .riskValueBox { font-size: 10px; font-weight: 800; color: #64748B; display: flex; justify-content: space-between; } .timeToBreach { font-size: 10px; font-weight: 800; color: #F59E0B; text-transform: uppercase; letter-spacing: 0.1em; } .pulseRed { animation: pulseRed 2s infinite; } .pulseAmber { animation: pulseAmber 2s infinite; } @keyframes pulseRed { 0% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.4); } 70% { box-shadow: 0 0 0 10px rgba(239, 68, 68, 0); } 100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); } } @keyframes pulseAmber { 0% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.4); } 70% { box-shadow: 0 0 0 10px rgba(245, 158, 11, 0); } 100% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0); } }