/**
 * NSRP - Security Module Styles
 * Advanced cybersecurity dashboard and monitoring styles
 */

/* =====================================================
   SECURITY DASHBOARD
   ===================================================== */

.security-dashboard {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.security-stat-card {
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.9), rgba(15, 23, 42, 0.9));
    border: 1px solid rgba(71, 85, 105, 0.4);
    border-radius: 12px;
    padding: 1.5rem;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.security-stat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.security-stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--card-color, #3b82f6), transparent);
}

.security-stat-card.threats { --card-color: #ef4444; }
.security-stat-card.iocs { --card-color: #8b5cf6; }
.security-stat-card.vulns { --card-color: #f97316; }
.security-stat-card.incidents { --card-color: #3b82f6; }

.security-stat-card .stat-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.security-stat-card .stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: white;
}

.security-stat-card.threats .stat-icon { background: linear-gradient(135deg, #ef4444, #dc2626); }
.security-stat-card.iocs .stat-icon { background: linear-gradient(135deg, #8b5cf6, #7c3aed); }
.security-stat-card.vulns .stat-icon { background: linear-gradient(135deg, #f97316, #ea580c); }
.security-stat-card.incidents .stat-icon { background: linear-gradient(135deg, #3b82f6, #2563eb); }

.security-stat-card .stat-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: #e2e8f0;
    line-height: 1;
}

.security-stat-card .stat-label {
    color: #94a3b8;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.security-stat-card .stat-details {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(71, 85, 105, 0.3);
}

.security-stat-card .stat-detail {
    display: flex;
    flex-direction: column;
}

.security-stat-card .stat-detail .detail-value {
    font-size: 1.25rem;
    font-weight: 600;
    color: #e2e8f0;
}

.security-stat-card .stat-detail .detail-label {
    font-size: 0.75rem;
    color: #64748b;
}

/* =====================================================
   THREAT LEVEL INDICATOR
   ===================================================== */

.threat-level-widget {
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.95), rgba(15, 23, 42, 0.95));
    border: 1px solid rgba(71, 85, 105, 0.4);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    margin-bottom: 2rem;
}

.threat-level-indicator {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    position: relative;
    animation: pulse-threat 2s ease-in-out infinite;
}

.threat-level-indicator::before {
    content: '';
    position: absolute;
    inset: -5px;
    border-radius: 50%;
    border: 3px solid currentColor;
    opacity: 0.3;
}

.threat-level-indicator.critical {
    background: linear-gradient(135deg, #ef4444, #b91c1c);
    color: white;
    box-shadow: 0 0 40px rgba(239, 68, 68, 0.5);
}

.threat-level-indicator.high {
    background: linear-gradient(135deg, #f97316, #c2410c);
    color: white;
    box-shadow: 0 0 30px rgba(249, 115, 22, 0.4);
}

.threat-level-indicator.elevated {
    background: linear-gradient(135deg, #eab308, #a16207);
    color: white;
    box-shadow: 0 0 25px rgba(234, 179, 8, 0.4);
}

.threat-level-indicator.guarded {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: white;
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.4);
}

.threat-level-indicator.low {
    background: linear-gradient(135deg, #22c55e, #15803d);
    color: white;
    box-shadow: 0 0 20px rgba(34, 197, 94, 0.4);
}

@keyframes pulse-threat {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.threat-level-label {
    font-size: 1.5rem;
    font-weight: 700;
    color: #e2e8f0;
    margin-bottom: 0.5rem;
}

.threat-level-description {
    color: #94a3b8;
    font-size: 0.875rem;
}

/* =====================================================
   THREAT CARDS
   ===================================================== */

.threats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 1.5rem;
}

.threat-card {
    background: rgba(30, 41, 59, 0.8);
    border: 1px solid rgba(71, 85, 105, 0.4);
    border-radius: 12px;
    padding: 1.25rem;
    transition: all 0.3s;
    position: relative;
}

.threat-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    border-radius: 4px 0 0 4px;
}

.threat-card.critical::before { background: #ef4444; }
.threat-card.high::before { background: #f97316; }
.threat-card.medium::before { background: #eab308; }
.threat-card.low::before { background: #22c55e; }

.threat-card:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.threat-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.75rem;
}

.threat-type {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.threat-type i {
    font-size: 1rem;
    color: #3b82f6;
}

.threat-severity {
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
}

.threat-severity.critical { background: rgba(239, 68, 68, 0.2); color: #ef4444; }
.threat-severity.high { background: rgba(249, 115, 22, 0.2); color: #f97316; }
.threat-severity.medium { background: rgba(234, 179, 8, 0.2); color: #eab308; }
.threat-severity.low { background: rgba(34, 197, 94, 0.2); color: #22c55e; }

.threat-name {
    color: #e2e8f0;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.threat-desc {
    color: #94a3b8;
    font-size: 0.85rem;
    line-height: 1.5;
    margin-bottom: 0.75rem;
}

.threat-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.75rem;
    color: #64748b;
    margin-bottom: 1rem;
}

.threat-meta span {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.threat-actions {
    display: flex;
    gap: 0.5rem;
}

/* =====================================================
   IOC SECTION
   ===================================================== */

.ioc-check-container {
    background: rgba(30, 41, 59, 0.8);
    border: 1px solid rgba(71, 85, 105, 0.4);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.ioc-check-form {
    display: flex;
    gap: 1rem;
}

.ioc-check-form input {
    flex: 1;
    padding: 0.875rem 1rem;
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(71, 85, 105, 0.5);
    border-radius: 8px;
    color: #e2e8f0;
    font-size: 0.95rem;
    font-family: monospace;
}

.ioc-check-form input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

.ioc-check-form button {
    padding: 0.875rem 1.5rem;
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    border: none;
    border-radius: 8px;
    color: white;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s;
}

.ioc-check-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(59, 130, 246, 0.4);
}

.ioc-result {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 8px;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.ioc-result.malicious {
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.4);
}

.ioc-result.clean {
    background: rgba(34, 197, 94, 0.15);
    border: 1px solid rgba(34, 197, 94, 0.4);
}

.ioc-result .result-icon {
    font-size: 2rem;
}

.ioc-result.malicious .result-icon { color: #ef4444; }
.ioc-result.clean .result-icon { color: #22c55e; }

.ioc-result h4 {
    margin-bottom: 0.5rem;
    color: #e2e8f0;
}

.ioc-result p {
    color: #94a3b8;
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.ioc-result .recommendation {
    margin-top: 0.75rem;
    padding: 0.75rem;
    background: rgba(15, 23, 42, 0.5);
    border-radius: 6px;
    font-weight: 500;
}

.ioc-result.malicious .recommendation { color: #ef4444; }
.ioc-result.clean .recommendation { color: #22c55e; }

/* IOC List */
.iocs-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.ioc-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.875rem;
    background: rgba(15, 23, 42, 0.5);
    border: 1px solid rgba(71, 85, 105, 0.3);
    border-radius: 8px;
    transition: all 0.2s;
}

.ioc-item:hover {
    background: rgba(15, 23, 42, 0.8);
    border-color: rgba(71, 85, 105, 0.5);
}

.ioc-type {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(59, 130, 246, 0.2);
    color: #3b82f6;
}

.ioc-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.ioc-value {
    font-family: monospace;
    color: #e2e8f0;
    font-size: 0.9rem;
}

.ioc-desc {
    font-size: 0.75rem;
    color: #64748b;
}

.ioc-confidence {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    width: 80px;
}

.confidence-bar {
    height: 6px;
    background: linear-gradient(90deg, #22c55e, #eab308, #ef4444);
    border-radius: 3px;
    position: relative;
}

/* =====================================================
   VULNERABILITY SECTION
   ===================================================== */

.vulns-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1rem;
}

.vuln-card {
    background: rgba(30, 41, 59, 0.8);
    border: 1px solid rgba(71, 85, 105, 0.4);
    border-radius: 10px;
    padding: 1.25rem;
    transition: all 0.3s;
}

.vuln-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.vuln-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.vuln-cve {
    font-family: monospace;
    font-weight: 600;
    color: #3b82f6;
}

.vuln-cvss {
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
    font-weight: 700;
    font-size: 0.85rem;
}

.vuln-card.critical .vuln-cvss { background: #ef4444; color: white; }
.vuln-card.high .vuln-cvss { background: #f97316; color: white; }
.vuln-card.medium .vuln-cvss { background: #eab308; color: black; }
.vuln-card.low .vuln-cvss { background: #22c55e; color: white; }

.vuln-title {
    color: #e2e8f0;
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.vuln-meta {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.vuln-severity, .vuln-status {
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 500;
    text-transform: uppercase;
}

.vuln-status.new { background: rgba(59, 130, 246, 0.2); color: #3b82f6; }
.vuln-status.confirmed { background: rgba(249, 115, 22, 0.2); color: #f97316; }
.vuln-status.in_progress { background: rgba(234, 179, 8, 0.2); color: #eab308; }
.vuln-status.patched { background: rgba(34, 197, 94, 0.2); color: #22c55e; }

.vuln-badges {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.vuln-badges .badge {
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-size: 0.7rem;
}

.badge-danger { background: rgba(239, 68, 68, 0.2); color: #ef4444; }
.badge-success { background: rgba(34, 197, 94, 0.2); color: #22c55e; }

/* =====================================================
   INCIDENT SECTION
   ===================================================== */

.incidents-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.incident-card {
    background: rgba(30, 41, 59, 0.8);
    border: 1px solid rgba(71, 85, 105, 0.4);
    border-radius: 12px;
    padding: 1.25rem;
    position: relative;
    transition: all 0.3s;
}

.incident-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    border-radius: 4px 0 0 4px;
}

.incident-card.critical::before { background: #ef4444; }
.incident-card.high::before { background: #f97316; }
.incident-card.medium::before { background: #eab308; }
.incident-card.low::before { background: #22c55e; }

.incident-card.active { border-color: rgba(239, 68, 68, 0.5); }
.incident-card.investigating { border-color: rgba(234, 179, 8, 0.5); }
.incident-card.resolved { opacity: 0.7; }

.incident-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.incident-id {
    font-family: monospace;
    font-size: 0.85rem;
    color: #3b82f6;
}

.incident-status {
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
}

.incident-status.active { background: rgba(239, 68, 68, 0.2); color: #ef4444; }
.incident-status.investigating { background: rgba(234, 179, 8, 0.2); color: #eab308; }
.incident-status.contained { background: rgba(59, 130, 246, 0.2); color: #3b82f6; }
.incident-status.resolved { background: rgba(34, 197, 94, 0.2); color: #22c55e; }
.incident-status.closed { background: rgba(100, 116, 139, 0.2); color: #94a3b8; }

.incident-title {
    color: #e2e8f0;
    font-size: 1.05rem;
    margin-bottom: 0.75rem;
}

.incident-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

.incident-type, .incident-severity {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.8rem;
}

.incident-type { color: #94a3b8; }

.incident-info {
    display: flex;
    gap: 1.5rem;
    font-size: 0.8rem;
    color: #64748b;
    margin-bottom: 1rem;
}

.incident-info span {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.incident-actions {
    display: flex;
    gap: 0.5rem;
}

/* =====================================================
   MITRE ATT&CK MATRIX
   ===================================================== */

.mitre-matrix {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
}

.mitre-tactic {
    background: rgba(30, 41, 59, 0.8);
    border: 1px solid rgba(71, 85, 105, 0.4);
    border-radius: 10px;
    padding: 1rem;
    transition: all 0.3s;
}

.mitre-tactic:hover {
    transform: translateY(-3px);
    border-color: rgba(59, 130, 246, 0.5);
}

.tactic-header {
    margin-bottom: 0.75rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(71, 85, 105, 0.3);
}

.tactic-id {
    font-family: monospace;
    font-size: 0.75rem;
    color: #3b82f6;
}

.tactic-name {
    font-size: 0.9rem;
    color: #e2e8f0;
    margin: 0.25rem 0;
}

.tactic-name-sq {
    font-size: 0.75rem;
    color: #64748b;
}

.tactic-techniques {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
}

.technique {
    padding: 0.2rem 0.4rem;
    background: rgba(59, 130, 246, 0.15);
    border-radius: 4px;
    font-size: 0.65rem;
    color: #94a3b8;
}

/* =====================================================
   DETECTION RESULT
   ===================================================== */

.detection-result {
    background: rgba(30, 41, 59, 0.9);
    border: 1px solid rgba(71, 85, 105, 0.4);
    border-radius: 12px;
    padding: 1.5rem;
}

.risk-score {
    text-align: center;
    margin-bottom: 1.5rem;
}

.score-circle {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: conic-gradient(
        var(--score-color, #3b82f6) calc(var(--score) * 1%),
        rgba(71, 85, 105, 0.3) calc(var(--score) * 1%)
    );
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.5rem;
    position: relative;
}

.score-circle::before {
    content: '';
    position: absolute;
    inset: 8px;
    background: rgba(15, 23, 42, 0.95);
    border-radius: 50%;
}

.score-value {
    position: relative;
    font-size: 1.75rem;
    font-weight: 700;
    color: #e2e8f0;
}

.risk-label {
    font-size: 1.25rem;
    font-weight: 600;
}

.detection-section {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(71, 85, 105, 0.3);
}

.detection-section h5 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #e2e8f0;
    margin-bottom: 0.5rem;
}

.detection-section ul {
    list-style: none;
    padding: 0;
}

.detection-section li {
    padding: 0.5rem;
    background: rgba(15, 23, 42, 0.5);
    border-radius: 6px;
    margin-bottom: 0.25rem;
    font-size: 0.9rem;
    color: #94a3b8;
}

.detection-section li.critical { border-left: 3px solid #ef4444; }
.detection-section li.high { border-left: 3px solid #f97316; }
.detection-section li.medium { border-left: 3px solid #eab308; }

/* =====================================================
   SECURITY MODAL
   ===================================================== */

#security-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

#security-modal.active {
    opacity: 1;
    visibility: visible;
}

#security-modal-content {
    background: rgba(30, 41, 59, 0.98);
    border: 1px solid rgba(71, 85, 105, 0.5);
    border-radius: 16px;
    max-width: 700px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
}

.threat-detail .detail-header {
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    border-radius: 16px 16px 0 0;
}

.detail-header.critical { background: linear-gradient(135deg, rgba(239, 68, 68, 0.3), rgba(185, 28, 28, 0.2)); }
.detail-header.high { background: linear-gradient(135deg, rgba(249, 115, 22, 0.3), rgba(194, 65, 12, 0.2)); }
.detail-header.medium { background: linear-gradient(135deg, rgba(234, 179, 8, 0.3), rgba(161, 98, 7, 0.2)); }

.detail-header i {
    font-size: 2rem;
    color: #e2e8f0;
}

.detail-header h3 {
    flex: 1;
    color: #e2e8f0;
    margin: 0;
}

.detail-header .threat-id {
    font-size: 0.8rem;
    color: #94a3b8;
    font-family: monospace;
}

.severity-badge {
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.severity-badge.critical { background: #ef4444; color: white; }
.severity-badge.high { background: #f97316; color: white; }
.severity-badge.medium { background: #eab308; color: black; }
.severity-badge.low { background: #22c55e; color: white; }

.detail-body {
    padding: 1.5rem;
}

.detail-section {
    margin-bottom: 1.5rem;
}

.detail-section h4 {
    color: #e2e8f0;
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.detail-section p {
    color: #94a3b8;
    line-height: 1.6;
}

.detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.detail-item {
    background: rgba(15, 23, 42, 0.5);
    padding: 0.75rem;
    border-radius: 8px;
}

.detail-item .label {
    font-size: 0.75rem;
    color: #64748b;
    display: block;
    margin-bottom: 0.25rem;
}

.detail-item .value {
    color: #e2e8f0;
    font-weight: 500;
}

.mitre-tags, .system-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.mitre-tag {
    padding: 0.25rem 0.75rem;
    background: rgba(139, 92, 246, 0.2);
    color: #a78bfa;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-family: monospace;
}

.system-tag {
    padding: 0.25rem 0.75rem;
    background: rgba(59, 130, 246, 0.2);
    color: #60a5fa;
    border-radius: 9999px;
    font-size: 0.75rem;
}

.iocs-table {
    width: 100%;
    border-collapse: collapse;
}

.iocs-table th,
.iocs-table td {
    padding: 0.75rem;
    text-align: left;
    border-bottom: 1px solid rgba(71, 85, 105, 0.3);
}

.iocs-table th {
    color: #94a3b8;
    font-weight: 500;
    font-size: 0.8rem;
    text-transform: uppercase;
}

.iocs-table td {
    color: #e2e8f0;
    font-size: 0.9rem;
}

.iocs-table .ioc-value {
    font-family: monospace;
    color: #f97316;
}

/* =====================================================
   BUTTONS
   ===================================================== */

.btn-sm {
    padding: 0.5rem 0.75rem;
    border: none;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    transition: all 0.2s;
}

.btn-sm.btn-primary {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: white;
}

.btn-sm.btn-secondary {
    background: rgba(71, 85, 105, 0.5);
    color: #e2e8f0;
}

.btn-sm:hover {
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

/* =====================================================
   RESPONSIVE
   ===================================================== */

@media (max-width: 768px) {
    .security-dashboard {
        grid-template-columns: 1fr;
    }

    .threats-grid,
    .vulns-grid {
        grid-template-columns: 1fr;
    }

    .ioc-check-form {
        flex-direction: column;
    }

    .detail-grid {
        grid-template-columns: 1fr 1fr;
    }

    .threat-actions,
    .incident-actions {
        flex-wrap: wrap;
    }
}
