/* 杀软识别模块样式 */
#av-detect .instructions {
    background-color: #f0f9ff;
    padding: 1rem;
    border-radius: 0.5rem;
    margin-bottom: 1.5rem;
}

#av-detect .instructions h3 {
    color: #1e40af;
    margin-bottom: 0.5rem;
}

#av-detect .instructions ul {
    padding-left: 1.25rem;
    color: #374151;
}

#av-detect .instructions code {
    background-color: white;
    padding: 0.125rem 0.25rem;
    border-radius: 0.25rem;
}

#av-detect #process-input {
    width: 100%;
    padding: 0.5rem 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 0.375rem;
    min-height: 10rem;
}

#av-detect #detect-btn {
    background-color: #3b82f6;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
}

#av-detect #result-container {
    margin-top: 1.5rem;
}

#av-detect #no-match,
#av-detect #load-error {
    background-color: #fef2f2;
    border-left: 4px solid #ef4444;
    padding: 1rem;
    border-radius: 0 0.5rem 0.5rem 0;
    color: #b91c1c;
}

#av-detect #matches {
    margin-top: 1.5rem;
}

#av-detect #matches-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1rem;
}

#av-detect .av-item {
    background-color: #f0fdf4;
    border: 1px solid #bbf7d0;
    padding: 1rem;
    border-radius: 0.5rem;
}

#av-detect .av-item h4 {
    color: #166534;
    font-weight: 500;
}

#av-detect .av-item p {
    color: #166534;
    font-size: 0.875rem;
}

/* 通用样式 */
@layer utilities {
    .content-auto {
        content-visibility: auto;
    }
    .hover-lift {
        transition: transform 0.2s, box-shadow 0.2s;
    }
    .hover-lift:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    }
    .tab-content {
        display: none;
    }
    .tab-content.active {
        display: block;
    }
}

/* 信息生成模块样式 */
.person-card {
    background-color: white;
    border: 1px solid #e5e7eb;
    padding: 1.5rem;
    border-radius: 0.5rem;
    transition: all 0.2s;
}

.person-card:hover {
    border-color: #3b82f6;
}

.info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.generate-btn {
    background-color: #3b82f6;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 500;
    transition: background-color 0.2s;
}

.generate-btn:hover {
    background-color: #2563eb;
}

/* 编码解密模块样式 */
.decode-btn {
    transition: background-color 0.2s;
}

/* 命令卡片样式 */
.command-card {
    transition: all 0.2s;
}

.command-card:hover {
    border-color: #3b82f6;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
}