/* --- FLOWSPEC SOC: VISUAL ENTERPRISE NEON --- */

/* Sidebar de Configurações */
.settings-sidebar .list-group-item {
    background: transparent;
    border: none;
    color: #94a3b8;
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    padding: 12px 15px;
    border-radius: 8px !important;
    transition: 0.3s;
}

.settings-sidebar .list-group-item.active {
    background: rgba(0, 242, 255, 0.1);
    color: #00f2ff;
    border-left: 3px solid #00f2ff;
}

.settings-sidebar .list-group-item:hover:not(.active) {
    background: rgba(255, 255, 255, 0.05);
    color: white;
}

.form-control-custom {
    background: #050608 !important;
    border: 1px solid #2d3748 !important;
    color: #e2e8f0 !important;
    font-family: 'monospace';
    font-size: 0.85rem;
}

.form-control-custom:focus {
    border-color: #00f2ff !important;
    box-shadow: 0 0 10px rgba(0, 242, 255, 0.2);
}

.uppercase { text-transform: uppercase; letter-spacing: 1px; }

/* Badge para ações manuais de auditoria */
.badge-manual {
    background: #3b82f6 !important; 
    color: #fff !important;
    font-weight: 900;
    border-radius: 4px;
    padding: 2px 6px;
    font-size: 0.65rem;
    margin-right: 8px;
    border: 1px solid rgba(255,255,255,0.2);
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.4);
}

/* Animação suave para destacar o texto de auditoria */
.blink-manual {
    color: #fff !important;
    font-weight: 700;
    text-shadow: 0 0 8px rgba(59, 130, 246, 0.6);
}

/* Brilho nos Textos de Destaque */
.text-accent { 
    color: #00f2ff !important; 
    text-shadow: 0 0 12px rgba(0, 242, 255, 0.7); 
    font-weight: 800;
}

/* Brilho na Borda do Header */
.flowspec-border-glow { 
    border-left: 4px solid #00f2ff !important; 
    box-shadow: 0 0 20px rgba(0, 242, 255, 0.15); 
}

/* Visibilidade dos Subtítulos e Labels (RESOLVE O APAGADO) */
#view-flowspec .text-muted {
    color: #cbd5e1 !important; 
    opacity: 1 !important;
    text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}

#soc-clock {
    color: #00f2ff !important;
    font-weight: 700;
    font-family: 'monospace';
    text-shadow: 0 0 5px rgba(0, 242, 255, 0.5);
}

/* Tabela SOC Estilizada */
.table-soc thead th { 
    background: #161925; 
    color: #00f2ff !important; 
    border-bottom: 2px solid #1f2937; 
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 1px;
}

.text-timestamp { color: #94a3b8 !important; font-size: 0.75rem; }
.text-verdict { color: #ffffff !important; font-weight: 700; }
.text-description { color: #94a3b8 !important; font-size: 0.75rem; }

/* Botão de Ação com Brilho */
.btn-outline-accent { 
    border: 1px solid #00f2ff !important; 
    color: #00f2ff !important; 
    background: rgba(0, 242, 255, 0.05);
    transition: 0.3s;
    box-shadow: 0 0 8px rgba(0, 242, 255, 0.2);
}

.btn-outline-accent:hover { 
    background: #00f2ff !important; 
    color: #000 !important; 
    box-shadow: 0 0 20px #00f2ff;
}

/* Modal de Diagnóstico Premium */
#threatModal .modal-content { 
    background: #0a0c14 !important; 
    border: 1px solid #00f2ff !important; 
    box-shadow: 0 0 40px rgba(0, 242, 255, 0.25) !important;
}

#threat-modal-body small {
    color: #ffffff !important;
    font-weight: 800 !important;
    text-transform: uppercase;
}

#threat-modal-body .text-white-50 {
    color: #e2e8f0 !important;
}

.soc-counter-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    padding: 5px 12px;
    min-width: 85px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: 0.3s;
}

.soc-counter-card .label {
    font-size: 0.55rem;
    font-weight: 900;
    color: #64748b;
    letter-spacing: 1px;
}

.soc-counter-card .value {
    font-size: 1.1rem;
    font-weight: 800;
    line-height: 1;
    margin-top: 2px;
}

/* Bordas coloridas para os cards */
.br-critical { border-bottom: 2px solid #ef4444; }
.br-high { border-bottom: 2px solid #f59e0b; }
.br-info { border-bottom: 2px solid #94a3b8; }
.br-inbound { border-bottom: 2px solid #ef4444; }
.br-outbound { border-bottom: 2px solid #f59e0b; }
.br-lateral { border-bottom: 2px solid #8b5cf6; }

.soc-counter-card:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
}

@keyframes pulse-orange {
    0% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(245, 158, 11, 0); }
    100% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0); }
}

/* --- BOTÃO DO ROBÔ EM PROCESSAMENTO (LARANJA) --- */
.btn-processing-soc {
    background: #f59e0b !important; /* Laranja Vibrante */
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    color: white !important;
    width: 32px;
    height: 32px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 15px rgba(245, 158, 11, 0.5); /* Brilho Laranja */
    transition: 0.3s;
    cursor: pointer;
}

/* --- BOTÃO DO ROBÔ EM CRÍTICO (VERMELHO PULSANTE) --- */
.pulse-red-soc {
    background: #ef4444 !important; /* Vermelho */
    border: none !important;
    color: white !important;
    width: 32px;
    height: 32px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 15px rgba(239, 68, 68, 0.6);
    animation: alert-pulse-red 1.5s infinite;
}

@keyframes alert-pulse-red {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7); }
    70% { transform: scale(1.05); box-shadow: 0 0 0 10px rgba(239, 68, 68, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}

/* --- ANIMAÇÃO PARA O ROBÔ DE AUDITORIA (LARANJA PULSANTE) --- */
.pulse-orange-soc {
    background: #f59e0b !important;
    border: none !important;
    color: white !important;
    width: 32px;
    height: 32px;
    border-radius: 6px;
    animation: alert-pulse-orange 2s infinite;
}

@keyframes alert-pulse-orange {
    0% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(245, 158, 11, 0); }
    100% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0); }
}
