body {
    background-color: #121212;
    color: #e0e0e0;
    font-family: Arial, sans-serif;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}
h1 {
    color: #ffffff;
    text-align: center;
}
input, button, select {
    background-color: #1e1e1e;
    color: #e0e0e0;
    border: 1px solid #333;
    padding: 5px;
}
button:hover {
    background-color: #333;
}
.image-config {
    margin-bottom: 20px;
    border: 1px solid #333;
    padding: 10px;
    background-color: #1e1e1e;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.preview, .preview-canvas {
    max-width: 100%;
    height: auto;
    display: block;
}
#progress, #processing {
    display: none;
    margin-top: 10px;
    color: #e0e0e0;
}
#progress {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}
#totalProgressContainer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    margin-bottom: 10px;
}
#totalProgressContainer progress {
    width: 100%;
}
#fileList {
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 100%;
}
#fileList div {
    display: grid;
    grid-template-columns: 1fr 200px;
    align-items: center;
    gap: 10px;
}
#fileList span {
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}
#fileList progress {
    flex: 1;
    width: 200px;
}
#generate {
    display: none;
}
table {
    border-collapse: collapse;
    width: 100%;
    max-width: 100%;
    margin-bottom: 10px;
}
th, td {
    border: 1px solid #333;
    padding: 5px;
    text-align: left;
}
th {
    background-color: #333;
}
.cropper-container {
    max-width: 100%;
    overflow: hidden;
    margin: 0 auto;
}
.preview-wrapper {
    max-width: 1200px;
    overflow: visible;
    align-self: center;
    margin: 0 auto;
}
.info {
    width: 100%;
}
.spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid #e0e0e0;
    border-top: 2px solid #333;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    vertical-align: middle;
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
.conversion-indicator {
    display: flex;
    align-items: center;
    gap: 5px;
    width: 200px;
}
