body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f8f9fa;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.container {
    width: 90%;
    max-width: 600px;
    padding: 30px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

h1 {
    text-align: center;
    color: #333;
}

textarea {
    width: 100%;
    height: 100px;
    margin-bottom: 20px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    resize: none;
    box-sizing: border-box; /* 添加这一行 */
}

button {
    display: block;
    width: 100%;
    padding: 10px;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #0056b3;
}



#imageTable {
    margin-top: 20px;
    width: 100%;
}

#imageTable table {
    width: 100%;
    table-layout: fixed;
    border-collapse: collapse;
}

#imageTable th,
#imageTable td {
    padding: 10px;
    text-align: center;
    border-bottom: 1px solid #ddd;
}

#imageTable th {
    background-color: #f2f2f2;
}

#imageTable td {
    vertical-align: top; /* 调整垂直对齐方式 */
}

#imageTable img {
    display: block;
    width: 100%;
    max-width: 200px; /* 设置图片的最大宽度 */
    height: auto;
    border-radius: 5px;
    transition: transform 0.3s ease;
}

#imageTable img:hover {
    transform: scale(1.05);
}

.link a {
    display: block;
    overflow: hidden;
    word-wrap: break-word;
    color: #007bff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.link a:hover {
    color: #0056b3;
}

@media (min-width: 768px) {
    #imageTable img {
        max-width: 300px; /* 在平板设备上增加图片的最大宽度 */
    }
}

@media (min-width: 992px) {
    #imageTable img {
        max-width: 400px; /* 在大屏设备（PC端）上增加图片的最大宽度 */
    }
}

#downloadBtn {
    display: none;
}

#progress {
    margin-top: 20px;
    text-align: center;
    font-weight: bold;
}

#log {
    margin-top: 10px;
    font-size: 14px;
    color: #777;
}
#saveButtonContainer {
    text-align: center;
    margin-top: 10px; /* 添加这一行 */
}