* {
    margin: 0;
    padding: 0;
    font-family: sans-serif;
    list-style: disc;
}

body {
    background-color: #eee;
    overflow: hidden;
}

.panel {
    min-width: 200px;
    min-height: 100px;
    top: 10px;
    left: 10px;
    position: fixed;
    border-color: #5555;
    border-width: 1px;
    border-style: solid;
    box-shadow: 1px 1px 5px 2px #0004;
    border-radius: 2px;
    user-select: none;
    background-color: #333338dd;
    backdrop-filter: blur(2px);
    padding: 2px;
    overflow: hidden;
}

.panel-title {
    width: calc(100% - 10px);
    height: 30px;
    padding-left: 10px;
    top: 0;
    margin-bottom: auto;
    font-size: 14px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    background-color: transparent;
    color: #fff;
    border-top-left-radius: 1px;
    border-top-right-radius: 1px;
    user-select: none;
    overflow: hidden;
}

.panel-title img {
    max-width: 100%;
    max-height: 100%;
}

.panel-title .buttons {
    display: flex;
    flex-direction: row;
}

.panel-content {
    padding: 10px;
    width: calc(100% - 20px);
    height: calc(100% - 90px);
    overflow: auto;
    scrollbar-width: thin;
    background-color: #fff;
}

.panel-options {
    width: calc(100% - 20px);
    height: 40px;
    padding: 0 10px;
    margin-top: auto;
    font-size: 14px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    background-color: #aab;
    color: #fff;
    user-select: none;
    overflow: hidden;
}

.window-button {
    width: 30px;
    height: 30px;
    background-color: transparent;
    border-style: none;
    display: flex;
    flex-direction: row;
    transition: ease-in 0.1s;
}

.close-button {
    border-top-right-radius: 1px;
}

.window-button:hover {
    background-color: #555;
    transition: ease-in 0.1s;
}

.close-button:hover {
    background-color: #c44;
    transition: ease-in 0.1s;
}

.window-button img {
    width: 16px;
    height: 16px;
    margin: auto;
}

.resizer {
    width: 15px;
    height: 15px;
    background: transparent;
    position: absolute;
    right: 0;
    bottom: 0;
    cursor: nwse-resize;
}

main .background {
    display: flex;
    flex-direction: row;
    width: 100vw;
    height: 100vh;
    background-color: #888;
    user-select: none;
}

main .background h1 {
    margin: auto;
    color: #555;
}

form {
    display: flex;
    flex-direction: column;
    width: 300px;
    margin: 15px auto;
    padding: 12px;
    border-radius: 10px;
    background-color: #eef3ff;
    border-style: solid;
    border-width: 1px;
    border-color: #dde3ee;
}

.form-field {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-bottom: 10px;
}

.form-field input[type=username],
.form-field input[type=password] {
    width: 150px;
    margin-left: auto;
    padding: 2px 3px;
    border-radius: 3px;
    border-color: #8888;
    border-style: solid;
    border-width: 1px;
}

.form-field label {
    font-size: 14px;
    color: #333;
}

.form-field input[type=username]:focus,
.form-field input[type=password]:focus {
    outline-style: solid;
    outline-color: #cccccc88;
    outline-width: 1px;
}

.panel-options button,
.panel-content button,
.fancy-button {
    padding: 5px 10px;
    border-radius: 3px;
    border-style: solid;
    border-width: 1px;
    border-color: #2238;
    font-size: 14px;
    font-weight: 500;
    background-color: #eee;
    background-image: linear-gradient(to bottom, #fff, #ccc);
    color: #333;
    box-shadow: 0 0 3px 0px #0002;
    cursor: pointer;
}

.panel-options button:hover,
.panel-content button:hover,
.fancy-button:hover,
.panel-options button:focus,
.panel-content button:focus,
.fancy-button:focus {
    box-shadow: none;
    background-color: #ccc;
    background-image: linear-gradient(to bottom, #eee, #bbb);
}

.panel-options button:active,
.panel-content button:active,
.fancy-button:active {
    box-shadow: none;
    background-color: #ccc;
    background-image: linear-gradient(to bottom, #ddd, #bbb);
    border-color: #0005;
    box-shadow: 0 0 5px 5px #0002 inset;
}

.incorrect-text {
    font-weight: 500;
    color: #e44;
    font-size: 12px;
    margin: 0 auto;
}

.terminal-area {
    all: unset;
    background-color: transparent;
    color: #fff;
    font-family: monospace;
    padding: 10px;
    width: 100%;
    height: calc(100% - 20px);
    overflow-x: hidden;
    overflow-y: auto;
    cursor: text;
    resize: vertical;
    font-size: 13px;
    user-select: text;
    display: block;
}

.terminal-area span,
.terminal-area div,
.terminal-area p {
    font-family: monospace !important;
    color: #eee;
    background-color: transparent;
}

.terminal-area:focus {
    all: unset;
    background-color: #003;
    color: #eee;
    font-family: monospace;
    padding: 10px;
    width: 100%;
    height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    cursor: text;
    font-size: 13px;
}

.terminal-area::selection {
    background-color: #eee;
    color: black;
}

.command-input {
    background-color: transparent;
    border-style: none;
    color: #eee;
    font-family: monospace;
    font-size: 13px;
    width: 100%;
}

.command-input:focus {
    all: unset;
    color: #eee;
    font-size: 13px;
    font-family: monospace;
}

h5 {
    color: #88a;
    font-weight: 500;
    font-size: 12px;
}

label {
    font-size: 13px;
    color: #333;
    font-weight: 600;
}

.database-list {
    margin-left: 16px;
}

.database-list li a {
    font-size: 14px;
    color: #333;
    font-weight: 600;
    text-decoration: none;
}

.database-list li a:hover {
    text-decoration: underline;
}

header {
    top: 0;
    left: 0;
    display: flex;
    flex-direction: row;
    background-color: #000;
    width: 100vw;
    height: 32px;
    box-shadow: 0 0 5px 5px #0008;
    z-index: 32768;
    justify-content: space-between;
    align-items: center;
    color: #fff;
}