.clamav-scanner-container {
    max-width: 600px;
    margin: 20px auto;
    padding: 20px;
    background: #fff;
}

.clamav-header {
    display: flex;
    margin-bottom: 20px;
    padding-bottom: 15px;
}

.clamav-header .icon {
    font-size: 20px;
    margin-right: 8px;
    line-height: 1;
}

.clamav-header h3 {
    margin: 0;
    font-size: 18px;
    color: #333;
    font-weight: 600;
    line-height: 1;
}

.clamav-scan-button {
    background-color: #4CAF50;
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 200px;
}

.clamav-scan-button:hover {
    background-color: #45a049;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(76, 175, 80, 0.2);
}

.clamav-scan-button:disabled {
    background-color: #cccccc;
    cursor: not-allowed;
}

.clamav-spinner {
    display: none;
    align-items: center;
    gap: 10px;
    margin: 15px 0;
}

.clamav-spinner .spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #4CAF50;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.clamav-spinner span {
    color: #666;
    font-size: 14px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.clamav-results {
    display: none;
    margin-top: 20px;
}

.clamav-results .status-banner {
    padding: 12px 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 16px;
    border-radius: 8px;
    margin-bottom: 15px;
}

.clamav-results.clean .status-banner {
    background-color: #e8f5e9;
    color: #2e7d32;
}

.clamav-results.infected .status-banner {
    background-color: #fdecea;
    color: #d32f2f;
}

.clamav-results .details {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.clamav-results .detail-item {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.clamav-results .detail-item .icon {
    font-size: 18px;
    color: #666;
    padding-top: 2px;
}

.clamav-results .detail-item .content {
    flex: 1;
}

.clamav-results .detail-item .label {
    font-size: 12px;
    color: #666;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.clamav-results .detail-item .value {
    font-size: 14px;
    color: #333;
    font-weight: 500;
    word-break: break-all;
}

.clamav-powered {
    margin-top: 20px;
    text-align: right;
    font-size: 12px;
    color: #888;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 5px;
}

@media (max-width: 600px) {
    .clamav-results .details {
        grid-template-columns: 1fr;
    }
}

.clamav-stats {
    display: flex;
    justify-content: space-between;
    padding: 30px;
    background: #f8f9fa;
}

.clamav-stat-item {
    text-align: center;
    flex: 1;
}

.clamav-stat-item .icon {
    width: 50px;
    height: 50px;
    margin: 0 auto 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.clamav-stat-item .icon img {
    width: 30px;
    height: 30px;
    opacity: 0.7;
}

.clamav-stat-item .value {
    font-size: 24px;
    font-weight: bold;
    color: #333;
    margin-bottom: 5px;
}

.clamav-stat-item .label {
    color: #666;
    font-size: 14px;
}

.clamav-details {
    padding: 30px;
}

.clamav-details-tabs {
    display: flex;
    border-bottom: 1px solid #ddd;
    margin-bottom: 20px;
}

.clamav-tab {
    padding: 10px 20px;
    cursor: pointer;
    color: #666;
    border-bottom: 2px solid transparent;
    margin-right: 20px;
}

.clamav-tab.active {
    color: #007bff;
    border-bottom-color: #007bff;
}

.clamav-details-content {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.clamav-detail-item {
    padding: 15px;
    background: #f8f9fa;
    border-radius: 4px;
}

.clamav-detail-item .label {
    color: #666;
    font-size: 12px;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.clamav-detail-item .value {
    color: #333;
    font-size: 14px;
    word-break: break-all;
}

.clamav-close {
    position: absolute;
    right: 20px;
    top: 20px;
    color: white;
    opacity: 0.8;
    cursor: pointer;
    font-size: 24px;
    z-index: 1;
}

.clamav-close:hover {
    opacity: 1;
}

.clamav-scan-results {
    margin-top: 20px;
    padding: 10px;
    border-radius: 4px;
}

.clamav-scan-results p {
    margin: 0;
    padding: 10px;
    font-size: 16px;
}

.clamav-scan-results .success {
    background-color: #dff0d8;
    color: #3c763d;
    border: 1px solid #d6e9c6;
}

.clamav-scan-results .error {
    background-color: #f2dede;
    color: #a94442;
    border: 1px solid #ebccd1;
}

.clamav-scan-results .status-clean {
    color: #4CAF50;
    font-weight: bold;
}

.clamav-scan-results .status-infected {
    color: #f44336;
    font-weight: bold;
}

.clamav-scan-results table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
}

.clamav-scan-results table th,
.clamav-scan-results table td {
    padding: 8px;
    text-align: left;
    border-bottom: 1px solid #ddd;
} 