:root {
    --dashboard-create-top-pn-height: 110px;
    --dashboard-create-left-sb-width: 90px;
    --dashboard-create-base-height: calc(100% - 30px);
    --dashboard-settings-modal-width: 50rem;
    --light-gray-border: #dee2e6;
    --light-gray-disabled-color: #f7f7f7;
}

.nt-but {
    display: flex !important;
    gap: 0.625rem;
}

.tab-spaced {
    display: flex;
    gap: 0.625rem;
    align-items: center;
    width: max-content;
}

.buttons-panel {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.buttons-panel > div {
    display: flex;
    gap: 1.125rem;
}

.create-modal-body {
    display: flex;
    flex-wrap: wrap;
    gap: 0.925rem;
    color: var(--text-gray-color);
    width: 33.75rem;
}

.widgets-list-modal-body {
    color: var(--text-gray-color);
    width: 83rem; /* offset: 68px */
    height: 37.5rem;
    font-size: 1rem;
    display: flex;
    justify-content: space-between;
}

.widgets-list-modal-body > div {
    padding: 1.25rem 0.75rem;
}

.dashboard-settings-modal-container {
    margin: 0 !important;
    padding: 0 !important;
    border-top: var(--bs-modal-footer-border-width) solid var(--bs-modal-footer-border-color);
}

.dashboard-settings-modal-body {
    color: var(--text-gray-color);
    width: var(--dashboard-settings-modal-width);
    height: 37.5rem;
    display: flex;
    justify-content: space-between;
}

.dashboard-settings-modal-body * {
    font-size: 1rem;
}

.dashboard-settings-error-badge {
    width: var(--dashboard-settings-modal-width) !important;
}

.dashboard-settings-entry {
    border-right: var(--bs-modal-footer-border-width) solid var(--bs-modal-footer-border-color);
    height: 100%;
}

.dashboard-settings-entry > div {
    font-weight: 500;
    color: gray;
    height: 4rem;
    width: 16.5rem;
    align-content: center;
    padding-left: 1.5rem;
    border-bottom: var(--bs-modal-footer-border-width) solid var(--bs-modal-footer-border-color);
    cursor: pointer;
    /*    border-left: 0.4rem var(--bs-primary) solid;*/
}

.dashboard-settings-entry-focus {
    color: dimgray;
    outline: none !important;
    border-left: 0.4rem var(--bs-primary) solid;
}

.dashboard-settings-entry-disabled {
    background-color: var(--light-gray-disabled-color);
}

.dashboard-settings-entry-container {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 1.5rem;
    overflow: hidden;
}

.widgets-list-cats {
    width: 14.375rem;
}

.widgets-list-items {
    width: 50rem;
    scrollbar-width: none;
    -ms-overflow-style: none;
    overflow-y: auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-content: flex-start;
    gap: 1.25rem;
    transition: all 0.3s linear;
}

.widgets-list-items::-webkit-scrollbar {
    display: none;
}

.widgets-list-selected {
    width: 16.875rem;
    color: black;
}

.metrics-widget-item-panel {
    width: 15rem;
}

.metrics-widget-item-panel label {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.metrics-widget-item-panel,
.metrics-widget-item-panel * {
    cursor: pointer;
}

.metrics-widget-item-header-panel {
    display: flex;
    justify-content: flex-start;
    gap: 1rem;
    width: 100%;
    margin-bottom: 0.5rem;
    align-items: center;
    color: black;
}

.metrics-widget-item-selected {
    color: black;
    font-weight: 400;
}

.metrics-widget-item-content-panel {
    height: 8.75rem;
    width: 15rem;
    padding: 1rem;
}

.metrics-widget-item-list-group {
    gap: 1rem;
    scrollbar-width: thin;
    scrollbar-color: var(--gray-scrollbar-color) transparent;
}

.dashboard-settings-list-group {
    scrollbar-width: thin;
    scrollbar-color: var(--gray-scrollbar-color) transparent;
}

.metrics-widget-item-list-group > div,
.metrics-widget-item-list-group > a {
    border: none;
    color: var(--text-gray-color);
}

.dashboard-tab-content {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-content: flex-start;
    justify-content: flex-start;
    margin-bottom: 1.5rem;
    overflow-y: scroll;
    scrollbar-width: none;
}

.dashboard-create {
    position: relative;
    overflow-y: hidden;
    height: 100% !important;
}

.dashboard-create-sidebar {
    position: absolute;
    height: var(--dashboard-create-base-height);
    padding-top: 1.875rem;
    background-color: white;
    transition: all 0.3s;
}

.dashboard-create-left-sidebar {
    width: var(--dashboard-create-left-sb-width);
    left: 0;
    border-right: 1px var(--selection-gray-background-color) solid;
    z-index: 20;
}

.dashboard-create-middle-sidebar {
    left: var(--dashboard-create-left-sb-width);
    border-right: 1px var(--selection-gray-background-color) solid;
    z-index: 15;
}

.dashboard-create-middle-sidebar-wgts {
    width: 18.75rem;
}

.dashboard-create-middle-sidebar-lts {
    width: 29rem;
}

.dashboard-create-middle-sidebar.show {
    left: 3.75rem;
}

.dashboard-create-right-sidebar {
    width: 22.5rem;
    right: 0;
    border-left: 1px var(--selection-gray-background-color) solid;
}

.dashboard-create-top-bar {
    min-height: var(--dashboard-create-top-pn-height);
    border-bottom: 1px solid var(--light-gray-border);
    background-color: white;
    padding-left: 1rem !important;
    padding-top: 1.6rem !important;
    z-index: 20;
}

.dashboard-create-main-content {
    margin-left: var(--dashboard-create-left-sb-width);
    margin-right: 22.5rem;
    display: flex;
    align-content: flex-start;
    padding: 1.25rem;
    padding-bottom: 2.5rem;
    flex-wrap: wrap;
    height: 84%;
    gap: 1rem;
}

.dashboard-create-main-content.expanded {
    margin-left: 22.5rem;
}

.dashboard-create-sidebar-btn {
    width: 56px;
    height: 56px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

.dashboard-create-dropdown-widget {
    padding: 0.625rem;
    margin-bottom: 0.625rem;
    background-color: #fff;
    border-radius: 5px;
    border: 1px solid var(--light-gray-border);
}

.dashboard-create-widget-title {
    font-weight: 600;
    margin-bottom: 0.625rem;
}

.dashboard-create-top-btn {
    width: 36px;
    height: 36px;
    font-size: 1.75rem !important;
    display: flex !important;
    justify-content: center !important;
    align-content: center;
    flex-wrap: wrap;
}

.dashboard-create-top-desc {
    margin-left: 4.5rem;
    max-width: 80%;
    display: flex;
    align-items: center;
    width: 100%;
    padding-right: 1.25rem;
    gap: 0.2rem;
}

.dashboard-create-top-desc textarea {
    font-size: 0.8rem;
    color: gray;
}

.dashboard-create-top-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding-left: 1rem;
    padding-right: 1.25rem;
    margin-bottom: 0.25rem;
}

.dashboard-create-top-title {
    display: flex;
    align-items: center;
    margin-bottom: 0;
    margin-left: 1rem;
}

.dashboard-create-top-title .btn {
    font-size: 1rem;
}

.dashboard-create-top-title input {
    font-size: 1.5rem;
}

.dashboard-create-top-title input,
.dashboard-create-props-title {
    font-family: 'Raleway';
    font-weight: 600;
}

.dashboard-create-props-title {
    font-size: 1.25rem;
    padding: 0 0 1.5rem 1.5rem;
}

.dashboard-create-props-content {
    height: 100%;
}

.dashboard-create-props-nodata {
    height: var(--dashboard-create-base-height);
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    font-size: 1rem;
    gap: 0.625rem;
    color: var(--text-gray-color);
}

.dashboard-create-props-main {
    display: flex;
    width: 100%;
    height: 100%;
    flex-direction: column;
}

.dashboard-create-props-main-entry {
    border-top: 1px var(--selection-gray-background-color) solid;
    border-bottom: 1px var(--selection-gray-background-color) solid;
    width: inherit;
    padding: 1rem 1.5rem;
    color: var(--text-gray-color);
    font-size: 1.125rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.dashboard-create-props-main-apply {
    border: 0 !important;
    font-weight: 500;
    color: var(--bs-primary);
    text-align: center;
    transition: background-color 0.3s linear;
}

.dashboard-create-props-main-apply:hover {
    background-color: var(--bs-but-light-hover-background);
}

.dashboard-create-props-main-entry > * {
    width: 100%;
}

.create-modal-title {
    font-weight: 500;
}

.create-modal-desc {
    font-weight: 400;
}

.dashboard-create-middle-sidebar-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-right: 1.125rem;
    padding-left: 0.625rem;
}

.dashboard-create-wgts-accordion {
    scrollbar-width: none !important;
}

.dashboard-create-wgts-accordion button,
.dashboard-create-wgts-accordion .accordion-item {
    border-left: 0 !important;
    border-radius: 0 !important;
    border-right: 0 !important;
}

.dashboard-create-wgts-accordion button {
    font-size: 1.125rem;
}

.dashboard-create-wgts-accordion .accordion-button:not(.collapsed) {
    color: unset !important;
    background-color: unset !important;
    box-shadow: unset !important;
}

.dashboard-create-wgts-accordion .accordion-body table,
.dashboard-create-wgts-accordion .metrics-widget-item-content-panel {
    width: 100%;
}

.dashboard-create-wgts-accordion .accordion-button:focus {
    box-shadow: var(--primary-shadow);
}

.dashboard-create-middle-sidebar-search {
    padding: 1.25rem;
    border-top: 1px var(--selection-gray-background-color) solid;
}

.dashboard-create-middle-sidebar-layouts-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 1.25rem;
    padding: 1.25rem;
    overflow-y: auto;
    scrollbar-width: none;
    height: 76%;
    border-top: 1px var(--selection-gray-background-color) solid;
}

.dashboard-create-middle-sidebar-layouts-list img {
    cursor: pointer;
    width: 12.5rem;
    transition: box-shadow 0.3s linear;
}

.dashboard-create-middle-sidebar-layouts-list img:hover {
    -webkit-box-shadow: 0 0 15px 3px rgba(34, 60, 80, 0.2);
    -moz-box-shadow: 0 0 15px 3px rgba(34, 60, 80, 0.2);
    box-shadow: 0 0 15px 3px rgba(34, 60, 80, 0.2);
}

.dashboard-tab {
    overflow: hidden;
    transition: all 0.3s;
    width: 100%;
}

.dashboard-tab-header {
    margin-bottom: 0.5rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
}

.dashboard-tab-header-desc {
    margin-bottom: 1rem;
    font-family: 'Raleway';
    font-size: 1rem;
    font-weight: 500;
}

.dashboard-tab-header-refresh {
    margin-bottom: 1rem;
    width: 100%;
    display: flex;
    gap: 0.5rem;
}

.dashboard-tab-header-boxes {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.dashboard-tab-header-title {
    font-family: 'Raleway';
    font-weight: 600;
    font-size: 1.75rem;
    max-width: 75%;
}

.dashboard-tab-filters-warn {
    margin-bottom: 1rem;
}

.dashboard-create-accordion-item {
    padding-bottom: 1rem;
}

.dashboard-tab-filters-warn-hide {
    height: 0 !important;
    padding: 0 !important;
}

.metrics-widget-item-panel > .metrics-widget-item-header-text {
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.metrics-widget-item-header-panel > .metrics-widget-item-header-text {
    font-size: 1rem;
    max-width: 85%;
}

.metrics-widget-item-header-text {
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dashboard-settings-timing {
    width: 100%;
    padding: 1.5rem;
    display: flex;
    gap: 1rem;
}

.dashboard-settings-timing-buttons {
    display: flex;
}

.dashboard-settings-timing-range {
    width: 70%;
}

.dashboard-settings-timing-left-opt {
    width: 30%;
}

.dashboards-list-filter {
    width: 22.5rem !important;
    height: 100%;
}
