body {
    padding-top: 0px;
    padding-bottom: 20px;
    font-family: Inter, Segoe UI, 'Source Sans Pro', sans-serif;
    background: #F7F9FB;
}

.body-content {
    padding-left: 15px;
    padding-right: 15px;
}

.footer {
    padding-top: 50px;
}

.dl-horizontal dt {
    white-space: normal
}

.validation-summary-errors {
    color: red;
    font-size: 18px
}

.validation-summary-valid { display: none; }
.validation-summary-errors { display: block; }

.collapsible {
    margin-top: 20px;
    display: block;
}

table.grid-table .grid-header {
    position: relative;
    background-color: #eee;
    border: black 1px solid !important;
    padding: 5px !important;
}

.iframe-spinner {
    position: absolute;
    top: 0;
    left: 0;
    background: rgba(255,255,255,0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    width: 100%;
    height: 100%;
}

    .iframe-spinner::after {
        content: "";
        width: 40px;
        height: 40px;
        border: 5px solid #ccc;
        border-top: 5px solid #333;
        border-radius: 50%;
        animation: spin 1s linear infinite;
    }

@keyframes spin {
    0% {
        transform: rotate(0);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* begin styles for AI */
.AIFrame {
    transition: width 0.2s, height 0.2s;
    position: fixed;
    height: 150px;
    min-height: auto;
    width: 160px;
    bottom: 10px;
    border-radius: 6px;
    z-index: 2147483647;
    right: 10px;
    resize: both;
    overflow: hidden;
    background-color: white;
}

.AIResults {
    font-size: 12px;
}

.ai-result-sngl {
    font-size: 25px;
}

.ai-result-list {
    font-weight: normal;
    font-size: 16px;
}

.ai-result-table {
    font-weight: normal;
    font-size: 16px;
}

.ai-answer-highlight {
    background-color: #fffbe6;
    border: 2px solid #ffc107;
    border-radius: 8px;
    padding: 15px;
    margin-top: 20px;
    font-size: 1.2em;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.ai-prompt {
    resize: vertical;
    min-height: 160px;
    min-width: 80%
}

#btnLoadAi {
    color: black;
    background-color: #ddd;
    border: solid 1px black;
}

.api-response {
    white-space: pre-wrap;
    background: #f8f9fa;
    padding: 1rem;
    border: 1px solid #e2e3e5;
}

.RobotImg {
    vertical-align: middle;
    text-align: center;
    margin: auto;
    width: 90%
}

.promptEcho {
    color: darkblue;
    font-size: large;
    font-weight: bold;
    text-decoration: underline;
}

#thumbs-up, #thumbs-down {
    margin-right: 40px;
    border: none;
    background: none;
}

._5XUtilityTbl td, th {
    border: 1px solid silver;
    padding: 1px !important;
    font-size: 10pt;
}

#microphoneBtn {
    width: 25px;
    border: none;
    margin-right: 15px;
    outline: none;
    background: transparent;
    font-size: 36px;
}

.resize-handle {
    position: absolute;
    width: 10px;
    height: 10px;
    background: #000;
    top: 0;
    left: 0;
    cursor: se-resize;
}

.textarea-container {
    position: relative;
    display: inline-block;
}

#prompt {
    max-width: 50%;
    min-width: 400px;
    height: 120px;
    padding-right: 50px;
}

.promptPopup {
    max-width: 100% !important;
    min-width: 100% !important;
    height: 60px !important;
}

.overlay-button {
    position: absolute;
    right: 5px;
    top: 90px;
    z-index: 1;
    cursor: pointer;
}

.activeMic {
    color: red;
}

.inactiveMic:hover {
    color: red;
}

.inactiveMic {
    color: black;
}
/* end styles for AI */

.customKPIIcon {
    font-size: 50px !important;
    opacity: .3 !important;
    width: 200px;
    line-height: 70px !important;
}

input, select, textarea {
    max-width: 280px
}

.text-end {
    text-align: right !important;
}

