/* 上传区域的样式 */
/* 样式调整 */
.action-buttons {
    display: flex;
    justify-content: center; /* 居中对齐 */
    gap: 20px; /* 按钮之间的间距 */
    margin-bottom: 15px; /* 下方的外边距 */
}

.action-buttons i {
    cursor: pointer; /* 鼠标悬停时显示手型 */
    font-size: 20px; /* 按钮图标大小 */
    padding: 10px; /* 按钮的内边距 */
}
#uploaded-images img {
            margin: 5px;
            border: 1px solid #ddd;
        }
#history-panel {
            position: fixed;
            top: 10px;
            right: 10px;
            background: white;
            padding: 10px;
            border: 1px solid #ddd;
            box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
            max-height: 80vh;
            overflow-y: auto;
        }
        #history-panel img {
            margin: 5px;
            border: 1px solid #ddd;
        }
.upload-area {
    width: 300px; /* 宽度 */
    height: 150px; /* 高度 */
    border: 2px dashed #ccc; /* 虚线边框 */
    border-radius: 15px; /* 圆角边框 */
    background-color: #f9f9f9; /* 背景颜色 */
    display: flex; /* 使内容居中 */
    justify-content: center; /* 水平居中 */
    align-items: center; /* 垂直居中 */
    text-align: center; /* 文字居中 */
    cursor: pointer; /* 鼠标指针为手形 */
    margin: 20px auto; /* 上下外边距，中间对齐 */
    transition: background-color 0.3s, border-color 0.3s; /* 添加过渡效果 */
}

.upload-area:hover {
    background-color: #e8e8e8; /* 鼠标悬停时的背景颜色 */
    border-color: #999; /* 鼠标悬停时的边框颜色 */
}


.upload-area.dragging {
    border-color: yellow;
    box-shadow: 0 0 15px yellow;
}

.uploaded-images {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 20px;
}

.upload-card {
    width: 150px;
    height: 150px;
    border: 1px solid #ddd;
    margin: 10px;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    transition: transform 0.3s ease;
    background-color: #f9f9f9;
}

.upload-card:hover {
    transform: translateY(-5px) rotate(2deg);
}

.uploaded-image {
    width: 100%;
    height: auto;
    max-height: 100px;
    object-fit: cover;
}

.button-group {
    display: flex;
    justify-content: space-around;
    width: 100%;
}

.button-group i {
    font-size: 20px;
    cursor: pointer;
    transition: color 0.2s ease;
}

.button-group i:hover {
    color: #007bff;
}
