.container { padding: 32px; background-color: #F8FAFC; min-height: 100vh; display: flex; flex-direction: column; gap: 32px; } /* 1. Vitals Row */ .vitalsRow { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; } .vitalCard { background: white; border: 1px solid #E2E8F0; border-radius: 20px; padding: 24px; display: flex; align-items: center; gap: 20px; transition: transform 0.2s, box-shadow 0.2s; } .vitalCard:hover { transform: translateY(-4px); box-shadow: 0 12px 24px rgba(0,0,0,0.05); } .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 audit intensity" "risk risk risk"; grid-template-columns: 1fr 1fr 340px; grid-template-rows: auto auto auto; gap: 32px; } /* 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; border: 2px solid #3B82F630; background: linear-gradient(135deg, #FFFFFF 0%, #F0F7FF 100%); position: relative; overflow: hidden; } .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 p { font-size: 16px; line-height: 1.6; color: #334155; font-weight: 500; } .actionGrid { display: flex; flex-direction: column; gap: 12px; } .actionGrid label { font-size: 9px; font-weight: 900; color: #3B82F6; letter-spacing: 0.2em; } .actionItem { display: flex; gap: 12px; align-items: flex-start; padding: 12px; background: rgba(59, 130, 246, 0.05); border-radius: 12px; border: 1px solid rgba(59, 130, 246, 0.1); } .actionBullet { width: 20px; height: 20px; background: #3B82F6; color: white; border-radius: 6px; display: flex; align-items: center; justify-content: center; font-size: 10px; font-weight: 900; flex-shrink: 0; } .actionItem p { font-size: 12px; font-weight: 700; color: #1E293B; line-height: 1.4; } /* 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, #3B82F6, #60A5FA); 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); } }