.container { display: flex; flex-direction: column; gap: 24px; animation: fadeIn 0.4s ease; } .loadingContainer { height: 400px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; color: var(--text2); } .loadingPulse { width: 48px; height: 48px; border: 3px solid var(--accent-dim); border-top-color: var(--accent); border-radius: 50%; animation: spin 1s linear infinite; } .breachAlert { padding: 20px; border: 1px solid; border-radius: 12px; display: flex; gap: 20px; align-items: center; } .alertIcon { font-size: 1.8rem; } .alertTitle { font-weight: 700; font-size: 0.9rem; letter-spacing: 0.1em; margin-bottom: 4px; } .alertText { font-size: 0.95rem; color: var(--text2); } .mainGrid { display: grid; grid-template-columns: 1fr 340px; grid-template-rows: auto 1fr; gap: 24px; } .oversightCard { grid-column: 1 / 3; background: var(--bg2); border: 1px solid var(--border); border-radius: 16px; padding: 24px; } .cardHeader { font-size: 0.75rem; font-weight: 700; color: var(--text3); letter-spacing: 0.15em; margin-bottom: 20px; } .statsGrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; } .statItem label { display: block; font-size: 0.7rem; color: var(--text3); margin-bottom: 8px; } .statValue { font-size: 2.2rem; font-weight: 800; font-family: 'JetBrains Mono', monospace; } .rulesCard { background: var(--bg2); border: 1px solid var(--border); border-radius: 16px; display: flex; flex-direction: column; } .rulesHeader { padding: 24px; border-bottom: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; } .headerTitle h3 { margin: 0; font-size: 1rem; font-weight: 700; color: var(--text1); letter-spacing: 0.05em; } .headerTitle span { font-size: 0.75rem; color: var(--text3); } .addBtn { padding: 8px 16px; background: var(--accent); border: none; border-radius: 8px; color: white; font-size: 0.75rem; font-weight: 700; cursor: pointer; transition: all 0.2s; } .addBtn:hover { filter: brightness(1.2); } .rulesList { padding: 12px; } .ruleRow { display: flex; align-items: center; padding: 16px; gap: 16px; border-radius: 12px; transition: background 0.2s; } .ruleRow:hover { background: var(--bg3); } .ruleDisabled { opacity: 0.6; } .ruleBody { flex: 1; } .ruleName { font-size: 0.95rem; font-weight: 600; color: var(--text1); margin-bottom: 4px; } .ruleLogic { font-size: 0.85rem; color: var(--text3); } .threshold, .action { color: var(--accent); font-weight: 600; } .priorityPill { padding: 4px 10px; border-radius: 6px; font-size: 0.75rem; font-weight: 800; font-family: 'JetBrains Mono', monospace; } .priorityPill[data-priority="P0"] { color: #EF4444; background: rgba(239, 68, 68, 0.1); } .priorityPill[data-priority="P1"] { color: #F59E0B; background: rgba(245, 158, 11, 0.1); } .priorityPill[data-priority="P2"] { color: #3B82F6; background: rgba(59, 130, 246, 0.1); } .priorityPill[data-priority="P3"] { color: #10B981; background: rgba(16, 185, 129, 0.1); } .actions { display: flex; gap: 8px; } .editBtn, .deleteBtn { padding: 6px 12px; background: var(--bg1); border: 1px solid var(--border); border-radius: 6px; color: var(--text2); font-size: 0.75rem; cursor: pointer; transition: all 0.2s; } .editBtn:hover { border-color: var(--accent); color: var(--accent); } .deleteBtn:hover { border-color: var(--red); color: var(--red); } .auditCard { background: var(--bg2); border: 1px solid var(--border); border-radius: 16px; padding: 24px; } .auditItem { padding: 12px 0; border-bottom: 1px solid var(--border); display: flex; gap: 12px; } .auditItem:last-child { border-bottom: none; } .auditMeta { font-size: 0.75rem; color: var(--text3); font-family: 'JetBrains Mono', monospace; white-space: nowrap; } .auditBody { font-size: 0.85rem; color: var(--text2); line-height: 1.4; } .auditBody strong { color: var(--text1); } .switch { position: relative; display: inline-block; width: 40px; height: 20px; } .switch input { opacity: 0; width: 0; height: 0; } .slider { position: absolute; cursor: pointer; top: 0; left: 0; right: 0; bottom: 0; background-color: var(--bg1); border: 1px solid var(--border); transition: .4s; border-radius: 34px; } .slider:before { position: absolute; content: ""; height: 14px; width: 14px; left: 2px; bottom: 2px; background-color: var(--text3); transition: .4s; border-radius: 50%; } input:checked + .slider { background-color: var(--green); border-color: var(--green); } input:checked + .slider:before { transform: translateX(20px); background-color: white; } @keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } } @keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }