/* stylelint-disable plugin/selector-bem-pattern -- the OdaSummaryScreen uses Bootstrap tabs and isn't pure SUIT */

/* AR: this is all for adding the scrollbar */
.OdaSummaryScreen,
.OdaSummaryScreen .tabs {
    height: 100%;
}

.OdaSummaryScreen .tabs {
    display: flex;
    flex-direction: column;
}

.OdaSummaryScreen .tab-content {
    overflow-y: auto;
}

.OdaSummaryScreen .tabs .nav-item {
    width: 50%;
}

/* AR: scrollbar end */

.OdaSummaryScreen {
    color: var(--text-color);
}

/* GanttSidebarSection overrides */
.OdaSummaryScreen .GanttSidebarSection {
    border-bottom: 1px solid var(--border-color);
}

.OdaSummaryScreen .GanttSidebarSection-header {
    line-height: 1;
}

.OdaSummaryScreen .GanttSidebarSection-headerRight {
    gap: 8px;
}

.OdaSummaryScreen .GanttSidebarSection--collapsible .GanttSidebarSection-header {
    padding-left: 2px;
}

.OdaSummaryScreen .GanttSidebarSection-collapseButton {
    margin-right: 4px;
}

.OdaSummaryScreen .GanttSidebarSection--collapsible .GanttSidebarSection-content {
    padding-left: 25px;
}

/* END: GanttSidebarSection overrides */

/* AR: Bootstrap doesn't offer a dark mode for the popover so we'll MAKE it happen */
.OdaSummaryScreen-popover {
    background-color: #4c5057;
    border: 1px solid rgb(255 255 255 / 20%);
    color: white;
}

.OdaSummaryScreen-popover .arrow::before {
    border-bottom-color: rgb(255 255 255 / 25%);
    border-top-color: rgb(255 255 255 / 25%);
}

.OdaSummaryScreen-popover .arrow::after {
    border-bottom-color: #4c5057;
    border-top-color: #4c5057;
}

.OdaSummaryScreen-popover .popover-body {
    color: inherit;
}

/* END Bootstrap popover override */

/* This is so the tab hover highlight is not covered by the donut's white background */
.OdaSummaryScreen .d-tabs .nav-item .nav-link:not(.active) .PercentageDonutChart {
    background-color: rgb(0 0 0 / 0%);
}

.OdaSummaryScreen .d-tabs .nav-tabs {
    padding-left: 15px;
    padding-right: 15px;
}

.OdaSummaryScreen .d-tabs .nav-item .nav-link {
    padding-left: 0;
    padding-right: 0;
}
