:root {
    --body-color: #202020;
    --body-bg: #ffffff;

    --light-purple: #c840c8;
    --purple: #800080;
    --dark-purple: #600060;
    --blue: #2d89ef;
    --dark-blue: #2b5797;
    --light-yellow: #fff8c0;
    --yellow: #ffc40d;
    --orange: #e3a21a;
    --green: #00a300;
    --dark-green: #1e7145;
    --red: #ee1111;
    --white: #ffffff;
    --light-grey: #f0f0f0;
    --grey: #d8d8d8;
    --dark-grey: #707070;
    --black: #202020;
}

html { scroll-behavior: smooth; }

html, body { height: 100%; }

body {
    text-rendering: optimizeLegibility;
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    font-weight: 400;
    font-style: normal;
    line-height: 1;
    color: var( --body-color );
    background-color: var( --body-bg );
}

a { color: var( --blue ); text-decoration: none; }

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

p, ul, ol { margin-bottom: 1em; line-height: 1.5; }
ul, ol { margin-left: 2em; }
ul { list-style-type: disc; }
ol { list-style-type: decimal; }

h1 {
    margin: 0 0 15px;
    padding: 0 0 5px;
    font-family: 'Calibri Light', sans-serif;
    font-size: 1.5em;
    color: var( --dark-grey );
    border-bottom: 1px solid var( --dark-grey );
}

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

.warning { color: var( --red ); }

.container { width: 100%; }

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

#sb-setup { height: 100%; }

#setup-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

#setup-items {
    display: flex;
    flex-direction: column;
    gap: 30px;
    width: 90%;
    max-width: 500px;
}

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

#setup-footer {
    font-size: 12px;
    color: var( --grey );
    text-align: center;
}

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

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

input, select, textarea, button, .button {
    height: 30px;
    font-family: inherit;
    font-size: inherit;
    color: var( --body-color );
    text-decoration: none;
    background-color: transparent;
    border: none;
}

input, select, textarea { 
    padding: 0 .5em;
    color: var( --body-color );
}

input { width: 100%; }
#sb-config {
    padding: .5em;
    width: 100%;
    height: 20em;
    font-family: monospace;
    font-size: 13px;
    border: 1px solid var( --body-color );
}

button, .button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 0 20px;
    font-size: 12px;
    background-color: var( --grey );
    border: none;
    border-radius: 30px;
}

button[type="submit"] { 
    color: var( --white );
    background-color: var( --purple );
}

.pass-wrap { position: relative; }

.pass-toggle { 
    position: absolute;
    right: 0;
    width: 30px;
    padding: 0;
    color: var( --body-color );
    background-color: transparent;
}

#pass-strength { color: var( --red ); }

fieldset {
    display: flex;
    flex-direction: column;
    gap: 25px;
    padding: 15px 0;
}

dl { position: relative; }

dt { 
    position: absolute;
    z-index: 1;
    top: -7px;
}

dd {
    padding: 7px;
    background-color: var( --white ); 
    border: 1px solid var( --dark-grey );
    border-radius: 3px;
}

label {
    margin: 0 5px;
    padding: 0 4px;
    font-size: 13px;
    font-weight: 500;
    color: var( --body-color );
    background-color: var( --white );
}

.form-note {
    padding: 3px;
    font-size: 12px;
    font-style: italic;
    line-height: 1.25;
    border: none;
}

/* -------- Tables ---------------------------------------------------------------- */

table { width: 100%; }

th, td { padding: 15px 0; }

th {
    font-weight: 500;
    text-align: left;
}


/* -------- Responsiveness ---------------------------------------------------------------- */

/* Small devices (portrait tablets and large phones, 600px and up) */
@media only screen and (min-width: 600px) {

}

/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (min-width: 768px) {

}

/* Large devices (laptops/desktops, 992px and up) */
@media only screen and (min-width: 992px) {

}

/* Extra large devices (large laptops and desktops, 1200px and up) */
@media only screen and (min-width: 1200px) {
    
}