body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 20px;
    background-color: #f5f5f5;
    color: #1a252f;
    line-height: 1.6;
}
.container {
    max-width: 900px;
    margin: 0 auto;
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
h1 {
    text-align: center;
    color: #2c3e50;
    margin-bottom: 30px;
}
.tabs {
    display: flex;
    border-bottom: 1px solid #ddd;
}
.tab {
    padding: 10px 20px;
    cursor: pointer;
    background-color: #f1f1f1;
    color: #1a252f;
    border: none;
    border-radius: 4px 4px 0 0;
    font-weight: bold;
    margin-right: 5px;
}
.tab-hover {
    color: #1a252f;
}
.tab.active {
    background-color: #2c3e50;
    color: white;
}
.tab-content {
    display: none;
    padding: 15px;
    border: 1px solid #ddd;
    border-top: none;
    border-radius: 0 0 4px 4px;
}
.tab-content.active {
    display: block;
}
.form-group {
    margin-bottom: 15px;
}
label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}
label input[type="checkbox"] {
    margin-right: 5px;
}
textarea, input[type="text"], input[type="number"], input[type="file"] {
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box;
    font-family: inherit;
}
textarea, input[type="text"], input[type="file"] {
    width: 100%;
}

input[type="number"] {
    width: 25%;
    margin-right: 15px;
}
input[type="file"] {
    margin-top: 5px;
}
.link{
    color: #2c3e50;
    text-decoration: none;
    margin:20px;
    text-align: center;
}
button {
    background-color: #2c3e50;
    color: white;
    padding: 10px 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
}
button:hover {
    background-color: #1a252f;
    color: white;
}
.preview-container {
    margin-top: 20px;
    text-align: center;
}
.preview-container img {
    max-width: 100%;
    max-height: 400px;
    border: 1px solid #ddd;
}
.result-container {
    margin-top: 20px;
    padding: 15px;
    background-color: #f9f9f9;
    border-radius: 4px;
    border-left: 4px solid #1a252f;
}
.hidden {
    display: none;
}
.progress-container {
    width: 100%;
    background-color: #ddd;
    border-radius: 4px;
    margin-top: 10px;
}
.progress-bar {
    width: 0%;
    height: 20px;
    background-color: #1a252f;
    border-radius: 4px;
    text-align: center;
    line-height: 20px;
    color: white;
}
#compareResult {
    margin-top: 20px;
    padding: 10px;
    background-color: #f1f1f1;
    border-radius: 4px;
}
.debug-info {
    margin-top: 10px;
    padding: 10px;
    background-color: #f8f8f8;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: monospace;
    white-space: pre-wrap;
    max-height: 200px;
    overflow-y: auto;
}
