:root {
    --color-text: #e8e8e8;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 1em;
    background-color: #202126;
    color: var(--color-text);
    font-family: "Roboto", sans-serif;
}

.control-container {
    display: flex;
    flex-direction: column;
    gap: 1em;
    width: 100%;

    > textarea {
        background-color: transparent;
        border: solid 1px var(--color-text);
        color: inherit;
        font-size: 1em;
        min-width: 100%;
        max-width: 100%;
        height: 30vh;
        padding: 0.5em 0.8em;
        border-radius: 4px;
    }

    > .buttons {
        width: 100%;
        display: flex;
        gap: 1em;
        > button {
            width: 100%;
            border: none;
            padding: 0.5em 0.8em;
            border-radius: 4px;
            background-color: #323542;
            color: var(--color-text);
            cursor: pointer;
            &:hover {
                background-color: #3d4051;
            }
        }
    }
}

#joblist {
    margin-top: 1em;
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 0.5em;

    > span {
        width: 100%;
        padding: 0.5em 0.8em;
        border-radius: 4px;
    }
}

.status-enqueued {
    background-color: #939238;
}

.status-started {
    background-color: #386693;
}

.status-finished {
    background-color: #3c9338;
}

.status-error {
    background-color: #8c1e1e;
}