.form-floating {
    padding-top: 20px;
}

#goals table tr th:nth-child(1) {
    width: 20%;
    max-width: 20%;
}

#goals table tr th:nth-child(2) {
    width: 60%;
    max-width: 60%;
}

#goals table tr th:nth-child(3) {
    width: 10%;
    max-width: 10%;
}

#goals table tr th:nth-child(4) {
    width: 10%;
    max-width: 10%;
}

#goals td {
    text-align: left;
    border: none
}

#cashRunway ul {
    padding: 0;
    clear: both
}

#goals h2 {
    color: #777;
    font-size: 18px
}

#cashRunway li {
    display: inline-block;
    margin: 5px;
    padding: 2px 10px;
    width: 13.5%;
    text-align: center;
    border: 1px solid #333;
    border-radius: 2px
}

table.striped > tbody > tr.grid-row:nth-of-type(odd) {
    background-color: #efecec !important;
}

table.substriped > tbody > tr.grid-row:nth-of-type(4n + 1) {
    background-color: #efecec !important;
}

.grid-itemscount {
    font-weight: bold;
}

.help {
    top: 100px;
    right: 10px;
    position: absolute;
    text-align: center;
    cursor: pointer;
    -webkit-transition: all 300ms ease;
    -moz-transition: all 300ms ease;
    -o-transition: all 300ms ease;
    transition: all 300ms ease;
}

.helpcategory {
    position: relative;
    top: -10px;
    float: right;
    right: 100px;
}

.help span {
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    border: 2px solid #777;
    color: #777;
    padding: 0 9px;
    font-weight: bold;
    border-radius: 50%;
    font-size: 30px
}


.help:hover .tool-tip {
    opacity: 1;
    z-index: 99
}

.help .tool-tipcategory {
    font-size: 10pt;
    top: 30px;
    left: 30px;
    border-top: 3px solid rgb(31, 119, 180) !important;
}

.help .tool-tip {
    padding: 0 15px 20px;
    -webkit-transition: all 300ms ease;
    -moz-transition: all 300ms ease;
    -o-transition: all 300ms ease;
    transition: all 300ms ease;
    z-index: -1;
    opacity: 0;
    background: #fff;
    cursor: auto;
    border-top: 3px solid #4f81bd;
    position: absolute;
    top: 20px;
    right: 20px;
    text-align: left;
    box-shadow: 0 2px 5px 1px rgba(0, 0, 0, .26);
    min-width: 300px;
    max-width: 300px;
}

    .help .tool-tip h3 {
        color: #4f81bd;
        text-transform: uppercase;
        font-weight: 300;
        letter-spacing: 1.5px;
        font-size: 14px
    }

    .help .tool-tip p {
        color: #777
    }

.left {
    float: left
}

.chart-legend li span {
    display: inline-block;
    width: 12px;
    height: 12px;
    margin-right: 5px
}

.chart-legend ul {
    list-style: none
}

.pie-chart-md {
    width: 250px;
    height: 250px;
    min-width: 250px;
    min-height: 250px;
    max-width: 250px;
    max-height: 250px;
}

.percentLine {
    height: 8px;
    width: 80%;
    background: #eee;
    border-radius: 4px;
    margin: 8px 15px 0 15px;
    display: inline-flex;
    position: relative;
    overflow: hidden;
}

.lineArea {
    width: 90%;
    overflow: visible;
}

.overload {
    width: 10%;
    position: relative;
}

.filledLine {
    border-radius: 4px;
    background: #50b7ad;
    height: 100%;
    display: block;
    float: left;
    min-height: 8px
}

.benchmark {
    height: 16px;
    width: 2px;
    position: relative;
    left: 0;
    top: 0;
    bottom: 0;
    background: #BDBDBD;
    margin: 0;
}

.overloadBox {
    display: inline-block;
    position: absolute;
    right: 0;
}

#goals table, #goals th, #goals tr td {
    text-align: left
}

#goals th {
    padding: 15px 10px
}

