/* 图片转PDF工具样式 */
.pdf-section {
    background: #fff;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.images-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.image-item {
    position: relative;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    padding: 10px;
    background: #fff;
    transition: all 0.3s;
}

.image-item:hover {
    border-color: #667eea;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.15);
}

.image-preview {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 6px;
    background: #f7fafc;
}

.image-name {
    font-size: 12px;
    color: #718096;
    margin-top: 8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.image-remove {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 24px;
    height: 24px;
    background: #e53e3e;
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: all 0.3s;
}

.image-remove:hover {
    background: #c53030;
}

.option-select,
.option-input {
    padding: 8px 12px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    font-size: 14px;
}

.option-select:focus,
.option-input:focus {
    outline: none;
    border-color: #667eea;
}

.empty-state {
    text-align: center;
    padding: 40px;
    color: #a0aec0;
}

.empty-state i {
    font-size: 48px;
    margin-bottom: 15px;
}

@media (max-width: 768px) {
    .images-grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
        gap: 10px;
    }
    
    .image-preview {
        height: 120px;
    }
    
    }