/*
    Omni~View Global SASS File

    Entry point for all of the SASS files for the Omni~View application

    No styles should be added here, instead:
        - Blazor CSS isolation is preferred for component-specific styles, one-offs, etc.
        - For our own reusable classes, consider adding a new file in the Styles/app directory, and forward it in Styles/app/_index.scss
            ex: Styles/app/_collapsible-tabs.scss
        - For global overrides to third-party components, add a new file in the Styles/app/{library}/ directory, and forward it in Styles/app/{libary}/_index.scss
            ex: Styles/app/radzen/_RadzenSplitButton.scss
            ex: Styles/app/bootstrap/_Offcanvas.scss

*/
@import url("open-iconic/font/css/open-iconic-bootstrap.min.css");
.offcanvas.offcanvas-end {
  width: 50%;
  transition: transform 0.3s ease-in-out, visibility 0.3s linear, opacity 0.3s ease-in-out;
}

/* Support smooth close by applying a temporary closing state instead of removing element immediately */
.offcanvas.offcanvas-end.closing {
  transform: translateX(100%);
  opacity: 0;
  visibility: hidden;
}

/* Ensure base (hidden) state prior to first open */
.offcanvas.offcanvas-end:not(.show):not(.closing) {
  transform: translateX(100%);
  visibility: hidden;
}

.offcanvas-body:has(.rz-tabview.rz-tabview-left) {
  padding-left: 0;
}

.offcanvas-body .rz-tabview-left .rz-tabview-nav li a:not([href]):not([class]) {
  padding-left: var(--bs-offcanvas-padding-x) !important;
}

.offcanvas-cancel-left #offcanvas-cancel {
  position: absolute;
  left: 0;
  right: 100%;
  width: fit-content;
  margin-left: 14px;
}

.offcanvas.ov-address-selector > .offcanvas-body {
  padding-left: 0;
  padding-right: 0;
}

.offcanvas-backdrop:not(.show) {
  display: none;
}

.rz-splitbutton-menu.rz-popup {
  border-top-left-radius: 4px !important;
  border-top-right-radius: 4px !important;
  border-bottom-left-radius: 4px !important;
  border-bottom-right-radius: 4px !important;
}

/* Radzen splitbutton, class to convert to regular dropdown and hide the dropdown part*/
.rz-splitbutton.rz-buttonset.rz-splitbutton-dropdownonly > .rz-splitbutton-menubutton {
  display: none;
}

.rz-splitbutton.rz-buttonset.rz-splitbutton-dropdownonly > .rz-button {
  border-start-end-radius: var(--rz-button-border-radius);
  border-end-end-radius: var(--rz-button-border-radius);
}

.rz-card {
  --rz-card-background-color: var(--rz-dialog-background-color);
  background-color: var(--rz-card-background-color) !important;
}

html, body {
  /* Radzen takes over control of font size with var(--rz-body-font-size), so the line below has no effect. */
  /* font-size: var(--ov-font-size); */
}

#ov-body-container {
  width: 100%;
  height: 100%;
  overflow-y: auto;
  padding: 28px 62px 24px 62px;
}

@media (width < 850px) {
  #ov-body-container {
    padding: 28px 16px 24px 16px;
  }
}
.ov-body {
  min-height: 100%;
}

.rz-header {
  z-index: 3 !important;
  box-shadow: none !important;
}

/* Override default 300px to 375 for sidebar for (quote) builder page */
div.ov-nested-layout > div.rz-layout > .rz-sidebar-expanded {
  width: 375px;
}

.footer {
  padding-left: 10px;
  padding-top: 0px;
  margin-bottom: 0px;
  margin-top: 2px;
}

.e-contextmenu-container {
  z-index: 2000 !important;
}

.e-menu-container .e-menu-item {
  font-weight: 400;
}

.e-upload-drag-hover {
  outline: solid 2px var(--ov-primary) !important;
}

.e-richtexteditor {
  min-height: 300px !important;
  max-height: 300px !important;
}

/* Text selection highlight */
input.e-input::selection,
textarea.e-input::selection,
.e-input-group input.e-input::selection,
.e-input-group.e-control-wrapper input.e-input::selection,
.e-float-input input::selection,
.e-float-input.e-control-wrapper input::selection,
.e-input-group textarea.e-input::selection,
.e-input-group.e-control-wrapper textarea.e-input::selection,
.e-float-input textarea::selection,
.e-float-input.e-control-wrapper textarea::selection,
.e-float-input.e-small textarea::selection,
.e-float-input textarea::selection {
  background: var(--ov-selection);
}

h1:focus {
  outline: none;
}

a, .btn-link {
  color: var(--ov-link);
}

.btn-primary {
  color: var(--ov-white);
  background-color: var(--ov-primary);
  border-color: var(--ov-glow);
}

.content {
  padding-top: 1.1rem;
  padding-bottom: 60px;
}

.valid.modified:not([type=checkbox]) {
  outline: 1px solid var(--ov-success);
}

.invalid {
  outline: 1px solid var(--ov-danger);
}

.validation-message {
  color: var(--ov-danger);
}

#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;
}

.blazor-error-boundary {
  background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDg2Ni4wMTgzIDI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODc7ODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
  padding: 1rem 1rem 1rem 3.7rem;
  color: white;
}

.blazor-error-boundary::after {
  content: "An error has occurred.";
}

/* Manual fix for Syncfusion menu not always closing */
.ov-hide-sf-menu {
  display: none;
}

/*
    Radzen

    Global styles
*/
.rz-card {
  --rz-card-border-radius: 8px;
}

.rz-numeric.ov-currency::before {
  content: "$";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  padding-inline: var(--rz-numeric-input-padding-inline);
  color: var(--ov-text-descriptive);
}

/*
    Radzen

    Make controls a little more compact, closer to Syncfusion, unify appearance.
*/
.rz-dropdown {
  padding: 0 !important;
}

.rz-dropdown .rz-dropdown-label {
  margin: auto 0 !important;
  padding-left: 0 !important;
  text-indent: 11px !important; /* Match Syncfusion indent. */
  text-align: left !important;
}

.rz-dropdown-list {
  padding: 0 !important;
}

.rz-dropdown-item {
  padding-left: 24px !important; /* Indent for wrapped lines */
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  padding-right: 16px !important;
  text-indent: -12px !important; /* Pull first line back to 12px (hanging indent) */
  line-height: 2.2 !important; /* Match Syncfusion input height, but also adjust with font size. */
  min-height: 2.2em !important; /* Match Syncfusion input height, but also adjust with font size. */
  height: inherit !important;
}

.rz-menu-list {
  padding: 0 !important;
  border-top-left-radius: 4px !important;
  border-top-right-radius: 4px !important;
  border-bottom-left-radius: 4px !important;
  border-bottom-right-radius: 4px !important;
  box-shadow: var(--rz-dropdown-panel-shadow) !important;
}

.rz-menuitem {
  padding-left: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  padding-right: 16px !important;
  text-indent: 12px !important; /* Match Syncfusion indent. */
  line-height: 2.2 !important; /* Match Syncfusion input height, but also adjust with font size. */
  min-height: 2.2em !important; /* Match Syncfusion input height, but also adjust with font size. */
  height: inherit !important;
}

.rz-menuitem:first-child {
  border-top-left-radius: 4px !important;
  border-top-right-radius: 4px !important;
  border-bottom-left-radius: 0 !important;
  border-bottom-right-radius: 0 !important;
}

.rz-menuitem:last-child {
  border-top-left-radius: 0 !important;
  border-top-right-radius: 0 !important;
  border-bottom-left-radius: 4px !important;
  border-bottom-right-radius: 4px !important;
}

