.pi-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 10px;
    padding:12px;
}

.pi-content-row-1 {
    display: flex;
    gap: 20px;
}

.pi-content-row-1 .pi-content-item:first-child {
    flex: 1;
}

.pi-content-row-1 .pi-content-item:not(:first-child) {
    flex: 0.5;
}

.pi-content-row-2 {
    display: flex;
    gap: 20px;
}

.pi-content-row-2 .pi-content-item {
    flex: 1;
}

.pi-content-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.pi-content-item label {
    color: #2651FC;
    
    font-size: 13px;
    margin: 0;
}

.pi-content-item input {
    border: none !important;
    border-bottom: 1px solid #707070 !important;
    border-radius: 0 !important;
    font-size: 14px;
    background: transparent;
    outline: none;
    height: 37px;
}

.pi-content-item input:focus {
    border-bottom-color: #2651FC;
}

.pi-content-item button {
    border: 2px dashed #707070;
    background: transparent;
    padding: 40px 20px;
    border-radius: 8px;
    
    font-size: 14px;
    color: #707070;
    cursor: pointer;
    transition: all 0.2s ease;
}

.pi-content-item button:hover {
    border-color: #2651FC;
    color: #2651FC;
}

/* 添加文件上传按钮容器样式 */
.file-upload-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

/* 文件上传按钮样式 - 正方形 */
.file-upload-btn {
    border: 2px dashed #707070;
    background: transparent;
    border-radius: 8px;
    font-size: 14px;
    color: #707070;
    cursor: pointer;
    transition: all 0.2s ease;
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 10px;
    position: relative; /* 添加: 为图片绝对定位做准备 */
    overflow: hidden; /* 添加: 防止图片溢出 */
}

/* 添加: 图片预览样式 */
.file-upload-btn img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 1;
}

.file-upload-btn:hover {
    border-color: #2651FC;
    color: #2651FC;
}

.add-more-btn {
    background-color: #f0f0f0 !important;
    font-size: 30px;
    font-weight: bold;
}

/* 添加: 拖拽悬停样式 */
.file-upload-btn.drag-over {
    border-color: #2651FC;
    background-color: rgba(38, 81, 252, 0.1);
    color: #2651FC;
}

@media (max-width: 1199.98px) {
    .pi-content {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }
    
    .pi-content-row-1,
    .pi-content-row-2 {
        flex-direction: column;
    }
    
    .pi-content-row-1 .pi-content-item:first-child,
    .pi-content-row-1 .pi-content-item:not(:first-child),
    .pi-content-row-2 .pi-content-item {
        flex: 1;
    }
    
    /* 响应式调整 */
    .file-upload-btn {
        width: 80px;
        height: 80px;
        font-size: 12px;
    }
}