@font-face {
    font-family: 'Lexend';
    src: url('/static/fonts/LexendVariableWeight.ttf') format('truetype');
    font-weight: 100 900;
    font-style: normal;
}


body {
    font-family: 'Lexend', sans-serif;
    font-size: 16px;
    color: #212121;
    background-color: #ffffff;
    margin: 0;
    touch-action: none;
    -webkit-tap-highlight-color: transparent;
    -webkit-font-smoothing: antialiased;
    user-select: none;  
    -webkit-user-select: none;
}

html {
    touch-action: none;
}

button,
a,
input,
textarea,
select,
label {
    touch-action: auto;
}

button {
    border-radius: 0;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background: none;
    border: none;
    outline: none;
    cursor: pointer;
}

#app {
    /*Vars */
    --bottom-bar-height: 160px;
    --scroll-panels-height: calc(100vh - var(--bottom-bar-height));
}

#app {
    height: 100vh;
    overflow: hidden;
}


.scroll-panels {
    height: var(--scroll-panels-height);
    overflow: hidden;
}

.bottom-bar {
    height: var(--bottom-bar-height);
    background-color: #ffffff;
    display: flex;
    align-items: center;
    flex-direction: row;
    padding: 15px 35px;
    box-sizing: border-box;
    justify-content: space-between;
}

.logo-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.logo-container img {
    width: 220px;
}

#dropdowns-container {
    display: flex;
    justify-content: space-between;
    align-items: end;
}


/* DROPDOWN */

.dropdown-container {
    padding: 15px 20px;
    border-radius: 21px;
    box-shadow: 0px 7px 17px 0px rgba(0, 0, 0, 0.20), 0px 1px 3px 0px rgba(0, 0, 0, 0.25);
    cursor: pointer;
    width: 220px;
    position: relative;
    box-sizing: border-box;
    user-select: none;
    -webkit-user-select: none;
    transition-duration: 0.3s;
}

.dropdown-container:hover {
    box-shadow: 0px 3px 12px 0px rgba(0, 0, 0, 0.20), 0px 1px 3px 0px rgba(0, 0, 0, 0.25);
}

.dropdown-current-selection {
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    width: 90%;
    font-weight: 500;
}

.dropdown-title {
    text-transform: uppercase;
    font-size: 14px;
    font-weight: 500;
    color: #acacac;
    margin-bottom: 4px;
}

.dropdown-chevron {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    background-image: url('/static/images/icons/chevron-down.svg');
    background-size: 100%;
    width: 20px;
    height: 20px;
    transition-duration: 0.3s;
}

.dropdown-chevron.open {
    transform: translateY(-50%) rotate(180deg);
}

.list-container {
    border-radius: 21px;
    box-shadow: 0px 3px 17px 0px rgba(0, 0, 0, 0.20), 0px 1px 3px 0px rgba(0, 0, 0, 0.25);
    cursor: pointer;
    width: 220px;
    position: absolute;
    background: #fff;
    z-index: 100;
    max-height: 300px;
    min-height: 60px;
    bottom: 91px;
    transition-duration: 0.3s;
    overflow-y: auto;
    height: 300px;
}

.list-container.hidden {
    /* display: none; */
    height: 0px;
    opacity: 0;
    pointer-events: none;
}

.list-container .list-item {
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    padding: 17px 20px;
    border-bottom: 1px solid #e4e4e4;
}

.list-container .list-item:first-child {
    padding-top: 20px;
}
.list-container .list-item:last-child {
    border-bottom: none;
    padding-bottom: 20px;
}

.list-container .list-item:hover {
    background-color: #f5f5f5;
}

.dropdown-component {
    position: relative;
    padding-right: 20px;
}


div#graph-panel {
    height: 100%;
    width: 100%;
}

.sensor-seal-demo-graph {
    width: 100%;
    height: 100%;
}

.graph-canvas {
    width: 100%;
    height: 100%;
}

#error-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #ffffff;
    font-size: 18px; 
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    z-index: 1000;
    padding: 30px;
    box-sizing: border-box;
}