:root {
    --navbar-height: 5.5rem;
    --module-section-header-height: 13.5rem;
}
/* Dashboard */
.module-section-header {
    z-index: var(--z-section-header);
    position: sticky;
    top: 0;
    background-color: white;
    height: var(--module-section-header-height);
}
.module-section-header-closed, .module-section-header-opened {
    border: 1px solid #dee2e6 !important;
    margin-right: 0;
    margin-left: 0;
    margin-top: 1.5rem;
    padding: 1rem 1.5rem 1.5rem;
    height: 100%;
    cursor: pointer;
    background-color: white;
    color: black;
}
.module-section-header-closed {
    border-radius: var(--border-rounding);
}
.module-section-header-opened {
    border-top-left-radius: var(--border-rounding);
    border-top-right-radius: var(--border-rounding);
}


.show-rankings-pill {
    display: none;
    background-color: var(--light-purple);
    color: white;
    width: 18rem;
}

/* Main Layout */
.insider-navbar {
    height: var(--navbar-height);
    z-index: var(--z-navbar);
    background-color: white;
}

.insider-content {
    height: calc(100vh - var(--navbar-height));
    overflow: auto;
    display: flex;
    flex-direction: column;
}

.filters-sidebar {
    min-width: 15rem;
    width: 15rem;
    position: sticky;
    top: 0;
    bottom: 0;
    overflow-y: auto;
    background-color: var(--gray);
    color: black;
    z-index: calc(var(--z-section-header) + 1)
}

.filters-sidebar.wide {
    min-width: 28rem;
    width: 28rem;
}

/* Vendor Profile */
.top-competitors-sub-header {
    padding-left: 2.3rem;
    padding-right: 2.5rem;
}
:root {
    --cycle-bar-height: 4rem;
    --profile-header-height: 5.5rem;
    --profile-header-padding: 0;
    --profile-header-total-height: 5.5rem;
}
.cycle-bar {
    position: sticky;
    top: 0;
    z-index: calc(var(--z-section-header) + 1);
    color: white;
    background-color: black;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-left: 1rem;
    margin-right: 1rem;
    margin-top: 1.5rem;
    padding-left: 1.5rem;
    padding-right: 0.5rem;
    border-radius: 0.25rem;
    height: var(--cycle-bar-height);
}
.vendor-profile-header {
    height: var(--profile-header-height);
    position: sticky;
    padding-top: var(--profile-header-padding);
    z-index: var(--z-section-header);
    background-color: white
}

/* Edit Vendors */
:root {
    --vic-filter-bar-height: 5rem;
    --vic-fields-sidebar-width: 30rem;
}
.vic-bar {
    position: fixed;
    top: var(--navbar-height);
    height: var(--vic-filter-bar-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: var(--z-section-header);
    width: 100%;
}
.vic-filter-bar {
    background-color: var(--gray);
    width: calc(100% - 8rem);
    border-bottom-right-radius: 10rem;
    display: flex;
    align-items: center;
    height: 100%;
}
.vendor-fields-sidebar {
    position: fixed;
    display: flex;
    flex-flow: column;
    padding: 1rem;
    width: var(--vic-fields-sidebar-width);
    height: calc(100vh - var(--navbar-height) - var(--vic-filter-bar-height));
    overflow: auto;
}

/* My Marketing */
:root {
    --marketing-sidebar-width: 26rem;
}
.marketing-dash-container {
    margin-left: var(--marketing-sidebar-width);
}
.side-menu.marketing {
    min-width: var(--marketing-sidebar-width);
}

/* Procurement Dynamics */
:root {
    --prodyn-sidebar-width: 20rem;
}
.prodyn-dash-container {
    margin-left: var(--prodyn-sidebar-width);
}
.side-menu.prodyn {
    min-width: var(--prodyn-sidebar-width);
}

/* Chat Bot */
:root {
    --chatbot-sidebar-width: 30rem;
}
.chatbot-dash-container {
    margin-left: var(--chatbot-sidebar-width);
}
.side-menu.chatbot {
    min-width: var(--chatbot-sidebar-width);
    height: calc(100% - 7rem);
    border-bottom-right-radius: 6rem;
}
.scrollable-side-panel {
    max-height: 20rem;
    overflow-y: auto;
}
/* RFI Manager */
:root {
    --rfi-manager-sidebar-width: 18rem;
}
.rfi-manager-dash-container {
    margin-left: var(--rfi-manager-sidebar-width);
}
.side-menu.rfi-manager {
    min-width: var(--rfi-manager-sidebar-width);
    width: var(--rfi-manager-sidebar-width);
}
.taxonomy-editor-content {
    height: calc(100vh - var(--navbar-height) - 9rem);
    overflow-y: auto;
    padding: 1rem;
}
/* Admin */
:root {
    --admin-sidebar-width: 15rem;
}
.side-menu.admin {
    min-width: var(--admin-sidebar-width);
}
.admin-dash-container {
    margin-left: var(--admin-sidebar-width);
}

/* RFI Manager - Offcanvas */
.show-in-front-of-modal {
    z-index: 1056;
}

/* Rfi Manager - Reports */
.rm-report-panel {
    width: 40rem;
    height: fit-content;
}

/* Prodyn Insights */
.sm-insights-checklist-header {
    width: 3rem;
}
.sm-insights-checklist-header div {
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    rotate: -45deg;
    transform-origin: 0 0;
}