input[type="range"]::-webkit-slider-thumb { background: var(--spectra-mint-green); }
input[type="range"]::-moz-range-thumb { background: var(--spectra-mint-green); }
input[type="range"]::-ms-thumb { background: var(--spectra-mint-green); }

input.darker-slider::-webkit-slider-runnable-track { background: var(--sidebar-grey); }
input.darker-slider::-moz-range-track { background: var(--sidebar-grey); }
input.darker-slider::-ms-track { background: var(--sidebar-grey); }

.form-check-input:checked {
    background: var(--spectra-mint-green);
    border-color: var(--spectra-mint-green);
}


/* ##### Settings ##### */
#videoMainWindow{
    height: auto !important;
    display: block;
}

#cameraSelect {
    text-align: center;
}

#input-container {
    display: grid;
    grid-template-columns: auto 1fr 1fr;
    gap: 0.2rem;
    align-items: center;
}

.input-pair {
    display: contents;
}

.input-pair label {
    text-align: right;
    white-space: nowrap;
    font-size: 0.7rem;
    padding-right: 0.25rem;
}

.input-pair input {
    width: 100%;
    padding: 2px 4px;
    font-size: 0.7rem;
    height: 1.5rem;
    box-sizing: border-box;
}


.input-header {
    display: grid;
    grid-template-columns: auto 1fr 1fr;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.input-header div {
    font-weight: bold;
    text-align: center;
}


/* ##### Main Graph ##### */
#graphCanvasWindow {
    width: 100%;
    aspect-ratio: 1280 / 550;
    position: relative;
    display: flex;
    flex-direction: column;
    background-color: white;
    overflow: hidden;
}

#graphCanvas {
    width: 100%;
    height: calc(100% - 50px); /* subtract black box height */
    display: block;
}

.ParentElement {
    position: relative;
    height: 50px; /* fixed height */
    flex-shrink: 0;
}

#blackBox {
    width: 100%;
    height: 100%;
    background-color: black;
}

#stripeCanvas {
    position: absolute;
    top: 0;
    left: 30px;
    right: 30px;
    height: 100%;
    width: calc(100% - 60px);
    z-index: 2;
    pointer-events: none;
}


/* ##### Calibration Graph ##### */
#graphWindowCalibration {
    width: 100%;
    max-height: 100%;
    aspect-ratio: 896 / 455;
    box-sizing: border-box;
}

#graphCalibration {
    width: 100%;
    height: 100%;
    display: block;
}


/* ##### Long exposure popup ##### */
.recording-toast {
    position: fixed;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1050;
    transition: top 0.6s ease-in-out;
    pointer-events: none;
}

.recording-toast.show {
    top: 20px;
    pointer-events: auto;
}

#cameraRecordingIsOnWindows {
    max-width: 500px;
    width: 100%;
    text-align: center;
}