html {
    padding: 50px 0;
}

html,
body {
    height: 100%;
}

body {
    font-family:
        Helvetica Neue,
        Helvetica,
        Arial,
        sans-serif;
    background: radial-gradient(
            100% 400% at 100% 50%,
            #ddd 0%,
            rgb(253, 253, 253) 50%,
            rgb(0, 35, 162) 100%
        )
        right 0% / 400% 100% no-repeat;
}

ul {
    list-style-type: none;
    width: 500px;
    margin: 0 auto;
    padding: 0 20px;
}

ul li {
    text-align: left;
    display: flex;
    justify-content: space-between;
    position: relative;
    line-height: 1.4em;
    margin: 15px 0;
    gap: 20px;
}

ul li p {
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

ul li::before {
    content: "📁";
    position: absolute;
    left: -21px;
    top: 1px;
}

progress {
    width: 300px;
    margin: 20px 0 0;
}

#dropArea.highlight {
    border-color: #007aff;
}

#app {
    background: radial-gradient(
            100% 400% at 100% 50%,
            rgb(255, 199, 0) 0%,
            rgb(255, 237, 171) 30%,
            rgb(255, 237, 171) 50%
        )
        right 0% / 400% 100% no-repeat;
    padding: 20px 30px;
    border-radius: 15px;
    width: 620px;
    margin: 0 auto;
    text-align: center;
}

#dropArea {
    margin: 0 auto;

    border: 2px dashed transparent;
    background: #fff;
    border-radius: 15px;
    width: 500px;
    padding: 20px 20px 30px;

    background: #fff 0%;
}

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

input[type="file"] {
    color: #999;
    width: 250px;
}

button,
input[type="file"] {
    display: block;
    margin: 20px auto;
    font-size: 16px;
}

.bold {
    font-weight: bold;
    text-transform: uppercase;
}

button:disabled,
button:disabled:hover {
    background: #ddd;
    border-color: #777;
    color: #313131;
    cursor: auto;
}

button,
input[type="file"]::file-selector-button {
    padding: 8px 16px;
    background: #000;
    cursor: pointer;
    border-radius: 5px;
    border: 1px solid #000;
    color: #fff;
}

button:hover,
input[type="file"]::file-selector-button:hover {
    background: #313131;
    transition: all 0.2s ease;
}
