﻿.search-bar {
    background-color: white;
    margin-left: calc(50% - 20em);
    border-radius: 5px;
    width: 40em;
    line-height: 2em;
    margin-bottom: 2em;
    margin-top: 1em;
}

.search-bar-field {
    margin-top: 0.25em;
    font: 14pt Verdana;
    color: #888;
    background: transparent;
    border: 0;
    width: 29em;
}

.search-bar-button {
    position: absolute;
    height: 2em;
    width: auto;
    padding-top: 0.25em;
}

.search-result-table {
    align-content: center;
    overflow-x: hidden;
    /*background-color: dimgray;*/
    width: 100%;
    font-size: 12px;
}

/* Split the screen */
.search-filter {
    width: 15%;
    overflow-x: hidden;
    padding-top: 1.5em;
    padding-left: 0.5em;
    color: white;
}

.search-filter {
    margin-left: 1em;
    color: white;
}

.search-title {
    margin: 5em 0 0 1em;
    font-weight: bold;
}

/*Slider to navigate between Current and History database*/
.switch-container {
    position: absolute;
    top: 10px;
    right: 15px;
    display: flex;
    align-items: center;
    flex-direction: row;
    gap: 15px;
}

.side-label {
    font-size: 16px;
    font-weight: bold;
    transition: opacity 0.3s ease;
    color: white;
}

.switch {
    position: relative;
    display: inline-block;
    width: 5em;
    height: 2em;
}

    .switch input {
        opacity: 0;
        width: 0;
        height: 0;
    }

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #2196F3;
    transition: .4s;
    border-radius: 34px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

    .slider:before {
        position: absolute;
        content: "";
        height: 1.25em;
        width: 1.25em;
        left: 5px;
        bottom: 5px;
        background-color: white;
        transition: .4s;
        border-radius: 50%;
    }

input:checked + .slider {
    background-color: #2196F3;
}

    input:checked + .slider:before {
        transform: translateX(42px);
    }

.mode-status {
    margin-top: 20px;
    text-align: center;
    font-size: 18px;
    transition: .4s;
}