/* Add Alternating Row Style */
.e-grid .e-altrow {
  background-color: var(--ov-grid-row-alt);
}

/* Only override OK button color for column chooser dialog, leaving all other dialogs unaffected. */
.e-footer-content .e-btn.e-primary.e-ccdlg.e-flat:not([DISABLED]) {
  background: var(--ov-link);
  border-color: var(--ov-link);
}

.e-footer-content .e-btn:hover.e-primary.e-ccdlg.e-flat:not([DISABLED]) {
  background: var(--ov-link-dark);
  border-color: var(--ov-link-dark);
}

.e-footer-content .e-btn.e-primary.e-ccdlg.e-flat:not([DISABLED]):focus-visible,
.e-footer-content .e-btn.e-primary.e-ccdlg.e-flat:not([DISABLED]):focus,
.e-footer-content .e-btn.e-primary.e-ccdlg.e-flat:not([DISABLED]):focus,
.e-footer-content .e-btn.e-ccdlg.e-flat:not([DISABLED]):focus-visible {
  background: var(--ov-link);
  box-shadow: 0 0 0 3px var(--ov-glow);
}

.total-headerless-grid:first-child .ui-datatable-thead .ui-column-title {
  display: none !important;
}

.total-headerless-grid .ui-column-title {
  display: none !important;
}

.misc-headerless-grid .ui-datatable-thead {
  display: none;
}

.image-container:hover .image-large {
  left: 20px;
  top: -150px;
}

.image-large-misc {
  position: absolute;
  left: -9999px;
  border-radius: 4px;
  box-shadow: 1px 1px 3px 3px rgba(127, 127, 127, 0.15);
  opacity: 1;
  z-index: 9999;
}

.image-container:hover .image-large-misc {
  left: 10px;
  top: -50px;
}

.image-container:hover .e-grid, .e-attr {
  z-index: -1;
}

.fs-7 {
  font-size: 0.75rem !important;
}

.fs-8 {
  font-size: 0.5rem !important;
}

.e-popup {
  box-shadow: var(--rz-dropdown-panel-shadow) !important;
}

/* These styles need to be in the root stylesheet because they pertain to a popup outside the component tree. */
.ov-nested-dropdown.e-menu-container,
.ov-nested-dropdown.e-menu-container ul {
  width: 100% !important;
}

.ov-nested-dropdown.e-contextmenu-container,
.ov-nested-dropdown.e-contextmenu-container ul {
  width: auto !important;
}

.ov-nested-dropdown .e-menu-item.e-menu-item.e-menu-item.e-menu-item.e-menu-item,
.ov-nested-dropdown .e-menu-item.e-menu-item.e-menu-item.e-menu-item.e-menu-item .e-menu-url,
.ov-nested-dropdown .e-menu-item.e-menu-item.e-menu-item.e-menu-item.e-menu-item .e-menu-icon,
.ov-nested-dropdown .e-menu-item.e-menu-item.e-menu-item.e-menu-item.e-menu-item .e-caret {
  background-color: var(--rz-panel-background-color) !important;
  color: var(--ov-sf-listview-text-color) !important;
}

.ov-nested-dropdown .e-menu-item.e-menu-item.e-menu-item.e-menu-item.e-menu-item.e-selected,
.ov-nested-dropdown .e-menu-item.e-menu-item.e-menu-item.e-menu-item.e-menu-item.e-active-item,
.ov-nested-dropdown .e-menu-item.e-menu-item.e-menu-item.e-menu-item.e-menu-item.e-focused,
.ov-nested-dropdown .e-menu-item.e-menu-item.e-menu-item.e-menu-item.e-menu-item.e-selected .e-menu-url,
.ov-nested-dropdown .e-menu-item.e-menu-item.e-menu-item.e-menu-item.e-menu-item.e-active-item .e-menu-url,
.ov-nested-dropdown .e-menu-item.e-menu-item.e-menu-item.e-menu-item.e-menu-item.e-focused .e-menu-url,
.ov-nested-dropdown .e-menu-item.e-menu-item.e-menu-item.e-menu-item.e-menu-item.e-selected .e-menu-icon,
.ov-nested-dropdown .e-menu-item.e-menu-item.e-menu-item.e-menu-item.e-menu-item.e-active-item .e-menu-icon,
.ov-nested-dropdown .e-menu-item.e-menu-item.e-menu-item.e-menu-item.e-menu-item.e-focused .e-menu-icon,
.ov-nested-dropdown .e-menu-item.e-menu-item.e-menu-item.e-menu-item.e-menu-item.e-selected .e-caret,
.ov-nested-dropdown .e-menu-item.e-menu-item.e-menu-item.e-menu-item.e-menu-item.e-active-item .e-caret,
.ov-nested-dropdown .e-menu-item.e-menu-item.e-menu-item.e-menu-item.e-menu-item.e-focused .e-caret {
  background-color: var(--ov-sf-listview-item-hover-bg) !important;
  color: var(--ov-sf-listview-text-color) !important;
}

.ov-nested-dropdown .e-menu-item.e-menu-item.e-menu-item.e-menu-item.e-menu-item[data-ov-selected],
.ov-nested-dropdown .e-menu-item.e-menu-item.e-menu-item.e-menu-item.e-menu-item[data-ov-selected] .e-menu-url,
.ov-nested-dropdown .e-menu-item.e-menu-item.e-menu-item.e-menu-item.e-menu-item[data-ov-selected] .e-menu-icon,
.ov-nested-dropdown .e-menu-item.e-menu-item.e-menu-item.e-menu-item.e-menu-item[data-ov-selected] .e-caret {
  background-color: var(--ov-dropdown-selection) !important;
  color: var(--ov-dropdown-selection-text) !important;
}

.ov-nested-dropdown.e-menu-popup ul.e-ul {
  box-shadow: var(--rz-dropdown-panel-shadow) !important;
}

.ov-nested-dropdown {
  display: block !important; /* Get rid of extra padding at the bottom of the box. */
}

/*
    These styles need to be in the root stylesheet because they pertain to a popup outside the component tree.
    Unfortunately, this is Syncfusion's best recommendation for how to change the popup open location.
    It requires fixed-width to work consistently:

    <https://blazor.syncfusion.com/documentation/drop-down-menu/how-to/position-popup>
*/
.ov-grid-dropdown.e-menu-container .e-ul .e-menu-item {
  height: 3.2em !important;
  line-height: 3.2em !important;
  padding: 0 !important;
}

.ov-grid-dropdown .e-caret {
  position: absolute !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
}

.ov-topbar-settings .e-contextmenu .e-menu-item {
  width: 150px !important;
}

.ov-topbar-help .e-contextmenu .e-menu-item {
  width: 190px !important;
}

.ov-topbar-account .e-contextmenu .e-menu-item {
  width: 150px !important;
}

.ov-topbar-dropdown .e-menu-item.e-menu-item.e-menu-item.e-menu-item.e-menu-item[data-ov-selected],
.ov-topbar-dropdown .e-menu-item.e-menu-item.e-menu-item.e-menu-item.e-menu-item[data-ov-selected] .e-menu-url,
.ov-topbar-dropdown .e-menu-item.e-menu-item.e-menu-item.e-menu-item.e-menu-item[data-ov-selected] .e-menu-icon,
.ov-topbar-dropdown .e-menu-item.e-menu-item.e-menu-item.e-menu-item.e-menu-item[data-ov-selected] .e-caret {
  background-color: var(--ov-dropdown-selection) !important;
  color: var(--ov-dropdown-selection-text) !important;
}

.ov-sidebar-toggle {
  position: absolute;
  top: 30px;
  top: calc(30px + (1.2em + 5px + 5px - 36px) / 2);
  width: 36px;
  height: 36px;
  z-index: 1;
  overflow: visible;
}

