@import url('https://fonts.googleapis.com/css2?family=Source+Serif+4:ital,opsz,wght@0,8..60,200..900;1,8..60,200..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&family=Source+Serif+4:ital,opsz,wght@0,8..60,200..900;1,8..60,200..900&display=swap');

:root {
    --background-gray: #ebebeb;
    --background-gray-light: #f5f5f5;
    --border-gray: #d3d3d3;
    --border-gray-dark: #727272;
    --text-secondary: #585858;
}

body {
    padding: 0;
    margin: 0;
    /* background-color: red; */
    /* color: white; */
    background-color: var(--background-gray);
    /* font-family: -apple-system, BlinkMacSystemFont, sans-serif; */
    font-family: "Open Sans", sans-serif;
}


h1,
h2,
h3,
h4 {
    font-family: 'Source Serif 4';
    font-weight: 600;
    padding: 0;
    margin: 0;
}

h1 {
    font-size: 1.8em;
    padding: 0;
    margin: 0;
    color: #2b2b2b;
}

hr {
    background-color: var(--border-gray);
    border: 1px solid var(--border-gray);
}

.content-container {
    /* padding: 0 10px; */
    margin: 0px 0px;
    /* border-radius: 12px; */
    background-color: var(--border-gray-dark);
    column-gap: 1px;
    border: 1px solid var(--border-gray-dark);
    display: grid;
    grid-template-rows: auto 1fr;
    grid-template-columns: 1fr 4fr;
    overflow: hidden;
}

.content-container>* {
    background-color: white;

}

#_pages_content {
    width: 100%;
    height: 100%;
}

#header {
    padding: 0;
    margin: 0.2rem 1.2rem;
    margin-top: 0.2rem;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: baseline;
}

#map-container {
    border-right: 1px solid var(--border-gray);
    height: 100%;
}


#footer {
    /* padding: 1rem; */
    margin: 1rem;
}

#map {
    height: 100%;
    padding: 9px;
}


#sidebar {
    padding: 1rem 1rem;
    overflow-y: auto;
}

.text-secondary {
    font-size: 1.0rem;
    color: var(--text-secondary);
}

.predictions {
    display: grid;
    row-gap: 1px;
    column-gap: 1px;
    background-color: var(--border-gray-dark);
    grid-template-columns: 550px 1fr;
    height: 100%;
}

#predictions-output {
    height: 100%;
}

.predictions-column {
    /* display: grid; */
    row-gap: 1px;
    display: flex;
    height: 100%;
    flex-direction: column;
    background-color: var(--background-gray);

}

.banner {
    font-weight: 500;
    background-color: var(--background-gray);
    text-align: center;
    padding: 2rem 4rem;
    margin-top: 1rem;
    border-radius: 8px;
}

.value-display {
    padding: 0.1rem 0.1rem;
    margin: 0.1rem;
    border: 1px solid var(--border-gray);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;

    .label {
        /* background-color: red; */
        font-size: 14px;
        font-weight: 600;
    }

    .sublabel {
        /* background-color: red; */
        font-size: 12px;
        font-weight: 400;
    }

    .number {
        font-weight: bold;
        font-size: 1.2rem;
    }

    .unit {
        margin-left: 0.2rem;
        width: 0px;
        color: var(--text-secondary)
    }
}



.data-input {
    /* background-color: ; */
    display: grid;
    grid-template-rows: auto auto 1fr;
    row-gap: 1px;
    background-color: var(--border-gray);
    height: 100%;
    padding: 0;
    margin: 0;
}




.data-input-container {
    border-right: 1px solid var(--border-gray);
}


.category-title {
    border-bottom: 0.5px solid var(--border-gray);
    font-weight: 500;
    padding: 4px 8px;
}

.input-field {
    width: 100%;
}

.input-field .title {
    /* font-weight: 600; */
    padding-left: 8px;
    padding-bottom: 4px;
    color: var(--text-secondary);
}

.cell-header {
    font-size: 16px;
    font-weight: 600;
    width: 100%;
    padding: 8px;
    /* text-align: center; */
    /* color: var(--); */

    background-color: var(--background-gray-light);
    color: black;
    /* font-family: monospace; */
    /* text-transform: capitalize; */
    /* background-color: white;s */
    /* text-decoration: underline; */
}

.cell-title {
    font-weight: 500;
    width: 100%;
    position: relative;
    font-size: 14px;
    padding: 4px 12px;
    /* left: -8px; */
    color: var(--text-secondary);
    background-color: var(--background-gray-light);
    /* font-family: monospace; */
    /* text-transform: uppercase; */
    display: flex;
    flex-direction: row;
}

.cell-subtitle {
    font-size: 14px;
    text-transform: initial;
    display: inline-block;
    margin-left: 0.5rem;
}

.cell {
    /* padding: 8px 8px; */
    /* width: 100%; */
    /* max-width: 100%; */
    /* height: 100%; */
    background-color: white;
}

.cell-content {
    padding: 0.5em 1.0em;
    height: 100%;
}

.dash-input {
    width: 100%;
}

/* Button Selector Styles */
.button-selector-container {
    width: 100%;
}

.selector-title {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 8px;
    font-weight: 500;
}

.button-selector-group {
    width: 100%;
}

.btn-selector {
    padding: 4px 12px;
    border: 1px solid var(--border-gray);
    background-color: white;
    color: #333;
    cursor: pointer;
    border-radius: 3px;
    font-size: 14px;
    font-weight: 500;
    min-width: 40px;
    text-align: center;
}

.btn-selector:hover {
    background-color: var(--background-gray);
    border-color: var(--border-gray-dark);
}

.btn-selector-active {
    background-color: #000000;
    color: white;
    border-color: #000000;
}

.btn-selector-active:hover {
    background-color: #333333;
    border-color: #333333;
}

.btn-selector-inactive {
    background-color: white;
    color: #333;
}

/* Month selector specific styling */
.month-selector-group {
    max-width: 100%;
}

/* Day selector specific styling */
.day-selector-group {
    justify-content: flex-start;
}

.column-scroll-container {
    /* background-color: blue; */
    height: 100%;
    overflow-y: auto;
    z-index: 100;
    position: relative;

    box-shadow: 0px 0px 10px var(--border-gray-dark) inset;

    .column-scroll-container-content {
        /* background-color: red; */
        /* padding: 4px; */
        z-index: 90;
        height: 0;

        > :last-child {
            min-height: 100vh;

        }
    }
}