@import url('https://fonts.googleapis.com/css2?family=Raleway:ital,wght@0,100..900;1,100..900&amp;display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inter:ital,wght@0,100..900;1,100..900&amp;display=swap');
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;500;600;700&amp;display=swap');
@import url('https://fonts.googleapis.com/css2?family=Dosis:wght@200..800&amp;display=swap');
@import url('https://fonts.googleapis.com/css2?family=Jost:ital,wght@0,100..900;1,100..900&amp;display=swap');
/* @import url('http://wrraptheme.com/demo/assets/thinder-ai-style.css'); */

@import url(theme.css);
@import url(base.css?v=20260902b);
@import url(animation.css);

/* Root font-size drives every rem-based size (Bootstrap + DevExpress components). 12px is the fixed
   reference the font-size control's "100%" is built against (see assets/js/font-size.js) - this rule
   is just the pre-JS fallback so there's no flash of a different size before the script applies its
   own explicit pixel value on load. Default was the Bootstrap fallback of 16px. */
html {
    font-size: 14px;
}

/* Browser window itself should never show its own scrollbar, horizontal or vertical - a grid
   needing more room than the viewport should scroll internally (its own .dxbl-scroll-viewer
   already does this), and .content-area is already the page's real vertical scroll region (its own
   scrollbar is deliberately hidden below). Without this, the page body ends up a few px taller than
   the viewport (rounding in .content-area's calc(100vh - Npx) sizing, borders, etc.) and Chrome/Edge
   render a bare, empty-looking scrollbar track for the whole window even though nothing needs it. */
html, body {
    overflow: hidden;
}

/* Bootstrap's .small/<small> shrinks text to 0.875em by default, which is why labels, captions and
   hints throughout the app read smaller than the surrounding text even though nothing else changes
   size - every control (except headings, which keep their own distinct sizes) should read at one
   consistent size, so this is normalized back to the body's own size instead. */
.small, small {
    font-size: 1rem;
}

/* Body */
body {
    line-height: 22px;
    font-family: 'Inter', sans-serif;
}

body.font-raleway {
    font-family: 'Raleway', sans-serif;
}

body.font-inter {
    font-family: 'Inter', sans-serif;
}

body.font-opensans {
    font-family: "Open Sans", sans-serif;
}

body.font-dosis {
    font-family: "Dosis", sans-serif;
}

body.font-jost {
    font-family: "Jost", sans-serif;
}

.choose-skin li div {
    display: flex;
    position: relative;
    justify-content: center;
    align-items: center;
    width: 60px;
    height: 60px;
}
.choose-skin li:hover{
    cursor: pointer;
}
.choose-skin li.active div:after{
    content: '';
    position: absolute;
    z-index: 99;
    width: 10px;
    height: 10px;
    background: var(--bs-white);
    border-radius: 10px;
}

body.radius-0 .rounded,
body.radius-0 .rounded-1,
body.radius-0 .rounded-2,
body.radius-0 .rounded-3,
body.radius-0 .rounded-4,
body.radius-0 .btn,
body.radius-0 .form-control {
    border-radius: 0 !important;
}

/* Tab Card Headers */
.tab-header.nav-tabs .nav-link {
    border: 0;
    padding: 2px 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-black-50);
}

.tab-header.nav-tabs .nav-item.show .nav-link,
.tab-header.nav-tabs .nav-link.active {
    color: var(--bs-light-text-emphasis);
    background-color: transparent;
}

/* Tab Card Headers */

/* Header */
.header {
    background-color: var(--bs-body-bg);
    z-index: 1022;
}

.header .logo {
    width: 221px;
    height: 100%;
    display: flex;
    align-items: center;
    border-right: 1px solid var(--bs-border-color);
}

.header .logo-mark {
    height: 32px;
    width: auto;
    object-fit: contain;
    flex-shrink: 0;
}


.header .dropdown-toggle {
    padding: 0;
    border: none;
}

.header .dropdown-toggle::after {
    display: none;
}

.header .nav-link {
    font-size: 18px;
    line-height: 21px;
    font-weight: 400;
    color: var(--bs-body-color);
}

.header .nav-link:hover {
    color: var(--bs-primary);
}

.header .nav-link:hover svg path {
    stroke: var(--bs-primary);
    stroke-width: 2px;
    transition: var(--transition-3s);
}

.header .nav-link:hover {
    color: var(--bs-primary);
}

.header .dropdown-menu.notifications,
.header .dropdown-menu.notifications a {
    width: 360px;
    font-size: 16px;
    line-height: 22px;
    color: var(--bs-body-color);
    text-decoration: none;
}


.header .dropdown-menu.notifications .list-group {
    height: 300px;
    overflow-y: auto;
}