.rz-button {
  text-transform: none !important;
}

.ov-sidebar-toggle .rz-button {
  border-radius: 4px !important;
  background-color: var(--rz-base-background-color) !important;
}

.ov-sidebar {
  position: relative !important;
  overflow: visible !important;
  z-index: 1 !important;
}

.ov-sidebar.ov-sidebar-collapsed {
  overflow: hidden !important;
  z-index: 0 !important;
}

.ov-sidebar .ov-sidebar-toggle {
  display: none;
  right: -8px;
}

.ov-sidebar:hover .ov-sidebar-toggle {
  display: block;
}

.ov-sidebar-trigger-tray {
  box-shadow: none !important;
  position: absolute;
  height: 100%;
}

.ov-sidebar-trigger-tray .ov-sidebar-toggle {
  position: relative;
}

.ov-sidebar-trigger .rz-button {
  transition: box-shadow 0.3s;
  box-shadow: none !important;
  outline: none !important;
  border: none !important;
}

.ov-sidebar-trigger:hover .rz-button {
  box-shadow: var(--rz-shadow-8) !important;
  outline: none !important;
  border: none !important;
}

.ov-sidebar-trigger .rz-button-box {
  display: block;
  position: relative;
  left: 11px;
  transition: left 0.3s;
}

.ov-sidebar-trigger:hover .rz-button-box {
  left: 0px;
}

.ov-sidebar-trigger {
  background-color: transparent !important;
  height: 100% !important;
  width: 21px !important;
}

.ov-sidebar-trigger:hover {
  background-color: transparent !important;
  width: 64px !important;
}

.ov-sidebar-trigger .ov-sidebar-trigger-tray {
  transition: box-shadow 0.3s;
  background-color: var(--rz-base-background-color);
  box-shadow: none !important;
  width: 14px !important;
}

.ov-sidebar-trigger:hover .ov-sidebar-trigger-tray {
  box-shadow: rgba(0, 0, 0, 0.14) 0px -5px 5px 0px, rgba(0, 0, 0, 0.12) 0px -10px 10px 0px, rgba(0, 0, 0, 0.14) 0px -4px 4px 0px !important;
  width: 14px !important;
}

.ov-sidebar-trigger .ov-sidebar-toggle {
  transition: left 0.3s;
  left: -22px !important;
}

.ov-sidebar-trigger:hover .ov-sidebar-toggle {
  left: 27px !important;
}

.ov-sidebar-trigger .ov-sidebar-toggle-icon,
.ov-sidebar-trigger .ov-sidebar-toggle-icon2 {
  position: absolute;
  top: 0;
  left: 0;
}

.ov-sidebar-trigger .ov-sidebar-toggle-icon .rz-button,
.ov-sidebar-trigger .ov-sidebar-toggle-icon2 .rz-button {
  padding: 0;
  font-family: Material Symbols;
  font-size: 20px;
  font-weight: 500;
  font-variation-settings: "FILL" 0, "GRAD" 0, "opsz" 40;
}

.ov-sidebar-trigger .ov-sidebar-toggle-icon2 {
  transition: opacity 0.3s;
  opacity: 0;
  visibility: hidden;
}

.ov-sidebar-trigger:hover .ov-sidebar-toggle-icon2 {
  opacity: 1;
  visibility: visible;
}

.ov-basic-filter-checkbox .e-label {
  text-overflow: ellipsis !important;
  overflow: hidden !important;
  white-space: nowrap !important;
}

.ov-main-layout.rz-layout,
.ov-main-layout .rz-layout {
  /* Override RadzenLayout to ensure sidebar content scrolls and does not overflow vertically. */
  grid-template-rows: auto fit-content(1fr) auto !important;
}

.ov-nested-layout {
  height: 100%;
  max-height: 100%;
  display: flex;
  flex-direction: column;
}

/* Radzen workaround, doesn't allow selection of item not on list (sometimes needed for value loaded from database) */
.rz-dropdown-item:has(.ov-dropdown-item-hidden) {
  display: none;
}

@media (width < 1150px) {
  .rz-header {
    transition: height 0.3s;
    padding: 1px 1px 3px 13px !important;
    height: 62px !important;
  }
}
@media (width >= 1150px) {
  .rz-header {
    padding: 10px 58px 34px !important;
    height: 81px !important;
  }
}
.ov-nested-dropdown .e-menu-item.e-menu-item.e-menu-item.e-menu-item.e-menu-item .ov-dropdown-menu-item[data-ov-selected=data-ov-selected],
.ov-nested-dropdown .e-menu-item.e-menu-item.e-menu-item.e-menu-item.e-menu-item .ov-dropdown-menu-item[data-ov-selected=data-ov-selected] ~ .e-caret {
  background-color: var(--ov-dropdown-selection) !important;
  color: var(--ov-dropdown-selection-text) !important;
}

.ov-standard-dropdown.ov-dropdown-menu-frame {
  border: 0 !important;
  box-shadow: var(--rz-shadow-3);
}

.ov-standard-dropdown.ov-standard-dropdown.ov-standard-dropdown.ov-standard-dropdown.ov-standard-dropdown .ov-dropdown-menu-item {
  height: 2.6em;
  line-height: 2.6em;
  font-family: var(--ov-text) !important;
  font-size: var(--ov-radzen-font-size) !important;
  font-weight: normal !important;
  color: var(--ov-sf-listview-text-color) !important;
}

.ov-more-options-dropdown.ov-dropdown-menu-frame {
  position: relative;
  top: 0 !important;
  margin-top: 0;
  left: -6px;
}

.ov-quote-tree-item-button-dropdown.ov-dropdown-menu-frame {
  position: relative;
  top: 0 !important;
  margin-top: 4px;
  left: 0;
}

.ov-quote-tree-item-main-dropdown.ov-dropdown-menu-frame {
  position: relative;
  top: 0 !important;
  margin-top: 4px;
  left: 0;
}

.ov-customer-communications-dropdown.ov-dropdown-menu-frame {
  width: 14em;
}

/* Radzen tab customization for screen fields, vertical tabs */
.ov-dialog-editor .rz-dialog,
.ov-dialog-editor .rz-dialog-content,
.ov-dialog-editor .rz-dialog-content .container-flex,
.ov-dialog-editor .row {
  height: 100%;
  width: 100%;
  border-radius: 0;
  margin: 0;
  padding: 0;
}

.ov-dialog-editor .rz-dialog {
  max-width: 70em;
  position: relative;
}

.ov-dialog-editor .rz-dialog-titlebar,
.ov-dialog-editor .rz-dialog-titlebar .rz-dialog-title {
  height: 3.9em;
  margin: 0;
  padding: 0;
  align-items: center;
  font-size: 1em !important;
  font-weight: bold !important;
  color: var(--ov-form-label-text) !important;
  align-content: center !important;
}

.ov-dialog-editor .rz-dialog-titlebar {
  padding: 0 45px 0 25px;
}

.ov-dialog-editor.ov-dialog-with-topbar .rz-dialog-content {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
}

.ov-dialog-editor .ov-editor-pane-form-title-bar {
  display: none;
}

.ov-dialog-editor.ov-dialog-with-topbar .ov-editor-pane-form-title-bar {
  display: flex;
}

.ov-dialog-editor.rz-dialog-wrapper {
  justify-content: end;
}

/* Confirmation prompt */
.ov-prompt .rz-dialog-content, .rz-dialog-side-content {
  padding: 0;
}

.ov-prompt .rz-dialog {
  display: grid;
  grid-template-rows: min-content 1fr;
  grid-template-areas: "header" "content";
}

.ov-prompt .rz-dialog-titlebar {
  grid-area: header;
  padding-inline: 23px;
  padding-block: 23px 0;
}