.navbar .ai-insights-link a {
    color: orange !important;
}

.navbar {
    font-family: 'Source Sans Pro', sans-serif;
    box-shadow: 0 2px 5px 0 rgba(0, 0, 0, .26);
    border-top: 1px solid #eceff1;
    border-bottom: 1px solid #eceff1;
    padding-right: 20px;
    z-index: 99999;
    background-color: #1E1E1E;
    color: #EDEDED;
    min-height: 80px;
}

.navbar-inverse {
    background: #000000;
    border: none;
    color: #fff !important;
}

.navbar a {
    cursor: pointer;
    color: #fff !important;
}

.navbar ul li.invert a {
    color: #fff;
}

.navbar ul li {
    text-align: center;
    padding-left: 10px;
}

.navbar-inverse .navbar-brand {
    color: #fff
}

.navbar-inverse .navbar-nav > li > a {
    color: #b0bec5;
    letter-spacing: .6px;
    font-weight: 200
}

.navbar-logout {
    color: #ffffff;
    letter-spacing: .6px;
    font-weight: 200
}

.navbar-toggler {
    position: relative;
    float: right;
    padding: 9px 10px;
    margin-right: 15px;
    margin-top: 8px;
    margin-bottom: 8px;
    background-color: transparent;
    background-image: none;
    border: 1px solid transparent;
    border-radius: 4px;
}

.navbar-toggler-icon {
    color: white;
}


.navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(255, 255, 255, 1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

.btn {
    font-family: 'Source Sans Pro', sans-serif
}
.btn-primary {
    border-radius: 4px;
    font-weight: 300;
    font-size: 14px;
    border: 0;
    letter-spacing: 1px
}

.btnUserList {
    padding: 6px 6px !important;
}

.navbar ul li {
    float: left;
    text-align: center;
    display: block;
    position: relative
}

.navbar ul li:hover {
    background: #404652;
    text-decoration: none
}

.navbar a {
    cursor: pointer;
    display: block;
    font-weight: 200;
    letter-spacing: .6px
}

.form-control {
    border: 1px solid #999;
}

#dashboard {
    max-width: 100%;
    padding: 20px;
}

    #dashboard > .row {
        margin-bottom: 40px
    }

    #dashboard .panel {
        box-shadow: 1px 2px 5px rgba(0, 0, 0, .16);
        padding: 10px;
        margin: 0;
        height: 100%;
        color: #777;
        position: relative
    }

    #dashboard .pcontainer {
        padding: 0 20px
    }

    #dashboard .panel h4 {
        margin: 0;
        color: #777;
        display: inline-block;
    }

    #dashboard #goalOpts {
        display: flex;
        flex-direction: row;
        padding: 10px 0 0
    }

        #dashboard #goalOpts > div {
            flex: 1;
            padding: 0 15px;
        }

        #dashboard #goalOpts .form-control {
            background: #eee;
            color: #777;
        }

            #dashboard #goalOpts .form-control::-webkit-input-placeholder {
                color: #bdbdbd
            }

            #dashboard #goalOpts .form-control:-moz-placeholder {
                color: #bdbdbd
            }

            #dashboard #goalOpts .form-control::-moz-placeholder {
                color: #bdbdbd
            }

            #dashboard #goalOpts .form-control:-ms-input-placeholder {
                color: #bdbdbd
            }

    #dashboard label {
        font-weight: normal
    }

    #dashboard #goalOpts .submitContainer .btn {
        float: right;
        vertical-align: middle;
        text-transform: none;
        border-radius: 4px;
        width: 160px;
        padding: 7px;
        letter-spacing: 1px
    }

    #dashboard #goalOpts .submitContainer {
        display: flex;
        align-items: flex-end;
        justify-content: center
    }

.right {
    float: right !important
}

#burnRateGraph {
    min-height: 200px
}

.panel-body {
    padding: 10px 0 0
}

