body {
    font-family: system-ui, -apple-system, sans-serif;
    background-color: #f5f5f5;
    color: #333;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
}

.container {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    max-width: 500px;
    width: 100%;
}

h1 {
    margin-top: 0;
    font-size: 1.5rem;
    text-align: center;
}

.drop-zone {
    border: 2px dashed #ccc;
    padding: 2rem;
    text-align: center;
    border-radius: 4px;
    cursor: pointer;
    margin-bottom: 1rem;
    position: relative;
}

.drop-zone:hover, .drop-zone.dragover {
    background-color: #fafafa;
    border-color: #aaa;
}

#fileInput {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    opacity: 0;
    cursor: pointer;
}

.controls {
    margin-bottom: 1rem;
}

.radio-group {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.input-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 1rem;
}

.input-group label {
    margin-bottom: 0.25rem;
    font-weight: bold;
}

.input-group input, .input-group select {
    padding: 0.5rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1rem;
}

button {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
}

button:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

button:hover:not(:disabled) {
    background-color: #0056b3;
}

#processBtn {
    width: 100%;
    padding: 0.75rem;
    font-size: 1.1rem;
}

#status {
    margin-top: 1rem;
    text-align: center;
    font-weight: bold;
}

progress {
    width: 100%;
    margin-top: 1rem;
}

#downloadLink {
    display: block;
    text-align: center;
    margin-top: 1rem;
    color: #007bff;
    text-decoration: none;
}