.ov-prompt .rz-dialog-titlebar-close,
.ov-prompt .rz-dialog-titlebar-close .rzi {
  color: var(--ov-primary);
  font-size: 14px;
  font-weight: bold;
  text-decoration: none;
}

.ov-prompt .rz-dialog-titlebar-close {
  display: flex;
  justify-items: start;
  justify-content: start;
  align-items: start;
  align-content: start;
}

.ov-prompt .rz-dialog-title {
  font-size: 16px;
}

.ov-prompt .rz-dialog-content {
  grid-area: content;
}

.ov-prompt .rz-dialog-content .rz-form {
  height: 100%;
}

.ov-screen-form-label,
.ov-screen-form-label .rz-label {
  color: var(--ov-text);
  font-size: 14px;
  font-weight: bold;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ov-screen-form-checkbox {
  font-size: 14px;
}

.ov-screen-form-label-locked {
  font-weight: bold;
}

.ov-screen-form {
  height: 100%;
}

.ov-screen-form > .rz-tabview, .rz-tabview-title {
  text-transform: none !important;
}

.ov-screen-form > .rz-tabview > .rz-tabview-nav {
  background-color: var(--rz-dialog-background-color) !important;
}

.ov-screen-form .rz-tabview.rz-tabview-top {
  display: flex !important;
  flex-direction: row !important;
}

.ov-screen-form > .rz-tabview,
.ov-screen-form-wrapper .rz-tabview {
  height: 100% !important;
}

.ov-screen-form > .rz-tabview > .rz-tabview-nav {
  height: 100% !important;
  min-width: 16em !important;
  max-width: 16em !important;
  display: flex !important;
  flex-direction: column !important;
  flex-wrap: nowrap !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  padding-right: 20px !important;
}

.ov-screen-form > .rz-tabview > .rz-tabview-nav .rz-tabview-title {
  letter-spacing: normal !important;
  overflow: hidden !important;
  white-space: nowrap !important;
  text-overflow: ellipsis !important;
}

.ov-screen-form > .rz-tabview > .rz-tabview-nav > .rz-tabview-icon {
  margin-right: 10px !important;
}

.ov-screen-form > .rz-tabview > .rz-tabview-nav > li {
  border: none !important;
  border-radius: 0 !important;
}

.ov-screen-form > .rz-tabview > .rz-tabview-nav > li.ov-screen-form-nav-label {
  border-radius: 1px !important;
}

.ov-screen-form > .rz-tabview > .rz-tabview-nav > li.rz-tabview-selected,
.ov-screen-form > .rz-tabview > .rz-tabview-nav > .rz-tabview-selected li {
  border: none !important;
  background: var(--ov-panel) !important;
  border-right: 6px solid var(--rz-primary) !important;
}

.ov-screen-form > .rz-tabview > .rz-tabview-panels {
  flex: 1 !important;
}

.ov-screen-form > .rz-tabview > .rz-tabview-panels > .rz-tabview-panel {
  margin: 0;
  padding: 23px 20px 12px 22px;
}

.ov-screen-form .ov-screen-form-nav-label {
  border: none !important;
  border-top: 1px solid var(--ov-edge-soft) !important;
}

.ov-screen-form .ov-screen-form-nav-label .rz-tabview-title {
  position: relative !important;
  left: -6px !important;
  font-weight: bold !important;
}

.ov-screen-form > .rz-tabview > .rz-tabview-nav,
.ov-screen-form > .rz-tabview > .rz-tabview-nav li,
.ov-screen-form > .rz-tabview > .rz-tabview-nav a,
.ov-screen-form > .rz-tabview > .rz-tabview-nav .rz-tabview-title {
  color: var(--rz-text-color) !important;
  opacity: 1 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

.ov-screen-form .ov-screen-form-nav-label,
.ov-screen-form .ov-screen-form-nav-label li,
.ov-screen-form .ov-screen-form-nav-label a,
.ov-screen-form .ov-screen-form-nav-label .rz-tabview-title {
  color: var(--ov-form-label-text) !important;
  opacity: 1 !important;
  cursor: default !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

.ov-screen-form > .rz-tabview > .rz-tabview-nav {
  padding: 35px 0 0 0 !important;
}

.ov-screen-form > .rz-tabview > .rz-tabview-nav a {
  padding-top: 8px !important;
  padding-bottom: 8px !important;
  padding-left: 9px !important;
  padding-right: 9px !important;
}

.ov-screen-form .ov-screen-form-nav-label a {
  padding-top: 10px !important;
  padding-bottom: 2px !important;
}

.ov-screen-form .ov-screen-form-nav-label-empty a {
  padding-top: 0px !important;
  padding-bottom: 0 !important;
}

.ov-screen-form .ov-screen-form-label,
.ov-screen-form .ov-screen-form-label .rz-label {
  color: var(--ov-text) !important;
  font-size: 14px !important;
  font-weight: bold !important;
}

.ov-screen-form .ov-screen-form-checkbox {
  font-size: 14px !important;
}

.ov-screen-form-wrapper .ov-screen-form-label-locked {
  font-weight: bold !important;
}

.ov-screen-form-wrapper .e-tab .e-content {
  background: var(--ov-white) !important;
}

.ov-screen-form-wrapper .e-panel-header {
  background-color: rgba(0, 0, 0, 0.1);
  text-align: left;
}

.ov-screen-form-wrapper .e-tab .e-content {
  border: 1px solid var(--ov-edge-dark);
  border-style: solid;
  padding: 10px;
}

.ov-screen-form-wrapper .e-panel-content {
  text-align: left;
  margin-top: 10px;
  border-style: solid;
  padding: 10px;
}

.ov-screen-form-wrapper .rz-tabview ul[role=tablist] {
  flex-wrap: wrap;
  background-color: var(--ov-panel-soft);
}

.ov-screen-form-wrapper .rz-fieldset-legend {
  font-weight: 700;
}

.ov-screen-form-wrapper .rz-chkbox-box:hover {
  background-color: var(--ov-primary);
}

.ov-screen-form-wrapper .rz-chkbox-box.rz-state-active:hover:not(.rz-state-disabled) {
  background-color: var(--ov-primary);
}

.ov-screen-form-wrapper .OVGB {
  background: var(--ov-panel-soft);
  text-align: start;
}

.ov-screen-form-row {
  margin-bottom: 11px;
  display: flex;
  flex-wrap: wrap;
  column-gap: 18px;
  row-gap: 12px;
}

.ov-screen-form-trailing-space {
  display: none;
}

/* Auto-layout may need padding if it doesn't cover entire row. */
.ov-screen-form-row-stretch .ov-screen-form-trailing-space {
  display: block;
  min-width: 0;
  flex: 1 1 0;
}

/* Fields should not shrink farther than they can be useful. */
.ov-screen-form-row-stretch .ov-screen-form-column {
  min-width: 100px;
}

/* Extra padding not needed in all scenarios. */
.ov-screen-form-row-stretch .ov-screen-form-column + .ov-screen-form-column + .ov-screen-form-trailing-space,
.ov-screen-form-row-stretch .ov-screen-form-column-default + .ov-screen-form-trailing-space,
.ov-screen-form-row-stretch .ov-screen-form-column-fixed + .ov-screen-form-trailing-space {
  display: none;
}

/* Extra padding needed in some scenarios. */
.ov-screen-form-row-stretch .ov-screen-form-column-fixed ~ .ov-screen-form-column-fixed ~ .ov-screen-form-trailing-space,
.ov-screen-form-row-stretch .ov-screen-form-column-weighted ~ .ov-screen-form-column-fixed ~ .ov-screen-form-trailing-space,
.ov-screen-form-row-stretch .ov-screen-form-column-weighted ~ .ov-screen-form-column-fixed ~ .ov-screen-form-trailing-space,
.ov-screen-form-row-stretch .ov-screen-form-column-weighted ~ .ov-screen-form-column-weighted ~ .ov-screen-form-trailing-space {
  display: block;
}

/* Extra padding not needed if using "flex 2 2", etc. (not percentage, not fixed). */
.ov-screen-form-row-stretch .ov-screen-form-column-relative ~ .ov-screen-form-trailing-space {
  display: none;
}

/* Extra padding not needed if forcing stretch. */
.ov-screen-form-row-stretch:not(.ov-screen-form-row-automatic) .ov-screen-form-trailing-space {
  display: none !important;
}

/* Stretch all fields by default in most cases. */
.ov-screen-form-row-stretch .ov-screen-form-column-default {
  max-width: none;
  flex: 1 1 0;
}

/* Special case, do not stretch single field per row, set reasonable max width instead. */
.ov-screen-form-row-stretch.ov-screen-form-row-automatic .ov-screen-form-column-default:nth-last-of-type(2) {
  max-width: 225px;
  flex: 1 1 225px;
}

/* Special case, do not stretch single field per row, set reasonable max width instead. */
.ov-screen-form-row-stretch.ov-screen-form-row-automatic .ov-screen-form-column + .ov-screen-form-column-default {
  max-width: none;
  flex: 1 1 0;
}

.ov-screen-form-tab-cards > .rz-tabview > .rz-tabview-panels,
.ov-tab-cards > .rz-tabview > .rz-tabview-panels {
  background-color: var(--ov-panel-soft);
}

.ov-screen-form-tab-cards > .rz-tabview > .rz-tabview-panels > .rz-tabview-panel:first-of-type,
.ov-tab-cards > .rz-tabview > .rz-tabview-panels > .rz-tabview-panel:first-of-type {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  background-color: transparent;
  padding: 13px 24px 29px 24px;
}

.ov-screen-form-tab-cards.ov-tabs-padding-hide > .rz-tabview > .rz-tabview-panels > .rz-tabview-panel:first-of-type {
  padding: 0;
}

.ov-screen-form-tab-cards > .rz-tabview > .rz-tabview-nav > li:first-of-type {
  display: none !important;
}

.ov-screen-form-tab-cards > .rz-tabview > .rz-tabview-panels > .rz-tabview-panel ~ .rz-tabview-panel,
.ov-tab-cards > .rz-tabview > .rz-tabview-panels > .rz-tabview-panel ~ .rz-tabview-panel {
  display: none !important;
}

.ov-screen-form.ov-tab-cards > .rz-tabview > .rz-tabview-nav {
  padding: 0 !important;
}

.ov-screen-form-card {
  background-color: var(--rz-dialog-background-color);
  border: 1px solid var(--ov-edge);
  border-radius: 13px;
  margin-top: 20px;
  padding: 22px 22px 0 20px;
}

.ov-tabs-padding-hide .ov-screen-form-card {
  margin-top: 0;
}

.ov-screen-form-card:first-child {
  margin-top: 0;
}

.ov-screen-form-card-header {
  display: flex;
  width: 100%;
  justify-content: space-between;
  flex-direction: row;
}

.ov-screen-form-card-header .rzi {
  color: var(--ov-text);
}

.ov-screen-form-card-title {
  color: var(--rz-text-color);
  font-size: var(--rz-accordion-item-font-size);
  font-weight: bold;
  font-weight: 600;
}

.ov-screen-form-card-header-title {
  display: flex;
  flex: 0 0 auto;
  margin-right: 24px;
}

.ov-screen-form-card-header-content-left {
  flex: 0 0 auto;
  display: flex;
  gap: 20px;
}

.ov-screen-form-card-header-content-gap {
  flex: 1 1 0;
  min-width: 20px;
}

.ov-screen-form-card-header-content-right {
  flex: 0 0 auto;
  display: flex;
  gap: 20px;
}

.ov-hidden {
  display: none;
}

/* Elevate Blazored Toasts above Bootstrap offcanvas (offcanvas=1045, backdrop=1040) */
.blazored-toast-container, .blazored-toast-container * {
  z-index: 1200 !important;
}

.rz-dialog-wrapper {
  z-index: 1200 !important;
}

.report-options-dialog .rz-dialog {
  border-radius: 20px !important;
  overflow: hidden;
}

.rz-button-lg.rz-button-icon-only {
  padding: 0.75rem 0.5rem !important;
}

@media (min-width: 768px) {
  .rz-button-lg.rz-button-icon-only {
    padding: 0.75rem !important;
  }
}
.ov-screen-form-card.rz-accordion-header {
  --rz-accordion-item-padding-block: 16px 16px !important;
  --rz-accordion-item-padding-inline: 16px 16px !important;
}

.ov-screen-form-card.ov-screen-form-card-always-expanded.rz-accordion-header {
  --rz-accordion-item-padding-block: 16px 16px !important;
  --rz-accordion-item-padding-inline: 25px 25px !important;
}

.ov-screen-form-card.ov-screen-form-card-always-expanded > a[role=tab] {
  cursor: default !important;
}

.ov-screen-form-tab-cards {
  --rz-accordion-content-padding-block: 7px 8px !important;
  --rz-accordion-content-padding-inline: 27px 27px !important;
}

/* When control is used inside card, give it extra padding to ensure attractive display */
.ov-screen-form-card-body > .ov-readonly-columns:last-child {
  margin-bottom: 60px;
}

.ov-edit-section-header,
.ov-readonly-section-header {
  font-weight: 700;
  border-bottom: 1px solid #D9D9E0;
  margin-bottom: 14px;
  padding-bottom: 0.25rem;
  color: var(--ov-text);
}

.ov-edit-section-header span {
  font-size: 16px;
  line-height: 20px;
  padding-bottom: 6px;
}

.ov-readonly-field,
.ov-screen-field {
  margin-top: 1rem;
}

.ov-readonly-field:first-child,
.ov-screen-field:first-child {
  margin-top: 0;
}

:not(.ov-screen-form-row) .ov-screen-field {
  margin-top: 1rem;
}

.ov-readonly-label {
  font-weight: 700;
  color: rgb(97, 100, 107);
  min-width: 120px;
}

.ov-readonly-value {
  color: var(--ov-text);
  word-break: normal;
  overflow-wrap: break-word;
  --rz-input-height: 1.5;
  min-height: calc(1.5 * var(--rz-accordion-content-font-size));
}

.ov-readonly-columns {
  display: flex;
  gap: 48px;
}

.ov-readonly-section {
  max-width: 100%;
  width: 100%;
}

:is(.ov-readonly-section, .ov-readonly-columns) {
  min-width: 0;
}

/* Stretch to fit */
.ov-readonly-columns.ov-columns-stretch-to-fit :is(.ov-readonly-section, .ov-readonly-columns) {
  flex: 1 1 0;
}

/* Fixed multi-column display, float left in case of missing columns */
.ov-readonly-columns.ov-columns-1 :is(.ov-readonly-section, .ov-readonly-columns) {
  flex: 0 0 100%;
}

.ov-readonly-columns.ov-columns-2 :is(.ov-readonly-section, .ov-readonly-columns) {
  flex: 0 0 max(0%, (100% - 48px) / 2);
}

.ov-readonly-columns.ov-columns-3 :is(.ov-readonly-section, .ov-readonly-columns) {
  flex: 0 0 max(0%, (100% - 96px) / 3);
}

.ov-readonly-columns.ov-columns-4 :is(.ov-readonly-section, .ov-readonly-columns) {
  flex: 0 0 max(0%, (100% - 144px) / 4);
}

.ov-readonly-columns.ov-columns-5 :is(.ov-readonly-section, .ov-readonly-columns) {
  flex: 0 0 max(0%, (100% - 192px) / 5);
}

.ov-readonly-columns.ov-columns-6 :is(.ov-readonly-section, .ov-readonly-columns) {
  flex: 0 0 max(0%, (100% - 240px) / 6);
}

.ov-readonly-columns.ov-columns-7 :is(.ov-readonly-section, .ov-readonly-columns) {
  flex: 0 0 max(0%, (100% - 288px) / 7);
}

.ov-readonly-columns.ov-columns-8 :is(.ov-readonly-section, .ov-readonly-columns) {
  flex: 0 0 max(0%, (100% - 336px) / 8);
}

.ov-readonly-columns.ov-columns-9 :is(.ov-readonly-section, .ov-readonly-columns) {
  flex: 0 0 max(0%, (100% - 384px) / 9);
}

.ov-readonly-columns.ov-columns-10 :is(.ov-readonly-section, .ov-readonly-columns) {
  flex: 0 0 max(0%, (100% - 432px) / 10);
}

.ov-readonly-columns.ov-columns-11 :is(.ov-readonly-section, .ov-readonly-columns) {
  flex: 0 0 max(0%, (100% - 480px) / 11);
}

.ov-readonly-columns.ov-columns-12 :is(.ov-readonly-section, .ov-readonly-columns) {
  flex: 0 0 max(0%, (100% - 528px) / 12);
}

/* Sections inside column, flow vertically, do not render alongside */
.ov-readonly-columns .ov-readonly-columns {
  flex-direction: column;
  align-items: stretch;
  flex-wrap: wrap;
}

.ov-readonly-columns :is(.ov-readonly-section, .ov-readonly-columns) {
  flex: 1 1 0;
}

.ov-readonly-horizontal {
  margin-bottom: 0.5rem;
}

.ov-readonly-horizontal .ov-readonly-label,
.ov-readonly-horizontal .ov-readonly-value {
  flex: 1 1 0;
}

/* Collapse to single column for narrow screens */
@media (width < 915px) {
  .ov-readonly-columns {
    flex-direction: column;
    align-items: stretch;
    flex-wrap: wrap;
  }
  :is(.ov-readonly-section, .ov-readonly-columns) {
    flex: 1 1 0;
  }
}
/* Auto-collapse mode, hide sections with empty bodies */
.ov-readonly-columns.ov-autocollapse .ov-readonly-section:has(.ov-readonly-section-body:empty) {
  display: none;
}

/* Auto-collapse mode, if all descendant sections are empty, hide column */
:is(.ov-readonly-columns.ov-autocollapse, .ov-readonly-columns.ov-autocollapse .ov-readonly-columns):not(:has(.ov-readonly-section-body:not(:empty))) {
  display: none;
}

.e-grid {
  border: none !important;
}

.e-grid .e-gridheader {
  border: none !important;
}

.e-grid.e-wrap .e-rowcell {
  white-space: normal;
}

.e-grid .e-toolbar,
.e-grid .e-toolbar .e-toolbar-items {
  background: none !important;
  border: none !important;
}

.e-grid .e-headercell,
.e-grid .e-detailheadercell {
  background: none !important;
}

.e-grid.e-resize-lines .e-headercell .e-rhandler, .e-grid.e-resize-lines .e-headercell .e-rsuppress {
  border-right: none !important;
}

.e-grid td.e-active {
  background: var(--ov-hover) !important;
}

.e-grid.e-gridhover .e-frozenhover:not(.e-cellselectionbackground):not(.e-active):not(.e-updatedtd):not(.e-indentcell), .e-grid.e-gridhover .e-row tr:not(.e-disable-gridhover):not(.e-editedrow):not(.e-detailrow):hover .e-rowcell:not(.e-cellselectionbackground):not(.e-active):not(.e-updatedtd):not(.e-indentcell), .e-grid.e-gridhover:not(.e-rowdrag) .e-row:not(.e-disable-gridhover):not(.e-editedrow):not(.e-detailrow):hover .e-rowcell:not(.e-cellselectionbackground):not(.e-active):not(.e-updatedtd):not(.e-indentcell), .e-grid.e-gridhover .e-row:not(.e-disable-gridhover):not(.e-detailrow):hover .e-detailrowcollapse:not(.e-cellselectionbackground):not(.e-active):not(.e-updatedtd):not(.e-indentcell), .e-grid.e-gridhover:not(.e-rowdrag) .e-row:not(.e-disable-gridhover):not(.e-detailrow):hover .e-rowdragdrop:not(.e-cellselectionbackground):not(.e-active):not(.e-updatedtd):not(.e-indentcell), .e-grid.e-rtl .e-gridhover .e-row:not(.e-disable-gridhover):not(.e-detailrow):hover .e-rowdragdrop:not(.e-cellselectionbackground):not(.e-active):not(.e-updatedtd):not(.e-indentcell), .e-grid.e-gridhover .e-row.e-addedrow:not(.e-disable-gridhover):not(.e-detailrow):hover .e-dragindentcell:not(.e-cellselectionbackground):not(.e-active):not(.e-updatedtd):not(.e-indentcell), .e-grid.e-gridhover .e-row:not(.e-disable-gridhover):not(.e-detailrow):hover .e-detailrowexpand:not(.e-cellselectionbackground):not(.e-active):not(.e-updatedtd):not(.e-indentcell) {
  background: var(--ov-hover) !important;
}

.rz-button.rz-variant-outlined {
  border: 1px solid var(--ov-primary) !important;
}

.no-forced-uppercase,
.rz-button-text {
  text-transform: none !important;
}

/* Boostrap overrides */
.form-label {
  font-weight: 600;
  color: var(--ov-form-label-text);
}

.form-check-input {
  font-size: var(--ov-form-check-input-font-size);
}

/* Syncfusion Grid Toolbar */
.e-toolbar-item.e-cc-toolbar {
  visibility: hidden;
  position: absolute;
  left: 282px;
  top: -30px;
}

/*  RadzenDateTimePicker apply primary theme */
.rz-datepicker-popup-container.rz-popup.rz-open .rz-button.rz-button-md.rz-secondary,
.rz-datepicker-popup-container.rz-popup.rz-open .rz-state-default.rz-state-active {
  background-color: var(--rz-primary) !important;
  border-color: var(--rz-primary) !important;
  color: var(--rz-primary-contrast) !important;
  color: #fff !important;
}

/* Prev/Next buttons (icon-only) */
.rz-datepicker-popup-container.rz-popup.rz-open .rz-calendar .rz-calendar-header .rz-button.rz-button-icon-only,
.rz-datepicker-popup-container.rz-popup.rz-open .rz-calendar .rz-calendar-header .rz-button.rz-button-icon-only:hover {
  background-color: transparent !important;
  border-color: transparent !important;
}

/* Change icon color */
.rz-datepicker-popup-container.rz-popup.rz-open .rz-calendar .rz-calendar-header .rz-calendar-prev,
.rz-datepicker-popup-container.rz-popup.rz-open .rz-calendar .rz-calendar-header .rz-calendar-next {
  color: var(--rz-primary) !important;
}

/* Syncfusion Dropdown Button - attempt to match usage/styling of Radzen dropdown */
button.ov-dropdown-button {
  border: 1px solid var(--ov-primary) !important;
  background-color: transparent;
  color: var(--ov-primary);
  padding-left: 22px;
  padding-right: 26px;
  border-radius: var(--rz-border-radius-2) !important;
}

.ov-dropdown-button ul.e-dropdown-menu {
  overflow-y: auto !important;
}

button.ov-dropdown-button.e-active {
  box-shadow: none !important;
  color: var(--ov-primary);
}

button.ov-dropdown-button:hover {
  background-color: var(--rz-secondary-lighter);
  background-image: none;
  color: var(--ov-primary);
}

button.ov-dropdown-button.e-active,
button.ov-dropdown-button:active,
button.ov-dropdown-button:focus {
  background: unset;
  background-color: var(--rz-secondary-lighter);
  background-image: none;
  color: var(--ov-primary);
  box-shadow: none !important;
}

button.ov-dropdown-button > span.e-caret {
  padding-left: 16px;
}

div.ov-dropdown-popup {
  border-radius: 12px;
}

div.ov-dropdown-popup ul {
  border-radius: 12px;
  margin-top: 2px;
  padding: 0;
}

.e-dropdown-popup ul .e-menu-item:hover,
.e-dropdown-popup ul .e-menu-item.e-selected {
  background-color: var(--ov-sf-listview-item-hover-bg) !important;
}

.e-dropdown-popup ul .e-menu-item:hover,
.e-dropdown-popup ul .e-menu-item.e-selected,
.e-dropdown-popup ul .e-menu-item.e-selected .e-icons.e-caret,
.e-dropdown-popup ul .e-menu-item span {
  color: unset !important;
}

/* Report Viewer Fullscreen Dialog */
.report-viewer-fullscreen.e-dialog {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  max-width: 100vw !important;
  max-height: 100vh !important;
  margin: 0 !important;
  border-radius: 0 !important;
  z-index: 1050 !important;
}

.report-viewer-fullscreen .e-dlg-content {
  height: calc(100vh - 50px) !important;
  overflow: auto !important;
  padding: 0 !important;
}

.report-viewer-fullscreen .e-dlg-header-content {
  padding: 8px 16px !important;
}

/* Ensure PDF viewer inside report viewer is scrollable */
.report-viewer-fullscreen #sfpdfviewer {
  height: calc(100vh - 50px) !important;
  overflow: auto !important;
}

/* PDF Viewer Fullscreen mode adjustments */
.e-dlg-fullscreen > .e-dlg-content {
  padding: 0 !important;
}

.e-dlg-fullscreen {
  height: 100% !important;
  max-height: 100% !important;
  top: 0px !important;
}

.e-dlg-fullscreen #sfpdfviewer_viewerContainer {
  overflow-y: hidden;
}

.e-dlg-fullscreen #sfpdfviewer_zoomOut {
  display: none;
}

