body {
    background-color: white;
    color: #1a1a1a;
    display: flex;
    flex-direction: column;
    margin: 0;
}

#app {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-family: Arial, sans-serif;
    padding: 40px 20px;
    box-sizing: border-box;
    text-align: center;
    flex: 1;
}

h1 {
    margin-bottom: 10px;
    color: #1a1a1a;
}

p {
    margin: 5px 0;
    color: #1a1a1a;
}

#fileInputWrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 20px 0;
    width: 100%;
}

input[type="file"] {
    margin: 0;
    text-align: center;
}

input[type="file"]::file-selector-button {
    margin-right: 10px;
}

#fileSize {
    color: #666;
    font-size: 14px;
    white-space: nowrap;
}

button {
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    background: #0066cc;
    color: white;
    border: none;
    border-radius: 5px;
}

button:hover {
    background: #0052a3;
}

#fileInfo {
    margin: 20px 0;
}

#progressWrapper {
    text-align: center;
    margin: 20px 0;
}

#progress {
    width: 300px;
    margin-top: 10px;
}

#outputFiles {
    margin-top: 20px;
    width: 100%;
    max-width: 500px;
}

#outputFiles > div {
    margin-top: 10px;
    background: #f5f5f5;
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #ddd;
    color: #1a1a1a;
}

/* Dark mode support - Docusaurus applies data-theme to html element */
html[data-theme="dark"] body {
    background-color: #1b1b1d;
    color: #e3e3e3;
}

html[data-theme="dark"] h1,
html[data-theme="dark"] p {
    color: #e3e3e3;
}

html[data-theme="dark"] button {
    background: #4a90e2;
}

html[data-theme="dark"] button:hover {
    background: #357abd;
}

html[data-theme="dark"] #fileSize {
    color: #b0b0b0;
}

html[data-theme="dark"] #outputFiles > div {
    background: #2d2d30;
    border: 1px solid #3e3e42;
    color: #e3e3e3;
}

footer {
    text-align: center;
    padding: 20px;
    font-size: 12px;
    color: #666;
    margin-top: auto;
}

html[data-theme="dark"] footer {
    color: #b0b0b0;
}