#dashboard .doughnut {
    margin: 10px auto 0;
    padding: 0
}

    #dashboard .doughnut h5 {
        text-align: center;
        position: absolute;
        bottom: -30px;
        left: 0;
        right: 0;
    }

    #dashboard .doughnut .amount {
        pointer-events: none;
        font-size: 14px;
        position: absolute;
        top: 35%;
        right: 0;
        left: 0;
        text-align: center;
        user-select: none;
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none
    }

        #dashboard .doughnut .amount span {
            color: #777;
            font-size: 18px;
        }

    #dashboard .doughnut canvas {
        height: 100px
    }

#dashboard #runway h5 {
    padding: 0
}

#dashboard #runway .year {
    display: block;
    overflow: hidden;
    margin: 10px 0 0
}

#dashboard #runway .months {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    padding: 0
}

#dashboard #runway .month {
    font-size: 12px;
    margin: 3px 5px;
    border-radius: 4px;
    color: #fff;
    padding: 5px 0;
    text-align: center;
    flex: 0 1 13%
}

#dashboard #runwayRestricted .months {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    padding: 0
}

#dashboard #runwayRestricted .month {
    font-size: 12px;
    margin: 3px 5px;
    border-radius: 4px;
    color: #fff;
    padding: 5px 0;
    text-align: center;
    flex: 0 1 13%
}

#dashboard .cash {
    background: #66bb6a
}

#dashboard .receivable {
    background: #9ccc65
}

#dashboard .restrictedCash {
    background: #006400
}

#dashboard .gone {
    background: #bdbdbd
}

#dashboard .legend .unrestricted span {
    background: #4db6ac
}

#dashboard .legend .restricted span {
    background: #e57373
}

#dashboard .legend .total span {
    background: #42a5f5
}

#dashboard .legend .budget span {
    background: #424242
}

#dashboard .legend {
    display: inline-block;
    vertical-align: top;
}

    #dashboard .legend .item span {
        width: 10px;
        height: 10px;
        border-radius: 50%;
        display: inline-block
    }

    #dashboard .legend .item {
        margin: 0 10px;
        float: left
    }

#dashboard #reports .btn {
    width: 100%;
    margin: 10px 0 0
}

.clear {
    clear: both !important
}

.flex {
    display: flex
}

.doughnut {
    max-width: 250px;
    clear: none;
    float: none;
}

#restrictedDoughnutBudget, #unrestrictedDoughnutBudget {
    position: absolute;
    max-width: 64% !important;
    top: 13%;
    width: 100% !important;
    pointer-events: all;
    right: 0;
    left: 0;
    margin: auto;
}

#unrestrictedDoughnut {
    max-width: 86% !important;
    margin: 0 auto;
    position: relative;
    z-index: 1
}

.subtext {
    color: #bdbdbd;
}

tr[data-quarter='0'] td {
    padding-bottom: 0 !important;
}

#funnels .panel h4 {
    display: inline-block;
    padding-right: 15px;
    padding-left: 15px;
}

#funnels .panel {
    min-height: 400px;
}

#funnels .col-md-6 {
    margin-bottom: 20px;
}

tr.indent td {
    padding-top: 0 !important;
}

    tr.indent td:first-child {
        padding-left: 20px !important;
    }

tr[data-quarter='0'] .filledLine { /*YTD goal*/
    background: #4db6ac;
}

#goals .subtext {
    min-width: 24px;
    display: inline-block;
}

.funnel svg {
    margin: auto;
    display: block;
}

funnelSlice1 {
    background: #00f;
}

#brControls {
    display: block;
    margin: 10px auto 0;
    text-align: center;
}


.brBtn.active {
    background: #e8e8e8;
}


.dropdown-menu > li > a:hover, .dropdown-menu > li > a:focus {
    color: #262626;
    text-decoration: none;
    background-color: #337ab7;
}

#green-dark {
    background-color: #50b7ad;
}

#red-mint {
    background-color: #e57373;
}

.btnSpan {
    padding-left: 20px !important;
}

