.piero-scanner-wrapper {
    max-width: 1200px;
    margin: 40px auto;
    padding: 30px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}

.piero-scanner-header {
    text-align: center;
    margin-bottom: 30px;
}

.piero-scanner-header h2 {
    font-size: 28px;
    color: #1e293b;
    margin-bottom: 10px;
}

.piero-scanner-header p {
    color: #64748b;
}

.piero-scanner-form {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
}

#piero-scanner-url {
    flex: 1;
    padding: 12px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 15px;
}

#piero-scanner-url:focus {
    outline: none;
    border-color: #3b82f6;
}

#piero-start-scan {
    padding: 12px 32px;
    background: #3b82f6;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
}

#piero-start-scan:hover {
    background: #2563eb;
}

#piero-start-scan:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

#piero-scanner-progress {
    text-align: center;
    padding: 20px;
    color: #64748b;
}

.results-summary {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.summary-item {
    background: #f8fafc;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
}

.summary-item strong {
    display: block;
    font-size: 32px;
    color: #3b82f6;
    margin-bottom: 5px;
}

.summary-item span {
    color: #64748b;
    font-weight: 600;
}

.results-tables {
    margin-top: 30px;
}

.results-tables h4 {
    margin: 20px 0 10px;
    color: #1e293b;
}

.results-tables table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 30px;
}

.results-tables th,
.results-tables td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #e2e8f0;
}

.results-tables th {
    background: #f8fafc;
    font-weight: 600;
    color: #334155;
}

.results-tables tbody tr:hover {
    background: #f8fafc;
}

.category-badge {
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
}

.category-statistici { background: #dbeafe; color: #1e40af; }
.category-marketing { background: #fce7f3; color: #9f1239; }
.category-funzionali { background: #d1fae5; color: #065f46; }
.category-necessari { background: #e0e7ff; color: #3730a3; }
.category-social { background: #fef3c7; color: #92400e; }
.category-unknown { background: #f1f5f9; color: #475569; }

#piero-scanner-error {
    padding: 20px;
    background: #fee2e2;
    border-radius: 8px;
    color: #dc2626;
}