.e-dlg-fullscreen #sfpdfviewer_zoomIn {
  display: none;
}

.e-dlg-fullscreen #toolbarContainer div.e-toolbar-items {
  display: flex;
  justify-content: space-between;
}

.e-dlg-fullscreen #toolbarContainer div.e-toolbar-items div.e-toolbar-left {
  justify-content: space-between;
  display: contents;
}

.e-dlg-fullscreen #toolbarContainer .e-toolbar-left,
.e-dlg-fullscreen #toolbarContainer .e-toolbar-right {
  left: unset;
  right: unset;
  position: relative;
}

.e-dlg-fullscreen #toolbarContainer .e-toolbar-center {
  display: none;
}

.e-dlg-fullscreen .e-dlg-fullscreen {
  height: 100% !important;
  max-height: 100% !important;
}

.e-dlg-fullscreen #sfpdfviewer_viewerContainer {
  overflow-x: hidden;
}

#pdftoolbar-header,
#pdftoolbar-header p {
  pointer-events: none;
}

/* Borderless email TextBox */
.email-input input {
  border: none !important;
  box-shadow: none !important;
  outline: none;
  padding: 4px 2px;
  min-width: 160px;
  font-size: 14px;
}

.email-input {
  width: 100%;
  padding: 6px 4px;
  border: none; /* Remove all borders */
  outline: none; /* Remove focus outline */
  font-size: 14px;
  background-color: transparent;
  transition: border-color 0.2s ease;
}

