@import url('open.iconic/font/css/open-iconic-bootstrap.min.css');

/* ===========================================
   GRID BORDERS - Theme Adaptive Styling
   Works for both light and dark themes
   =========================================== */

/* Grid cell borders - use theme-aware border color */
.dxbl-grid td,
.dxbl-grid th,
.dxbl-grid-cell,
.dxbl-grid-header-cell,
.dxbl-grid-data-cell,
.dxbl-grid-data-row td,
.dxbl-grid-header-row th {
    border-color: var(--bs-border-color, rgba(0, 0, 0, 0.12)) !important;
}

/* Grid outer border */
.dxbl-grid,
.dxbl-grid-table,
.dxbl-grid-container {
    border-color: var(--bs-border-color, rgba(0, 0, 0, 0.15)) !important;
}

/* Grid header row bottom border */
.dxbl-grid-header-row,
.dxbl-grid-header-row th {
    border-bottom-color: var(--bs-border-color, rgba(0, 0, 0, 0.18)) !important;
}

/* Filter row borders */
.dxbl-grid-filter-row,
.dxbl-grid-filter-row td {
    border-color: var(--bs-border-color, rgba(0, 0, 0, 0.12)) !important;
}

/* Grouping panel border */
.dxbl-grid-grouping-panel {
    border-color: var(--bs-border-color, rgba(0, 0, 0, 0.12)) !important;
}

/* Pager/footer area border */
.dxbl-grid-pager,
.dxbl-grid-footer {
    border-color: var(--bs-border-color, rgba(0, 0, 0, 0.12)) !important;
}

/* Detail row borders */
.dxbl-grid-detail-row,
.dxbl-grid-detail-row td {
    border-color: var(--bs-border-color, rgba(0, 0, 0, 0.12)) !important;
}

/* ===========================================
   DARK THEME - Softer Grid Borders Override
   Override to use lighter borders on dark backgrounds
   =========================================== */

/* Dark themes - use white-based borders for visibility */
body[class*="theme-fluent-dark"] .dxbl-grid td,
body[class*="theme-fluent-dark"] .dxbl-grid th,
body[class*="theme-fluent-dark"] .dxbl-grid-cell,
body[class*="theme-fluent-dark"] .dxbl-grid-header-cell,
body[class*="theme-fluent-dark"] .dxbl-grid-data-cell,
body[class*="theme-fluent-dark"] .dxbl-grid-data-row td,
body[class*="theme-fluent-dark"] .dxbl-grid-header-row th,
body.theme-blazing-dark .dxbl-grid td,
body.theme-blazing-dark .dxbl-grid th,
body.theme-blazing-dark .dxbl-grid-cell,
body.theme-blazing-dark .dxbl-grid-header-cell,
body.theme-blazing-dark .dxbl-grid-data-cell,
body.theme-blazing-dark .dxbl-grid-data-row td,
body.theme-blazing-dark .dxbl-grid-header-row th,
body.theme-blazing-berry .dxbl-grid td,
body.theme-blazing-berry .dxbl-grid th,
body.theme-blazing-berry .dxbl-grid-cell,
body.theme-blazing-berry .dxbl-grid-header-cell,
body.theme-blazing-berry .dxbl-grid-data-cell,
body.theme-blazing-berry .dxbl-grid-data-row td,
body.theme-blazing-berry .dxbl-grid-header-row th {
    border-color: rgba(255, 255, 255, 0.12) !important;
}

body[class*="theme-fluent-dark"] .dxbl-grid,
body[class*="theme-fluent-dark"] .dxbl-grid-table,
body[class*="theme-fluent-dark"] .dxbl-grid-container,
body.theme-blazing-dark .dxbl-grid,
body.theme-blazing-dark .dxbl-grid-table,
body.theme-blazing-dark .dxbl-grid-container,
body.theme-blazing-berry .dxbl-grid,
body.theme-blazing-berry .dxbl-grid-table,
body.theme-blazing-berry .dxbl-grid-container {
    border-color: rgba(255, 255, 255, 0.15) !important;
}

body[class*="theme-fluent-dark"] .dxbl-grid-header-row,
body[class*="theme-fluent-dark"] .dxbl-grid-header-row th,
body.theme-blazing-dark .dxbl-grid-header-row,
body.theme-blazing-dark .dxbl-grid-header-row th,
body.theme-blazing-berry .dxbl-grid-header-row,
body.theme-blazing-berry .dxbl-grid-header-row th {
    border-bottom-color: rgba(255, 255, 255, 0.18) !important;
}

body[class*="theme-fluent-dark"] .dxbl-grid-filter-row,
body[class*="theme-fluent-dark"] .dxbl-grid-filter-row td,
body[class*="theme-fluent-dark"] .dxbl-grid-grouping-panel,
body[class*="theme-fluent-dark"] .dxbl-grid-pager,
body[class*="theme-fluent-dark"] .dxbl-grid-footer,
body[class*="theme-fluent-dark"] .dxbl-grid-detail-row,
body[class*="theme-fluent-dark"] .dxbl-grid-detail-row td,
body.theme-blazing-dark .dxbl-grid-filter-row,
body.theme-blazing-dark .dxbl-grid-filter-row td,
body.theme-blazing-dark .dxbl-grid-grouping-panel,
body.theme-blazing-dark .dxbl-grid-pager,
body.theme-blazing-dark .dxbl-grid-footer,
body.theme-blazing-dark .dxbl-grid-detail-row,
body.theme-blazing-dark .dxbl-grid-detail-row td,
body.theme-blazing-berry .dxbl-grid-filter-row,
body.theme-blazing-berry .dxbl-grid-filter-row td,
body.theme-blazing-berry .dxbl-grid-grouping-panel,
body.theme-blazing-berry .dxbl-grid-pager,
body.theme-blazing-berry .dxbl-grid-footer,
body.theme-blazing-berry .dxbl-grid-detail-row,
body.theme-blazing-berry .dxbl-grid-detail-row td {
    border-color: rgba(255, 255, 255, 0.12) !important;
}

/* ===========================================
   LIGHT THEME - Visible Grid Borders
   Ensure borders are visible on light backgrounds
   =========================================== */

/* Light themes - use black-based borders for visibility */
body[class*="theme-fluent-light"] .dxbl-grid td,
body[class*="theme-fluent-light"] .dxbl-grid th,
body[class*="theme-fluent-light"] .dxbl-grid-cell,
body[class*="theme-fluent-light"] .dxbl-grid-header-cell,
body[class*="theme-fluent-light"] .dxbl-grid-data-cell,
body[class*="theme-fluent-light"] .dxbl-grid-data-row td,
body[class*="theme-fluent-light"] .dxbl-grid-header-row th,
body.theme-office-white .dxbl-grid td,
body.theme-office-white .dxbl-grid th,
body.theme-office-white .dxbl-grid-cell,
body.theme-office-white .dxbl-grid-header-cell,
body.theme-office-white .dxbl-grid-data-cell,
body.theme-office-white .dxbl-grid-data-row td,
body.theme-office-white .dxbl-grid-header-row th,
body.theme-purple .dxbl-grid td,
body.theme-purple .dxbl-grid th,
body.theme-purple .dxbl-grid-cell,
body.theme-purple .dxbl-grid-header-cell,
body.theme-purple .dxbl-grid-data-cell,
body.theme-purple .dxbl-grid-data-row td,
body.theme-purple .dxbl-grid-header-row th {
    border-color: rgba(0, 0, 0, 0.12) !important;
}

body[class*="theme-fluent-light"] .dxbl-grid,
body[class*="theme-fluent-light"] .dxbl-grid-table,
body[class*="theme-fluent-light"] .dxbl-grid-container,
body.theme-office-white .dxbl-grid,
body.theme-office-white .dxbl-grid-table,
body.theme-office-white .dxbl-grid-container,
body.theme-purple .dxbl-grid,
body.theme-purple .dxbl-grid-table,
body.theme-purple .dxbl-grid-container {
    border-color: rgba(0, 0, 0, 0.15) !important;
}

body[class*="theme-fluent-light"] .dxbl-grid-header-row,
body[class*="theme-fluent-light"] .dxbl-grid-header-row th,
body.theme-office-white .dxbl-grid-header-row,
body.theme-office-white .dxbl-grid-header-row th,
body.theme-purple .dxbl-grid-header-row,
body.theme-purple .dxbl-grid-header-row th {
    border-bottom-color: rgba(0, 0, 0, 0.18) !important;
}

body[class*="theme-fluent-light"] .dxbl-grid-filter-row,
body[class*="theme-fluent-light"] .dxbl-grid-filter-row td,
body[class*="theme-fluent-light"] .dxbl-grid-grouping-panel,
body[class*="theme-fluent-light"] .dxbl-grid-pager,
body[class*="theme-fluent-light"] .dxbl-grid-footer,
body[class*="theme-fluent-light"] .dxbl-grid-detail-row,
body[class*="theme-fluent-light"] .dxbl-grid-detail-row td,
body.theme-office-white .dxbl-grid-filter-row,
body.theme-office-white .dxbl-grid-filter-row td,
body.theme-office-white .dxbl-grid-grouping-panel,
body.theme-office-white .dxbl-grid-pager,
body.theme-office-white .dxbl-grid-footer,
body.theme-office-white .dxbl-grid-detail-row,
body.theme-office-white .dxbl-grid-detail-row td,
body.theme-purple .dxbl-grid-filter-row,
body.theme-purple .dxbl-grid-filter-row td,
body.theme-purple .dxbl-grid-grouping-panel,
body.theme-purple .dxbl-grid-pager,
body.theme-purple .dxbl-grid-footer,
body.theme-purple .dxbl-grid-detail-row,
body.theme-purple .dxbl-grid-detail-row td {
    border-color: rgba(0, 0, 0, 0.12) !important;
}

/* ===========================================
   PAGER BUTTON BORDERS - Theme Adaptive
   Add visible borders to pagination buttons
   =========================================== */

/* Dark themes - pager buttons with white borders */
body[class*="theme-fluent-dark"] .dxbl-grid-pager button,
body[class*="theme-fluent-dark"] .dxbl-grid-pager .dxbl-btn,
body[class*="theme-fluent-dark"] .dxbl-grid-pager .dxbl-pager-btn,
body[class*="theme-fluent-dark"] .dxbl-grid-pager .dxbl-navigation-btn,
body[class*="theme-fluent-dark"] .dxbl-pager button,
body[class*="theme-fluent-dark"] .dxbl-pager .dxbl-btn,
body[class*="theme-fluent-dark"] .dxbl-navigation button,
body[class*="theme-fluent-dark"] .dxbl-navigation .dxbl-btn,
body.theme-blazing-dark .dxbl-grid-pager button,
body.theme-blazing-dark .dxbl-grid-pager .dxbl-btn,
body.theme-blazing-dark .dxbl-pager button,
body.theme-blazing-dark .dxbl-pager .dxbl-btn,
body.theme-blazing-berry .dxbl-grid-pager button,
body.theme-blazing-berry .dxbl-grid-pager .dxbl-btn,
body.theme-blazing-berry .dxbl-pager button,
body.theme-blazing-berry .dxbl-pager .dxbl-btn {
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    border-radius: 3px !important;
}

body[class*="theme-fluent-dark"] .dxbl-grid-pager input,
body[class*="theme-fluent-dark"] .dxbl-grid-pager .dxbl-pager-page-input,
body[class*="theme-fluent-dark"] .dxbl-grid-pager input[type="text"],
body[class*="theme-fluent-dark"] .dxbl-pager input,
body[class*="theme-fluent-dark"] .dxbl-pager .dxbl-spin-edit,
body[class*="theme-fluent-dark"] .dxbl-pager .dxbl-text-edit,
body.theme-blazing-dark .dxbl-grid-pager input,
body.theme-blazing-dark .dxbl-pager input,
body.theme-blazing-berry .dxbl-grid-pager input,
body.theme-blazing-berry .dxbl-pager input {
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    border-radius: 3px !important;
}

body[class*="theme-fluent-dark"] .dxbl-grid-pager button:hover,
body[class*="theme-fluent-dark"] .dxbl-grid-pager .dxbl-btn:hover,
body[class*="theme-fluent-dark"] .dxbl-pager button:hover,
body[class*="theme-fluent-dark"] .dxbl-pager .dxbl-btn:hover,
body.theme-blazing-dark .dxbl-grid-pager button:hover,
body.theme-blazing-dark .dxbl-pager button:hover,
body.theme-blazing-berry .dxbl-grid-pager button:hover,
body.theme-blazing-berry .dxbl-pager button:hover {
    border-color: rgba(255, 255, 255, 0.4) !important;
}

body[class*="theme-fluent-dark"] .dxbl-grid-pager button.active,
body[class*="theme-fluent-dark"] .dxbl-grid-pager .dxbl-btn.active,
body[class*="theme-fluent-dark"] .dxbl-grid-pager button[aria-current="page"],
body[class*="theme-flaming-dark"] .dxbl-pager button.active,
body[class*="theme-blazing-berry"] .dxbl-pager button.active {
    border-color: rgba(255, 255, 255, 0.35) !important;
}

