.p-dropdown-panel.dropdown-pre .p-dropdown-items-wrapper .p-dropdown-items .p-dropdown-item {
    white-space: pre;
}

@media (max-height: 1024px) {
    .data-type-selector__dialog.p-dialog, .export-dialog.p-dialog {
        max-height: 80vh;
    }
}

@media (min-height: 1024px) {
    .data-type-selector__dialog.p-dialog, .export-dialog.p-dialog {
        max-height: 800px;
    }
}

.p-confirm-dialog-reject.p-button .p-button-icon-left {
    margin-right: 0 !important;
}

.p-confirm-dialog-reject.p-button {
    width: 160px !important;
    padding: 10px 18px 10px 18px !important
}

.p-confirm-dialog-accept.p-button .p-button-icon-left {
    margin-right: 0 !important;
}

.p-confirm-dialog-accept.p-button {
    width: 160px !important;
    margin-left: 15px !important;
    padding: 10px 18px 10px 18px !important
}

.filter-menu-wrapper {
    min-width: 230px !important;
}

.eit-button {
    color: var(--text-color) !important;
    gap: 2px !important;
    padding: 8px !important;
}

.eit-button-icon {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 24px !important;
    height: 24px !important;
    font-size: 18px !important;
}

.menu-item--drop-placeholder {
    box-shadow: 0 -2px 0 0 #FFF;
    background: rgba(255, 255, 255, 0.10);
}

.menu-item--dragging .menu-item:hover {
    background: transparent !important;
}

.grabbable {
    cursor: move; /* fallback if grab cursor is unsupported */
    cursor: grab;
    cursor: -moz-grab;
    cursor: -webkit-grab;
}

/* (Optional) Apply a "closed-hand" cursor during drag operation. */
.grabbable:active {
    cursor: grabbing;
    cursor: -moz-grabbing;
    cursor: -webkit-grabbing;
}

.text {
    color: #2B3239;
    font-family: Inter, sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 130%;
}

.tooltip-autowidth.p-tooltip {
    max-width: unset !important;
}

.tooltip-width--large {
    max-width: 430px !important;
}

.toast-message-text {
  inline-size: 100%;
  overflow-wrap: break-word;
}

.toast-message-text--short {
    inline-size: calc(100% - 5rem);
    overflow-wrap: anywhere;
    /*overflow-wrap: break-word;*/
}

.p-menu--large.p-menu {
    margin-top: 4px;
}

.p-menu--large.p-menu .p-menuitem-link {
    padding: 8px 20px !important;
}

.p-menu--large.p-menu .p-menuitem-link .p-menuitem-icon {
    padding: 3px;
    font-size: 16px;
}

.p-menu--large.p-menu .p-menuitem-text {
    font-family: Inter, sans-serif !important;
    font-size: 14px !important;
    font-style: normal;
    font-weight: 400;
}

.p-breadcrumb .p-menuitem-separator {
  margin: 0 10px;
}

.p-breadcrumb .p-menuitem-link {
  color: #515C66;
}

.p-megamenu {
  display: flex;
  align-items: center;
}

.p-megamenu .p-megamenu-root-list {
  gap: 0.75rem;
}

.p-megamenu-end {
  margin-left: 0 !important;
}

.p-datatable-wrapper {
  overflow-x: auto;
}

.p-toolbar h5 {
  margin-bottom: 0;
}

div.filters-wrap {
  border: none;
}

.filters-wrap__content,
.filters-wrap__side {
  min-width: 460px;
}

.filters-wrap__content {
  margin-right: 10px;
}

.filters-wrap__side {
  margin-left: 10px;
}


.p-button.layout-menu-button.open .pi {
  transform: scaleX(-1);
}

.menu-wrapper .p-scrollpanel {
  height: calc(100% - 6px);
  margin: 3px 0;
}

.menu-wrapper .p-scrollpanel-bar-y {
  margin-right: 2px;
  width: 5px;
}

.input-to-label {
  display: flex;
}