/* graphic detail table styles*/
.dtlCell {
    text-align: right;
    padding-right: 10px;
    padding-left: 10px;
}

.header {
    background-color: silver;
    color: black;
    font-weight: bold;
    text-align: center;
}

.odd {
    background-color: #f5f5f5;
}

.even {
    background-color: white;
}

.graphAnalyis {
    margin: 20px;
    padding: 10px;
    border: silver;
    border-style: solid;
    border-width: 1px;
}

.graphAnalyisRows {
    padding: 10px;
}

.trendBad {
    color: rgb(193, 64, 83);
    font-weight: bold
}

.trendGood {
    color: rgb(155, 187, 89);
    font-weight: bold
}

#pf-body {
    font: 14px/1.4 "Helvetica Neue", Helvetica, Arial, sans-serif !important;
}

#pf-header-img {
    background-color: black !important;
}

.popover {
    min-width: 800px;
}

#canvasTrend {
    width: 770px !important;
}

.advanced {
    display: none;
}

.detailLink {
    padding-left: 20px;
    color: blue;
    text-decoration: underline;
    cursor: pointer
}

.companionLink {
    padding-top: 35px;
}

.alert-success {
    margin-top: 15px;
    padding: 10px;
}

#caps-lock-warning {
    display: none
}

.client-logo {
    padding: 0;
    padding-top: 7px
}

.client-logo-img {
    float: left;
    padding-top: 0;
    padding-bottom: 5px;
    padding-right: 10px;
    max-height: 60px;
}

.app-name {
    padding-top: 40px;
    color: white;
    position: absolute;
    top: -10px; /* Move up to align with navbar links */
}

#login-submit {
    margin-bottom: 15px;
}

.app-logo {
    float: right;
}

hr {
    border-top: 1px solid #ccc;
    margin-top: 5px;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.text-center {
    text-align: center;
}

#RoleName {
    margin-left: 25px;
}

/*migrated from bootstrap.css - start*/
/*.dropdown-submenu {
    position: relative;
}

.dropdown-menu {
    background-color: #386ab3
}

    .dropdown-submenu > .dropdown-menu {
        top: 0;
        left: 100%;
        margin-top: -6px;
        margin-left: -1px;
        -webkit-border-radius: 0 6px 6px 6px;
        -moz-border-radius: 0 6px 6px 6px;
        border-radius: 0 6px 6px 6px;
        min-width: 250px;
    }

    .dropdown-submenu:hover > .dropdown-menu {
        display: block;
    }

    .dropdown-submenu > a:after {
        display: block;
        content: " ";
        float: right;
        width: 0;
        height: 0;
        border-color: transparent;
        border-style: solid;
        border-width: 5px 0 5px 5px;
        border-left-color: white;
        margin-top: 5px;
        margin-right: -10px;
    }

    .dropdown-submenu:hover > a:after {
        border-left-color: #999999;
    }

    .dropdown-submenu.pull-left {
        float: none;
    }

    .dropdown-submenu.pull-left > .dropdown-menu {
        left: -100%;
        margin-left: 10px;
        -webkit-border-radius: 6px 0 6px 6px;
        -moz-border-radius: 6px 0 6px 6px;
        border-radius: 6px 0 6px 6px;
    }*/
/*migrated from bootstrap.css - end*/

/*migrated from bootstrap-theme.css - start*/
.dropdown-submenu {
    position: relative;
}

    .dropdown-submenu > .dropdown-menu {
        top: 0;
        left: 100%;
        margin-top: -6px;
        margin-left: -1px;
        -webkit-border-radius: 0 6px 6px 6px;
        -moz-border-radius: 0 6px 6px 6px;
        border-radius: 0 6px 6px 6px;
    }

    .dropdown-submenu:hover > .dropdown-menu {
        display: block;
    }

    .dropdown-submenu > a:after {
        display: block;
        content: " ";
        float: right;
        width: 0;
        height: 0;
        border-color: transparent;
        border-style: solid;
        border-width: 5px 0 5px 5px;
        border-left-color: #333333;
        margin-top: 5px;
        margin-right: -10px;
    }

    .dropdown-submenu:hover > a:after {
        border-left-color: #999999;
    }

    .dropdown-submenu.pull-left {
        float: none;
    }

        .dropdown-submenu.pull-left > .dropdown-menu {
            left: -100%;
            margin-left: 10px;
            -webkit-border-radius: 6px 0 6px 6px;
            -moz-border-radius: 6px 0 6px 6px;
            border-radius: 6px 0 6px 6px;
        }

