.container {
    display: flex;
    min-height: 100vh;
}
.tool-main {
    flex: 1;
    padding: 32px 24px;
    background: #fff;
}
.image-watermark-section {
    background: #f9f9f9;
    padding: 24px;
    border-radius: 8px;
    margin-bottom: 32px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
    max-width: 480px;
}
#watermarkForm {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
#watermarkForm label {
    font-weight: 500;
}
#watermarkForm input[type="text"], #watermarkForm input[type="file"], #watermarkForm select, #watermarkForm button, #watermarkForm input[type="range"] {
    padding: 8px 10px;
    font-size: 1em;
    border: 1px solid #ccc;
    border-radius: 4px;
}
#watermarkForm button {
    background: #1a237e;
    color: #fff;
    border: none;
    cursor: pointer;
    transition: background 0.2s;
}
#watermarkForm button:hover {
    background: #3949ab;
}
#previewContainer {
    margin-top: 24px;
    text-align: center;
}
#previewCanvas {
    max-width: 100%;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
#downloadImage {
    margin-top: 16px;
    padding: 8px 16px;
    background: #388e3c;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1em;
    display: inline-block;
}
#downloadImage:hover {
    background: #2e7031;
}
section {
    margin-bottom: 32px;
}
section h2 {
    margin-bottom: 0.5em;
    color: #1a237e;
}
.faq dt {
    font-weight: bold;
    margin-top: 1em;
}
.faq dd {
    margin-left: 0;
    margin-bottom: 0.5em;
}
.footer {
    background: #f7f7f7;
    padding: 24px 0 12px 0;
    text-align: center;
    border-top: 1px solid #e0e0e0;
    font-size: 0.98em;
}
.footer-links, .footer-tools {
    margin-bottom: 8px;
}
.footer a {
    color: #1a237e;
    text-decoration: none;
    margin: 0 4px;
}
.footer a:hover {
    text-decoration: underline;
}
.footer-copy {
    color: #888;
    font-size: 0.95em;
}
@media (max-width: 900px) {
    .container {
        flex-direction: column;
    }
    .tool-main {
        padding: 20px 8px;
    }
    .image-watermark-section {
        max-width: 100%;
    }
} 