/* 二维码上传区域样式 */
.qr-upload-area {
    border: 2px dashed #ced4da;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.3s;
    min-height: 80px;
    
}

.qr-upload-area.active {
    border-color: #0d6efd;
    background-color: #f8f9fa;
}

.qr-upload-icon {
    font-size: 48px;
    color: #6c757d;
    margin-right: 15px;
    flex-shrink: 0;
}

.qr-upload-text {
    flex-grow: 1;
    text-align: center;
    padding: 0 15px;
    line-height: 1.4;
}

.qr-upload-actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.qr-preview-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
}

.qr-preview-item {
    position: relative;
    width: 80px;
    height: 80px;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    overflow: hidden;
}

.qr-preview-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.qr-preview-remove {
    position: absolute;
    top: 2px;
    right: 2px;
    background: rgba(0,0,0,0.5);
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

/* 相机相关样式保持不变 */
.qr-camera-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    z-index: 1000;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.qr-camera-video {
    width: 80%;
    max-width: 500px;
    background: black;
}

.qr-camera-actions {
    margin-top: 20px;
    display: flex;
    gap: 15px;
}
