﻿/*=============================================================*/
/* Dashboard */
/*=============================================================*/
#dashboard {
    height: 0;
    display: none;
    overflow: hidden;
    flex-direction: column;
}

#dash-head {
    display: block;
    height: 30px;
    background-color: #507d7a;
    color: white;
    padding: 8px 2px 2px 16px;
    font-size: 20px;
    font-weight: bold;
    border: 1px solid darkgray;
}

.dash-close {
    float: right;
}

#dash-head:hover {
    cursor: row-resize;
}

#dash-container {
    display: flex;
    height: 100%;
    background-color: white;
    width: 100%;
    overflow: hidden;
}

#dash-nav {
    width: 175px;
    margin: 0;
    padding: 16px 16px 0px 16px;
    background-color: #f2f2f2;
    border-right: 1px solid darkgray;
    overflow-y: auto;
    flex: 0 0 175px;
}

#data-container {
    display: flex;
    overflow: hidden;
    width: 100%;
}


.btn-two {
    display: flex;
}

.dash-view-btn.active {
    border: 2px solid #507d7a !important;
    background-color: #d6e8e7 !important;
    color: #2c5250 !important;
    font-weight: bold;
}

.tab {
    overflow: hidden;
    display: flex;
    justify-content: space-between;
    padding-bottom: 16px;
}

    .tab button {
        background-color: inherit;
        float: left;
        border: solid;
        border-radius: 3px;
        border-width: 2px;
        outline: none;
        cursor: pointer;
        transition: 0.2s;
    }

        .tab button:hover {
            background-color: #ddd;
        }

        .tab button.active {
            background-color: #ccc;
            border-color: #FF0000;
        }

#dash-title {
    font-size: 19px;
    color: #507d7a;
    font-weight: bold;
    padding-bottom: 10px;
}

.dash-label {
    font-size: 1.0rem;
    font-weight: bold;
}

.dash-text {
    font-size: 0.95rem;
    margin-bottom: 12px;
    padding: 6px;
    padding-top: 4px;
}

#dash-nodata {
    flex: 1;
    display: flex;
    width: 100%;
    padding: 12px;
}

    #dash-nodata p {
        font-style: italic;
    }

.dash-chart {
    display: flex;
    overflow: hidden;
    width: 100%;
}

.dash-tab {
    display: flex;
    overflow: auto;
    width: 100%;
}

/*-------------------------------------------------------------*/
/* Dashboard Column Sections */
/*-------------------------------------------------------------*/
.chart-divider {
    display: flex;
    color: lightgray;
}

.chart-line {
    border-right: solid;
    border-color: lightgray;
    margin-top: 10px;
    margin-bottom: 10px;
}

.chart-arrow {
    margin-top: 4px;
    cursor: pointer
}

.chart-column {
    display: flex;
    flex-direction: column;
    flex: 1; 
    min-width: 0;
    transition: all 0.3s ease;
    overflow: hidden;
}

    .chart-column p {
        text-align: center;
        font-style: italic;
        margin: 24px;
    }

    .chart-column.collapsed {
        flex: 0 0 0;
        width: 0;
        opacity: 0;
        overflow: hidden;
    }

.chart-inner {
    flex: 1;
    overflow: auto;
}

.chart-table-title {
    font-size: 1.2rem;
    font-weight: bold;
    text-align: center;
    padding: 8px;
    color: #333;
}

/*-------------------------------------------------------------*/
/* Information Panel */
/*-------------------------------------------------------------*/
.attr-panel {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 12px;
    overflow-y: auto;
}

.attr-item {
    display: flex;
    flex-direction: column;
    border-left: 3px solid #507d7a;
    padding: 4px 8px;
    background-color: #f9f9f9;
}

.attr-title {
    font-size: 0.72rem;
    font-weight: bold;
    text-transform: uppercase;
    color: #666;
    letter-spacing: 0.03em;
    margin-bottom: 2px;
}

.attr-value {
    font-size: 0.98rem;
    color: #222;
    line-height: 1.4;
}