/* Light themes - pager buttons with dark borders */
body[class*="theme-fluent-light"] .dxbl-grid-pager button,
body[class*="theme-fluent-light"] .dxbl-grid-pager .dxbl-btn,
body[class*="theme-fluent-light"] .dxbl-grid-pager .dxbl-pager-btn,
body[class*="theme-fluent-light"] .dxbl-grid-pager .dxbl-navigation-btn,
body[class*="theme-fluent-light"] .dxbl-pager button,
body[class*="theme-fluent-light"] .dxbl-pager .dxbl-btn,
body[class*="theme-fluent-light"] .dxbl-navigation button,
body[class*="theme-fluent-light"] .dxbl-navigation .dxbl-btn,
body.theme-office-white .dxbl-grid-pager button,
body.theme-office-white .dxbl-grid-pager .dxbl-btn,
body.theme-office-white .dxbl-pager button,
body.theme-office-white .dxbl-pager .dxbl-btn,
body.theme-purple .dxbl-grid-pager button,
body.theme-purple .dxbl-grid-pager .dxbl-btn,
body.theme-purple .dxbl-pager button,
body.theme-purple .dxbl-pager .dxbl-btn {
    border: 1px solid rgba(0, 0, 0, 0.2) !important;
    border-radius: 3px !important;
}

body[class*="theme-fluent-light"] .dxbl-grid-pager input,
body[class*="theme-fluent-light"] .dxbl-grid-pager .dxbl-pager-page-input,
body[class*="theme-fluent-light"] .dxbl-grid-pager input[type="text"],
body[class*="theme-fluent-light"] .dxbl-pager input,
body[class*="theme-fluent-light"] .dxbl-pager .dxbl-spin-edit,
body[class*="theme-fluent-light"] .dxbl-pager .dxbl-text-edit,
body.theme-office-white .dxbl-grid-pager input,
body.theme-office-white .dxbl-pager input,
body.theme-purple .dxbl-grid-pager input,
body.theme-purple .dxbl-pager input {
    border: 1px solid rgba(0, 0, 0, 0.2) !important;
    border-radius: 3px !important;
}

body[class*="theme-fluent-light"] .dxbl-grid-pager button:hover,
body[class*="theme-fluent-light"] .dxbl-grid-pager .dxbl-btn:hover,
body[class*="theme-fluent-light"] .dxbl-pager button:hover,
body[class*="theme-fluent-light"] .dxbl-pager .dxbl-btn:hover,
body.theme-office-white .dxbl-grid-pager button:hover,
body.theme-office-white .dxbl-pager button:hover,
body.theme-purple .dxbl-grid-pager button:hover,
body.theme-purple .dxbl-pager button:hover {
    border-color: rgba(0, 0, 0, 0.35) !important;
}

body[class*="theme-fluent-light"] .dxbl-grid-pager button.active,
body[class*="theme-fluent-light"] .dxbl-grid-pager .dxbl-btn.active,
body[class*="theme-fluent-light"] .dxbl-grid-pager button[aria-current="page"],
body[class*="theme-fluent-light"] .dxbl-pager button.active,
body[class*="theme-fluent-light"] .dxbl-pager .dxbl-btn.active,
body.theme-office-white .dxbl-grid-pager button.active,
body.theme-office-white .dxbl-pager button.active,
body.theme-purple .dxbl-grid-pager button.active,
body.theme-purple .dxbl-pager button.active {
    border-color: rgba(0, 0, 0, 0.3) !important;
}

/* End of Grid Border Styling */

/* ===========================================
   CRITICAL: DxHtmlEditor White Background Override
   Must be at the TOP to load before component initialization
   Prevents dark-to-white flash on first render
   =========================================== */

/* Pre-emptive white background for HTML editor CONTENT ONLY - NOT toolbar */
.ql-container,
.ql-container *:not(.ql-toolbar):not(.ql-toolbar *),
.ql-editor,
.ql-editor *,
.dxbl-html-editor-content,
.dxbl-html-editor-content *,
.dx-htmleditor-content,
.dx-htmleditor-content *,
div[class*="white-editor"] .ql-container,
div[class*="white-editor"] .ql-container *:not(.ql-toolbar):not(.ql-toolbar *),
div[class*="white-editor"] .ql-editor,
div[class*="white-editor"] .ql-editor * {
    background-color: #ffffff !important;
}

/* Ensure editor text is black */
.ql-editor,
.dxbl-html-editor-content,
.dx-htmleditor-content {
    color: #000000 !important;
}

