html {
    font-size: 16px;
    font-family: sans-serif;
    position: relative;
    min-height: 100%;
}

* {
    margin: 0;
    padding: 0;
}

body {
    background: #f5f5f5;
}

.uploader {
    position: absolute;
    left: 50%;
    top: 50%;
    min-width: 20%;
    transform: translate(-50%, -50%);
    background: white;
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 1rem;
    box-shadow: 0 2px 3px rgba(0, 0, 0, 0.1);

    display: flex;
    gap: 1rem;
    flex-direction: column;
}

.uploader form {
    display: flex;
    gap: 1rem;
    flex-direction: column;
}

.uploader label {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    flex-wrap: nowrap;
}

.uploader label {
    font-weight: bold;
}

.uploader label:last-child {
    flex: 1;
}

.uploader input[type="file"] {
    flex: 1;
}

button {
    padding: 0.5rem;
}

#messages {
    display: flex;
    flex-wrap: nowrap;
    flex-direction: column;
    gap: 0.5rem;
    padding: 0;
}

#messages li {
    list-style: none;
    border-radius: 5px;
    border-width: 1px;
    border-style: solid;
    padding: 0.5rem;
}

.message-error {
    background: #fbcdcd;
    border-color: #ff8d8d;
}

.message-warning {
    background: #fff4cf;
    border-color: #ffda9f;
}