.header .dropdown-menu.notifications .list-group-item {
    border-style: dashed;
}

.header .dropdown-menu.notifications .list-group-item:hover a {
    color: var(--bs-primary);
}

.page-search .icon-search {
    left: 24px;
    z-index: 10;
}

.page-search .icon-cmd {
    right: 24px;
    z-index: 10;
}

.page-search .form-control {
    padding-left: 62px !important;
    padding-right: 115px !important;
    background-color: var(--bs-card-bg);
    border: 1px solid var(--bs-card-bg);
}

.page-search .form-control:focus {
    box-shadow: 0 0 0 .25rem rgba(var(--bs-primary-rgb), .25);
    border-color: var(--bs-primary);
}

.search-result {
    transition: var(--transition-3s);
    opacity: 1;
    visibility: visible;
    transform: scaleY(1);
    height: 100%;
}

.search-result.active {
    opacity: 0;
    visibility: hidden;
    transform: scaleY(0);
    transition: var(--transition-3s);
    height: 0;
}

.search-result .card{
    border-bottom-width: 5px;
}

[data-bs-theme=light] .search-result .card{ 
    background: #f8f9fa;
}

/* Header */

/* Page Modules */
.page-modules .row {
    margin-left: -20px;
    margin-right: -20px;
}

.page-modules .module-item .module-box {
    padding: 30px;
    background: linear-gradient(136.25deg, var(--bs-card-bg) 2.1%, var(--bs-card-bg) 100%);
    color: var(--bs-body-color);
    transition: var(--transition-3s)
}