.email-input:focus {
  border-bottom-color: #0d6efd; /* Blue on focus */
}

/* Grid column status - Base badge styling (Bootstrap-like) */
.badge {
  display: inline-block;
  padding: 0.3rem 0.6rem;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1;
  border-radius: 12px;
  color: #000; /* Text color */
  white-space: nowrap;
}

/* Dropdown Menu for SfMenu overrides */
.e-dropdown-menu,
.e-dropdown-popup {
  border-radius: 12px !important;
}

.e-dropdown-popup {
  box-shadow: 0px 2px 6px 2px rgba(0, 0, 0, 0.1490196078);
}

.ov-dropdown-menu-item,
ul.e-dropdown-menu .e-item:not(.e-separator) {
  height: 3.2em !important;
  line-height: 3.2em !important;
  padding: 0 22px 0 14px !important;
  font-family: var(--rz-text-font-family) !important;
  font-size: 0.875rem !important;
  font-weight: 500 !important;
  color: var(--ov-sf-listview-text-color) !important;
  letter-spacing: unset;
  position: relative;
}

ul.e-dropdown-menu .e-item:hover {
  background-color: var(--ov-sf-listview-item-hover-bg) !important;
}

ul.e-dropdown-menu .e-item > i.rzi,
ul.e-dropdown-menu .e-item > p {
  margin: auto 0 auto 0;
}