/* CRITICAL: Keep toolbar with theme colors - MAXIMUM specificity */
.ql-toolbar,
.ql-toolbar *,
.ql-toolbar.ql-snow,
.ql-toolbar.ql-snow *,
.dxbl-html-editor-toolbar,
.dxbl-html-editor-toolbar *,
.dxbl-html-editor > .ql-toolbar,
.dxbl-html-editor > .ql-toolbar *,
div[class*="html-editor"] .ql-toolbar,
div[class*="html-editor"] .ql-toolbar *,
div[class*="white-editor"] .ql-toolbar,
div[class*="white-editor"] .ql-toolbar * {
    background-color: var(--dxbl-grid-header-bg, #f8f9fa) !important;
    background: var(--dxbl-grid-header-bg, #f8f9fa) !important;
}

/* End of critical override */

html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

html, body {
    height: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

.button-link {
    text-decoration: unset;
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

.title {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding-bottom: 0.625rem;
}

    .title.title-secondary {
        padding-top: 0.313rem;
        padding-bottom: 0;
        color: var(--bs-secondary-color);
    }

.title-header-text {
    font-size: 2.5rem;
    line-height: 3rem;
    font-weight: 600;
    letter-spacing: 0rem;
    padding: 0.3125rem 0;
}

.title-content-text {
    font-size: 1.75rem;
    font-weight: 400;
    line-height: 2.5rem;
    letter-spacing: 0rem;
}

.main-content {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 100%;
}

.block-content {
    width: 31.25rem;
    height: auto;
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
    max-width: 100%;
}


.or {
    display: flex;
    flex-direction: row;
    align-items: center;
}

    .or .or-line {
        border-bottom: 1px solid var(--bs-body-color);
        width: 100%;
        opacity: 0.2;
    }

    .or .or-text {
        padding: 0 0.625rem 0px 0.625rem;
        font-size: 0.75rem;
        line-height: 1.125rem;
        color: var(--bs-body-color);
        opacity: 0.7;
    }

.links-area {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
    padding-top: 0.625rem;
}

.links-container {
    display: flex;
    gap: 0.25rem;
    justify-content: center;
    align-items: center;
}

    .links-container .dot {
        height: 0.3125rem;
        width: 0.3125rem;
        margin: 0 0.1875rem;
        border-radius: 50%;
        background-color: var(--bs-body-color);
        opacity: 0.7;
    }

.manage-layout {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.info-message::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.15;
    background: var(--bs-primary);
    z-index: -1;
}

.info-message {
    padding: 0.625rem 1rem 0.625rem 1rem;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

    .info-message.info-panel {
        margin-bottom: 0.625rem;
    }

.manage-content {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.large-input {
    height: 4.3125rem;
    font-size: 1.875rem;
}

.title-content-text-secondary {
    font-size: 1.25rem;
    line-height: 1.75rem;
}

.button-group {
    display: flex;
    flex-direction: row;
    gap: 0.625rem;
}

.confirm-button {
    margin-top: 0.3125rem;
}

.display-desktop {
    display: block;
}

.display-mobile {
    display: none;
}

.icon-external-provider {
    width: 1rem;
    height: 1rem;
}

.icon-google {
    background-image: url("/images/account/providers/google-logo.svg")
}

.icon-facebook {
    background-image: url("/images/account/providers/facebook-logo.svg")
}

.icon-microsoft {
    background-image: url("/images/account/providers/microsoft-logo.svg")
}

.icon-twitter {
    background-image: url("/images/account/providers/x-logo.svg")
}

@media (max-width: 768px) {
    .display-desktop {
        display: none;
    }

    .display-mobile {
        display: block;
    }
}

/* Global override for ribbon buttons - remove DevExpress purple background */
/* Target all possible DevExpress button selectors and states */
.ribbon-btn .dxbs-btn,
.ribbon-btn .dxbl-btn,
.ribbon-btn button.btn,
.ribbon-btn button.dxbs-btn-primary,
.ribbon-btn button.dxbl-btn-primary,
.ribbon-btn button,
.ribbon-btn button[type="button"],
.ribbon-group .ribbon-btn button,
.license-ribbon .ribbon-btn button,
button.dxbs-btn.btn.btn-primary.dxbl-btn,
.ribbon-btn .btn-primary {
    background-color: transparent !important;
    background: transparent !important;
    background-image: none !important;
    border-color: #3d4a55 !important;
}

.ribbon-btn .dxbs-btn:hover,
.ribbon-btn .dxbl-btn:hover,
.ribbon-btn button.btn:hover,
.ribbon-btn button:hover,
.ribbon-btn button[type="button"]:hover {
    background-color: rgba(88, 185, 227, 0.1) !important;
    background: rgba(88, 185, 227, 0.1) !important;
    background-image: none !important;
    border-color: #58b9e3 !important;
}

.ribbon-btn .dxbs-btn:active,
.ribbon-btn .dxbs-btn:focus,
.ribbon-btn .dxbl-btn:active,
.ribbon-btn .dxbl-btn:focus,
.ribbon-btn button:active,
.ribbon-btn button:focus,
.ribbon-btn button[type="button"]:active,
.ribbon-btn button[type="button"]:focus {
    background-color: rgba(95, 191, 230, 0.15) !important;
    background: rgba(95, 191, 230, 0.15) !important;
    background-image: none !important;
    border-color: #5fbfe6 !important;
}

/* Style DevExpress built-in icons in ribbon buttons */
.ribbon-btn button .dx-icon,
.ribbon-btn button::before {
    color: #e6e8ea !important;
    font-size: 24px !important;
}

.ribbon-btn button:hover .dx-icon,
.ribbon-btn button:hover::before {
    color: #5fbfe6 !important;
}

/* Override DevExpress CSS variables for buttons within ribbon */
.license-ribbon {
    --bs-btn-bg: transparent;
    --bs-btn-hover-bg: rgba(88, 185, 227, 0.1);
    --bs-btn-active-bg: rgba(95, 191, 230, 0.15);
    --dxbl-btn-bg: transparent;
    --dxbl-btn-hover-bg: rgba(88, 185, 227, 0.1);
    --dxbl-btn-active-bg: rgba(95, 191, 230, 0.15);
}

/* Activation Log Detail Styles */
.detail-row-container {
    padding: 20px;
    background-color: var(--dxbl-grid-header-bg, #f8f9fa);
    border-top: 2px solid var(--dxbl-border-color, #dee2e6);
}

.detail-row-container h6 {
    margin: 0 0 15px 0;
    color: var(--dxbl-text-color, #333);
    font-size: 16px;
    font-weight: 600;
}

.activation-log-grid {
    background-color: var(--dxbl-grid-bg, white);
    /* Border removed to match main grid appearance */
    /* border: 1px solid var(--dxbl-border-color, #dee2e6); */
    /* border-radius: 4px; */
    /* box-shadow: 0 2px 4px rgba(0,0,0,0.1); */
}

/* Override DevExpress grid styles for activation log grid */
.activation-log-grid .dxbl-grid-header-content {
    background-color: var(--dxbl-grid-header-bg, #f8f9fa);
    font-weight: 600;
    color: var(--dxbl-grid-header-text-color, #495057);
}

.activation-log-grid .dxbl-grid-data-row:hover {
    background-color: var(--dxbl-grid-row-hover-bg, #f1f3f5);
}

.activation-log-grid .dxbl-grid-cell {
    padding: 8px 12px;
    font-size: 14px;
}

/* Style for alert when no activations found */
.detail-row-container .alert-info {
    margin: 0;
    padding: 12px 20px;
    background-color: var(--dxbl-info-bg, #d1ecf1);
    border: 1px solid var(--dxbl-info-border, #bee5eb);
    border-radius: 4px;
    color: var(--dxbl-info-text, #0c5460);
}

/* Hide detail row expand button for rows that shouldn't have details */
/* Keep the cell visible but empty to maintain column alignment */
.dxbl-grid-data-row.no-detail-row .dxbl-grid-detail-btn,
.dxbl-grid-data-row.no-detail-row td:first-child button,
.dxbl-grid-data-row.no-detail-row td:first-child .dxbl-btn,
tr.no-detail-row .dxbl-grid-detail-btn,
tr.no-detail-row td:first-child button,
tr.no-detail-row td:first-child .dx-blazor-expand-button,
tr.no-detail-row td:first-child > *:not(.dxbl-grid-selection-column) {
    display: none !important;
}

/* Ensure the detail button cell maintains width even when empty */
.dxbl-grid-data-row.no-detail-row > td:first-child:not(.dxbl-grid-selection-column) {
    min-width: 32px !important;
    width: 32px !important;
}

/* Ensure selection column (if present) is not affected */
.dxbl-grid-selection-column {
    display: table-cell !important;
}

/* ===========================================
   SEND MAIL DIALOG - DxMemo Full Height Fix
   =========================================== */

/* Wrapper for html-source-editor - height will be inherited from DxMemo component */
.html-source-editor {
    position: relative !important;
    width: 100% !important;
    padding-bottom: 3px !important;
}

/* Force DxMemo in html-source-editor to fill 100% height - GLOBAL OVERRIDE */
.html-source-editor .dxbl-edit,
.html-source-editor .dxbl-edit > div,
.html-source-editor .dxbl-memo,
.html-source-editor .dxbl-memo > div,
.html-source-editor .dxbl-edit-container,
.html-source-editor .dxbl-edit-input-container,
html, body {
    height: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

.button-link {
    text-decoration: unset;
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

.title {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding-bottom: 0.625rem;
}

    .title.title-secondary {
        padding-top: 0.313rem;
        padding-bottom: 0;
        color: var(--bs-secondary-color);
    }

.title-header-text {
    font-size: 2.5rem;
    line-height: 3rem;
    font-weight: 600;
    letter-spacing: 0rem;
    padding: 0.3125rem 0;
}

.title-content-text {
    font-size: 1.75rem;
    font-weight: 400;
    line-height: 2.5rem;
    letter-spacing: 0rem;
}

.main-content {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 100%;
}

.block-content {
    width: 31.25rem;
    height: auto;
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
    max-width: 100%;
}


.or {
    display: flex;
    flex-direction: row;
    align-items: center;
}

    .or .or-line {
        border-bottom: 1px solid var(--bs-body-color);
        width: 100%;
        opacity: 0.2;
    }

    .or .or-text {
        padding: 0 0.625rem 0px 0.625rem;
        font-size: 0.75rem;
        line-height: 1.125rem;
        color: var(--bs-body-color);
        opacity: 0.7;
    }

.links-area {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
    padding-top: 0.625rem;
}

.links-container {
    display: flex;
    gap: 0.25rem;
    justify-content: center;
    align-items: center;
}

    .links-container .dot {
        height: 0.3125rem;
        width: 0.3125rem;
        margin: 0 0.1875rem;
        border-radius: 50%;
        background-color: var(--bs-body-color);
        opacity: 0.7;
    }

.manage-layout {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.info-message::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.15;
    background: var(--bs-primary);
    z-index: -1;
}

.info-message {
    padding: 0.625rem 1rem 0.625rem 1rem;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

    .info-message.info-panel {
        margin-bottom: 0.625rem;
    }

.manage-content {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.large-input {
    height: 4.3125rem;
    font-size: 1.875rem;
}

.title-content-text-secondary {
    font-size: 1.25rem;
    line-height: 1.75rem;
}

.button-group {
    display: flex;
    flex-direction: row;
    gap: 0.625rem;
}

.confirm-button {
    margin-top: 0.3125rem;
}

.display-desktop {
    display: block;
}

.display-mobile {
    display: none;
}

.icon-external-provider {
    width: 1rem;
    height: 1rem;
}

.icon-google {
    background-image: url("/images/account/providers/google-logo.svg")
}

.icon-facebook {
    background-image: url("/images/account/providers/facebook-logo.svg")
}

.icon-microsoft {
    background-image: url("/images/account/providers/microsoft-logo.svg")
}

.icon-twitter {
    background-image: url("/images/account/providers/x-logo.svg")
}

@media (max-width: 768px) {
    .display-desktop {
        display: none;
    }

    .display-mobile {
        display: block;
    }
}

/* Global override for ribbon buttons - remove DevExpress purple background */
/* Target all possible DevExpress button selectors and states */
.ribbon-btn .dxbs-btn,
.ribbon-btn .dxbl-btn,
.ribbon-btn button.btn,
.ribbon-btn button.dxbs-btn-primary,
.ribbon-btn button.dxbl-btn-primary,
.ribbon-btn button,
.ribbon-btn button[type="button"],
.ribbon-group .ribbon-btn button,
.license-ribbon .ribbon-btn button,
button.dxbs-btn.btn.btn-primary.dxbl-btn,
.ribbon-btn .btn-primary {
    background-color: transparent !important;
    background: transparent !important;
    background-image: none !important;
    border-color: #3d4a55 !important;
}

.ribbon-btn .dxbs-btn:hover,
.ribbon-btn .dxbl-btn:hover,
.ribbon-btn button.btn:hover,
.ribbon-btn button:hover,
.ribbon-btn button[type="button"]:hover {
    background-color: rgba(88, 185, 227, 0.1) !important;
    background: rgba(88, 185, 227, 0.1) !important;
    background-image: none !important;
    border-color: #58b9e3 !important;
}

.ribbon-btn .dxbs-btn:active,
.ribbon-btn .dxbs-btn:focus,
.ribbon-btn .dxbl-btn:active,
.ribbon-btn .dxbl-btn:focus,
.ribbon-btn button:active,
.ribbon-btn button:focus,
.ribbon-btn button[type="button"]:active,
.ribbon-btn button[type="button"]:focus {
    background-color: rgba(95, 191, 230, 0.15) !important;
    background: rgba(95, 191, 230, 0.15) !important;
    background-image: none !important;
    border-color: #5fbfe6 !important;
}

/* Style DevExpress built-in icons in ribbon buttons */
.ribbon-btn button .dx-icon,
.ribbon-btn button::before {
    color: #e6e8ea !important;
    font-size: 24px !important;
}

.ribbon-btn button:hover .dx-icon,
.ribbon-btn button:hover::before {
    color: #5fbfe6 !important;
}

/* Override DevExpress CSS variables for buttons within ribbon */
.license-ribbon {
    --bs-btn-bg: transparent;
    --bs-btn-hover-bg: rgba(88, 185, 227, 0.1);
    --bs-btn-active-bg: rgba(95, 191, 230, 0.15);
    --dxbl-btn-bg: transparent;
    --dxbl-btn-hover-bg: rgba(88, 185, 227, 0.1);
    --dxbl-btn-active-bg: rgba(95, 191, 230, 0.15);
}

/* Activation Log Detail Styles */
.detail-row-container {
    padding: 20px;
    background-color: var(--dxbl-grid-header-bg, #f8f9fa);
    border-top: 2px solid var(--dxbl-border-color, #dee2e6);
}

.detail-row-container h6 {
    margin: 0 0 15px 0;
    color: var(--dxbl-text-color, #333);
    font-size: 16px;
    font-weight: 600;
}

.activation-log-grid {
    background-color: var(--dxbl-grid-bg, white);
    /* Border removed to match main grid appearance */
    /* border: 1px solid var(--dxbl-border-color, #dee2e6); */
    /* border-radius: 4px; */
    /* box-shadow: 0 2px 4px rgba(0,0,0,0.1); */
}

/* Override DevExpress grid styles for activation log grid */
.activation-log-grid .dxbl-grid-header-content {
    background-color: var(--dxbl-grid-header-bg, #f8f9fa);
    font-weight: 600;
    color: var(--dxbl-grid-header-text-color, #495057);
}

.activation-log-grid .dxbl-grid-data-row:hover {
    background-color: var(--dxbl-grid-row-hover-bg, #f1f3f5);
}

.activation-log-grid .dxbl-grid-cell {
    padding: 8px 12px;
    font-size: 14px;
}

/* Style for alert when no activations found */
.detail-row-container .alert-info {
    margin: 0;
    padding: 12px 20px;
    background-color: var(--dxbl-info-bg, #d1ecf1);
    border: 1px solid var(--dxbl-info-border, #bee5eb);
    border-radius: 4px;
    color: var(--dxbl-info-text, #0c5460);
}

/* Hide detail row expand button for rows that shouldn't have details */
/* Keep the cell visible but empty to maintain column alignment */
.dxbl-grid-data-row.no-detail-row .dxbl-grid-detail-btn,
.dxbl-grid-data-row.no-detail-row td:first-child button,
.dxbl-grid-data-row.no-detail-row td:first-child .dxbl-btn,
tr.no-detail-row .dxbl-grid-detail-btn,
tr.no-detail-row td:first-child button,
tr.no-detail-row td:first-child .dx-blazor-expand-button,
tr.no-detail-row td:first-child > *:not(.dxbl-grid-selection-column) {
    display: none !important;
}

/* Ensure the detail button cell maintains width even when empty */
.dxbl-grid-data-row.no-detail-row > td:first-child:not(.dxbl-grid-selection-column) {
    min-width: 32px !important;
    width: 32px !important;
}

/* Ensure selection column (if present) is not affected */
.dxbl-grid-selection-column {
    display: table-cell !important;
}

/* ===========================================
   SEND MAIL DIALOG - DxMemo Full Height Fix
   =========================================== */

/* Wrapper for html-source-editor - height will be inherited from DxMemo component */
.html-source-editor {
    position: relative !important;
    width: 100% !important;
    padding-bottom: 3px !important;
}

/* Force DxMemo in html-source-editor to fill 100% height - GLOBAL OVERRIDE */
.html-source-editor .dxbl-edit,
.html-source-editor .dxbl-edit > div,
.html-source-editor .dxbl-memo,
.html-source-editor .dxbl-memo > div,
.html-source-editor .dxbl-edit-container,
.html-source-editor .dxbl-edit-input-container,
.html-source-editor div[class*="dxbl"],
.html-source-editor div[class*="dxbs"] {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 3px !important;
    width: 100% !important;
    height: calc(100% - 3px) !important;
    max-height: calc(100% - 3px) !important;
}

/* The actual textarea element - White background */
.html-source-editor textarea,
.html-source-editor textarea.form-control,
.html-source-editor textarea.dxbl-edit-input,
.html-source-editor .dxbl-memo-content {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    height: 100% !important;
    max-height: none !important;
    border: none !important;
    resize: none !important;
    font-family: 'Consolas', 'Courier New', monospace !important;
    font-size: 13px !important;
    padding: 10px !important;
    line-height: 1.5 !important;
    white-space: pre-wrap !important;
    word-wrap: break-word !important;
    overflow: auto !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    tab-size: 4 !important;
    -moz-tab-size: 4 !important;
}

/* Custom scrollbar for HTML editor - Dark theme */
.html-source-editor textarea::-webkit-scrollbar {
    width: 14px;
    height: 14px;
}

.html-source-editor textarea::-webkit-scrollbar-track {
    background: var(--dxbl-grid-header-bg, #1e1e1e);
}

.html-source-editor textarea::-webkit-scrollbar-thumb {
    background: var(--dxbl-scrollbar-thumb-bg, #424242);
    border-radius: 0px;
}

.html-source-editor textarea::-webkit-scrollbar-thumb:hover {
    background: var(--dxbl-scrollbar-thumb-hover-bg, #4e4e4e);
}

/* ===========================================
   SEND MAIL DIALOG - White Background for All Editors
   =========================================== */

/* Force white background on HTML tab (DxMemo) */
.html-source-editor .dxbl-edit,
.html-source-editor .dxbl-memo {
    background-color: #ffffff !important;
}

/* Force white background on Design tab (DxHtmlEditor) */
.html-editor .dxbl-html-editor,
.html-editor .dxbl-html-editor-content,
.html-editor .ql-container,
.html-editor .ql-container.ql-snow,
.html-editor .ql-editor,
.html-editor .dx-htmleditor,
.html-editor .dx-htmleditor-content {
    background-color: #ffffff !important;
}

.html-editor .ql-editor {
    color: #000000 !important;
}

/* Force white background on Preview tab */
.html-preview {
    background-color: #ffffff !important;
    color: #000000 !important;
}

/* Delete Confirmation Popup Styles */
.delete-confirmation-popup-body {
    padding: 20px;
    background: transparent !important;
}

.delete-confirmation-content {
    color: var(--bs-body-color, #e6e8ea) !important;
    text-align: left;
    background: transparent !important;
}

.delete-confirmation-content p {
    line-height: 1.6;
    color: var(--bs-body-color, #e6e8ea) !important;
    background: transparent !important;
}

.delete-confirmation-content strong {
    color: var(--bs-body-color, #ffffff) !important;
}

.delete-confirmation-buttons {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 20px;
}

.delete-cancel-btn,
.delete-confirm-btn {
    min-width: 80px;
}

/* Override DevExpress popup backgrounds for delete confirmation */
::deep .dxbl-popup:has(.delete-confirmation-popup-body) .dxbl-popup-content,
::deep .dxbs-popup:has(.delete-confirmation-popup-body) .dxbs-popup-content,
::deep .dxbl-popup:has(.delete-confirmation-popup-body) .dxbl-popup-body,
::deep .dxbs-popup:has(.delete-confirmation-popup-body) .dxbs-popup-body {
    background: transparent !important;
    background-color: transparent !important;
}

/* Target the modal backdrop/overlay */
::deep .dxbl-popup:has(.delete-confirmation-popup-body) .dxbl-popup-backdrop,
::deep .dxbs-popup:has(.delete-confirmation-popup-body) .dxbs-popup-backdrop,
::deep .dxbl-popup:has(.delete-confirmation-popup-body) .modal-backdrop,
::deep .dxbs-popup:has(.delete-confirmation-popup-body) .modal-backdrop {
    background: transparent !important;
    background-color: transparent !important;
    opacity: 0 !important;
}

/* Global DevExpress Popup Theme Overrides */
::deep .dxbl-popup-content,
::deep .dxbs-popup-content {
    background: var(--bs-body-bg, #ffffff) !important;
    color: var(--bs-body-color, #212529) !important;
}

::deep .dxbl-popup-header,
::deep .dxbs-popup-header {
    background: var(--bs-secondary-bg, #e9ecef) !important;
    color: var(--bs-body-color, #212529) !important;
    border-bottom: 1px solid var(--bs-border-color, #dee2e6) !important;
}

::deep .dxbl-popup-footer,
::deep .dxbs-popup-footer {
    background: var(--bs-secondary-bg, #e9ecef) !important;
    border-top: 1px solid var(--bs-border-color, #dee2e6) !important;
}

/* Form labels in popups */
::deep .dxbl-popup-content label,
::deep .dxbs-popup-content label,
::deep .dxbl-popup-content .dxbl-label,
::deep .dxbs-popup-content .dxbs-label,
::deep .dxbl-popup-content .form-label,
::deep .dxbs-popup-content .form-label,
label.form-label {
    color: var(--bs-body-color, #212529) !important;
}

/* Input fields in popups */
::deep .dxbl-popup-content input,
::deep .dxbs-popup-content input,
::deep .dxbl-popup-content select,
::deep .dxbs-popup-content select,
::deep .dxbl-popup-content textarea,
::deep .dxbs-popup-content textarea {
    background: var(--bs-body-bg, #ffffff) !important;
    color: var(--bs-body-color, #212529) !important;
    border-color: var(--bs-border-color, #dee2e6) !important;
}

/* Tabs in popups */
::deep .dxbl-popup-content .dxbl-tab,
::deep .dxbs-popup-content .dxbs-tab {
    color: var(--bs-body-color, #212529) !important;
}

::deep .dxbl-popup-content .dxbl-tab-active,
::deep .dxbs-popup-content .dxbs-tab-active {
    color: var(--bs-primary, #0d6efd) !important;
}

/* ===========================================
   CUSTOMERS TAB LAYOUT
   =========================================== */

.customers-layout {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: calc(100vh - 120px);
    overflow: hidden;
}

.customers-ribbon {
    background: #2b3e50;
    padding: 10px 20px;
    border-bottom: 1px solid #3d4a55;
    flex-shrink: 0;
}

.customers-grid-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 20px;
    overflow: hidden;
    min-height: 0;
}

.customers-datagrid {
    flex: 1;
    min-height: 0;
}

/* Reuse grid footer styles from licenses */
.customers-grid-container .grid-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    margin-top: 10px;
    border-top: 1px solid var(--bs-border-color, #dee2e6);
    flex-shrink: 0;
}

.customers-grid-container .pager-info {
    color: var(--bs-body-color, #e6e8ea);
    font-size: 14px;
}

.customers-grid-container .page-size-selector {
    display: flex;
    align-items: center;
    gap: 10px;
}

.customers-grid-container .page-size-label {
    color: var(--bs-body-color, #e6e8ea);
    font-size: 14px;
}

.customers-grid-container .page-size-select {
    width: 100px;
}

/* ===========================================
   SEND MAIL DIALOG - FORCE WHITE BACKGROUNDS
   High specificity to override DevExpress theme
   CRITICAL: Applied globally to prevent first-render flash
   =========================================== */

/* AGGRESSIVE: Target editor content ONLY - NOT toolbar */
/* Design tab - DxHtmlEditor - Only the content area */
.send-mail-content .html-editor .ql-container,
.send-mail-content .html-editor .ql-container *,
.send-mail-content .html-editor .ql-editor,
send_mail_content .html-editor .ql-editor *,
.send-mail-content .html-editor .dxbl-html-editor-content,
send_mail_content .html-editor .dxbl-html-editor-content *,
.send-mail-content .white-editor-bg .ql-container,
send_mail_content .white-editor-bg .ql-container *,
send_mail_content .white-editor-bg .ql-editor,
send_mail_content .white-editor-bg .ql-editor *,
div.send-mail-content div.html-editor div.ql-container.ql-snow,
div.send_mail_content div.html_editor div.ql-container.ql-snow {
    background-color: #ffffff !important;
    background: #ffffff !important;
    color: #000000 !important;
}

/* Ensure toolbar keeps its theme color - DO NOT make white */
.send-mail-content .html-editor .ql-toolbar,
.send-mail-content .html-editor .ql-toolbar.ql-snow,
send_mail_content .html-editor .dxbl-html-editor-toolbar,
send_mail_content .html-editor .dxbl-html-editor-toolbar *,
div.send-mail-content div.html-editor div.ql-toolbar,
div.send_mail_content div.html_editor div.ql-toolbar {
    background-color: var(--dxbl-grid-header-bg, #f8f9fa) !important;
    background: var(--dxbl-grid-header-bg, #f8f9fa) !important;
}

/* HTML tab - DxMemo */
.send-mail-content .editor-container .html-source-editor,
.send-mail-content .html-source-editor .dxbl-edit,
send_mail_content .html_source_editor div.dxbl-edit,
send_mail_content .html_source_editor div.dxbl-memo {
    background-color: #ffffff !important;
    background: #ffffff !important;
    color: #000000 !important;
}

/* Preview tab */
.send-mail-content .editor-container .html-preview,
div.send-mail-content div.html-preview {
    background-color: #ffffff !important;
    background: #ffffff !important;
    color: #000000 !important;
}

/* ===========================================
   MFA AUTH BUTTONS - Global Override for DevExpress
   Text and border use theme accent color
   =========================================== */

/* Target MFA auth buttons globally - override DevExpress styling with theme accent color */
.mfa-auth-button.dx-button,
button.mfa-auth-button,
.mfa-buttons-row .dx-button,
.mfa-buttons-row button {
    background-color: rgba(255, 255, 255, 0.05) !important;
    background: rgba(255, 255, 255, 0.05) !important;
    background-image: none !important;
    color: var(--dxbl-accent-bg, var(--bs-primary, #5fbfe6)) !important;
    border: 2px solid var(--dxbl-accent-bg, var(--bs-primary, #5fbfe6)) !important;
    border-radius: 6px !important;
}

/* Button content */
.mfa-auth-button .dx-button-content,
.mfa-buttons-row .dx-button .dx-button-content,
.mfa-buttons-row button .dx-button-content {
    background-color: rgba(255, 255, 255, 0.05) !important;
    background: rgba(255, 255, 255, 0.05) !important;
    background-image: none !important;
    color: var(--dxbl-accent-bg, var(--bs-primary, #5fbfe6)) !important;
}

/* Hover state - use accent color with filter for darker shade */
.mfa-auth-button.dx-button:hover:not(:disabled),
button.mfa-auth-button:hover:not(:disabled),
.mfa-buttons-row .dx-button:hover:not(:disabled),
.mfa-buttons-row button:hover:not(:disabled) {
    background-color: color-mix(in srgb, var(--dxbl-accent-bg, var(--bs-primary, #5fbfe6)) 15%, transparent) !important;
    background: color-mix(in srgb, var(--dxbl-accent-bg, var(--bs-primary, #5fbfe6)) 15%, transparent) !important;
    background-image: none !important;
    border-color: var(--dxbl-accent-bg, var(--bs-primary, #5fbfe6)) !important;
    filter: brightness(0.9);
}

.mfa-auth-button:hover:not(:disabled) .dx-button-content,
.mfa-buttons-row button:hover:not(:disabled) .dx-button-content {
    background-color: color-mix(in srgb, var(--dxbl-accent-bg, var(--bs-primary, #5fbfe6)) 15%, transparent) !important;
    background: color-mix(in srgb, var(--dxbl-accent-bg, var(--bs-primary, #5fbfe6)) 15%, transparent) !important;
    background-image: none !important;
    color: var(--dxbl-accent-bg, var(--bs-primary, #5fbfe6)) !important;
}

/* Active/pressed state */
.mfa-auth-button.dx-button:active,
.mfa-auth-button.dx-button:focus,
button.mfa-auth-button:active,
button.mfa-auth-button:focus {
    background-color: color-mix(in srgb, var(--dxbl-accent-bg, var(--bs-primary, #5fbfe6)) 20%, transparent) !important;
    background: color-mix(in srgb, var(--dxbl-accent-bg, var(--bs-primary, #5fbfe6)) 20%, transparent) !important;
    background-image: none !important;
    border-color: var(--dxbl-accent-bg, var(--bs-primary, #5fbfe6)) !important;
    box-shadow: 0 0 0 0.2rem color-mix(in srgb, var(--dxbl-accent-bg, var(--bs-primary, #5fbfe6)) 25%, transparent) !important;
}

/* Disabled state */
.mfa-auth-button.dx-button:disabled,
.mfa-auth-button.dx-button.disabled,
button.mfa-auth-button:disabled {
    opacity: 0.5;
}

/* End of MFA button override */

/* ===========================================
   FONT SIZE SETTINGS - Applied to <body> element
   Scales all text and UI elements proportionally
   =========================================== */

/* Small font size - 90% of default */
body.font-size-small {
    font-size: 0.9rem;
}

body.font-size-small .dxbl-grid,
body.font-size-small .dxbl-grid-cell,
body.font-size-small .dxbl-grid-data-cell,
body.font-size-small .dxbl-grid-data-row td,
body.font-size-small .dxbl-btn,
body.font-size-small button,
body.font-size-small label,
body.font-size-small input,
body.font-size-small select,
body.font-size-small textarea,
body.font-size-small .dxbl-tab,
body.font-size-small .ribbon-btn-content,
body.font-size-small .sidebar-icon,
body.font-size-small .form-label,
body.font-size-small .dxbl-grid-data-row,
body.font-size-small td,
body.font-size-small .dx-blazor-grid-cell,
body.font-size-small .dx-blazor-grid-data-cell {
    font-size: 0.9em !important;
}

/* Medium font size - default (100%) */
body.font-size-medium {
    font-size: 1rem;
}

/* Large font size - 110% of default */
body.font-size-large {
    font-size: 1.05rem;
}

body.font-size-large .dxbl-grid,
body.font-size-large .dxbl-grid-cell,
body.font-size-large .dxbl-grid-data-cell,
body.font-size-large .dxbl-grid-data-row td,
body.font-size-large .dxbl-btn,
body.font-size-large button,
body.font-size-large label,
body.font-size-large input,
body.font-size-large select,
body.font-size-large textarea,
body.font-size-large .dxbl-tab,
body.font-size-large .ribbon-btn-content,
body.font-size-large .sidebar-icon,
body.font-size-large .form-label,
body.font-size-large .dxbl-grid-data-row,
body.font-size-large td,
body.font-size-large .dx-blazor-grid-cell,
body.font-size-large .dx-blazor-grid-data-cell {
    font-size: 1.085em !important;
}

/* PREVENT header row from scaling - keep at normal size */
body.font-size-small .dxbl-grid-header-row,
body.font-size-small .dxbl-grid-header-row th,
body.font-size-small .dxbl-grid-header-row .dxbl-grid-header-content,
body.font-size-small .dxbl-grid-header-cell,
body.font-size-small tr.dxbl-grid-header-row,
body.font-size-small tr.dxbl-grid-header-row > th {
    font-size: 1em !important;
}

/* Ensure header row and grouping panel scale to the same size for large font */
body.font-size-large .dxbl-grid-header-row,
body.font-size-large .dxbl-grid-header-row th,
body.font-size-large .dxbl-grid-header-row .dxbl-grid-header-content,
body.font-size-large .dxbl-grid-header-cell,
body.font-size-large tr.dxbl-grid-header-row,
body.font-size-large tr.dxbl-grid-header-row > th,
body.font-size-large .dxbl-grid-grouping-panel,
body.font-size-large .dxbl-grid-grouping-panel *,
body.font-size-large .dxbl-grid-drag-hint {
    font-size: 1.01em !important;
}

/* ===== FILTER ROW COMPREHENSIVE STYLING - Based on DevTools inspection ===== */

/* Base filter row styling - applies to all font sizes */
tr.dxbl-grid-filter-row,
tr.dxbl-grid-filter-row > td,
tr.dxbl-grid-filter-row > td.dxbl-grid-cell {
    padding: 0 !important;
    margin: 0 !important;
    vertical-align: middle !important;
}

/* Filter row editor container - remove all spacing */
tr.dxbl-grid-filter-row .dxbl-grid-editor-inplace-container,
tr.dxbl-grid-filter-row .dxbl-grid-editor-inplace-container > div,
tr.dxbl-grid-filter-row .dxbl-edit,
tr.dxbl-grid-filter-row .dxbl-text-box,
tr.dxbl-grid-filter-row .dxbl-date-edit {
    height: 100% !important;
    min-height: unset !important;
    max-height: none !important;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
}

/* Filter row input - base styling */
tr.dxbl-grid-filter-row input.dxbl-text-edit,
tr.dxbl-grid-filter-row input.dxbl-edit-input,
tr.dxbl-grid-filter-row .dxbl-edit-input,
tr.dxbl-grid-filter-row input[type="text"],
tr.dxbl-grid-filter-row .form-control {
    height: 100% !important;
    min-height: unset !important;
    max-height: none !important;
    line-height: 1.4 !important;
    padding: 4px 8px !important;
    margin: 0 !important;
    box-sizing: border-box !important;
    border-radius: 0 !important;
}

/* Filter row font sizes - Use 1em to match grid data row text
 * The filter row td inherits the scaled font from the table,
 * so 1em here means "same as the table/td font size"
 */

/* Small font size - filter row input uses 1em relative to its container */
body.font-size-small tr.dxbl-grid-filter-row input.dxbl-text-edit,
body.font-size-small tr.dxbl-grid-filter-row input.dxbl-edit-input,
body.font-size-small tr.dxbl-grid-filter-row .dxbl-edit-input,
body.font-size-small tr.dxbl-grid-filter-row input[type="text"],
body.font-size-small tr.dxbl-grid-filter-row .form-control {
    font-size: 0.8em !important;
    padding: 5px !important;
}

/* Medium font size - filter row */
body.font-size-medium tr.dxbl-grid-filter-row input.dxbl-text-edit,
body.font-size-medium tr.dxbl-grid-filter-row input.dxbl-edit-input,
body.font-size-medium tr.dxbl-grid-filter-row .dxbl-edit-input,
body.font-size-medium tr.dxbl-grid-filter-row input[type="text"],
body.font-size-medium tr.dxbl-grid-filter-row .form-control {
    font-size: 1em !important;
}

/* Large font size - filter row input uses 1em relative to its container */
body.font-size-large tr.dxbl-grid-filter-row input.dxbl-text-edit,
body.font-size-large tr.dxbl-grid-filter-row input.dxbl-edit-input,
body.font-size-large tr.dxbl-grid-filter-row .dxbl-edit-input,
body.font-size-large tr.dxbl-grid-filter-row input[type="text"],
body.font-size-large tr.dxbl-grid-filter-row .form-control {
    font-size: 1.6em !important;
    padding: 5px 9px !important;
}

/* Filter row buttons - keep compact */
tr.dxbl-grid-filter-row button,
tr.dxbl-grid-filter-row .dxbl-btn,
tr.dxbl-grid-filter-row .dxbl-text-box-clear-btn {
    height: auto !important;
    min-height: unset !important;
    padding: 2px 4px !important;
    margin: 0 !important;
}

/* Filter row icons */
tr.dxbl-grid-filter-row .dx-icon {
    font-size: 14px !important;
}

/* Adjust button padding for font sizes */
/*body.font-size-small .dxbl-btn,
body.font-size-small button {
    padding: calc(0.375rem * 0.9) calc(0.75rem * 0.9);
}

body.font-size-large .dxbl-btn,
body.font-size-large button {
    padding: calc(0.375rem * 1.1) calc(0.75rem * 1.1);
}*/

/* Adjust icon sizes */
body.font-size-small .ribbon-icon {
    width: calc(24px * 0.9);
    height: calc(24px * 0.9);
}

body.font-size-large .ribbon-icon {
    width: calc(24px * 1.1);
    height: calc(24px * 1.1);
}

/* ===========================================
   TOOLBAR/RIBBON FONT SIZE SCALING
   Applies to Create, Activate, Deactivate, etc.
   =========================================== */

/* Small font size - toolbar */
body.font-size-small .ribbon-btn-content {
    font-size: 1.0em;
}

body.font-size-small .ribbon-btn-content span {
    font-size: 0.76rem;
}

body.font-size-small .license-ribbon,
body.font-size-small .ribbon-group {
    gap: 0.3rem;
}

body.font-size-small .ribbon-btn {
    min-width: 55px;
}

/* Medium font size - toolbar (explicit styling) */
body.font-size-medium .ribbon-btn-content {
    font-size: 1.05em;
}

body.font-size-medium .ribbon-btn-content span {
    font-size: 0.82rem;
}

body.font-size-medium .ribbon-icon {
    width: 26px;
    height: 26px;
}

body.font-size-medium .license-ribbon,
body.font-size-medium .ribbon-group {
    gap: 0.38rem;
}

body.font-size-medium .ribbon-btn {
    min-width: 62px;
}

/* Large font size - toolbar */
body.font-size-large .ribbon-btn-content {
    font-size: 1.12em;
}

body.font-size-large .ribbon-btn-content span {
    font-size: 0.86rem;
}

body.font-size-large .ribbon-icon {
    width: 28px;
    height: 28px;
}

body.font-size-large .license-ribbon,
body.font-size-large .ribbon-group {
    gap: 0.42rem;
}

body.font-size-large .ribbon-btn {
    min-width: 68px;
}

/* Adjust sidebar font sizes */
body.font-size-small .sb-header,
body.font-size-small .item-name {
    font-size: 1.0em;
}

body.font-size-small .licenses-sidebar {
    font-size: 0.72rem;
}

body.font-size-small .sidebar-icon {
    width: 16px;
    height: 16px;
}

body.font-size-small .licenses-sidebar .sb-group {
    margin-bottom: 1rem;
}

body.font-size-small .licenses-sidebar li {
    padding: 0.22rem 0;
}

body.font-size-small .triangle {
    font-size: 1.2rem;
}

/* Medium font size - sidebar (explicit styling for medium) */
body.font-size-medium .sb-header,
body.font-size-medium .item-name {
    font-size: 1.1em;
}

body.font-size-medium .licenses-sidebar {
    font-size: 0.75rem;
}

body.font-size-medium .sidebar-icon {
    width: 17px;
    height: 17px;
}

body.font-size-medium .licenses-sidebar .sb-group {
    margin-bottom: 1.05rem;
}

body.font-size-medium .licenses-sidebar li {
    padding: 0.23rem 0;
}

body.font-size-medium .triangle {
    font-size: 1.25rem;
}

body.font-size-large .sb-header,
body.font-size-large .item-name {
    font-size: 1.15em;
}

body.font-size-large .licenses-sidebar {
    font-size: 0.78rem;
}

body.font-size-large .licenses-sidebar .sb-group {
    margin-bottom: 1.1rem;
}

body.font-size-large .licenses-sidebar li {
    padding: 0.25rem 0;
}

body.font-size-large .sidebar-icon {
    width: 18px;
    height: 18px;
}

body.font-size-large .triangle {
    font-size: 1.3rem;
}

/* ===========================================
   FILTER PANEL (Bottom bar with funnel icon and filter text)
   Applies to the filter expression area below the grid
   =========================================== */

/* Small font size - filter panel */
body.font-size-small .filter-description-text {
    font-size: 0.78rem !important;
}

body.font-size-small .filter-clear-btn {
    font-size: 0.75rem !important;
    padding: 0.15rem 0.4rem !important;
}

/* Funnel icon in filter panel */
body.font-size-small .licenses-grid img[src*="funnel"],
body.font-size-small .licenses-grid button[title="Advanced Filter"] img {
    width: 18px !important;
    height: 18px !important;
}

/* Medium font size - filter panel (explicit styling) */
body.font-size-medium .filter-description-text {
    font-size: 0.85rem !important;
}

body.font-size-medium .filter-clear-btn {
    font-size: 0.8rem !important;
    padding: 0.18rem 0.45rem !important;
}

body.font-size-medium .licenses-grid img[src*="funnel"],
body.font-size-medium .licenses-grid button[title="Advanced Filter"] img {
    width: 22px !important;
    height: 22px !important;
}

/* Large font size - filter panel */
body.font-size-large .filter-description-text {
    font-size: 0.95rem !important;
}

body.font-size-large .filter-clear-btn {
    font-size: 0.85rem !important;
    padding: 0.22rem 0.5rem !important;
}

body.font-size-large .licenses-grid img[src*="funnel"],
body.font-size-large .licenses-grid button[title="Advanced Filter"] img {
    width: 24px !important;
    height: 24px !important;
}

/* ===========================================
   PAGE SIZE SELECTOR FONT SIZE SCALING
   Ensures dropdown doesn't get squished with larger fonts
   =========================================== */

/* Small font size - page size selector */
body.font-size-small .dxbl-grid-pager-page-size,
body.font-size-small .dxbs-grid-pager-page-size,
body.font-size-small [class*="pager-page-size"],
body.font-size-small [class*="page-size-selector"] {
    min-width: 85px !important;
}

body.font-size-small .dxbl-grid-pager-page-size select,
body.font-size-small .dxbs-grid-pager-page-size select,
body.font-size-small [class*="pager-page-size"] select {
    min-width: 60px !important;
    font-size: 0.72rem !important;
}

/* Medium font size - page size selector */
body.font-size-medium .dxbl-grid-pager-page-size,
body.font-size-medium .dxbs-grid-pager-page-size,
body.font-size-medium [class*="pager-page-size"],
body.font-size-medium [class*="page-size-selector"] {
    min-width: 95px !important;
}

body.font-size-medium .dxbl-grid-pager-page-size select,
body.font-size-medium .dxbs-grid-pager-page-size select,
body.font-size-medium [class*="pager-page-size"] select {
    min-width: 65px !important;
    font-size: 0.8rem !important;
}

/* Large font size - page size selector */
body.font-size-large .dxbl-grid-pager-page-size,
body.font-size-large .dxbs-grid-pager-page-size,
body.font-size-large [class*="pager-page-size"],
body.font-size-large [class*="page-size-selector"] {
    min-width: 110px !important;
}

body.font-size-large .dxbl-grid-pager-page-size select,
body.font-size-large .dxbs-grid-pager-page-size select,
body.font-size-large [class*="pager-page-size"] select {
    min-width: 75px !important;
    font-size: 0.88rem !important;
}

/* Ensure "Page Size:" label doesn't wrap */
body.font-size-small .dxbl-grid-pager-page-size label,
body.font-size-small .dxbs-grid-pager-page-size label,
body.font-size-medium .dxbl-grid-pager-page-size label,
body.font-size-medium .dxbs-grid-pager-page-size label,
body.font-size-large .dxbl-grid-pager-page-size label,
body.font-size-large .dxbs-grid-pager-page-size label {
    white-space: nowrap !important;
    margin-right: 0.5rem !important;
}

/* ===========================================
   ANALYTICS PAGE CHART FONT SIZE SCALING
   Applies to DxChart, DxPieChart, FunnelChart, etc.
   Higher specificity needed to override component-scoped CSS
   =========================================== */

/* Small font size - analytics page - Target all text elements */
body.font-size-small .chart-title,
body.font-size-small .chart-header h3,
body.font-size-small h3.chart-title,
body.font-size-small [class*="chart-title"],
body.font-size-small [class*="chart-header"] h3 {
    font-size: 1.0em !important;
}

/* Summary boxes - "All Orders", "All Customers", etc. - Higher specificity */
body.font-size-small .summary-box-title,
body.font-size-small .summary-box .summary-box-title,
body.font-size-small .analytics-summary-boxes .summary-box-title,
body.font-size-small .analytics-summary-boxes .summary-box .summary-box-title,
body.font-size-small [class*="summary-box"] [class*="title"],
body.font-size-small [class*="summary"] [class*="title"],
body.font-size-small .summary-title,
body.font-size-small .box-title {
    font-size: 0.92rem !important;
}

body.font-size-small .summary-box-value,
body.font-size-small .summary-box .summary-box-value,
body.font-size-small .analytics-summary-boxes .summary-box-value,
body.font-size-small .analytics-summary-boxes .summary-box .summary-box-value,
body.font-size-small [class*="summary-box"] [class*="value"],
body.font-size-small [class*="summary"] [class*="value"],
body.font-size-small .summary-value,
body.font-size-small .box-value {
    font-size: 2.3rem !important;
}

body.font-size-small .analytics-filters .filter-label,
body.font-size-small .filter-group .filter-label {
    font-size: 0.78rem !important;
}

body.font-size-small .analytics-chart-container {
    font-size: 0.95em !important;
}

/* DevExpress Tabs - Dashboard, Installs, Usage, Products, etc. */
body.font-size-small .dxbl-tabs .dxbl-text,
body.font-size-small .dxbl-tabs .dxbl-tabs-text-overflow,
body.font-size-small .dxbl-tabs-text-container,
body.font-size-small .dxbl-tab-item .dxbl-text,
body.font-size-small .dxbl-tabs span.dxbl-tabs-text-overflow,
body.font-size-small [class*="dxbl-tab"] .dxbl-text,
body.font-size-small .analytics-tabs .dxbl-text,
body.font-size-small .analytics-tabs .dxbl-tabs-text-overflow {
    font-size: 0.95em !important;
}

/* DevExpress Chart axis title font scaling - Small */
body.font-size-small .dxbl-chart svg text,
body.font-size-small .dxbl-pie-chart svg text,
body.font-size-small .dxc-chart svg text,
body.font-size-small svg[class*="dxc"] text,
body.font-size-small .chart-body svg text {
    font-size: 1.0em !important;
}

/* Chart panel titles - "Conversion Flow", "Days Installed" */
body.font-size-small [class*="chart-panel"] [class*="title"],
body.font-size-small [class*="panel-title"],
body.font-size-small .chart-box-title {
    font-size: 1.0em !important;
}

/* Funnel Chart scaling - Small */
body.font-size-small .funnel-label-text {
    font-size: 12px !important;
}

body.font-size-small .funnel-value-text {
    font-size: 15px !important;
}

/* Medium font size - analytics charts (explicit styling) */
body.font-size-medium .chart-title,
body.font-size-medium .chart-header h3 {
    font-size: 1em !important;
}

body.font-size-medium .summary-box-title,
body.font-size-medium .analytics-summary-boxes .summary-box-title {
    font-size: 0.9rem !important;
}

body.font-size-medium .summary-box-value,
body.font-size-medium .analytics-summary-boxes .summary-box-value {
    font-size: 2.5rem !important;
}

body.font-size-medium .analytics-filters .filter-label {
    font-size: 0.75rem !important;
}

body.font-size-medium .analytics-chart-container {
    font-size: 1em !important;
}

/* DevExpress Chart axis title font scaling - Medium */
body.font-size-medium .dxbl-chart svg text,
body.font-size-medium .dxbl-pie-chart svg text,
body.font-size-medium .dxc-chart svg text,
body.font-size-medium svg[class*="dxc"] text {
    font-size: 1em !important;
}

/* Funnel Chart scaling - Medium */
body.font-size-medium .funnel-label-text {
    font-size: 13px !important;
}

body.font-size-medium .funnel-value-text {
    font-size: 16px !important;
}

/* Large font size - analytics charts */
body.font-size-large .chart-title,
body.font-size-large .chart-header h3 {
    font-size: 1.08em !important;
}

body.font-size-large .summary-box-title,
body.font-size-large .analytics-summary-boxes .summary-box-title {
    font-size: 0.95rem !important;
}

body.font-size-large .summary-box-value,
body.font-size-large .analytics-summary-boxes .summary-box-value {
    font-size: 2.7rem !important;
}

body.font-size-large .analytics-filters .filter-label {
    font-size: 0.82rem !important;
}

body.font-size-large .analytics-chart-container {
    font-size: 1.05em !important;
}

/* DevExpress Chart axis title font scaling - Large
   Target SVG text elements (axis titles, axis labels, legend text)
   Use 1.05em as requested for axis titles */
body.font-size-large .dxbl-chart svg text,
body.font-size-large .dxbl-pie-chart svg text,
body.font-size-large .dxc-chart svg text,
body.font-size-large svg[class*="dxc"] text {
    font-size: 1.05em !important;
}

/* Funnel Chart scaling - Large */
body.font-size-large .funnel-label-text {
    font-size: 15px !important;
}

body.font-size-large .funnel-value-text {
    font-size: 18px !important;
}

/* Analytics tab sub-tabs font scaling */
body.font-size-small .analytics-tabs .dxbl-tab,
body.font-size-small .analytics-tabs .dxbl-tab-text,
body.font-size-small .analytics-tabs .dxbl-tabs-text-container,
body.font-size-small .analytics-tabs .dxbl-text {
    font-size: 0.95em !important;
}

body.font-size-medium .analytics-tabs .dxbl-tab,
body.font-size-medium .analytics-tabs .dxbl-tab-text,
body.font-size-medium .analytics-tabs .dxbl-tabs-text-container,
body.font-size-medium .analytics-tabs .dxbl-text {
    font-size: 1em !important;
}

body.font-size-large .analytics-tabs .dxbl-tab,
body.font-size-large .analytics-tabs .dxbl-tab-text,
body.font-size-large .analytics-tabs .dxbl-tabs-text-container,
body.font-size-large .analytics-tabs .dxbl-text {
    font-size: 1.08em !important;
}

/* Chart description text below charts */
body.font-size-small .analytics-chart-container > div:last-child {
    font-size: 12px !important;
}

body.font-size-medium .analytics-chart-container > div:last-child {
    font-size: 13px !important;
}

body.font-size-large .analytics-chart-container > div:last-child {
    font-size: 14px !important;
}

/* Chart placeholder text */
body.font-size-small .chart-placeholder p {
    font-size: 0.95em !important;
}

body.font-size-medium .chart-placeholder p {
    font-size: 1em !important;
}

body.font-size-large .chart-placeholder p {
    font-size: 1.05em !important;
}

/* Data View tab grid - uses same scaling as main grid */
body.font-size-small .data-view-datagrid,
body.font-size-small .data-view-datagrid td,
body.font-size-small .data-view-datagrid .dxbl-grid-data-cell {
    font-size: 0.9em !important;
}

body.font-size-large .data-view-datagrid,
body.font-size-large .data-view-datagrid td,
body.font-size-large .data-view-datagrid .dxbl-grid-data-cell {
    font-size: 1.085em !important;
}

/* End of analytics chart font size scaling */

/* ===========================================
   MAIN TAB LABELS - Licenses, Customers, Analytics
   Increased font size for better readability
   Scales with font size settings
   =========================================== */

/* Base styling - applies to all font sizes */
.qlmportal-tabs .dxbl-tab,
.qlmportal-tabs .dxbl-tab-text,
.qlmportal-tabs .dxbl-tabs-text-container,
.qlmportal-tabs .dxbl-text,
.qlmportal-tabs span.dxbl-tabs-text-overflow {
    font-weight: 500 !important;
}

/* Small font size - slightly larger than default */
body.font-size-small .qlmportal-tabs .dxbl-tab,
body.font-size-small .qlmportal-tabs .dxbl-tab-text,
body.font-size-small .qlmportal-tabs .dxbl-tabs-text-container,
body.font-size-small .qlmportal-tabs .dxbl-text,
body.font-size-small .qlmportal-tabs span.dxbl-tabs-text-overflow {
    font-size: 0.85rem !important;
}

body.font-size-small .qlmportal-tabs .dxbl-tab {
    padding: 0.5rem 1rem !important;
}

/* Medium font size - moderately larger */
body.font-size-medium .qlmportal-tabs .dxbl-tab,
body.font-size-medium .qlmportal-tabs .dxbl-tab-text,
body.font-size-medium .qlmportal-tabs .dxbl-tabs-text-container,
body.font-size-medium .qlmportal-tabs .dxbl-text,
body.font-size-medium .qlmportal-tabs span.dxbl-tabs-text-overflow {
    font-size: 0.95rem !important;
}

body.font-size-medium .qlmportal-tabs .dxbl-tab {
    padding: 0.55rem 1.1rem !important;
}

/* Large font size - largest */
body.font-size-large .qlmportal-tabs .dxbl-tab,
body.font-size-large .qlmportal-tabs .dxbl-tab-text,
body.font-size-large .qlmportal-tabs .dxbl-tabs-text-container,
body.font-size-large .qlmportal-tabs .dxbl-text,
body.font-size-large .qlmportal-tabs span.dxbl-tabs-text-overflow {
    font-size: 1.05rem !important;
}

body.font-size-large .qlmportal-tabs .dxbl-tab {
    padding: 0.6rem 1.2rem !important;
}

/* End of main tab labels styling */

/* ===========================================
   MAIN TABS - ACCENT COLOR FOR SELECTED TAB
   Makes the selected tab text and underline use
   the theme's accent color
   =========================================== */

/* Active/Selected tab - use accent color for text and underline */
.qlmportal-tabs .dxbl-tabs-item-active,
.qlmportal-tabs .dxbl-tabs-item-active .dxbl-text,
.qlmportal-tabs .dxbl-tabs-item-active .dxbl-tabs-text-overflow,
.qlmportal-tabs .dxbl-tabs-item-active .dxbl-tabs-text-container,
.qlmportal-tabs .dxbl-tab-active,
.qlmportal-tabs .dxbl-tab-active .dxbl-text,
.qlmportal-tabs .dxbl-tab-active .dxbl-tabs-text-overflow,
.qlmportal-tabs .dxbl-tab-active .dxbl-tabs-text-container,
.qlmportal-tabs .active .dxbl-text,
.qlmportal-tabs [aria-selected="true"] .dxbl-text,
.qlmportal-tabs [aria-selected="true"] .dxbl-tabs-text-overflow {
    color: var(--dxbl-accent-bg, var(--bs-primary, #0d6efd)) !important;
}

/* Active tab underline/border - use accent color */
.qlmportal-tabs .dxbl-tabs-item-active::after,
.qlmportal-tabs .dxbl-tab-active::after,
.qlmportal-tabs [aria-selected="true"]::after {
    background-color: var(--dxbl-accent-bg, var(--bs-primary, #0d6efd)) !important;
}

/* DevExpress tabs use a bottom border or ::after pseudo-element for the underline */
.qlmportal-tabs .dxbl-tabs-item-active,
.qlmportal-tabs .dxbl-tab-active,
.qlmportal-tabs [aria-selected="true"] {
    border-bottom-color: var(--dxbl-accent-bg, var(--bs-primary, #0d6efd)) !important;
}

/* Target the active indicator element if DevExpress uses one */
.qlmportal-tabs .dxbl-tabs-active-indicator,
.qlmportal-tabs .dxbl-tabs-indicator,
.qlmportal-tabs .dxbl-tab-indicator {
    background-color: var(--dxbl-accent-bg, var(--bs-primary, #0d6efd)) !important;
}

/* End of main tabs accent color styling */

/* ===========================================
   GRID FOOTER - ACCENT COLOR FOR FILTER ICON
   Makes the funnel/filter icon use the theme's accent color
   =========================================== */

/* Filter panel bar at bottom - accent color styling */
.filter-description-text {
    color: var(--dxbl-accent-bg, var(--bs-primary, #0d6efd)) !important;
}

/* ===========================================
   PAGER BUTTONS - ACCENT COLOR FOR CURRENT PAGE ONLY
   Only the current page number button gets accent color
   Navigation arrows keep their original styling
   =========================================== */

/* Current/Active page button ONLY - use accent color */
.dxbl-grid-pager button.active,
.dxbl-grid-pager .dxbl-btn.active,
.dxbl-grid-pager button[aria-current="page"],
.dxbl-grid-pager [aria-current="page"],
.dxbs-grid-pager button.active,
.dxbs-grid-pager .dxbs-btn.active,
.dxbs-grid-pager button[aria-current="page"],
.dxbs-grid-pager [aria-current="page"],
.dxbl-pager button.active,
.dxbl-pager .dxbl-btn.active,
.dxbl-pager [aria-current="page"] {
    background-color: var(--dxbl-accent-bg, var(--bs-primary, #0d6efd)) !important;
    border-color: var(--dxbl-accent-bg, var(--bs-primary, #0d6efd)) !important;
    color: #ffffff !important;
}

/* Page number input box - accent color border */
.dxbl-grid-pager input[type="text"],
.dxbl-grid-pager .dxbl-pager-page-input,
.dxbl-grid-pager .dxbl-spin-edit input,
.dxbl-grid-pager .dxbl-text-edit input,
.dxbl-pager input[type="text"],
.dxbl-pager .dxbl-spin-edit input,
.dxbs-grid-pager input[type="text"],
.dxbs-grid-pager .dxbs-spin-edit input {
    border-color: var(--dxbl-accent-bg, var(--bs-primary, #0d6efd)) !important;
    color: var(--dxbl-accent-bg, var(--bs-primary, #0d6efd)) !important;
    font-weight: 600 !important;
}

/* Page number input container/wrapper - accent border */
.dxbl-grid-pager .dxbl-spin-edit,
.dxbl-grid-pager .dxbl-text-edit,
.dxbl-pager .dxbl-spin-edit,
.dxbl-pager .dxbl-text-edit,
.dxbs-grid-pager .dxbs-spin-edit,
.dxbs-grid-pager .dxbs-text-edit {
    border-color: var(--dxbl-accent-bg, var(--bs-primary, #0d6efd)) !important;
}

/* End of pager accent color styling */

/* ===========================================
   FUNNEL ICON - THEME ACCENT COLOR TINTING
   Uses CSS to apply accent color to the funnel PNG icon
   =========================================== */

/* Define accent color as filter values for each theme */
/* Rust/Orange theme - hue-rotate to orange */
body.theme-fluent-dark-rust .licenses-grid img[src*="funnel"],
body.theme-fluent-dark-rust .grid-footer img[src*="funnel"],
body.theme-fluent-dark-rust button[title="Advanced Filter"] img,
body.theme-fluent-light-rust .licenses-grid img[src*="funnel"],
body.theme-fluent-light-rust .grid-footer img[src*="funnel"],
body.theme-fluent-light-rust button[title="Advanced Filter"] img {
    filter: brightness(0) saturate(100%) invert(38%) sepia(93%) saturate(1352%) hue-rotate(14deg) brightness(97%) contrast(96%);
}

/* Desert theme - hue-rotate to amber/gold */
body.theme-fluent-dark-desert .licenses-grid img[src*="funnel"],
body.theme-fluent-dark-desert .grid-footer img[src*="funnel"],
body.theme-fluent-dark-desert button[title="Advanced Filter"] img,
body.theme-fluent-light-desert .licenses-grid img[src*="funnel"],
body.theme-fluent-light-desert .grid-footer img[src*="funnel"],
body.theme-fluent-light-desert button[title="Advanced Filter"] img {
    filter: brightness(0) saturate(100%) invert(50%) sepia(98%) saturate(1000%) hue-rotate(25deg) brightness(95%) contrast(95%);
}

/* Blue theme */
body.theme-fluent-dark-blue .licenses-grid img[src*="funnel"],
body.theme-fluent-dark-blue .grid-footer img[src*="funnel"],
body.theme-fluent-dark-blue button[title="Advanced Filter"] img,
body.theme-fluent-light-blue .licenses-grid img[src*="funnel"],
body.theme-fluent-light-blue .grid-footer img[src*="funnel"],
body.theme-fluent-light-blue button[title="Advanced Filter"] img {
    filter: brightness(0) saturate(100%) invert(33%) sepia(93%) saturate(1352%) hue-rotate(213deg) brightness(97%) contrast(96%);
}

/* Cool Blue theme */
body.theme-fluent-dark-cool-blue .licenses-grid img[src*="funnel"],
body.theme-fluent-dark-cool-blue .grid-footer img[src*="funnel"],
body.theme-fluent-dark-cool-blue button[title="Advanced Filter"] img,
body.theme-fluent-light-cool-blue .licenses-grid img[src*="funnel"],
body.theme-fluent-light-cool-blue .grid-footer img[src*="funnel"],
body.theme-fluent-light-cool-blue button[title="Advanced Filter"] img {
    filter: brightness(0) saturate(100%) invert(52%) sepia(98%) saturate(1000%) hue-rotate(175deg) brightness(95%) contrast(95%);
}

/* Mint theme - teal/mint green */
body.theme-fluent-dark-mint .licenses-grid img[src*="funnel"],
body.theme-fluent-dark-mint .grid-footer img[src*="funnel"],
body.theme-fluent-dark-mint button[title="Advanced Filter"] img,
body.theme-fluent-light-mint .licenses-grid img[src*="funnel"],
body.theme-fluent-light-mint .grid-footer img[src*="funnel"],
body.theme-fluent-light-mint button[title="Advanced Filter"] img {
    filter: brightness(0) saturate(100%) invert(62%) sepia(50%) saturate(600%) hue-rotate(130deg) brightness(95%) contrast(90%);
}

/* Moss theme - green */
body.theme-fluent-dark-moss .licenses-grid img[src*="funnel"],
body.theme-fluent-dark-moss .grid-footer img[src*="funnel"],
body.theme-fluent-dark-moss button[title="Advanced Filter"] img,
body.theme-fluent-light-moss .licenses-grid img[src*="funnel"],
body.theme-fluent-light-moss .grid-footer img[src*="funnel"],
body.theme-fluent-light-moss button[title="Advanced Filter"] img {
    filter: brightness(0) saturate(100%) invert(60%) sepia(50%) saturate(600%) hue-rotate(90deg) brightness(95%) contrast(90%);
}

/* Orchid theme - purple/violet */
body.theme-fluent-dark-orchid .licenses-grid img[src*="funnel"],
body.theme-fluent-dark-orchid .grid-footer img[src*="funnel"],
body.theme-fluent-dark-orchid button[title="Advanced Filter"] img,
body.theme-fluent-light-orchid .licenses-grid img[src*="funnel"],
body.theme-fluent-light-orchid .grid-footer img[src*="funnel"],
body.theme-fluent-light-orchid button[title="Advanced Filter"] img {
    /* Purple theme uses violet/purple accent (#8b5cf6) - adjusted for better match */
    filter: brightness(0) saturate(100%) invert(42%) sepia(70%) saturate(2000%) hue-rotate(240deg) brightness(100%) contrast(95%);
}

/* Purple theme */
body.theme-fluent-dark-purple .licenses-grid img[src*="funnel"],
body.theme-fluent-dark-purple .grid-footer img[src*="funnel"],
body.theme-fluent-dark-purple button[title="Advanced Filter"] img,
body.theme-fluent-light-purple .licenses-grid img[src*="funnel"],
body.theme-fluent-light-purple .grid-footer img[src*="funnel"],
body.theme-fluent-light-purple button[title="Advanced Filter"] img {
    /* Purple theme uses a vibrant purple accent - match the text color */
    filter: brightness(0) saturate(100%) invert(30%) sepia(90%) saturate(2500%) hue-rotate(245deg) brightness(95%) contrast(100%);
}

/* Rose theme - pink */
body.theme-fluent-dark-rose .licenses-grid img[src*="funnel"],
body.theme-fluent-dark-rose .grid-footer img[src*="funnel"],
body.theme-fluent-dark-rose button[title="Advanced Filter"] img,
body.theme-fluent-light-rose .licenses-grid img[src*="funnel"],
body.theme-fluent-light-rose .grid-footer img[src*="funnel"],
body.theme-fluent-light-rose button[title="Advanced Filter"] img {
    filter: brightness(0) saturate(100%) invert(40%) sepia(90%) saturate(1500%) hue-rotate(330deg) brightness(95%) contrast(95%);
}

/* Steel theme - gray/blue-gray */
body.theme-fluent-dark-steel .licenses-grid img[src*="funnel"],
body.theme-fluent-dark-steel .grid-footer img[src*="funnel"],
body.theme-fluent-dark-steel button[title="Advanced Filter"] img,
body.theme-fluent-light-steel .licenses-grid img[src*="funnel"],
body.theme-fluent-light-steel .grid-footer img[src*="funnel"],
body.theme-fluent-light-steel button[title="Advanced Filter"] img {
    filter: brightness(0) saturate(100%) invert(50%) sepia(20%) saturate(300%) hue-rotate(190deg) brightness(95%) contrast(90%);
}

/* Storm theme - dark blue/gray */
body.theme-fluent-dark-storm .licenses-grid img[src*="funnel"],
body.theme-fluent-dark-storm .grid-footer img[src*="funnel"],
body.theme-fluent-dark-storm button[title="Advanced Filter"] img,
body.theme-fluent-light-storm .licenses-grid img[src*="funnel"],
body.theme-fluent-light-storm .grid-footer img[src*="funnel"],
body.theme-fluent-light-storm button[title="Advanced Filter"] img {
    filter: brightness(0) saturate(100%) invert(35%) sepia(20%) saturate(400%) hue-rotate(190deg) brightness(90%) contrast(90%);
}

/* Classic themes - keep default blue/purple */
body.theme-blazing-dark .licenses-grid img[src*="funnel"],
body.theme-blazing-dark .grid-footer img[src*="funnel"],
body.theme-blazing-dark button[title="Advanced Filter"] img {
    /* Blazing Dark uses purple/magenta accent - match the text color */
    filter: brightness(0) saturate(100%) invert(35%) sepia(90%) saturate(2500%) hue-rotate(260deg) brightness(100%) contrast(100%);
}

/* Office White theme - Adjust funnel icon color to match orange accent */
body.theme-office-white .licenses-grid img[src*="funnel"],
body.theme-office-white .grid-footer img[src*="funnel"],
body.theme-office-white button[title="Advanced Filter"] img {
    /* Office White uses orange accent color - adjusted to match the orange text */
    filter: brightness(0) saturate(100%) invert(50%) sepia(90%) saturate(1500%) hue-rotate(360deg) brightness(100%) contrast(95%);
}

/* Purple theme */
body.theme-purple .licenses-grid img[src*="funnel"],
body.theme-purple .grid-footer img[src*="funnel"],
body.theme-purple button[title="Advanced Filter"] img {
    /* Purple theme uses a vibrant purple accent - match the text color */
    filter: brightness(0) saturate(100%) invert(30%) sepia(90%) saturate(2500%) hue-rotate(245deg) brightness(95%) contrast(100%);
}

/* End of funnel icon accent color styling */

/* ===========================================
   FLUENT LIGHT THEME - Filter Row Background Fix
   Override the dark hardcoded filter row color with light gray
   similar to classic DevExpress themes like Office White/Purple
   =========================================== */

/* Fluent Light themes - Filter row background should use same formula as Office theme */
/*body[class*="theme-fluent-light"] .dxbl-grid-filter-row,
body[class*="theme-fluent-light"] .dxbl-grid-filter-row td,
body[class*="theme-fluent-light"] .dxbl-grid-filter-row td.dxbl-grid-cell,
body[class*="theme-fluent-light"] tr.dxbl-grid-filter-row,
body[class*="theme-fluent-light"] tr.dxbl-grid-filter-row > td,
body[class*="theme-fluent-light"] .dxbl-grid tr.dxbl-grid-filter-row,
body[class*="theme-fluent-light"] .dxbl-grid tr.dxbl-grid-filter-row > td,
body[class*="theme-fluent-light"] .dxbl-grid-table tr.dxbl-grid-filter-row,
body[class*="theme-fluent-light"] .dxbl-grid-table tr.dxbl-grid-filter-row td,
body[class*="theme-fluent-light"] .dxbl-grid-filter-row .dxbl-grid-cell-content,
body[class*="theme-fluent-light"] .dxbl-grid-filter-row td > div,
body[class*="theme-fluent-light"] tr.dxbl-grid-filter-row td > div,
body[class*="theme-fluent-light"] .dxbl-filter-row-cell {
    background-color: color-mix(in srgb, var(--bs-body-bg, #ffffff) 80%, black 20%) !important;
    background: color-mix(in srgb, var(--bs-body-bg, #ffffff) 80%, black 20%) !important;
}*/

/* Filter row input fields - use same formula as Office theme */
/*body[class*="theme-fluent-light"] .dxbl-grid-filter-row input,
body[class*="theme-fluent-light"] .dxbl-grid-filter-row .dxbl-edit-input,
body[class*="theme-fluent-light"] .dxbs-grid-filter-row input,
body[class*="theme-fluent-light"] .dxbl-filter-row-cell input,
body[class*="theme-fluent-light"] .dxbs-filter-row-cell input,
body[class*="theme-fluent-light"] tr.dxbl-grid-filter-row input {
    background-color: color-mix(in srgb, var(--bs-body-bg, #ffffff) 85%, black 15%) !important;
    border: 1px solid color-mix(in srgb, var(--bs-border-color, rgba(128, 128, 128, 0.5)) 60%, transparent 40%) !important;
    border-radius: 3px !important;
    padding: 0.35rem 0.5rem !important;
    color: var(--bs-body-color, #212529) !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}*/

/* Override any inline styles */
/*body[class*="theme-fluent-light"] .dxbl-grid-filter-row[style],
body[class*="theme-fluent-light"] .dxbl-grid-filter-row td[style],
body[class*="theme-fluent-light"] tr.dxbl-grid-filter-row[style],
body[class*="theme-fluent-light"] tr.dxbl-grid-filter-row td[style] {
    background-color: color-mix(in srgb, var(--bs-body-bg, #ffffff) 80%, black 20%) !important;
    background: color-mix(in srgb, var(--bs-body-bg, #ffffff) 80%, black 20%) !important;
}*/

/* End of Fluent Light filter row fix */

/* ===========================================
   FLUENT DARK THEME - Filter Row Background Fix
   Override the too-dark filter row color with lighter gray
   Mix with white instead of black for dark themes
   =========================================== */

/* Fluent Dark themes - Filter row background should mix with white for visibility */
/*body[class*="theme-fluent-dark"] .dxbl-grid-filter-row,
body[class*="theme-fluent-dark"] .dxbl-grid-filter-row td,
body[class*="theme-fluent-dark"] .dxbl-grid-filter-row td.dxbl-grid-cell,
body[class*="theme-fluent-dark"] tr.dxbl-grid-filter-row,
body[class*="theme-fluent-dark"] tr.dxbl-grid-filter-row > td,
body[class*="theme-fluent-dark"] .dxbl-grid tr.dxbl-grid-filter-row,
body[class*="theme-fluent-dark"] .dxbl-grid tr.dxbl-grid-filter-row > td,
body[class*="theme-fluent-dark"] .dxbl-grid-table tr.dxbl-grid-filter-row,
body[class*="theme-fluent-dark"] .dxbl-grid-table tr.dxbl-grid-filter-row td,
body[class*="theme-fluent-dark"] .dxbl-grid-filter-row .dxbl-grid-cell-content,
body[class*="theme-fluent-dark"] .dxbl-grid-filter-row td > div,
body[class*="theme-fluent-dark"] tr.dxbl-grid-filter-row td > div,
body[class*="theme-fluent-dark"] .dxbl-filter-row-cell {
    background-color: color-mix(in srgb, var(--bs-body-bg, #1e1e1e) 80%, white 20%) !important;
    background: color-mix(in srgb, var(--bs-body-bg, #1e1e1e) 80%, white 20%) !important;
}*/

/* Filter row input fields - mix with white for visibility on dark theme */
/*body[class*="theme-fluent-dark"] .dxbl-grid-filter-row input,
body[class*="theme-fluent-dark"] .dxbl-grid-filter-row .dxbl-edit-input,
body[class*="theme-fluent-dark"] .dxbs-grid-filter-row input,
body[class*="theme-fluent-dark"] .dxbl-filter-row-cell input,
body[class*="theme-fluent-dark"] .dxbs-filter-row-cell input,
body[class*="theme-fluent-dark"] tr.dxbl-grid-filter-row input {
    background-color: color-mix(in srgb, var(--bs-body-bg, #1e1e1e) 85%, white 15%) !important;
    border: 1px solid color-mix(in srgb, var(--bs-border-color, rgba(128, 128, 128, 0.5)) 60%, transparent 40%) !important;
    border-radius: 3px !important;
    padding: 0.35rem 0.5rem !important;
    color: var(--bs-body-color, #e0e0e0) !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}*/

/* Override any inline styles */
/*body[class*="theme-fluent-dark"] .dxbl-grid-filter-row[style],
body[class*="theme-fluent-dark"] .dxbl-grid-filter-row td[style],
body[class*="theme-fluent-dark"] tr.dxbl-grid-filter-row[style],
body[class*="theme-fluent-dark"] tr.dxbl-grid-filter-row td[style] {
    background-color: color-mix(in srgb, var(--bs-body-bg, #1e1e1e) 80%, white 20%) !important;
    background: color-mix(in srgb, var(--bs-body-bg, #1e1e1e) 80%, white 20%) !important;
}*/

/* End of Fluent Dark filter row fix */

/* ===========================================
   FLUENT THEME ACCENT COLOR DEFINITIONS
   Define --dxbl-accent-bg for each Fluent theme
   so custom sidebar highlighting uses the theme's accent color
   =========================================== */

/* Fluent Dark - Blue (default blue) */
body.theme-fluent-dark-blue {
    --dxbl-accent-bg: #2563eb;
}

/* Fluent Dark - Cool Blue */
body.theme-fluent-dark-cool-blue {
    --dxbl-accent-bg: #0ea5e9;
}

/* Fluent Dark - Desert (warm sand/tan) */
body.theme-fluent-dark-desert {
    --dxbl-accent-bg: #d97706;
}

/* Fluent Dark - Mint (teal/mint green) */
body.theme-fluent-dark-mint {
    --dxbl-accent-bg: #14b8a6;
}

/* Fluent Dark - Moss (green) */
body.theme-fluent-dark-moss {
    --dxbl-accent-bg: #22c55e;
}

/* Fluent Dark - Orchid (purple/violet) */
body.theme-fluent-dark-orchid {
    --dxbl-accent-bg: #a855f7;
}

/* Fluent Dark - Purple */
body.theme-fluent-dark-purple {
    --dxbl-accent-bg: #8b5cf6;
}

/* Fluent Dark - Rose (pink) */
body.theme-fluent-dark-rose {
    --dxbl-accent-bg: #f43f5e;
}

/* Fluent Dark - Rust (red/orange) */
body.theme-fluent-dark-rust {
    --dxbl-accent-bg: #ea580c;
}

/* Fluent Dark - Steel (gray/blue-gray) */
body.theme-fluent-dark-steel {
    --dxbl-accent-bg: #64748b;
}

/* Fluent Dark - Storm (dark blue/gray) */
body.theme-fluent-dark-storm {
    --dxbl-accent-bg: #475569;
}

/* Fluent Light themes - accent colors */
body.theme-fluent-light-blue {
    --dxbl-accent-bg: #2563eb;
}

body.theme-fluent-light-cool-blue {
    --dxbl-accent-bg: #0ea5e9;
}

body.theme-fluent-light-desert {
    --dxbl-accent-bg: #d97706;
}

body.theme-fluent-light-mint {
    --dxbl-accent-bg: #14b8a6;
}

body.theme-fluent-light-moss {
    --dxbl-accent-bg: #22c55e;
}

body.theme-fluent-light-orchid {
    --dxbl-accent-bg: #a855f7;
}

body.theme-fluent-light-purple {
    --dxbl-accent-bg: #8b5cf6;
}

body.theme-fluent-light-rose {
    --dxbl-accent-bg: #f43f5e;
}

body.theme-fluent-light-rust {
    --dxbl-accent-bg: #ea580c;
}

body.theme-fluent-light-steel {
    --dxbl-accent-bg: #64748b;
}

body.theme-fluent-light-storm {
    --dxbl-accent-bg: #475569;
}

/* Classic themes - use default --bs-primary */
body.theme-blazing-dark,
body.theme-blazing-berry,
body.theme-purple,
body.theme-office-white {
}

/* ===========================================
   CHANGE PASSWORD POPUP - Input Field Fix
   Fix white background and small height on input fields for Fluent dark themes
   DxPopup renders outside component scope so must be global CSS
   =========================================== */

/* Base styling for all themes - consistent input field height */
.change-password-content input.form-control,
.change-password-content input[type="password"],
.change-password-content input[type="text"] {
    height: 38px !important;
    min-height: 38px !important;
    padding: 0.375rem 0.75rem !important;
    font-size: 1rem !important;
    line-height: 1.5 !important;
    box-sizing: border-box !important;
}

/* Fluent Dark themes - transparent background for input fields */
body[class*="theme-fluent-dark"] .change-password-content input.form-control,
body[class*="theme-fluent-dark"] .change-password-content input[type="password"],
body[class*="theme-fluent-dark"] .change-password-content input[type="text"] {
    background-color: transparent !important;
    background: transparent !important;
    color: var(--bs-body-color, #e0e0e0) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
}

    /* Focus state for dark themes */
    body[class*="theme-fluent-dark"] .change-password-content input.form-control:focus,
    body[class*="theme-fluent-dark"] .change-password-content input[type="password"]:focus,
    body[class*="theme-fluent-dark"] .change-password-content input[type="text"]:focus,
    body.theme-blazing-dark .change-password-content input.form-control:focus,
    body.theme-blazing-dark .change-password-content input[type="password"]:focus,
    body.theme-blazing-dark .change-password-content input[type="text"]:focus,
    body.theme-blazing-berry .change-password-content input.form-control:focus,
    body.theme-blazing-berry .change-password-content input[type="password"]:focus,
    body.theme-blazing-berry .change-password-content input[type="text"]:focus {
        background-color: transparent !important;
        border-color: var(--dxbl-accent-bg, rgba(255, 255, 255, 0.4)) !important;
        box-shadow: 0 0 0 0.2rem rgba(var(--dxbl-accent-color-rgb, 128, 128, 128), 0.25) !important;
        outline: none !important;
    }

/* Placeholder text for dark themes */
body[class*="theme-fluent-dark"] .change-password-content input::placeholder,
body.theme-blazing-dark .change-password-content input::placeholder,
body.theme-blazing-berry .change-password-content input::placeholder {
    color: rgba(255, 255, 255, 0.5) !important;
}

/* End of Change Password popup fix */

/* ===========================================
   ALERT/ERROR MESSAGE STYLING - Fluent Theme Fix
   Bootstrap alert classes don't style correctly in Fluent themes
   Match BlazingDark theme styling using Bootstrap semantic colors
   =========================================== */

/* Base styling for alerts in all popups */
.alert {
    padding: 0.75rem 1rem;
    margin-bottom: 1rem;
    border-radius: 4px;
}

/* Alert Danger - Error message styling */
.alert-danger {
    border: 1px solid;
}

/* Fluent Dark themes - Error/Danger alerts matching BlazingDark style */
/* Uses Bootstrap danger semantic colors for consistency */
/* Higher specificity to override any Fluent theme defaults */
body[class*="theme-fluent-dark"] .alert-danger,
body[class*="theme-fluent-dark"] .change-password-content .alert-danger,
body[class*="theme-fluent-dark"] .dxbl-popup .alert-danger,
body[class*="theme-fluent-dark"] .dxbl-popup-content .alert-danger,
body[class*="theme-fluent-dark"] div.alert-danger,
body[class*="theme-fluent-dark"] div.alert.alert-danger {
    background-color: var(--bs-danger-bg-subtle, #fdd0da) !important;
    border: 1px solid var(--bs-danger-border-subtle, #f1aeb5) !important;
    border-color: var(--bs-danger-border-subtle, #f1aeb5) !important;
    color: var(--bs-danger-text-emphasis, #61081c) !important;
}

/* Fluent Light themes - Error/Danger alerts */
body[class*="theme-fluent-light"] .alert-danger,
body[class*="theme-fluent-light"] .change-password-content .alert-danger,
body[class*="theme-fluent-light"] .dxbl-popup .alert-danger,
body[class*="theme-fluent-light"] .dxbl-popup-content .alert-danger,
body[class*="theme-fluent-light"] div.alert-danger,
body[class*="theme-fluent-light"] div.alert.alert-danger {
    background-color: var(--bs-danger-bg-subtle, #fdd0da) !important;
    border: 1px solid var(--bs-danger-border-subtle, #f1aeb5) !important;
    border-color: var(--bs-danger-border-subtle, #f1aeb5) !important;
    color: var(--bs-danger-text-emphasis, #61081c) !important;
}

/* Alert Success styling for Fluent themes */
body[class*="theme-fluent-dark"] .alert-success,
body[class*="theme-fluent-dark"] .change-password-content .alert-success,
body[class*="theme-fluent-dark"] .dxbl-popup .alert-success,
body[class*="theme-fluent-dark"] .dxbl-popup-content .alert-success {
    background-color: var(--bs-success-bg-subtle, #d1e7dd) !important;
    border-color: var(--bs-success-border-subtle, #a3cfbb) !important;
    color: var(--bs-success-text-emphasis, #0a3622) !important;
}

body[class*="theme-fluent-light"] .alert-success,
body[class*="theme-fluent-light"] .change-password-content .alert-success,
body[class*="theme-fluent-light"] .dxbl-popup .alert-success,
body[class*="theme-fluent-light"] .dxbl-popup-content .alert-success {
    background-color: var(--bs-success-bg-subtle, #d1e7dd) !important;
    border-color: var(--bs-success-border-subtle, #a3cfbb) !important;
    color: var(--bs-success-text-emphasis, #0a3622) !important;
}

/* Alert Warning styling for Fluent themes */
body[class*="theme-fluent-dark"] .alert-warning,
body[class*="theme-fluent-dark"] .change-password-content .alert-warning,
body[class*="theme-fluent-dark"] .dxbl-popup .alert-warning,
body[class*="theme-fluent-dark"] .dxbl-popup-content .alert-warning {
    background-color: var(--bs-warning-bg-subtle, #fff3cd) !important;
    border-color: var(--bs-warning-border-subtle, #ffe69c) !important;
    color: var(--bs-warning-text-emphasis, #664d03) !important;
}

body[class*="theme-fluent-light"] .alert-warning,
body[class*="theme-fluent-light"] .change-password-content .alert-warning,
body[class*="theme-fluent-light"] .dxbl-popup .alert-warning,
body[class*="theme-fluent-light"] .dxbl-popup-content .alert-warning {
    background-color: var(--bs-warning-bg-subtle, #fff3cd) !important;
    border-color: var(--bs-warning-border-subtle, #ffe69c) !important;
    color: var(--bs-warning-text-emphasis, #664d03) !important;
}

/* Alert Info styling for Fluent themes */
body[class*="theme-fluent-dark"] .alert-info,
body[class*="theme-fluent-dark"] .change-password-content .alert-info,
body[class*="theme-fluent-dark"] .dxbl-popup .alert-info,
body[class*="theme-fluent-dark"] .dxbl-popup-content .alert-info {
    background-color: var(--bs-info-bg-subtle, #cff4fc) !important;
    border-color: var(--bs-info-border-subtle, #9eeaf9) !important;
    color: var(--bs-info-text-emphasis, #055160) !important;
}

body[class*="theme-fluent-light"] .alert-info,
body[class*="theme-fluent-light"] .change-password-content .alert-info,
body[class*="theme-fluent-light"] .dxbl-popup .alert-info,
body[class*="theme-fluent-light"] .dxbl-popup-content .alert-info {
    background-color: var(--bs-info-bg-subtle, #cff4fc) !important;
    border-color: var(--bs-info-border-subtle, #9eeaf9) !important;
    color: var(--bs-info-text-emphasis, #055160) !important;
}

/* End of alert/error message styling */