.page-modules .module-item:focus .module-box,
.page-modules .module-item:hover .module-box {
    background: linear-gradient(136.25deg, var(--bs-primary) 2.1%, #322559 100%);
    color: var(--bs-white);
    transition: var(--transition-3s)
}

.page-modules .module-item:focus .module-box svg path,
.page-modules .module-item:hover .module-box svg path {
    stroke-width: 2px;
}

.page-modules .module-item .module-title {
    font-size: 16px;
    line-height: 24px;
    font-weight: 400;
    color: var(--bs-body-color);
    transition: var(--transition-3s)
}

.page-modules .module-item:hover .module-title {
    font-weight: 700;
    color: var(--bs-primary);
}

.modal .page-modules .module-item .module-title {
    font-size: 16px;
}
.app-icon h6{ font-size: 14px !important;}
.app-icon .module-box{ padding: 16px !important;}

/* Page Modules */

/* Content Wrapper */
.content-wrapper {
    width: 100%;
    transition: var(--transition-3s);
}

/* .content-wrapper is a flex row with no explicit height of its own, so its height is set by
   whichever child is naturally tallest - almost always .left-sidebar, since its nav menu is long
   enough to hit its own max-height cap on nearly every page. Flexbox's default stretch then forces
   .main-content (and the page's own .content-area inside it) up to that SAME height regardless of
   how much content the current page actually has - which is exactly what left blank white space
   at the bottom of short pages (Home, a filtered list, etc.). Opting .main-content out of stretch
   lets each page size to its own content instead of being forced to match the sidebar's height;
   the sidebar itself is untouched and still stretches to fill the full column as before. */
.main-content {
    align-self: flex-start;
    /* A flex item's default min-width is auto (effectively "don't shrink below your content's
       natural width"), so wide-enough page content (a grid with many columns, etc.) could force
       this whole column wider than the space actually left over next to .left-sidebar, pushing it
       - and everything in it - past the right edge of the viewport. min-width:0 lets it shrink to
       fit that remaining space instead, same as .content-area's own min-width already does. */
    min-width: 0;
}

.content-wrapper.content-wrapper-radius {
    /* background-color: var(--bs-card-bg); */
}

/* DxGrid truncates a column header to one ellipsized line by default once its text is wider than
   the column - visible/clip here lets the header's own text decide the width instead (paired with
   each grid's MinWidth-per-column sizing where one is set), matching what every grid in the app
   should show: the full header, on one line, never wrapped. !important is required - the
   DevExpress theme (office-white.bs5.min.css) declares the ellipsis on a more specific selector
   (.dxbl-grid .dxbl-grid-table > thead > tr > th > .dxbl-grid-header-content > span) and loads
   after this stylesheet, so it would otherwise always win the cascade. */
.dxbl-grid-header-content > span {
    overflow: visible !important;
    text-overflow: clip !important;
    white-space: nowrap !important;
}

.content-wrapper.content-wrapper-radius .left-sidebar {
    border-radius: 0 16px 0 0;
}

.content-wrapper.content-wrapper-radius .content-area {
    border-radius: 16px 0 0 0;
    background-color: var(--bs-body-bg);
}

/* Content Wrapper */

/* Left Sidebar */
.left-sidebar {
    width: 245px;
    min-width: 245px;
    min-height: calc(100vh - 50px);
    max-height: calc(100vh - 50px);
    background-color: var(--bs-body-bg);
    overflow-y: auto;
    /* Explicit, not left to default: with only overflow-y set, the CSS spec computes overflow-x
       to auto too (not visible) - meaning any content that briefly extends past the sidebar's
       left/right edge (e.g. a submenu sliding in from translateX(-14px) during its open animation)
       triggers a real, visible horizontal scrollbar. Nothing in this sidebar is meant to scroll
       sideways, so this is pinned to hidden regardless of what transiently overflows during an
       animation. */
    overflow-x: hidden;
    transition: width 0.3s ease-in-out, min-width 0.3s ease-in-out, padding 0.3s ease-in-out, left 0.3s ease-in-out;
    padding: 24px 20px;
    /* A bit more breathing room specifically above the search box - at 24px all round, the sidebar's
       very first element (the search input) reads as sitting almost flush against the header row
       right above it. */
    padding-top: 34px;
    position: relative;
    /* On a short window (or with the browser zoomed in) the full menu can be taller than
       max-height above, so overflow-y:auto is what makes the rest of it reachable - but Windows/
       Chromium's default "overlay" scrollbar only appears while the mouse is over the sidebar,
       so a static look (or a screenshot) shows no scrollbar at all and the menu reads as simply
       cut off. Forcing a slim, always-visible scrollbar here makes the affordance obvious
       instead of relying on hover-to-discover. */
    scrollbar-width: thin;
    scrollbar-gutter: stable;
}

    .left-sidebar::-webkit-scrollbar {
        width: 6px;
    }

    .left-sidebar::-webkit-scrollbar-track {
        background: transparent;
    }

    .left-sidebar::-webkit-scrollbar-thumb {
        background-color: rgba(0, 0, 0, 0.25);
        border-radius: 3px;
    }

.layout-fullwidth .left-sidebar {
    width: 0;
    min-width: 0;
    padding: 24px 0;
    transition: width 0.3s ease-in-out, min-width 0.3s ease-in-out, padding 0.3s ease-in-out, left 0.3s ease-in-out;
    left: -250px;
}

.left-sidebar .nav-sidebar {
    width: 204px;
}

.nav-sidebar>ul>li {
    margin-bottom: 16px;
}

.nav-sidebar>ul>li:last-child {
    margin-bottom: 0;
}

.nav-sidebar .nav {
    position: relative;
    padding-top: 14px;
}

.nav-sidebar .nav-title {
    display: block;
    color: var(--bs-body-color);
    font-size: 0.8125rem;
}

.nav-sidebar ul li a[aria-expanded="false"] svg {
    transform: rotate(0deg);
    transition: var(--transition-3s);
}

.nav-sidebar ul li a[aria-expanded="true"] svg {
    transform: rotate(135deg);
    transition: var(--transition-3s);
}

.nav-sidebar .nav .nav-item {
    padding: 4px 0 4px 12px;
    position: relative;
}

.nav-sidebar .nav .nav-link {
    padding: 0;
    line-height: 20px;
    font-size: 0.8125rem;
    color: var(--bs-body-color);
}

.nav-sidebar .nav .nav-link:focus,
.nav-sidebar .nav .nav-link.active,
.nav-sidebar .nav .nav-link:hover {
    color: var(--bs-primary);
    font-weight: 500;
    transition: var(--transition-3s);
}

/* Sidebar Overlay */
.sidebar-overlay {
    display: none;
}

/* Body Scroll */
body.no-scroll {
    position: fixed;
    width: 100%;
}

/* Left Sidebar */

/* Content Wrapper */
.content-area {
    min-width: calc(100% - 245px);
    max-height: calc(100vh - 100px);
    overflow-y: auto;
    transition: var(--transition-3s);
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.content-area::-webkit-scrollbar {
    display: none;
}

.content-area>.container-fluid {
    height: 100%;
}

.layout-fullwidth .content-area {
    min-width: 100%;
}

/* Keeps every DevExpress grid's own toolbar (New/Export/Refresh/etc.) pinned at the top of its
   nearest scrolling ancestor (normally .content-area itself, or a page's own scrollable .card-body)
   instead of scrolling away with the grid's rows - applies site-wide to every grid that has a
   toolbar, not just one page. top:-30px offsets the toolbar's own DxToolbar top margin so it sits
   flush against the card header once stuck; padding-top adds back a visible gap above it. */
.dxbl-grid-toolbar-container {
    position: sticky !important;
    top: -30px;
    z-index: 1000;
    background: #fff;
    padding-top: 16px;
}

/* Content Wrapper */

/* Without this, the horizontal scrollbar sits flush against the last row's bottom border on every
   grid in the app - a small gap here just gives it breathing room instead of touching the row.
   The actual horizontally-scrolling element is .dxbl-scroll-viewer-content (it has overflow-x:auto),
   not its .dxbl-scroll-viewer parent - padding on the parent alone doesn't move the scrollbar at all.
   The footer/total-summary row is the last row *inside* this same scrollable element, so a visible
   border-top plus generous padding guarantees separation from the scrollbar regardless of exactly
   how much space the browser's own scrollbar rendering reserves (that varies by OS/browser). */
.dxbl-grid .dxbl-scroll-viewer-content {
    padding-bottom: 24px;
    /* Reserves the horizontal scrollbar's space permanently instead of only when content overflows.
       Without this, turning on grouping shifts columns by the group-indicator width, which can flip
       whether the row content overflows - toggling the scrollbar on/off/on in a feedback loop that
       reads as the whole grid (header, scrollbar, right-side columns) shaking continuously. */
    scrollbar-gutter: stable;
}

.dxbl-grid .dxbl-grid-footer-row {
    border-top: 2px solid #dee2e6;
}

.country-summary-tile {
    transition: box-shadow .15s ease, border-color .15s ease;
    cursor: pointer;
}

/* Centers the Applied/Interview Selected/stage-count columns (3rd column onward - Demand Ref No and
   Demand Company Name stay left-aligned) via CSS position rather than a DxGridDataColumn attribute -
   TextAlignment/HeaderCssClass on individual columns was silently dropping those columns at runtime
   on this DevExpress version, so plain CSS is the safer route here. !important overrides DevExpress's
   own .dxbl-align-right default for numeric columns. */
.demand-summary-grid th:nth-child(n+4),
.demand-summary-grid td:nth-child(n+4) {
    text-align: center !important;
}

.country-summary-tile:hover {
    box-shadow: 0 2px 10px rgba(0, 0, 0, .08);
    border-color: var(--bs-primary) !important;
}

/* Windows doesn't render Unicode flag emoji as pictures (shows the 2-letter code instead), so flags
   are real images (flagcdn.com) clipped into a circle here instead. */
.country-flag-circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bs-light, #f2f3f7);
    border: 1px solid rgba(0, 0, 0, .08);
    flex-shrink: 0;
}

.country-flag-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.country-flag-circle i {
    font-size: 20px;
    color: var(--bs-secondary, #6c757d);
}

.country-flag-circle-sm {
    width: 26px;
    height: 26px;
}

.country-flag-circle-sm i {
    font-size: 13px;
}



/* Manpower profile page (Company page view mode): logo box in the header and small
   logo/stamp thumbnails in the Representatives card. */
.company-logo-box {
    width: 64px;
    height: 64px;
    border-radius: 12px;
    background: var(--bs-tertiary-bg, #f5f5f5);
    border: 1px solid rgba(0, 0, 0, .08);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
}

.company-logo-box img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.company-logo-box i {
    font-size: 28px;
    color: var(--bs-secondary, #6c757d);
}

.company-file-thumb {
    width: 56px;
    height: 56px;
    border-radius: 8px;
    background: var(--bs-tertiary-bg, #f5f5f5);
    border: 1px solid rgba(0, 0, 0, .08);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.company-file-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.company-file-thumb i {
    font-size: 20px;
    color: var(--bs-secondary, #6c757d);
}

.company-detail-table td {
    padding: 6px 0;
    border-top: 1px solid rgba(0, 0, 0, .06);
}

.company-detail-table tr:first-child td {
    border-top: none;
}

/* Long values (license key, addresses, emails) wrap inside the card instead of being clipped. */
.company-detail-table {
    table-layout: fixed;
    width: 100%;
}

.company-detail-table td {
    vertical-align: top;
    overflow-wrap: anywhere;
}

.company-detail-table td:first-child {
    width: 38%;
    padding-right: 12px;
}

.company-detail-table code {
    white-space: normal;
    word-break: break-all;
}

/* Phones: label above value, both full width. */
@media (max-width: 575.98px) {
    .company-detail-table tr {
        display: block;
        padding: 6px 0;
        border-top: 1px solid rgba(0, 0, 0, .06);
    }

    .company-detail-table tr:first-child {
        border-top: none;
    }

    .company-detail-table td,
    .company-detail-table td:first-child {
        display: block;
        width: 100%;
        padding: 1px 0;
        border-top: none;
        text-align: left !important;
    }
}

/* Staff page card view */
.staff-card {
    cursor: pointer;
    border: 1px solid rgba(0, 0, 0, .08);
    transition: box-shadow .15s ease, border-color .15s ease;
}

.staff-card:hover {
    box-shadow: 0 2px 10px rgba(0, 0, 0, .08);
    border-color: var(--bs-primary) !important;
}

.staff-card-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--bs-primary-bg-subtle, #e7edff);
    color: var(--bs-primary, #4a6cf7);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 14px;
    flex-shrink: 0;
    overflow: hidden;
}

.staff-card-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.staff-card-search {
    width: 200px;
}

/* Report catalog tiles (Reports > Detailed/Summary/Logs/Account) - previously had no CSS at all,
   so these <button> elements rendered as unstyled browser default buttons. */
.report-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    width: 100%;
    height: 100%;
    padding: 1.25rem;
    text-align: left;
    background: var(--bs-tertiary-bg, #f5f5f5);
    border: 1px solid rgba(0, 0, 0, .08);
    border-radius: 1rem;
    cursor: pointer;
    transition: box-shadow .15s ease, border-color .15s ease, transform .15s ease;
}

.report-card:hover {
    box-shadow: 0 4px 14px rgba(0, 0, 0, .1);
    border-color: var(--bs-primary);
    transform: translateY(-2px);
}

.report-card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--bs-primary-bg-subtle, #e7edff);
    color: var(--bs-primary, #4a6cf7);
    font-size: 20px;
    margin-bottom: 8px;
    flex-shrink: 0;
}

.report-card-title {
    font-weight: 600;
    font-size: 15px;
    color: var(--bs-body-color);
}

.report-card-description {
    font-size: 13px;
    color: var(--bs-secondary-color, #6c757d);
    line-height: 1.4;
}

.text-truncate-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Tighter field spacing for the Complaint popup - shrinks row gaps and control height
   so the whole form fits a smaller popup without changing any field's function. */
.compact-form-layout .dxbl-form-layout-item {
    margin-bottom: 6px !important;
}

.compact-form-layout .dxbl-form-layout-item-caption {
    margin-bottom: 2px !important;
    font-size: 12px !important;
}

.compact-form-layout .dxbl-edit,
.compact-form-layout .dxbl-edit-input {
    min-height: 30px !important;
}

/* Compact square icon buttons for image/attachment field actions (Scan Document, Remove, View) -
   replaces full-width text buttons that took up disproportionate space next to a small preview. */
.btn-icon-only {
    width: 32px;
    height: 32px;
    padding: 0 !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

#chat-file-input {
    display: none;
}

.send-image {
    height: 100px;
    width: 100px;
}

.typing-dots::after {
    content: '';
    display: inline-block;
    width: 1em;
    text-align: left;
    animation: dots 1.2s steps(3, end) infinite;
}

@keyframes dots {
    0% {
        content: '';
    }

    33% {
        content: '.';
    }

    66% {
        content: '..';
    }

    100% {
        content: '...';
    }
}

#PageSearchInput {
    width: 0;
    opacity: 0;
    transition: width 0.3s ease, opacity 0.3s ease, padding 0.3s ease;
    overflow: hidden;
    right: -10px;
    top: -6px;
}

#PageSearchInput.active {
    width: 240px;
    opacity: 1;
}


.breadcrumbs-primary .page-breadcrumbs .page-name{
    color: var(--bs-white);
}
.breadcrumbs-primary .page-breadcrumbs .back-btn{
    border-color: #eeeeee36;
}
.breadcrumbs-primary .page-breadcrumbs,
.breadcrumbs-primary .content-wrapper.content-wrapper-radius,
.breadcrumbs-primary .inner-layout .left-bar{
    background-color: var(--bs-primary);
}
.breadcrumbs-primary .back-btn span{
    color: var(--bs-white) !important;
}
.breadcrumbs-primary .page-breadcrumbs .hover-svg svg path{
    stroke: var(--bs-white)
}
.breadcrumbs-primary .page-breadcrumbs .hover-svg:hover svg path{
    stroke: var(--bs-black)
}

.card.shadow-active{
    box-shadow: var(--bs-box-shadow-sm)!important
}
.gemini-text{
    background: linear-gradient(to right, #4285f4, #9b72cb, #d96570);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    animation: gradient 5s linear infinite;
}
@keyframes gradient {
    0% {
      background-position: 0% 50%;
    }
    50% {
      background-position: 100% 50%;
    }
    100% {
      background-position: 0% 50%;
    }
}

/* Center toast notifications on the visible viewport, regardless of scroll position
   (DxToastProvider only supports Top/Bottom edge anchoring, and defaults to
   position: absolute which anchors to the document, not the viewport). */
.dxbl-toast-portal.dxbl-toast-align-top {
    position: fixed !important;
    top: 50% !important;
    transform: translateY(-50%);
}

/* Message-box style toast: bigger icon, roomier body, dialog-like shadow */
.dxbl-toast {
    border-radius: 10px !important;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4) !important;
}

.dxbl-toast-body {
    padding: 18px 16px !important;
    align-items: flex-start !important;
}

.dxbl-toast-icon-column {
    display: flex !important;
    align-items: center !important;
    padding-right: 4px !important;
}

.dxbl-toast-icon {
    width: 34px !important;
    height: 34px !important;
}

@media (min-width: 899.98px) {
    .staff-popup-form {
        max-width: 760px !important;
        width: 760px !important;
    }
}

/* DevExpress DxGrid has no built-in "print just the grid" feature - every page's Print button
   calls the browser's native window.print(), which by default prints the whole page (header,
   sidebar, toolbar included). Any grid wrapped in a "grid-print-area" element is isolated at
   print time: everything else on the page is hidden, and only that container (and its
   descendants) is shown, repositioned to fill the printed page. */
@media print {
    body * {
        visibility: hidden;
    }

    .grid-print-area,
    .grid-print-area * {
        visibility: visible;
    }

    .grid-print-area {
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        height: auto !important;
        overflow: visible !important;
    }

    .grid-sticky-scroll {
        display: none !important;
    }
}

/* Mirror of a grid's horizontal scrollbar, pinned to the bottom of the screen - see common.js.
   Needs no overflow:hidden/auto ancestor between it and the page scroller (.content-area). */
.grid-sticky-scroll {
    position: sticky;
    /* .content-area's py-4 bottom padding - sticky stops at the scroller's padding edge, which
       otherwise leaves a slice of rows peeking out below the bar. */
    bottom: -1.5rem;
    z-index: 5;
    overflow-x: auto;
    overflow-y: hidden;
    background: var(--bs-body-bg, #fff);
}

.grid-sticky-scroll > div {
    height: 1px;
}

/* Firefox: own always-visible scrollbar (see common.js) instead of the auto-hiding overlay one. */
.grid-sticky-scroll.sticky-custom {
    overflow: hidden;
}

.grid-sticky-scroll.sticky-custom > .sticky-track {
    position: relative;
    height: 14px;
    background: var(--bs-tertiary-bg, #f1f1f1);
}

.grid-sticky-scroll.sticky-custom > div:not(.sticky-track) {
    display: none;
}

.sticky-thumb {
    position: absolute;
    top: 2px;
    height: 10px;
    border-radius: 5px;
    background: var(--bs-secondary-color, #adb5bd);
    cursor: grab;
    touch-action: none;
}

.sticky-thumb:hover,
.sticky-thumb.dragging {
    background: var(--bs-secondary-color-emphasis, #6c757d);
}

.sticky-thumb.dragging {
    cursor: grabbing;
}

/* Force one consistent bar size regardless of the browser's own scrollbar theme - Edge on Windows
   draws a thicker "Fluent" scrollbar by default, Chrome a thinner classic one; both are Chromium,
   so both honor ::-webkit-scrollbar. */
.grid-sticky-scroll::-webkit-scrollbar {
    height: 14px;
}

.grid-sticky-scroll::-webkit-scrollbar-track {
    background: var(--bs-tertiary-bg, #f1f1f1);
}

.grid-sticky-scroll::-webkit-scrollbar-thumb {
    background: var(--bs-secondary-color, #adb5bd);
    border-radius: 7px;
    border: 3px solid var(--bs-tertiary-bg, #f1f1f1);
}

.grid-sticky-scroll::-webkit-scrollbar-thumb:hover {
    background: var(--bs-secondary-color-emphasis, #6c757d);
}

/* The sticky strip replaces the grid's own bottom scrollbar, so the two never show stacked. */
/* !important: DevExpress shows it via a higher-specificity ".dxbl-active" rule. */
.grid-with-sticky-scroll .dxbl-scroll-viewer > .dxbl-scroll-viewer-hor-scroll-bar {
    display: none !important;
}/* Number/integer columns: center header + data cell, both axes, across every grid app-wide.
   DevExpress marks numeric data cells with .dxbl-align-right (right-aligned) but never marks
   the matching header cell, so a positional :has() rule is used to detect "this column is
   numeric" from the data cell and mirror the alignment onto the header at the same position.
   Pure CSS - avoids per-column HeaderCssClass/TextAlignment attributes, which silently drop
   columns on this DevExpress version (see the demand-summary-grid comment above). */
.dxbl-grid td.dxbl-align-right {
    text-align: center !important;
    vertical-align: middle !important;
}

.dxbl-grid table:has(tbody td.dxbl-align-right:nth-child(1)) th:nth-child(1) {
    text-align: center !important;
    vertical-align: middle !important;
}
.dxbl-grid table:has(tbody td.dxbl-align-right:nth-child(2)) th:nth-child(2) {
    text-align: center !important;
    vertical-align: middle !important;
}
.dxbl-grid table:has(tbody td.dxbl-align-right:nth-child(3)) th:nth-child(3) {
    text-align: center !important;
    vertical-align: middle !important;
}
.dxbl-grid table:has(tbody td.dxbl-align-right:nth-child(4)) th:nth-child(4) {
    text-align: center !important;
    vertical-align: middle !important;
}
.dxbl-grid table:has(tbody td.dxbl-align-right:nth-child(5)) th:nth-child(5) {
    text-align: center !important;
    vertical-align: middle !important;
}
.dxbl-grid table:has(tbody td.dxbl-align-right:nth-child(6)) th:nth-child(6) {
    text-align: center !important;
    vertical-align: middle !important;
}
.dxbl-grid table:has(tbody td.dxbl-align-right:nth-child(7)) th:nth-child(7) {
    text-align: center !important;
    vertical-align: middle !important;
}
.dxbl-grid table:has(tbody td.dxbl-align-right:nth-child(8)) th:nth-child(8) {
    text-align: center !important;
    vertical-align: middle !important;
}
.dxbl-grid table:has(tbody td.dxbl-align-right:nth-child(9)) th:nth-child(9) {
    text-align: center !important;
    vertical-align: middle !important;
}
.dxbl-grid table:has(tbody td.dxbl-align-right:nth-child(10)) th:nth-child(10) {
    text-align: center !important;
    vertical-align: middle !important;
}
.dxbl-grid table:has(tbody td.dxbl-align-right:nth-child(11)) th:nth-child(11) {
    text-align: center !important;
    vertical-align: middle !important;
}
.dxbl-grid table:has(tbody td.dxbl-align-right:nth-child(12)) th:nth-child(12) {
    text-align: center !important;
    vertical-align: middle !important;
}
.dxbl-grid table:has(tbody td.dxbl-align-right:nth-child(13)) th:nth-child(13) {
    text-align: center !important;
    vertical-align: middle !important;
}
.dxbl-grid table:has(tbody td.dxbl-align-right:nth-child(14)) th:nth-child(14) {
    text-align: center !important;
    vertical-align: middle !important;
}
.dxbl-grid table:has(tbody td.dxbl-align-right:nth-child(15)) th:nth-child(15) {
    text-align: center !important;
    vertical-align: middle !important;
}
.dxbl-grid table:has(tbody td.dxbl-align-right:nth-child(16)) th:nth-child(16) {
    text-align: center !important;
    vertical-align: middle !important;
}
.dxbl-grid table:has(tbody td.dxbl-align-right:nth-child(17)) th:nth-child(17) {
    text-align: center !important;
    vertical-align: middle !important;
}
.dxbl-grid table:has(tbody td.dxbl-align-right:nth-child(18)) th:nth-child(18) {
    text-align: center !important;
    vertical-align: middle !important;
}
.dxbl-grid table:has(tbody td.dxbl-align-right:nth-child(19)) th:nth-child(19) {
    text-align: center !important;
    vertical-align: middle !important;
}
.dxbl-grid table:has(tbody td.dxbl-align-right:nth-child(20)) th:nth-child(20) {
    text-align: center !important;
    vertical-align: middle !important;
}
.dxbl-grid table:has(tbody td.dxbl-align-right:nth-child(21)) th:nth-child(21) {
    text-align: center !important;
    vertical-align: middle !important;
}
.dxbl-grid table:has(tbody td.dxbl-align-right:nth-child(22)) th:nth-child(22) {
    text-align: center !important;
    vertical-align: middle !important;
}
.dxbl-grid table:has(tbody td.dxbl-align-right:nth-child(23)) th:nth-child(23) {
    text-align: center !important;
    vertical-align: middle !important;
}
.dxbl-grid table:has(tbody td.dxbl-align-right:nth-child(24)) th:nth-child(24) {
    text-align: center !important;
    vertical-align: middle !important;
}
.dxbl-grid table:has(tbody td.dxbl-align-right:nth-child(25)) th:nth-child(25) {
    text-align: center !important;
    vertical-align: middle !important;
}
.dxbl-grid table:has(tbody td.dxbl-align-right:nth-child(26)) th:nth-child(26) {
    text-align: center !important;
    vertical-align: middle !important;
}
.dxbl-grid table:has(tbody td.dxbl-align-right:nth-child(27)) th:nth-child(27) {
    text-align: center !important;
    vertical-align: middle !important;
}
.dxbl-grid table:has(tbody td.dxbl-align-right:nth-child(28)) th:nth-child(28) {
    text-align: center !important;
    vertical-align: middle !important;
}
.dxbl-grid table:has(tbody td.dxbl-align-right:nth-child(29)) th:nth-child(29) {
    text-align: center !important;
    vertical-align: middle !important;
}
.dxbl-grid table:has(tbody td.dxbl-align-right:nth-child(30)) th:nth-child(30) {
    text-align: center !important;
    vertical-align: middle !important;
}
.dxbl-grid table:has(tbody td.dxbl-align-right:nth-child(31)) th:nth-child(31) {
    text-align: center !important;
    vertical-align: middle !important;
}
.dxbl-grid table:has(tbody td.dxbl-align-right:nth-child(32)) th:nth-child(32) {
    text-align: center !important;
    vertical-align: middle !important;
}
.dxbl-grid table:has(tbody td.dxbl-align-right:nth-child(33)) th:nth-child(33) {
    text-align: center !important;
    vertical-align: middle !important;
}
.dxbl-grid table:has(tbody td.dxbl-align-right:nth-child(34)) th:nth-child(34) {
    text-align: center !important;
    vertical-align: middle !important;
}
.dxbl-grid table:has(tbody td.dxbl-align-right:nth-child(35)) th:nth-child(35) {
    text-align: center !important;
    vertical-align: middle !important;
}
.dxbl-grid table:has(tbody td.dxbl-align-right:nth-child(36)) th:nth-child(36) {
    text-align: center !important;
    vertical-align: middle !important;
}
.dxbl-grid table:has(tbody td.dxbl-align-right:nth-child(37)) th:nth-child(37) {
    text-align: center !important;
    vertical-align: middle !important;
}
.dxbl-grid table:has(tbody td.dxbl-align-right:nth-child(38)) th:nth-child(38) {
    text-align: center !important;
    vertical-align: middle !important;
}
.dxbl-grid table:has(tbody td.dxbl-align-right:nth-child(39)) th:nth-child(39) {
    text-align: center !important;
    vertical-align: middle !important;
}
.dxbl-grid table:has(tbody td.dxbl-align-right:nth-child(40)) th:nth-child(40) {
    text-align: center !important;
    vertical-align: middle !important;
}


/* Help & Feedback's staff-support chat (HelpCenterPage.razor) - simple two-column chat bubbles,
   staff's own messages on the right, admin/support replies on the left. */
.feedback-chat-scroll {
    overflow-y: auto;
    background: var(--bs-tertiary-bg, #f8f9fa);
}
.feedback-chat-attach-btn,
.feedback-chat-send-btn {
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: none;
}
.feedback-chat-attach-btn {
    background: var(--bs-tertiary-bg, #f1f0f5);
    color: #6b7188;
}
.feedback-chat-attach-btn:hover {
    background: #e3e1e9;
}
.feedback-chat-send-btn {
    background: #7c5cff;
    color: #fff;
}
.feedback-chat-send-btn:hover:not(:disabled) {
    background: #6a4ce0;
}
.feedback-chat-send-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}
.feedback-chat-input {
    resize: none;
    border-radius: 20px;
    padding: 8px 16px;
}
.feedback-chat-row {
    display: flex;
    margin-bottom: 12px;
}
.feedback-chat-row-mine {
    justify-content: flex-end;
}
.feedback-chat-bubble {
    max-width: 75%;
    padding: 8px 12px;
    border-radius: 14px;
    font-size: 0.9rem;
}
.feedback-chat-bubble-theirs {
    background: #fff;
    border: 1px solid #e3e1e9;
    border-top-left-radius: 4px;
}
.feedback-chat-bubble-mine {
    background: #7c5cff;
    color: #fff;
    border-top-right-radius: 4px;
}
.feedback-chat-bubble-mine a {
    color: #fff;
    text-decoration: underline;
}
.feedback-chat-sender {
    font-size: 0.75rem;
    font-weight: 600;
    color: #7c5cff;
    margin-bottom: 2px;
}
.feedback-chat-html img {
    max-width: 100%;
    border-radius: 8px;
    margin-top: 4px;
}
.feedback-chat-html p {
    margin-bottom: 0;
}
.feedback-chat-time {
    font-size: 0.68rem;
    opacity: 0.65;
    margin-top: 4px;
    text-align: right;
}
.feedback-chat-action {
    opacity: 0.55;
    font-size: 0.72rem;
    cursor: pointer;
}
.feedback-chat-action:hover {
    opacity: 1;
}
