body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background: linear-gradient(to right, #00c6ff, #0072ff);
    color: #fff;
}

.container {
    display: flex;
    justify-content: space-between;
    padding: 20px;
}

.form-container {
    width: 40%;
}

.preview-container {
    width: 55%;
    position: relative;
}

h2, h3 {
    color: #fff;
}
.form-container {
    color: #333; /* 设置文字为深色 */
}
.form-container label, .form-container h2 {
    color: #333; /* 确保所有标签和标题颜色为深色 */
}

input[type="file"],
input[type="text"],
input[type="number"],
input[type="color"] {
    margin: 10px 0;
    padding: 5px;
    border-radius: 5px;
    border: 1px solid #ccc;
    width: 100%;
}

button {
    background-color: #0072ff;
    color: #fff;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 5px;
    width: 100%;
    margin-top: 10px;
}

button:hover {
    background-color: #005bb5;
}

#preview {
    position: relative;
}

#templateImage {
    width: 100%;
    max-width: 100%;
    height: auto;
}

#qrImagePreview {
    position: absolute;
    cursor: move;
}

#textPreview {
    position: absolute;
    white-space: nowrap;
    transform: translateX(-50%);
    cursor: move;
}
body {
    font-family: Arial, sans-serif;
    background: linear-gradient(to bottom, #87CEFA, #1E90FF);
    color: #333;
    margin: 0;
    padding: 20px;
}
.container {
    display: flex;
    justify-content: space-between;
}
.form-container, .preview-container {
    padding: 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
h2, h3 {
    text-align: center;
}
button {
    display: block;
    margin: 10px auto;
    padding: 10px 20px;
    background: #1E90FF;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}
button:hover {
    background: #4682B4;
}

