#main {
    padding: 0;
    margin: 0;
    height:90vh;
    width:100%;
}

#main-body {
    padding: 0;
    margin: 0;
}

.dropdown-menu {
    min-width:inherit;
  }


.row svg {
    background-color: white;
    width: 100%;
    height: 90vh;
    margin-left: auto;   
}

#sidebar {
    background-color: #F8F9FA;
    border: 2px solid #6c757d;
    padding: 8px;
    overflow-y: auto;
}

#sidebar-sections {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* Bordered blocks keep the sidebar layout readable and easy to scan. */
.sidebar-panel {
    border: 1px solid #adb5bd;
    background-color: #fff;
    padding: 8px;
}

.sidebar-inline-panel {
    display: flex;
    gap: 8px;
    align-items: stretch;
}

.sidebar-inline-item {
    border: 1px solid #ced4da;
    padding: 6px;
    background-color: #f8f9fa;
}

.sidebar-toggle-panel {
    display: flex;
    align-items: center;
    /* Keep the toggle panel only as wide as its label and switch so the chart gets the remaining space. */
    flex: 0 1 fit-content;
    white-space: nowrap;
}

.sidebar-toggle-panel .switch {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.sidebar-toggle-panel .toggle-word {
    display: block;
    text-align: center;
    line-height: 1.1;
}

.sidebar-chart-panel {
    flex: 1 1 0;
    min-width: 0;
}

.sidebar-section-label {
    font-size: 8pt;
    font-weight: bold;
    margin-bottom: 4px;
}


#secondary {
    background-color: #F8F9FA;
    padding: 0;
    margin: 0;
    height:10vh;
    width:100%;
}

.tooltip {
    position: absolute;
  }

  /* #sidebar span::after {
    content: '    ';
  } */

.participant-list-elements-multi {
    font-size: 6pt;
    font-weight: bold;
}

.participant-list-elements-multi:not(:first-child) {
    margin-left: 10px;
}

.participant-list-elements-single {
    font-size: 6pt;
    margin-left: 10px;
}

#seminar-title {
    font-weight:bold;
}

#seminar-date {
    font-size: 8pt;
    color: #444;
    margin-bottom: 1em;
}

#seminar-description {
    margin-top: 1em;
    font-size: 8pt;
    height: 300px;
    overflow-y: scroll;
}

.seminar-impacts-heading {
    margin-top: 1em;
    font-weight: bold;
}

.seminar-impacts-list {
    padding-left: 1.2em;
    margin: 0.3em 0 0;
}

.seminar-impacts-list a {
    word-break: break-all;
}

.bootstrap-select {
    width: 100px !important; 
}

#svgBrush {
    width: 100%;
}

#dateSpan {
    width: 100%;
    text-align: center;
    margin: 4px 0 0 0;
    font-size: 8pt;
}

.stat-panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
}

.stat-panel-title {
    margin-bottom: 0;
}

.stat-section + .stat-section {
    margin-top: 10px;
}

.stat-section-heading {
    font-size: 8pt;
    font-weight: bold;
    margin-bottom: 4px;
}

.stat-row {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    font-size: 8pt;
}

.stat-row-indent {
    padding-left: 12px;
    color: #666;
}

.stat-label {
    color: #444;
}

.stat-value {
    text-align: right;
    font-weight: bold;
}
