:root {

    --black: #202020;
    --dark-grey: #606060;
    --grey: #a8a8a8;
    --light-grey: #e0e0e0;
    --off-white: #f4f4f4;
    --white: #ffffff;
    --purple: #786ad4;

    --dark-red: #800000;
    --red: #d80000;
    --yellow: #e8d000;
    --light-yellow: #fff8c8;
    --green: #00c800;
    --dark-green: #008000;
}

html { scroll-behavior: smooth; }

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-size: 12px;
    font-weight: 400;
    line-height: 1;
    color: var( --black );
    background-color: var( --off-white );
}

strong { font-weight: 600; }
em { font-style: italic; }

code, .code { font-family: monospace; }

ul, ol, p, table { 
    margin-bottom: 1em;
    line-height: 1.25;
}

ul, ol { margin-left: 2em; }

ul { list-style-type: disc; }
ol { list-style-type: decimal; }

h1 { 
    margin-bottom: 15px;
    padding-bottom: 7px;
    font-size: 1.75em;
    font-weight: 300;
    color: var( --dark-grey );
    border-bottom: 1px solid var( --grey );
}

/* -------- Setup ---------------------------------------------------------------- */

#setup-wrapper {
    display: flex;
    justify-content: center;
}

#setup-items {
    width: 100%;
    max-width: 700px;
    margin-top: 10vh;
}

#setup-header {
    display: flex;
    justify-content: center;
    padding: 30px 0;
}

#setup-content {
    padding: 30px;
    background-color: var( --white );
    box-shadow: 0 0 5px 0 var( --dark-grey );
}

/* -------- Forms ---------------------------------------------------------------- */

input, select, textarea, button, .button {
    height: 28px;
    margin: 0;
    padding: 0;
    font-family: inherit;
    font-size: inherit;
    font-weight: 400;
    font-style: normal;
    color: var( --black );
    line-height: 1;
    border-radius: 3px;
}

input, select, textarea {
    padding: 0 5px;
    border: 1px solid var( --grey );
    background-color: var( --white );
    box-shadow: inset 0 0 5px 0 var( --grey );
}

input, textarea { width: 100%; }

textarea { padding: 5px; }

button, .button {
    display: inline-flex;
    align-items: center;
    padding: 0 15px;
    background-color: var( --light-grey );
    border: 1px solid var( --purple );
    color: var( --purple );
    text-decoration: none;
    text-shadow: 1px 1px 0 var( --light-grey );
    box-shadow: 0 0 2px 0 var( --grey );
    cursor: pointer;
}

button:hover, .button:hover {
    background-color: var( --off-white );
    box-shadow: 0 0 2px 0 var( --black );
}

button:active, .button:active {
    box-shadow: 0 0 0 0 var( --black );
}

label { font-weight: 600; }

.form-footer {
    display: flex;
    justify-content: flex-end;
    margin: 0;
}

th {
    width: 20%;
    padding: 20px 0;
    text-align: left;
}
td {
    padding: 0 7px;
}

td.description {
    width: 40%;
    vertical-align: middle;
}

#pass-wrap { 
    display: flex;
    gap: 2px;
}
#pass-toggle {
    display: flex;
    justify-content: center;
    align-items: center;
    aspect-ratio: 1 / 1;
    padding: 0;
}
#pass-message {
    margin: 0;
    padding: 5px;
    background-color: var( --light-yellow );
    list-style-type: none;
    border-radius: 3px;
}

#pass-message i { font-size: 10px; }
#pass-message .valid { color: var( --green ); }
#pass-message .invalid { color: var( --red ); }