.input-to-label .input-to-label__input {
  width: 1%;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

.input-to-label .input-to-label__button {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

.editable-cells-table .p-datatable-tbody > .editable-cells-table__row {
    background: #EEF5FA !important;
}

.editable-cells-table .p-datatable-tbody > .editable-cells-table__row > td:not(.p-selection-column) {
  padding: 0.05rem 0.05rem;
}

.editable-cells-table .p-datatable-tbody > .editable-cells-table__row > td:has(.static-column) {
  padding: 0 1rem;
}

.p-datatable-tbody > tr > td .actions-column {
    visibility: hidden;
}

.p-datatable-tbody > tr:hover > td .actions-column {
  visibility: visible;
}
.editable-cells-table .p-datatable-tbody > .editable-cells-table__row > td .actions-column {
  visibility: visible !important;
}
.editable-cells-table .p-datatable-tbody .p-inputtext,
.editable-cells-table .p-datatable-tbody .p-dropdown {
  background-color: #EEF5FA;
}

.editable-cells-table .p-inputtext:focus,
.editable-cells-table .p-dropdown:focus-within,
.editable-cells-table .p-calendar > input[aria-expanded="true"] {
    background-color: white !important;
}

.editable-cells-table .p-inputgroup .p-dropdown {
    border-radius: 0 !important;
}

.editable-cells-table .p-inputtext {
  padding: 0.75rem;
}

.p-dropdown-add {
  margin: 0 0 0.5rem;
  padding: 0.5rem 1rem;
  transition: box-shadow 0.2s;
  cursor: pointer;
}

.p-dropdown-panel .p-dropdown-items .p-dropdown-item:not(.p-highlight):not(.p-disabled).p-focus {
  color: #2B3239;
  background: #EFF6FF;
}

.p-dropdown-add:hover,
.p-dropdown-add.p-focus {
  color: #2B3239;
  background: #EFF6FF;
}

.tooltip-hide-arrow.p-tooltip .p-tooltip-arrow {
    display: none;
}

.upload-block.p-dialog .p-dialog-header {
    background: #96A3BC;
    border: solid #3C4962;
    border-width: 0 0 0 6px;
    border-radius: 6px;
    color: white;
    display: flex;
    padding: 4px 15px;
    align-items: center;
}

.upload-block.p-dialog .p-dialog-header .p-dialog-title {
    font-family: Inter, sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.upload-block.p-dialog .p-dialog-content {
    padding: 10px 15px;
}

.upload-block.p-dialog .p-dialog-header .p-dialog-header-icon {
    color: white;
}

.p-checkbox .p-checkbox-box.p-highlight {
  border-color: #3F88FF;
    background: #3F88FF;
}

/* Rewrite lib hover background color */
.p-datatable .p-sortable-column:not(.p-highlight):hover {
    background: #F2F3F5 !important;
}

/* Highlight header cell in datatable */
.p-datatable .p-sortable-column.highlighted-cell {
    background: #E6E9EC !important;
    font-weight: 700 !important;
}

.p-datatable .p-sortable-column.highlighted-cell:hover {
    background: #D0D4DB !important;
}

/* IconPicker AutoComplete */
.icon-autocomplete-panel-grid {
    padding: 10px;

    .p-autocomplete-items {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        padding: 0 !important;

        .p-autocomplete-item {
            width: 24px;
            height: 24px;
            padding: 0px !important;
            border: 1px solid !important;
            border-color: #EFF3F8 !important;
            border-radius: 6px !important;
            background: none !important;

            i {
                color: #212121;
                font-size: 16px;
            }

            &:hover {
                border-color: #BFDBFE !important;
            }

            &.p-highlight {
                border-color: #3B82F6 !important;
            }
        }
    }

    .icon-autocomplete-panel-more {
        height: 20px;
        margin-top: 10px;
        padding: 0;

        &:hover,
        &:active {
            background: none !important;
        }

        &:focus {
            box-shadow: none !important;
        }
    }
}

.position-relative {
    position: relative !important;
}

/* MultiSelect redesign */

.p-multiselect-trigger {
    color: #8490A1 !important;

    &:hover {
        color: #0D1116 !important;
    }
}

.p-overlay-open {
    .p-multiselect-trigger {
        color: #0D1116 !important;
    }
}

.p-multiselect-panel {
    padding: 4px 0;
    margin-top: 4px;

    .multiselect-custom-header {
        padding: 10.5px 16px;
        color: #6C757D;
    }

    .p-multiselect-header {
        padding: 4px 16px !important;
    }

    .p-multiselect-header {
        background: none !important;
    }

    .p-multiselect-header .p-checkbox,
    .p-multiselect-header .p-checkbox .p-checkbox-box {
        width: auto;
        height: auto;
    }

    .p-multiselect-header .p-checkbox .p-checkbox-box {
        background: none;
        border: none;
        box-shadow: none !important;
        transition: none;
        color: #3F88FF;
        font-weight: 500;
        line-height: 20px;
    }

    .p-multiselect-header .p-checkbox .p-checkbox-box.p-highlight:hover {
        background: none;
        border-color: none;
        color: #3F88FF;
    }

    .p-multiselect-close {
        display: none;
    }

    .p-multiselect-items {
        padding: 0 !important;
    }

    .p-multiselect-items .p-multiselect-item {
        padding: 6px 16px !important;
        color: #0D1116 !important;

        .p-checkbox {
            height: 24px;
            align-items: center;
            justify-content: center;
            margin-right: 8px !important;

            .p-checkbox-box {
                width: 20px;
                height: 20px;
                border: 1.5px solid rgba(66, 84, 110, 0.25);

                &.p-highlight {
                    border: none;
                }
            }
        }
    }
}

.multiselect-custom-panel-right {
    left: initial !important;
}

.entity-name-input {
    margin-bottom: 18px;
    padding: 0;
    border: 0;
    border-bottom: 1px solid #42546E26;
    border-radius: 0;
    font-size: 16px;
    font-weight: 500;
}

.entity-name-read {
    margin-bottom: 18px;
    padding: 0;
    border: 0;
    border-radius: 0;
    font-size: 16px;
    font-weight: 500;
}

/* Field Sort Panel */
.field-sort-panel {
    padding: 4px 0;

    .p-dropdown-items {
        padding: 0;

        .p-dropdown-item {
            padding: 8px 16px;
            line-height: 20px;
        }
    }
}

/* Card */
.card {
    -moz-border-radius: 6px;
    -webkit-border-radius: 6px;
    border-radius: 6px;
    background: #FFFFFF;
}

@media (min-width: 992px) {
  .layout-static div.menu-wrapper {
    transform: translateX(-100%);
  }
}