.dropdown:hover > .dropdown-menu {
    display: block;
    background-color: transparent;
}

.dropdown > .dropdown-toggle:active {
    /*Without this, clicking will make it sticky*/
    pointer-events: none;
}

.nav > li > a:hover,
.nav > li > a:focus {
    text-decoration: none;
    background-color: #386ab3 !important;
}

.navbar-nav > li > .dropdown-menu {
    background-color: #386ab3 !important;
}
/*migrated from bootstrap-theme.css - end*/

/* modal dialog start */
.modal-dialog {
    top: 100px
}

.modal-content {
    background-color: #f8f9fa;
    border-radius: 0.3rem;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    top: 50px;
}

.modal-content-graph {
    background-color: lightgray !important
}

#typeBtn {
    margin-left: 20px;
    left: 0;
    position: fixed;
}

.modal-body {
    border-radius: 10px;
}

.popover {
    display: block;
    width: 276px !important;
    max-width: 276px !important;
    min-width: 276px !important;
    z-index: 999999;
}
/* modal dialog end */

.rptform-row {
    padding-bottom: 15px;
}

.pl-25 {
    padding-left: 25px;
}

.print-btn-img {
    border: none;
    -webkit-box-shadow: none;
    box-shadow: none;
    float: right;
}

@media screen and (min-width: 1200px) {
    #dashboard > .row-eq-height {
        display: flex
    }
}

@media screen and (max-width: 1199px) {
    #dashboard .panel {
        margin-bottom: 40px
    }

    #dashboard > .row {
        margin-bottom: 0
    }
}


@media screen and (max-width: 986px) {
    #dashboard #goalOpts {
        flex-wrap: wrap
    }

        #dashboard #goalOpts > div {
            flex: 1 1 30%
        }

    .popover {
        min-width: 600px;
    }

    .graph-canvas {
        max-width: 95%;
    }
}


@media screen and (max-width: 768px) {
    #burnRateGraph {
        margin: 20px 0 0;
        max-height: 200px
    }

    #dashboard #goalOpts > div {
        flex: 1 1 50%
    }

    input, select, textarea {
        max-width: 100%
    }

    .percentLine {
        float: right;
        width: 100%;
        margin: 10px 0 0;
    }

    .popover {
        min-width: 500px;
    }

    .graph-canvas {
        max-width: 95%;
    }

    .app-name {
        display: none;
    }
}

