/* 圖片預覽容器 */
.image-preview-container {
    display: flex;
    flex-wrap: wrap;
    padding-right: 40px;
    gap: 10px;
    justify-content: flex-end;
}

/* 預覽項目 */
.preview-item {
    position: relative;
    width: 100px;
    height: 100px;
}

/* 預覽圖片 */
.preview-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

/* 移除按鈕 */
.remove-preview {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #ff4444;
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.remove-preview:hover {
    background: #cc0000;
}


/* 上傳按鈕樣式 */
#upload-button {
	background-image: linear-gradient( 94.3deg,  rgba(26,33,64,1) 10.9%, rgba(81,84,115,1) 87.1% );
	margin: 5px;
	padding: 8px 10px;
	text-align: center;
	text-transform: uppercase;
	transition: 0.5s;
	background-size: 200% auto;
	color: white;            
	box-shadow: 0 0 2px #eee;
	border-radius: 10px;
	display: block;
}

#fileImg-button {
	background-image: linear-gradient( 94.3deg,  rgba(26,33,64,1) 10.9%, rgba(81,84,115,1) 87.1% );
	margin: 5px;
	padding: 8px 10px;
	text-align: center;
	text-transform: uppercase;
	transition: 0.5s;
	background-size: 200% auto;
	color: white;            
	box-shadow: 0 0 2px #eee;
	border-radius: 10px;
	display: block;
}


.UpIMG-link {
    background-image: linear-gradient(to right, #a73737 0%, #7a2828  51%, #a73737  100%);
    color: #ffffff;
    border: none;
    border-radius: 10px;
    padding: 8px 35px;
    line-height: 50px;
    cursor: pointer;
  }