body {
    font-family: sans-serif;
    background-color: #f0f0f0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
}

.container {
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
}

h1 {
    margin-top: 0;
}

input[type="file"] {
    display: none;
}

.file-label {
    background-color: #4285f4;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    margin-top: 0.5rem;
}

.file-label:hover {
    background-color: #357ae8;
}

.drop-zone {
    border: 2px dashed #ccc;
    border-radius: 8px;
    padding: 2rem;
    margin: 1rem 0;
    transition: all 0.3s ease;
    background-color: #fafafa;
}

.drop-zone.dragover {
    border-color: #4285f4;
    background-color: #f0f8ff;
}

.drop-zone-content {
    text-align: center;
}

.drop-zone p {
    margin: 0 0 0.5rem 0;
    color: #666;
}

.controls {
    margin-bottom: 1rem;
}

label {
    margin-right: 0.5rem;
}

button {
    background-color: #4285f4;
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
}

button:hover {
    background-color: #357ae8;
}

#output {
    margin-top: 2rem;
}

canvas {
    border: 1px solid #ccc;
    margin-top: 1rem;
}

#download-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin-top: 1rem;
}

.download-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.download-item img {
    border: 1px solid #ccc;
}

.download-item a {
    text-decoration: none;
    color: #4285f4;
}

.download-item a:hover {
    text-decoration: underline;
}