.ov-dropdown-popup > ul.e-contextmenu {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.ov-dropdown-menu-item span.e-icons.e-caret::before {
  vertical-align: middle;
}

.ov-dropdown-no-icons .ov-dropdown-menu-item {
  padding-left: 22px;
}

.ov-dropdown-popup .ov-dropdown-popup-icon {
  color: rgb(120, 116, 125);
  font-size: 18px;
  font-weight: normal;
}

.ov-dropdown-popup ul li {
  height: unset !important;
  line-height: unset !important;
  padding: 0 !important;
}

/* Collapsible Tabs Navigation Styles */
.ov-collapsible-tabs {
  position: relative;
  transition: all 0.3s ease;
}

/* Debug styles removed - functionality working */
/* Force collapsed state with maximum specificity to override existing CSS */
.ov-collapsible-tabs.ov-tabs-collapsed .ov-screen-form.ov-screen-form-tab-cards > .rz-tabview > ul.rz-tabview-nav {
  min-width: 4em !important;
  max-width: 4em !important;
  width: 4em !important;
}

.ov-collapsible-tabs.ov-tabs-collapsed > .rz-tabview > ul.rz-tabview-nav li a, .rz-tabview-nav li a:not([href]):not([class]) {
  padding-inline: 21px 0 !important;
}

.ov-collapsible-tabs.ov-tabs-collapsed.ov-screen-form > .rz-tabview > .rz-tabview-nav li {
  width: 100%;
}

.ov-collapsible-tabs.ov-tabs-collapsed .ov-screen-form.ov-screen-form-tab-cards > .rz-tabview > ul.rz-tabview-nav .rz-tabview-title {
  display: none !important;
  opacity: 0 !important;
  width: 0 !important;
  max-width: 0 !important;
  overflow: hidden !important;
}

/* Additional specificity using attribute selector */
.ov-collapsible-tabs[data-collapsed=true] .ov-screen-form.ov-screen-form-tab-cards > .rz-tabview > ul.rz-tabview-nav {
  min-width: 4em !important;
  max-width: 4em !important;
  width: 4em !important;
}

.ov-collapsible-tabs[data-collapsed=true] .ov-screen-form.ov-screen-form-tab-cards > .rz-tabview > ul.rz-tabview-nav .rz-tabview-title {
  display: none !important;
  opacity: 0 !important;
  width: 0 !important;
  max-width: 0 !important;
  overflow: hidden !important;
}

.ov-tabs-toggle-container {
  position: absolute;
  top: 0;
  left: 210px;
  z-index: 10;
}

.ov-collapsible-tabs.ov-tabs-collapsed .ov-tabs-toggle-container {
  position: absolute;
  top: 0;
  left: 10px;
  z-index: 10;
}

.ov-tabs-toggle-btn {
  min-width: 40px !important;
  width: 40px !important;
  height: 40px !important;
  padding: 0 !important;
  border: none !important;
  background: transparent !important;
  color: var(--rz-text-color) !important;
  transition: all 0.3s ease;
}

.ov-tabs-toggle-btn:hover {
  background: var(--rz-state-hover-background-color) !important;
  color: var(--rz-state-hover-text-color) !important;
}

/* Expanded state - normal width */
.ov-collapsible-tabs.ov-tabs-expanded .ov-screen-form > .rz-tabview > ul.rz-tabview-nav {
  min-width: 16em !important;
  max-width: 16em !important;
  transition: all 0.3s ease;
}

.ov-collapsible-tabs.ov-tabs-expanded .ov-screen-form > .rz-tabview > ul.rz-tabview-nav .rz-tabview-title {
  opacity: 1 !important;
  transition: opacity 0.3s ease;
}

/* Collapsed state - icon only - targeting the correct ul element with maximum specificity */
.ov-collapsible-tabs.ov-tabs-collapsed .ov-screen-form.ov-screen-form-tab-cards > .rz-tabview > ul.rz-tabview-nav {
  min-width: 4em !important;
  max-width: 4em !important;
  width: 4em !important;
  transition: all 0.3s ease !important;
}

.ov-collapsible-tabs.ov-tabs-collapsed .ov-screen-form.ov-screen-form-tab-cards > .rz-tabview > ul.rz-tabview-nav .rz-tabview-title {
  opacity: 0 !important;
  width: 0 !important;
  max-width: 0 !important;
  overflow: hidden !important;
  transition: all 0.3s ease !important;
  display: none !important;
}

.ov-collapsible-tabs.ov-tabs-collapsed .ov-screen-form.ov-screen-form-tab-cards > .rz-tabview > ul.rz-tabview-nav > .rz-tabview-icon {
  margin-right: 0 !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.ov-collapsible-tabs.ov-tabs-collapsed .ov-screen-form.ov-screen-form-tab-cards > .rz-tabview > ul.rz-tabview-nav > li {
  text-align: center !important;
  padding: 0 !important;
}

.ov-collapsible-tabs.ov-tabs-collapsed .ov-screen-form.ov-screen-form-tab-cards > .rz-tabview > ul.rz-tabview-nav > li a {
  padding: 11px 8px !important;
  justify-content: center !important;
  display: flex !important;
  align-items: center !important;
}

/* Tooltip for collapsed tabs - handled by JavaScript */
/* Mobile responsive adjustments */
@media (max-width: 768px) {
  .ov-collapsible-tabs {
    /* Auto-collapse on mobile if CollapseOnMobile is true */
  }
  .ov-tabs-toggle-btn {
    min-width: 36px !important;
    width: 36px !important;
    height: 36px !important;
  }
  /* Larger touch targets on mobile */
  .ov-collapsible-tabs.ov-tabs-collapsed .ov-screen-form.ov-screen-form-tab-cards > .rz-tabview > ul.rz-tabview-nav > li a {
    padding: 16px 8px !important;
    min-height: 48px !important;
  }
  /* Better tooltip positioning on mobile - handled by JavaScript */
}
/* Tablet adjustments */
@media (min-width: 769px) and (max-width: 1024px) {
  .ov-tabs-toggle-container {
    top: 8px;
    left: 8px;
  }
}
/* Ensure content area adjusts properly */
.ov-collapsible-tabs.ov-tabs-collapsed .ov-screen-form > .rz-tabview > .rz-tabview-panels {
  margin-left: 0 !important;
  transition: margin-left 0.3s ease;
}

.ov-collapsible-tabs.ov-tabs-expanded .ov-screen-form > .rz-tabview > .rz-tabview-panels {
  margin-left: 0 !important;
  transition: margin-left 0.3s ease;
}

/* Animation for smooth transitions */
.ov-collapsible-tabs * {
  transition: all 0.3s ease;
}

/* Focus states for accessibility */
.ov-tabs-toggle-btn:focus {
  outline: 2px solid var(--ov-primary);
  outline-offset: 2px;
}

.ov-collapsible-tabs.ov-tabs-collapsed .ov-screen-form.ov-screen-form-tab-cards > .rz-tabview > ul.rz-tabview-nav > li a:focus {
  outline: 2px solid var(--ov-primary);
  outline-offset: -2px;
}

/* ULTRA SPECIFIC RULES - These should override everything */
.ov-collapsible-tabs.ov-tabs-collapsed.ov-screen-form.ov-screen-form-tab-cards .rz-tabview.rz-tabview-left ul.rz-tabview-nav {
  min-width: 4em !important;
  max-width: 4em !important;
  width: 4em !important;
}

.ov-collapsible-tabs.ov-tabs-collapsed.ov-screen-form.ov-screen-form-tab-cards .rz-tabview.rz-tabview-left ul.rz-tabview-nav .rz-tabview-title {
  display: none !important;
  opacity: 0 !important;
  width: 0 !important;
  max-width: 0 !important;
  overflow: hidden !important;
}

/* Ultra specific tooltip rules - handled by JavaScript */
/* Grid column status - Base badge styling (Bootstrap-like) */
.badge {
  display: inline-block;
  padding: 0.3rem 0.6rem;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1;
  border-radius: 12px;
  color: #000; /* Text color */
  white-space: nowrap;
}

/* Priority badges */
.badge-immediate {
  background-color: #FFB3B3; /* light red */
  color: #C84040;
  font-weight: 600;
}

.badge-high {
  background-color: #FFEFD6; /* light orange */
  color: #D98A45;
  font-weight: 600;
}

.badge-medium {
  background-color: #FFEE9C; /* light yellow */
  color: #A47418;
  font-weight: 600;
}

.badge-low {
  background-color: #D1D1D6; /* light grey */
  color: #6B6B6B;
  font-weight: 600;
}

/* Status badges */
.badge-open {
  background-color: #E6F4FE; /* soft blue */
  color: #3B8EDC;
  font-weight: 600;
}

.badge-overdue {
  background-color: #FFDBDC; /* light pastel red / pink. */
  color: #D9534F;
  font-weight: 600;
}

.badge-closed {
  background-color: #DFF5E1; /* soft pastel green */
  color: #3C9142; /* darker green */
  font-weight: 600;
}

.badge-cancelled {
  background-color: #D1D1D6; /* light grey */
  color: #6B6B6B;
  font-weight: 600;
}

/* Payment status badges */
.badge-payment {
  font-weight: 600 !important;
  text-transform: none !important;
}

.badge-payment-danger {
  background-color: #FFDBDC !important; /* light pastel red */
  color: #D9534F !important;
}

.badge-payment-caution {
  background-color: #FFEE9C !important; /* light yellow */
  color: #A47418 !important;
}

.badge-payment-ok {
  background-color: #DFF5E1 !important; /* soft pastel green */
  color: #3C9142 !important;
}

.badge-payment-info {
  background-color: #E6F4FE !important; /* soft blue */
  color: #3B8EDC !important;
}

.badge-payment-normal {
  background-color: #D1D1D6 !important; /* light grey */
  color: #6B6B6B !important;
}

.badge-active {
  background-color: #DFF5E1; /* soft pastel green */
  color: #3C9142;
  font-weight: 600;
}

.badge-expired {
  background-color: #FFDBDC; /* light pastel red / pink */
  color: #D9534F;
  font-weight: 600;
}

/*# sourceMappingURL=app.css.map */
