/* AntiHacker Scanner Styles */

/* Estilização do cabeçalho da tabela de resultados */
.antihacker-scan-results thead th {
    background-color: #0073aa;
    /* Azul padrão do WordPress, ou use #2271b1 */
    color: #ffffff !important;
    /* Letras brancas */
    font-weight: 600;
    padding: 12px 10px;
    /* Um pouco mais de respiro */
}

/* Garante que links ou ícones de ordenação (se houver) também fiquem brancos */
.antihacker-scan-results thead th a {
    color: #ffffff;
}


.antihacker-learn-more {
    background: #f8f9fa;
    border-left: 4px solid #0073aa;
    padding: 12px;
    margin: 20px 0;
}

.antihacker-learn-more a {
    font-size: 16px;
    font-weight: 600;
    color: #0073aa;
    text-decoration: none;
}

.antihacker-learn-more a:hover {
    text-decoration: underline;
}

.antihacker-learn-more .description {
    color: #666;
    font-size: 14px;
    margin: 5px 0 0 0;
}

.antihacker-scan-results {
    margin-top: 20px;
}

.antihacker-scan-results .file-path {
    font-family: 'Courier New', monospace;
    font-size: 12px;
}

.antihacker-scan-results .file-actions {
    min-width: 300px;
}

.antihacker-action-buttons {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
}

.antihacker-action-buttons .button {
    margin: 2px;
    padding: 5px 10px;
    font-size: 12px;
    height: auto;
}

.status-badge {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 3px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.status-active {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.status-quarantined {
    background: #fff3cd;
    color: #856404;
    border: 1px solid #ffeaa7;
}

.status-deleted {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Modal Styles */
.antihacker-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
}

.antihacker-modal-content {
    background-color: #fefefe;
    margin: 5% auto;
    padding: 0;
    border: 1px solid #888;
    width: 80%;
    max-width: 900px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
    border-radius: 4px;
}

.antihacker-modal-header {
    padding: 15px;
    background: #0073aa;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.antihacker-modal-header h3 {
    margin: 0;
    font-size: 16px;
    font-family: 'Courier New', monospace;
    background: #0073aa;
    color: white;
}

.antihacker-modal-close {
    color: white;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.antihacker-modal-close:hover {
    color: #ccc;
}

.antihacker-modal-body {
    padding: 15px;
    max-height: 60vh;
    overflow-y: auto;
}

.antihacker-modal-body pre {
    margin: 0;
    font-family: 'Courier New', monospace;
    font-size: 12px;
    white-space: pre-wrap;
    word-wrap: break-word;
}