﻿.dxbl-accordion-item-indent {
    padding-left: 1em;
}

.bg-low-priority {
    background-color: #65A637 !important;
}

.user-name-container, .user-name,
.theme-settings.show-dropdown .settings-bar {
    color: var(--dx-color-text) !important;
    height: auto;
    padding-bottom: 5px;
}

/* Remove Fluent theme gap between header and sidebar */
.dxbl-theme-fluent .app .sidebar {
    margin-top: 0 !important;
    border-top: none !important;
    border-top-right-radius: 0 !important;
}

.dxbl-theme-fluent .app .header {
    border-bottom: none !important;
}


.bg-low-priority {
    background-color: #65A637 !important;
}


.dxbl-toolbar-item-tmpl .dxbl-text-edit .dxbl-text-edit-template .xaf-combobox-item {
    width: 95px !important;
    height: 100% !important;
}

.xaf-combobox-item .dxbl-text-edit-input {
    width: 95px !important;
    height: 100% !important;
}

.xaf-tab-header-button .d-flex {
    max-width: 180px !important;
    overflow: hidden;
}



button[data-action-name="Select Pin"] {
    background-color: var(--dx-grid-header-color);
    border: none;
}

    button[data-action-name="Select Pin"] svg {
        fill: white !important;
    }

    button[data-action-name="Select Pin"]:hover svg, button[data-action-name="Select Pin"]:active svg {
        fill: black !important;
    }

.issue-grid-no-wrap {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.issue-grid-limit-lines {
    overflow: hidden;
    width: 100%;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.badge {
    padding: 3px 5px 3px 5px !important;
    border-radius: 0.33em;
    font-weight: 700;
    font-size: 0.8em;
    padding: 3px 5px;
    min-width: 50px !important;
    display: inline-block;
    text-align: center;
}

.badge-mcp {
    display: inline-block;
    padding: 2px 3px 2px 3px;
    border-radius: 3px;
    font-size: 0.55em;
    font-weight: 700;
    background-color: #6f42c1;
    color: white;
    vertical-align: super;
    margin-left: 2px;
    line-height: 1;
    letter-spacing: 0.5px;
    box-shadow: 0 0 6px 2px rgba(111, 66, 193, 0.3);
}

.action-render-primary {
    background-color: var(--dx-color-primary) !important;
    border-radius: 4px !important;
    padding: 6px !important;
}

    .action-render-primary .dxbl-image {
        filter: invert(100%) sepia(17%) saturate(7493%) hue-rotate(268deg) brightness(129%) contrast(114%);
    }

.xaf-action-fulltextsearch {
    width: 160px !important;
}

.dxbl-sm .dxbl-text-edit {
    height: 100% !important;
}






/*Issue Notes Layout*/
.IssueNote-SystemNote {
    padding-top: 1px;
    padding-bottom: 1px;
    font-size: xx-small;
    font-weight: bold;
    padding-left: 20px;
}

.IssueNote-UserNote {
}

.IssueNote-Header {
    border-bottom: solid 1px var(--dx-color-primary);
    width: 100%;
}

.IssueNote-CreationInfo {
    padding-left: 10px;
    padding-bottom: 4px;
}

.IssueNote-CreatedBy {
    font-weight: bold;
}

.IssueNote-CreatedOn {
    font-size: x-small;
}

.IssueNote-NoteText {
    padding: 10px 5px 3px 5px;
    margin-bottom: 3px;
    white-space: pre-line;
}

.IssueNote-AttachmentContainer {
    padding-top: 5px;
    padding-left: 10px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    width: 100%;
}

.IssueNote-Profile-Pic {
    border-radius: 12px;
}


/* End Issue Note Layout */

.feed-grid {
    border: none!important;
}


.dxbl-grid-indent-cell, .dxbl-grid-expand-button-cell {
    border-left: 0px !important;
    border-top: 0px !important;
}


/* Issue Grid Line Customization */

.issue-grid-nolines,
.issue-grid-nolines dxbl-virtual-scroll-viewer table td,
.issue-grid-nolines dxbl-virtual-scroll-viewer table th {
    border: none !important;
}

/* End Issue Grid Line Customization */


/* Icon Property Editor Customization */

.icoedit {
    vertical-align: middle;
}

.icoedit img {
    vertical-align: middle;
    margin-right: 3px;
    height: 16px;
    width: 16px;
}

.icoedit svg {
    vertical-align: middle;
    margin-right: 6px;
}

/* End Icon Property Editor Customization */


.loading-image-wrapper {
    background-color: transparent !important;
}

.loading-image {
    width: 70px;
    height: 70px;
}



/* Pinned issue dropdown items */
.pinned-issue-item {
    cursor: pointer;
    border-radius: 4px;
    padding: 2px 4px;
    transition: text-shadow 0.15s ease, color 0.15s ease;
}

.pinned-issue-item:hover {
    color: var(--lls-hover);
    text-shadow: 0 0 8px rgb(var(--lls-glow-rgb) / 0.85), 0 0 16px rgb(var(--lls-accent-rgb) / 0.5);
}

.dxbl-tabs {
    --dxbl-tabs-image-spacing: 4px;
}

/* Cap the MDI tab caption width so long view titles don't stretch the tab strip.
   Only the title text truncates (with an ellipsis); the icon and close button are untouched.
   XAF keeps the full caption in the tab's title attribute, so hover still shows the whole name. */
.xaf-tabbed-mdi .xaf-tab-header-template > span:not(.xaf-layout-tab-icon) {
    display: inline-block;
    max-width: 220px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    vertical-align: middle;
}