	#PFile, #PFilePic{
		width:80%;
	}
	.PFileUploader .drop-area {
		border: 2px dashed #007bff;
		border-radius: 5px;
		padding: 30px;
		text-align: center;
		color: #007bff;
		background-color: #f8f9fa;
		transition: background-color 0.3s;
		cursor: pointer;
	}
	
	
	.PFileUploader .Photograph{
		border: 2px dashed #007bff;
		border-radius: 5px;
		text-align: center;
		min-height: 400px;
		width:100%;
		padding-right: 8px;
		color: #007bff;
		display:inline-block;
		background-color: #f8f9fa;
		transition: background-color 0.3s;
		cursor: pointer;
	}		

	.PFileUploader .Photograph h1{
		margin: 50px; 
	}
	
	.PFileUploader .Photograph img{
		width:100%;
	
	}		
	
	
  /* 容器：自適應網格 */
  #file_list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 12px;
    align-items: start;
  }

  /* 每個卡片 */
  #file_list .file-card {
    position: relative;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0,0,0,.05);
    transition: box-shadow .15s ease, transform .15s ease;
  }
  #file_list .file-card:hover {
    box-shadow: 0 6px 14px rgba(0,0,0,.08);
    transform: translateY(-1px);
  }

  /* 圖片 */
  #file_list .file-card img {
    display: block;
    width: 100%;
    height: 120px;
    object-fit: cover;
    background: #f8f9fa;
	max-width: 120px; max-height: 100px; border: 1px solid #ccc; margin: 12px auto;
  }

  /* 底部資訊區（可放檔名/尺寸） */
  #file_list .file-meta {
    padding: 6px 8px;
    font-size: 12px;
    color: #555;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  /* 右上刪除鍵 */
  #file_list .remove-btn {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: rgba(0,0,0,.55);
    color: #fff;
    cursor: pointer;
    border: none;
    outline: none;
    transition: background .15s ease;
  }
  #file_list .remove-btn:hover { background: rgba(220, 38, 38, .85); }

  /* 左上拖曳手把 */
  #file_list .drag-handle {
    position: absolute;
    top: 6px;
    left: 6px;
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: rgba(0,0,0,.35);
    color: #fff;
    cursor: move;
    user-select: none;
  }

  /* 拖曳時的樣式 */
  .drag-ghost { opacity: .6; }
  .drag-chosen { box-shadow: 0 10px 20px rgba(0,0,0,.12) !important; }	