   .crawler-container { background: #0b0f1a; color: #e2e8f0; padding: 25px; border-radius: 15px; font-family: 'Segoe UI', Roboto, sans-serif; border: 1px solid #1e293b; box-shadow: 0 10px 30px rgba(0,0,0,0.5); margin-bottom: 30px;max-width:1000px;margin:0 auto; }
    .crawler-header { text-align: center; margin-bottom: 25px; }
    .crawler-header h3 { color: #00d4ff; font-size: 22px; text-transform: uppercase; margin-bottom: 8px; }
    
    /* Área de Inputs Responsiva */
    .tools-grid { display: grid; grid-template-columns: 1fr; gap: 15px; margin-bottom: 20px; background: #161e2d; padding: 15px; border-radius: 10px; border: 1px solid #2d3748; }
    @media (min-width: 768px) { .tools-grid { grid-template-columns: 1fr 1fr; } }
    
    .tools-field { display: flex; flex-direction: column; gap: 8px; }
    .tools-input { background: #0b0f1a; border: 1px solid #4a5568; color: #fff; padding: 12px; border-radius: 6px; outline: none; font-size: 14px; }
    .img-data { font-size: 11px; line-height: 1.2; }
        .img-warn { color: #f87171; font-weight: bold; } /* Alerta para falta de ALT ou peso alto */
        .img-good { color: #4ade80; } /* OK */
        .weight-info { color: #94a3b8; font-family: monospace; }
    /* Botões */
    .action-bar { display: flex; flex-direction: column; gap: 10px; margin-bottom: 25px; }
    @media (min-width: 480px) { .action-bar { flex-direction: row; } }
    
    .btn-run { background: #00d4ff; color: #000; border: none; padding: 12px; border-radius: 6px; font-weight: bold; cursor: pointer; flex: 2; text-transform: uppercase; }
    .btn-excel { background: #10b981; color: #fff; border: none; padding: 12px; border-radius: 6px; font-weight: bold; cursor: pointer; flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px; }

    /* Cards de Status */
    .crawler-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-bottom: 25px; }
    @media (min-width: 600px) { .crawler-stats { grid-template-columns: repeat(4, 1fr); } }
    
    .stat-card { background: #161e2d; padding: 12px; border-radius: 10px; text-align: center; border-bottom: 3px solid #00d4ff; }
    .stat-card .label { font-size: 10px; text-transform: uppercase; color: #64748b; }
    .stat-card .value { font-size: 18px; font-weight: bold; }

    /* AJUSTE MOBILE: Tabela com Scroll Horizontal */
    .res-wrapper { width: 100%; overflow-x: auto; background: #161e2d; border-radius: 10px; border: 1px solid #2d3748; -webkit-overflow-scrolling: touch; }
    .res-table { width: 100%; border-collapse: collapse; min-width: 500px; /* Garante que não esprema as colunas */ }
    .res-table th { background: #1e293b; color: #00d4ff; padding: 12px; text-align: left; font-size: 11px; text-transform: uppercase; }
    .res-table td { padding: 10px 12px; border-bottom: 1px solid #2d3748; font-size: 13px; }
    
    .status-pill { padding: 3px 7px; border-radius: 4px; font-weight: bold; font-size: 11px; }
    .bg-200 { background: rgba(16, 185, 129, 0.2); color: #10b981; }
    .bg-error { background: rgba(239, 68, 68, 0.2); color: #ef4444; }

    /* Trava Pro */
    .pro-lock-overlay { 
        background: linear-gradient(180deg, rgba(11,15,26,0.95) 0%, #0b0f1a 100%);
        padding: 40px 15px; text-align: center; border-radius: 15px; border: 2px solid #ff4d4d; margin-top: 15px;
    }
    .btn-cta-pro { background: #00d4ff; color: #000; padding: 15px 30px; border-radius: 8px; font-weight: 900; text-decoration: none; display: inline-block; margin-top: 20px; text-transform: uppercase; font-size: 16px; }
    .blur-row { filter: blur(4px); opacity: 0.3; }
    .btn-run.loading {
    background: #1e293b !important;
    color: #64748b !important;
    cursor: not-allowed;
    pointer-events: none;
}

.spinner {
    display: inline-block;
    width: 12px;
    height: 12px;
    border: 2px solid rgba(0, 212, 255, 0.3);
    border-radius: 50%;
    border-top-color: #00d4ff;
    animation: spin 1s ease-in-out infinite;
    margin-right: 8px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Brilho na barra quando completa */
.progress-complete {
    box-shadow: 0 0 20px #10b981 !important;
    background: #10b981 !important;
}
/* Estilo da Legenda Dinâmica */
.img-data span {
    cursor: help;
    position: relative;
    display: inline-block;
}

/* Tooltip simples via atributo title (nativa do navegador) */
.img-warn {
    color: #f87171;
    font-weight: bold;
    border-bottom: 1px dotted #f87171; /* Indica que há uma informação ao passar o rato */
}

.img-good {
    color: #4ade80;
    border-bottom: 1px dotted #4ade80;
}

/* Opcional: Legenda fixa no fundo da ferramenta como FAQ rápida */
.crawler-legend {
    margin-top: 15px;
    padding: 10px;
    background: rgba(30, 41, 59, 0.5);
    border-radius: 8px;
    font-size: 11px;
    display: flex;
    gap: 15px;
    border: 1px dashed #2d3748;
}
.btn-cta-pro {
    display: inline-block;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: #fff;
    text-decoration: none;
    padding: 14px 28px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 16px;
    transition: 0.3s ease;
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.25);
}

.btn-cta-pro:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(37, 99, 235, 0.35);
}

.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    padding: 20px;
}

.modal-overlay.active {
    display: flex;
}

.modal-box {
    position: relative;
    background: #fff;
    width: 100%;
    max-width: 460px;
    border-radius: 16px;
    padding: 32px 24px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
    text-align: center;
    animation: modalFade 0.25s ease;
}

.modal-box h2 {
    margin: 0 0 12px;
    font-size: 28px;
    color: #111827;
}

.modal-box p {
    margin: 0 0 24px;
    font-size: 16px;
    line-height: 1.6;
    color: #4b5563;
}

.modal-btn {
    background: #2563eb;
    color: #fff;
    border: none;
    padding: 12px 22px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s ease;
}

.modal-btn:hover {
    background: #1d4ed8;
}

.modal-close {
    position: absolute;
    top: 10px;
    right: 14px;
    background: transparent;
    border: none;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    color: #6b7280;
}

.modal-close:hover {
    color: #111827;
}

@keyframes modalFade {
    from {
        opacity: 0;
        transform: translateY(15px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}
