* {
    font-family: "Inter", sans-serif;
    font-optical-sizing: auto;
    box-sizing: border-box;
}

text{

    user-select: none;
    -webkit-user-select: none;
    -webkit-user-drag: none;
}

body,
html {

    min-height: 100vh;
    min-width: 100vw;
}

body {
    font-weight: 400;
    line-height: 1.5em;
    color: #1f2328;
    margin: 0;
}

img {

    user-select: none;
    -webkit-user-drag: none;
}

button,
input[type="button"],
input[type="submit"],
input[type="number"],
input[type="reset"] {
    display: inline-block;
    padding: 8px 12px;
    font-size: 13px;
    border-radius: 6px;
    border: 1px solid #d1d9e0;
    cursor: pointer;
    background-color: #f6f8fa;
    color: #1f2328;
    transition: all 0.2s ease;
    line-height: 1.2;
    user-select: none;
    box-shadow: 0px 1px 0px 0px #1f23280a;

}

input[type="number"] {

    background: white;
}

input[type="text"] {

    padding: 8px 12px;
    border-radius: 8px;
    border: 1px solid #d2d9e0;
}

/* hover + active */
button:hover,
input[type="button"]:hover,
input[type="submit"]:hover,
input[type="reset"]:hover {
    background-color: #e9ecef;
    border-color: #bbb;
}

button:active,
input[type="button"]:active,
input[type="submit"]:active,
input[type="reset"]:active {
    background-color: #dee2e6;
    border-color: #aaa;
}

button:disabled,
input:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

select {

    border-radius: 6px;
    padding: 5px 10px;
    border: 1px solid #d1d9e0;
}

.m0a{

    margin: 0 auto;
}

.page-standard{

    width: 95%;
    max-width: 1200px;
}

.flex-c{

    display: flex;
    align-items: center;
    justify-content: center;
}

.flex-sb{
    display: flex;
    justify-content: space-between;
}

.pe-n{

    pointer-events: none;
}

.danger {

    color: rgb(184, 50, 50);
}

.danger:hover {

    color: rgb(230, 74, 74);
}

.track svg {
    display: block;
}

.file_drop {

    position: relative;
    border: 2px dashed #e1e5e8;
    background: rgb(255, 255, 255);
    color: rgb(148, 148, 148);
    cursor: pointer;
    border-radius: 12px;
    margin-bottom: 20px;
}

.file_drop:hover {

    border-color: #147ff9;
}

.file_drop * {

    pointer-events: none;
}

.file_drop.dragover {

    background: rgb(174, 213, 255);
    border-color: #147ff9;
    color: #147ff9;
}

.file_drop.dragover * {

    color: #147ff9 !important;
}



.flash_message {
    position: fixed;
    left: 50%;
    transform: translate(-50%, -200%);
    min-width: 300px;
    padding: 12px 50px 12px 61px;
    border-radius: 8px;
    text-align: left;
    font-weight: 400;
    max-width:1000px;
    color: black;
    z-index: 9999;
    opacity: 0;
    transition: transform 0.35s ease, opacity 0.35s ease;
    pointer-events: auto;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 3px 0px, rgba(0, 0, 0, 0.06) 0px 1px 2px 0px;
    font-weight: 300;
    user-select: none;
    font-size: 14px;
}

.flash_message.visible {
    transform: translate(-50%, 10px);
    opacity: 1;
}

.flash_message .flash-icon{

    position: absolute;
    top: 50%;
    left: 14px;
    border: none;
    background: none;
    color: inherit;
    font-size: 25px;
    transform: translateY(-50%);
    line-height: 1;
}

.flash_message button.close-btn {
    position: absolute;
    top: 50%;
    right: 10px;
    border: none;
    background: none;
    color: #1a1a1a;
    font-size: 20px;
    line-height: 1;
    transform: translateY(-50%);
    cursor: pointer;
    opacity: 0.8;
}

.flash_message button.close-btn:hover {
    opacity: 1;
}

.flash-info {
    background-color: #e3e4e7;
}

.flash-success {
    background-color: #8ceab7;
}

.flash-warning {
    background-color: #f9de6e;
}

.flash-error {
    background-color: #c05145;
    color: white;
}

.track_drag_line:hover,
.track.vertical_resize_mode .track_drag_line {

    background: rgb(63 64 221) !important;
    opacity: 1 !important;
}

.track.vertical_resize_mode * {

    user-select: none;
}

.track {

    border-radius: 6px;
}

.track:hover {

    background: rgb(250, 250, 250);
}

.track.active {

    outline: 2px solid #2d05ff;
    outline-offset: -3px;
}

.track_drag_line {

    opacity: 0;
}

.track:hover .track_drag_line {

    opacity: 1;
}

.center-page {

    margin: 0 auto;
    width: 95%;
    max-width: 1200px;
}

.panel.file_hover::after{

    content: "Drop your data files here to load them.";
    position: absolute;
    color: white;
    pointer-events: none;
    top: 0;
    bottom: 0;
    left: 0;
    background: rgb(50 50 236 / 27%);
    right: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: lighter;
    font-size: 27px;
    border-radius: 6px;
    user-select: none;
    border: 2px dashed blue;
}



#context_menu {

    position: fixed;
    border: 1px solid #d1d9e0;
    background-color: #f6f8fa;
    padding:5px;
    color: rgb(27, 27, 27);
    font-size: 13px;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
    cursor: pointer;
    display: none;
    user-select: none;
    border-radius: 6px;
    box-shadow: rgba(0, 0, 0, 0.04) 0px 3px 5px;
}

#context_menu.show {

    display: block;
}

#context_menu .menu_option {

    padding: 2px 10px;
    border-radius: 6px;
}

#context_menu .menu_option:hover {

    background: rgb(232 233 236);
}

#context_menu .menu_option:active {

    background: rgb(27, 117, 251);
    color: white;
}