@media screen and (min-width: 768px) {
    .navbar-logout {
        padding-top: 15px;
        padding-bottom: 15px;
    }

    .navbar-toggler {
        visibility: hidden
    }
}

    @media screen and (max-width: 486px) {
        #dashboard {
            padding: 0
        }

            #dashboard #goalOpts > div {
                flex: 1 1 100%
            }

        .popover {
            min-width: 300px;
        }
    }
    
    @media print {
        .d-print-none {
            display: none !important
        }

        .d-print-inline {
            display: inline !important
        }

        .d-print-inline-block {
            display: inline-block !important
        }

        .d-print-block {
            display: block !important
        }

        .d-print-table {
            display: table !important
        }

        .d-print-table-row {
            display: table-row !important
        }

        .d-print-table-cell {
            display: table-cell !important
        }

        .d-print-flex {
            display: flex !important
        }

        .d-print-inline-flex {
            display: inline-flex !important
        }

        * {
            -webkit-print-color-adjust: exact !important; /* Chrome, Safari, Edge */
        }

        a:not(.btn) {
            text-decoration: underline;
        }

        abbr[title]::after {
            content: " (" attr(title) ")"
        }

        pre {
            white-space: pre-wrap !important
        }

        pre, blockquote {
            border: 1px solid #adb5bd;
            page-break-inside: avoid
        }

        thead {
            display: table-header-group
        }

        tr, img {
            page-break-inside: avoid
        }

        p, h2, h3 {
            orphans: 3;
            widows: 3
        }

        h2, h3 {
            page-break-after: avoid
        }

        body {
            min-width: 992px !important
        }

        

        .navbar {
            display: inherit;
            position: relative;
            top: -5px;
            margin-bottom: 5px;
            background: black !important;
            box-shadow: 0 2px 5px 0 rgb(0 0 0 / 26%) !important;
            color: #fff !important;
        }

        .form-inline {
            padding-top: 7px !important;
        }

        .badge {
            border: 1px solid #000
        }

        .table {
            border-collapse: collapse !important;
            border: solid rgb(0 0 0 / 5%) 1px;
            border-radius: 5px;
            box-shadow: 2px 2px 2px 2px;
            margin-top: 20px;
        }


            .table td, .table th {
                background-color: #fff !important
            }

        /*Had to change balance sheet html to include class for the next two*/
        .balanceTable {
            display: block;
            page-break-inside: avoid;
        }

        .balanceBody {
            display: block;
        }

        .salesNameTable {
            overflow-y: auto;
            page-break-inside: avoid;
        }

        .table-bordered th, .table-bordered td {
            border: 1px solid #dee2e6 !important
        }

        .table-dark {
            color: inherit
        }

            .table-dark th, .table-dark td, .table-dark thead th, .table-dark tbody + tbody {
                border-color: #dee2e6
            }

        .table .thead-dark th {
            color: inherit;
            border-color: #dee2e6
        }

        a[href]:after {
            content: none !important;
        }

        .btn-primary {
            border-radius: 4px;
            font-weight: 300;
            font-size: 14px;
            border: 0;
            letter-spacing: 1px;
            color: #fff !important;
        }

        .navbar-right {
            visibility: hidden !important;
        }

        .dropdown-menu {
            min-width: 200px
        }

        .col-sm-12, .col-md-8, .col-lg-8 {
            width: 50% !important;
            min-width: 50% !important;
        }

        .col-12 {
            width: fit-content;
        }

        td {
            font-display: block;
        }

        #dashboard .panel {
            display: inline-flex;
            flex-wrap: wrap;
            flex-direction: column;
        }

        #dashboard > .row-eq-height {
            display: unset;
        }

        .col-sm-12 {
            width: 100% !important;
            min-width: unset !important;
            height: 100% !important;
            page-break-inside: avoid;
        }

            .col-sm-12 .col-md-6 .achievement {
                width: fit-content !important;
                min-width: unset !important;
            }

        
        .desc {
            color: #fff !important;
        }

        .chartjs-render-monitor {
            width: 100% !important;
            height: 100% !important;
        }

            .chartjs-render-monitor.milestone-graph {
                width: 25% !important;
                height: 60em !important;
                min-height: unset !important;
                aspect-ratio: unset !important;
            }

        .companionLink {
            position: relative !important;
        }

        label {
            color: black;
        }
    }


    @page {
        size: a3;
        margin: 10px;
    }

.bg-blue {
    background-color: #386ab3 !important;
}

.text-white {
    color: white !important;
}

.pointer {
    cursor: pointer;
}

.overflow-x-auto {
    overflow-x: auto;
}

.iframe-embed {
    width: 100%;
    max-width: 100%;
    height: 350px;
}

.min-width-90 {
    min-width: 90% !important;
}

.min-width-95 {
    min-width: 95% !important;
}

