/* ┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
 * ┃ ██████ ██████ ██████       █      █      █      █      █ █▄  ▀███ █       ┃
 * ┃ ▄▄▄▄▄█ █▄▄▄▄▄ ▄▄▄▄▄█  ▀▀▀▀▀█▀▀▀▀▀ █ ▀▀▀▀▀█ ████████▌▐███ ███▄  ▀█ █ ▀▀▀▀▀ ┃
 * ┃ █▀▀▀▀▀ █▀▀▀▀▀ █▀██▀▀ ▄▄▄▄▄ █ ▄▄▄▄▄█ ▄▄▄▄▄█ ████████▌▐███ █████▄   █ ▄▄▄▄▄ ┃
 * ┃ █      ██████ █  ▀█▄       █ ██████      █      ███▌▐███ ███████▄ █       ┃
 * ┣━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┫
 * ┃ Copyright (c) 2017, the Perspective Authors.                              ┃
 * ┃ ╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ┃
 * ┃ This file is part of the Perspective library, distributed under the terms ┃
 * ┃ of the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ┃
 * ┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛
 */

perspective-viewer {
    flex: 1;
    overflow: visible;
    margin-left: 60px;
}

perspective-viewer[theme="Pro Light"],
perspective-viewer[theme="Pro Dark"] {
    --psp-charts--gradient--background: linear-gradient(
        #000 0%,
        #94d0ff 50%,
        #8795e8,
        #966bff,
        #ad8cff,
        #c774e8,
        #c774a9,
        #ff6ad5,
        #ff6a8b,
        #ff8b8b,
        #ffa58b,
        #ffde8b,
        #cdde8b,
        #8bde8b,
        #20de8b
    );
}

#app {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #f2f4f6;
}

#controls {
    display: flex;
    /* padding: 12px; */
    border-bottom: 1px solid #ababab;
}

#controls2 {
    position: absolute;
    left: 0;
    width: 60px;
    bottom: 0;
    top: 40px;
}

.range {
    position: relative;
    display: inline-flex;
    flex-direction: column;
    margin-right: 24px;
}

.range.xl {
    width: 200px;
}

.range.right {
    float: right;
}

span,
input,
button {
    font-family:
        "ui-monospace", "SFMono-Regular", "SF Mono", "Menlo", "Consolas",
        "Liberation Mono", monospace;
    font-size: 12px;
    background: none;
    margin: 0px;
    border-color: #ccc;
    color: #666;
    padding: 6px 12px 6px 0px;
}

span {
    font-size: 10px;
}

input {
    border-width: 0px;
    border-style: solid;
    border-bottom-width: 1px;
    color: inherit;
    outline: none;
    padding: 0px;
}

input[type="number"] {
    font-family:
        "ui-monospace", "SFMono-Regular", "SF Mono", "Menlo", "Consolas",
        "Liberation Mono", monospace;
}

input:focus {
    border-color: #1a7da1;
}

input::placeholder {
    color: #ccc;
}

button {
    border: 0px solid #ccc;
    border-right-width: 1px;
    text-transform: uppercase;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    padding-left: 12px;
    height: 28px;
    outline: none;
}

button:hover {
    cursor: pointer;
}

#run {
    justify-self: center;
    margin-right: 24px;
    height: 50px;
    width: 60px;
}

#run:disabled {
    /* opacity: 0.2; */
    color: #ccc;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    pointer-events: all;
    width: 6px;
    height: 24px;
    background-color: #fff;
    border-radius: 0px;
    box-shadow: 0 0 0 1px #c6c6c6;
    cursor: pointer;
}

input[type="range"]::-moz-range-thumb {
    -webkit-appearance: none;
    appearance: none;
    pointer-events: all;
    width: 6px;
    height: 24px;
    background-color: #fff;
    border-radius: 0px;
    box-shadow: 0 0 0 1px #c6c6c6;
    cursor: pointer;
}

input[type="range"]::-webkit-slider-thumb:hover {
    background: #f7f7f7;
}

input[type="range"]::-webkit-slider-thumb:active {
    box-shadow:
        inset 0 0 3px #387bbe,
        0 0 9px #387bbe;
    -webkit-box-shadow:
        inset 0 0 3px #387bbe,
        0 0 9px #387bbe;
}
/* 
input[type="number"] {
    color: #8a8383;
    width: 50px;
    height: 30px;
    font-size: 20px;
    border: none;
} */
/* 
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    opacity: 1;
} */

input[type="range"] {
    -webkit-appearance: none;
    appearance: none;
    height: 2px;
    width: 100%;
    position: absolute;
    background-color: #c6c6c6;
    pointer-events: none;
    padding: 0;
    top: 25px;
    width: 200px;
}

#ymin,
#xmin {
    z-index: 1;
}

#ymin,
#ymax {
    /* -webkit-appearance: slider-vertical; */
    transform: rotate(-90deg);
    transform-origin: top left;
    top: 220px;
    left: 30px;
}