/* Session warning modal (CSP-safe) */
#session-warning {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}
.session-warning__dialog {
    background: #fff;
    padding: 20px;
    text-align: center;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    max-width: 520px;
}
.session-warning__actions {
    margin-top: 16px;
    display: flex;
    justify-content: center;
    gap: 10px; /* no inline margins */
}
.session-warning__button {
    padding: 8px 12px;
    cursor: pointer;
}

/* Budget vs Actual page */
.bva-minw-1200 {
    min-width: 1200px;
}

.trendIndicator {
    cursor: pointer;
}

.ai-left-pnl {
    min-height: 400px;
}

.text-hide {
    border: 0;
}

/* CSP-safe replacements for removed inline styles */
.ai-summary-spinner {
  margin-left: 8px;
}

.ai-summary-content {
  margin-top: 8px;
}

/* site.css (or a <style nonce="..."> block) */
#aiSummaryContent.position-relative {
    position: relative; /* ensure overlay can absolutely position inside */
}

.ai-summary-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    min-height: 100%;
    z-index: 1050; /* higher than content but lower than modals if needed */
    display: none; /* hide by default */
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.4); /* semi-transparent dark */
    backdrop-filter: blur(2px); /* progressive enhancement */
}

    /* utility helpers */
    .ai-summary-overlay.show {
        display: flex;
    }

    /* centered spinner container (uses Bootstrap spinner markup) */
    .ai-summary-overlay .spinner-wrap {
        display: flex;
        align-items: center;
        justify-content: center;
    }

.card {
    background: #FFFFFF;
    border-radius: 12px;
    padding: 16px 20px;
    /* Subtle elevation */
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 4px 12px rgba(0, 0, 0, 0.06);    
}

.row {
    background: #F7F9FB;
}

/* ==============================
   BASE CARD STYLING (ALL CHARTS)
   ============================== */

.card,
.panel,
.portlet {
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #e6e9ef;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.04);
    margin-bottom: 24px;
    padding: 20px;
}

    /* Improve chart title readability */
    .card h3,
    .card h4 {
        font-weight: 600;
        color: #1f2937;
        margin-bottom: 12px;
    }

/* ==============================
   PRIMARY CHARTS
   ============================== */

.chart-primary {
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
    border-left: 6px solid #2563eb; /* Blue = Executive focus */
    padding: 28px;
}

    .chart-primary h3,
    .chart-primary h4 {
        font-size: 1.25rem;
    }

    /* Make primary charts taller */
    .chart-primary canvas,
    .chart-primary svg {
        min-height: 420px;
    }

/* ==============================
   SECONDARY CHARTS
   ============================== */

.chart-secondary {
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.05);
    border-left: 4px solid #6b7280; /* Neutral */
}

    .chart-secondary h3,
    .chart-secondary h4 {
        font-size: 1.1rem;
    }

/* ==============================
   SUPPORTING CHARTS
   ============================== */

.chart-supporting {
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.03);
    border-left: 3px solid #d1d5db;
    opacity: 0.92;
}

    .chart-supporting h3,
    .chart-supporting h4 {
        font-size: 1rem;
        color: #4b5563;
    }

    /* Make supporting charts shorter */
    .chart-supporting canvas,
    .chart-supporting svg {
        min-height: 260px;
    }

/* ==============================
   EXECUTIVE SPACING RULES
   ============================== */

/* Extra breathing room after primary charts */
.chart-primary {
    margin-bottom: 40px;
}

/* Tighter grouping for support charts */
.chart-supporting {
    margin-bottom: 16px;
}

/* ==============================
   PDF EXPORT SAFETY
   ============================== */

@media print {
    .card,
    .panel,
    .portlet {
        box-shadow: none !important;
        border: 1px solid #d1d5db !important;
    }

    .chart-primary {
        border-left-width: 4px;
    }
}

@import url('typography.css');

.navbar-nav .nav-link img {
    width: 40px;
    height: 40px;
    display: block;
    margin-top: -10px; /* Adjust this value to move the image up */
}   

#aiResponseContainer u {
    display: block;
    margin-top: 12px;
    margin-bottom: -3em;
}