﻿

/* General Styles */

/* make the default font size bigger */
* {
    --vz-font-base: 0.9rem;
    --vz-body-font-size: 0.95rem;
}




/* this will make gutters and margins on main content smaller on mobile for more screen space */
@media (max-width: 767.98px) {
    .page-content {
        --vz-grid-gutter-width: 1.1rem;
        padding: calc(76px + var(--vz-grid-gutter-width)) calc(var(--vz-grid-gutter-width) * .5) 60px calc(var(--vz-grid-gutter-width) * .5);
    }
}





/* 1. Freeze the scrollbar track for both Modals and Offcanvas panels, fixes the content jumping when opening modals or off canvas content. */
body:has(.offcanvas-end.show, .offcanvas-end.showing),
body.modal-open,
html body[style*="overflow: hidden"] {
    overflow-y: auto !important;
}

/* 2. Strip all injected padding/margins from body, wrappers, and fixed navbars */
body:has(.offcanvas-end.show, .offcanvas-end.showing),
body.modal-open,
html body[style*="overflow: hidden"],
.offcanvas.offcanvas-end,
:is(.modal, .modal-backdrop),
:is(body:has(.offcanvas-end.show), body.modal-open) :is(.fixed-top, .fixed-bottom, .is-fixed, .navbar) {
    padding-right: 0px !important;
    margin-right: 0px !important;
}





/* making the warning styles more readable on light theme */
[data-bs-theme="light"] .main-content, [data-sidebar="light"] .app-menu {
    /* Main warning color maintained from previous step */
    --vz-warning-bg-subtle: rgba(242, 156, 16, 0.15);
}





/* mdi icon replace styles */

.dropdown-toggle::after {
    margin-left: .25rem;
    font-size: 18px;
    line-height: inherit;
    font-family: 'boxicons' !important;
    content: "\ea4a";
}
/* fix the sub menu in grid view (company status is an example) */
.dropend .dropdown-toggle::after {
    top: 2px;
    position: relative;
}

.choices[data-type*="select-one"]::after {
    font-family: 'boxicons' !important;
    content: "\ea4a";
}

.breadcrumb-item + .breadcrumb-item::before {
    font-family: 'boxicons' !important;
    content: "\ea50";
    font-size: 18px;
    line-height: 20px;
}

.custom-accordionwithicon .accordion-button:not(.collapsed)::after {
    content: "\ea4a";
}

.custom-accordionwithicon .accordion-button::after {
    font-family: 'boxicons' !important;
    content: "\ea50";
}

.alert-dismissible .btn-close::after {
    font-family: 'remixicon' !important;
    content: "\eb99" !important;
}






.ls-1 {
    letter-spacing: 0.02rem;
}



.fs-26 { font-size: 26px; }
.fs-27 { font-size: 27px; }
.fs-28 { font-size: 28px; }
.fs-30 { font-size: 30px; }
.fs-60 { font-size: 60px; }
.fs-64 { font-size: 64px; }
.fs-72 { font-size: 72px; }
.fs-84 { font-size: 84px; }
.fs-96 { font-size: 96px; }

@media (max-width: 575.98px) {
    .fs-sm-12 { font-size: 12px; }
    .fs-sm-14 { font-size: 14px; }
}


.form-control, .form-select, .choices__inner {
    font-size: 1rem;
}

.choices[data-type="select-one"] {
    white-space: nowrap;
}

/* match the input step fields with the other fields heights */
.input-step, .form-control-label {
    height: 42px;
}

@media (max-width: 575.98px) {
    .w-sm-100 {
        width: 100% !important;
    }
}


.border-radius {
    border-radius: var(--vz-border-radius) !important;
}


/* these two styles set it up so we can do highlight title bar */
#page-topbar{
    border-bottom: none;
}
.page-title-box {
    border-top: 1px solid var(--vz-page-title-border);
    margin: -24px calc(var(--vz-grid-gutter-width) * -1) var(--vz-grid-gutter-width) calc(var(--vz-grid-gutter-width) * -1);
}





footer {
    z-index: 5;
}


/* the bx and las icon sets are same line height, so trying to make it consistent */
[class^="ri-"], .bx, .las {
    line-height: 1em;
}

/* fix this one specific icon */
.las.la-question {
    left: 1px;
}

/* override the normal font weight so the icon shows up */
.las.fw-normal {
    font-weight: 900 !important;
}

.icons-tabs [class^="ri-"], .icons-tabs .bx, .icons-tabs .las {
    line-height: 1.5;
}

.icons-tabs .nt1 {
    top: -0.08rem !important;
    position: relative;
}

.w-1 {
    width: 1%;
}

.lh-1h {
    line-height: 1.5;
}

.lh-24 {
    line-height: 24px;
}

.code-wrap {
    white-space: pre-wrap;
    line-height: 1.3rem;
}

.ellipsis-text {
    white-space: nowrap; /* Prevents text from wrapping to the next line */
    overflow: hidden; /* Hides the overflowing text */
    text-overflow: ellipsis; /* Displays an ellipsis (...) for the clipped text */
}

.pb-h {
    padding-bottom: .1rem !important;
}

.opacity-35 {
    opacity: .35 !important;
}

.btn {
    --vz-btn-padding-y: 0.57rem;
}

.btn-sm {
    --vz-btn-padding-x: calc(var(--vz-font-base) * 0.6);
    --vz-btn-padding-y: calc(var(--vz-font-base) * 0.35);
    line-height: 1.15rem;
}

.btn-icon {
    height: calc(1.2rem + 1.5em + 1px);
    width: calc(1.2rem + 1.5em + 1px);
}

@media (max-width: 575.98px) {
    .btn-sm-icon {
        height: calc(1.2rem + 1.5em + 1px);
        width: calc(1.2rem + 1.5em + 1px);
    }
}




/* needed small action buttons for read screens */
.btn-xs {
    --vz-btn-padding-y: 0.15rem;
    --vz-btn-padding-x: 0.35rem;
    --vz-btn-font-size: calc(var(--vz-font-base) * 0.750);
    padding-top: 0.2rem;
}


/* for the btn-group tabs (used in documents) */
.btn-group li:not(:first-child) .btn {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}
.btn-group li:not(:last-child) .btn {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}


/* need buttons smaller for mobile */
@media (max-width: 575.98px) {
    .btn:not(.btn-sm):not(.btn-xs) {
        --vz-btn-padding-x: 0.65rem;
    }
}

/* padding inside the popover hover tips */
.popover-body {
    padding-top: 0.5rem;
    padding-bottom: 0.75rem;
}

/* this is only used on the drop down instead the quote and invoice details to get default records */
.w-xxxl {
    min-width: 320px;
    max-width: 420px;
}



/* Keyframes for the gentle pulse animation indicator */
@keyframes pulseGlow {
    0%, 100% {
        transform: scale(1);
        opacity: 0.8;
    }

    50% {
        transform: scale(1.08);
        opacity: 1;
    }
}

.animate-pulse {
    animation: pulseGlow 2s infinite ease-in-out;
}


.animate-bounce {
    display: inline-block;
    animation: bounce 1s infinite;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(-25%);
        animation-timing-function: cubic-bezier(0.8,0,1,1);
    }

    50% {
        transform: none;
        animation-timing-function: cubic-bezier(0,0,0.2,1);
    }
}




.blink {
    -webkit-animation: blinker 4s linear infinite;
    animation: blinker 4s linear infinite;
}

@keyframes blinker {
    50% {
        opacity: 0;
    }
}

.flag-shake {
    -webkit-animation: tada 3s ease 2;
    animation: tada 3s ease 2;
    -webkit-animation-delay: 3s;
    animation-delay: 3s;
    display: inline-block;
}

    .table-active .flag-shake, .flag-shake:hover {
        -webkit-animation-iteration-count: infinite;
        animation-iteration-count: infinite;
    }

/* custom beat animation */
.bx-beat-hover:hover {
    animation: bx-beat 5s ease infinite;
}

.bx-beat {
    -webkit-animation: bx-beat 5s ease 2;
    animation: bx-beat 5s ease 2;
    -webkit-animation-delay: 5s;
    animation-delay: 5s;
    display: inline-block;
}

    .table-active .bx-beat, .bx-beat:hover {
        -webkit-animation-iteration-count: infinite;
        animation-iteration-count: infinite;
    }

@keyframes bx-beat {
    0% {
        transform: scale(1);
    }

    5% {
        transform: scale(1.25);
    }

    20% {
        transform: scale(1);
    }

    30% {
        transform: scale(1);
    }

    35% {
        transform: scale(1.25);
    }

    50% {
        transform: scale(1);
    }

    55% {
        transform: scale(1.25);
    }

    70% {
        transform: scale(1);
    }
}




/* 1. Prevent the icon inside from causing tooltip flickering */
.head-icon i {
    pointer-events: none !important;
}

/* 2. Fix the spin: Trigger the animation when hovering over the parent LINK wrapper */
.head-icon:hover .bx-spin-hover {
    -webkit-animation: spin 2s linear infinite;
    animation: spin 2s linear infinite;
    display: inline-block;
}





.height-300 {
    height: 300px;
}

.nowrap {
    white-space: nowrap;
}

.lh-normal {
    line-height: normal;
}

.top-1 {
    top: 1px !important;
}

.top-2 {
    top: 2px !important;
}

.top-3 {
    top: 3px !important;
}

.top-4 {
    top: 4px !important;
}

.top-5 {
    top: 5px !important;
}

.top-m1 {
    top: -1px;
}

.top-m2 {
    top: -2px;
}

.top-m3 {
    top: -3px;
}

.top-m4 {
    top: -4px;
}

.top-m5 {
    top: -5px;
}

.top-m6 {
    top: -6px;
}

.left-m6{
    left: -6px;
}

.right-0 { right: 0px; }

.pt-h {
    padding-top: .1rem !important;
}

.mt-h {
    margin-top: .1rem !important;
}

.mt-nh {
    margin-top: -.1rem !important;
}

.mb-h {
    margin-bottom: .1rem !important;
}

.my-h {
    margin-top: .1rem !important;
    margin-bottom: .1rem !important;
}

.mb-nh {
    margin-bottom: -.1rem !important;
}

.ms-h {
    margin-left: .2rem !important;
}

.me-h {
    margin-right: .2rem !important;
}

.mx-h {
    margin-left: .2rem !important;
    margin-right: .2rem !important;
}

.w-fit {
    width: fit-content;
}



/* the background color for warning is a bit too light, made it slightly darker */
[data-theme="galaxy"] {
    --vz-warning-rgb: 233, 172, 41;
    --vz-warning: #E9AC29;
}




/* some new colors for items and backgrounds */
* {
    --vz-orange-rgb: 238, 125, 69;
    --vz-pink-rgb: 236, 80, 197;
    --vz-gold-rgb: 239, 191, 4;
}
.bg-orange-subtle {
    background-color: rgba(var(--vz-orange-rgb), 0.15) !important;
}

.bg-orange {
    background-color: rgb(var(--vz-orange-rgb)) !important;
}

.text-orange {
    color: rgb(var(--vz-orange-rgb)) !important;
}

.border-orange {
    border-color: rgb(var(--vz-orange-rgb));
}

.btn-soft-orange {
    --vz-btn-color: rgba(var(--vz-orange-rgb)) !important;
    --vz-btn-bg: rgba(var(--vz-orange-rgb), 0.15) !important;
    --vz-btn-hover-bg: rgba(var(--vz-orange-rgb)) !important;
    --vz-btn-active-bg: rgba(var(--vz-orange-rgb)) !important;
}

.bg-pink-subtle {
    background-color: rgba(var(--vz-pink-rgb), 0.15) !important;
}

.bg-pink {
    background-color: rgb(var(--vz-pink-rgb)) !important;
}

.text-pink {
    color: rgb(var(--vz-pink-rgb)) !important;
}

.border-pink {
    border-color: rgb(var(--vz-pink-rgb));
}

.btn-soft-pink {
    --vz-btn-color: rgba(var(--vz-pink-rgb)) !important;
    --vz-btn-bg: rgba(var(--vz-pink-rgb), 0.15) !important;
    --vz-btn-hover-bg: rgba(var(--vz-pink-rgb)) !important;
    --vz-btn-active-bg: rgba(var(--vz-pink-rgb)) !important;
}

.bg-gold-subtle {
    background-color: rgba(var(--vz-gold-rgb), 0.15) !important;
}

.bg-gold {
    background-color: rgb(var(--vz-gold-rgb)) !important;
}

.text-gold {
    color: rgb(var(--vz-gold-rgb)) !important;
}

.border-gold {
    border-color: rgb(var(--vz-gold-rgb));
}

.btn-soft-gold {
    --vz-btn-color: rgba(var(--vz-gold-rgb)) !important;
    --vz-btn-bg: rgba(var(--vz-gold-rgb), 0.15) !important;
    --vz-btn-hover-bg: rgba(var(--vz-gold-rgb)) !important;
    --vz-btn-active-bg: rgba(var(--vz-gold-rgb)) !important;
}







.bg-body-subtle {
    background-color: rgba(var(--vz-body-color-rgb), 0.15) !important;
}

.bg-muted-subtle {
    background-color: rgba(135, 138, 153, 0.15) !important;
}

.bg-heading {
    background: rgba(var(--vz-light-rgb),.45) !important;
}




.text-faded {
    color: #e1e1e1 !important;
}

[data-bs-theme=dark] .text-faded {
    color: #3a3a3a !important;
}



/* hide and show images based on the dark vs light theme */
[data-bs-theme="light"] .image-dark {
    display: none;
}

[data-bs-theme="dark"] .image-light {
    display: none;
}



/* custom modal width */

.modal-md-plus {
    max-width: 570px;
}


/* keep the menu top bar icon when collapsed instead of the default arrow */

.hamburger-icon.open {
    -webkit-transform: none;
    transform: none;
}

.hamburger-icon.open span:nth-child(1) {
    left: 0;
    top: 0;
    width: 80%;
    -webkit-transform: none;
    transform: none;
    -webkit-transition-delay: 0;
    transition-delay: 0;
}

.hamburger-icon.open span:nth-child(2) {
    left: 0;
    top: 6px;
    width: 100%;
    -webkit-transform: none;
    transform: none;
    -webkit-transition-delay: 0;
    transition-delay: 0;
}

.hamburger-icon.open span:nth-child(3) {
    left: 0;
    top: auto;
    bottom: 0;
    width: 60%;
    -webkit-transform: none;
    transform: none;
    -webkit-transition-delay: 0;
    transition-delay: 0;
}

.vertical-menu-btn:hover .hamburger-icon span:nth-child(1) {
    top: -1px;
}

.vertical-menu-btn:hover .hamburger-icon span:nth-child(3) {
    bottom: -1px;
}

@media (max-width: 575.98px) {
    .hamburger-icon {
        margin-left: -8px;
    }
}



/* the default for dark, is a light textbox with light text, so this fixes text color to dark */
.app-search .form-control {
    color: inherit;
}


/* top toolbar styles */
#search-close-options {
    cursor: pointer;
}

/* Optional: Slightly fade the icon on hover for a nice UI effect */
#search-close-options:hover {
    opacity: 0.8;
}



/* if you want to use the card bg without the other styles */
.card-bg {
    background-color: var(--vz-card-bg);
}



/* For all the layouts the cards should have a border by default and no shadows */
.card {
    --vz-card-border-width: 1px;
    --vz-card-shadow: none;
}

.card-header.nomargin {
    margin-left: -16px;
    margin-right: -16px;
}

/* need to make this block so the border horizontal is full length */
.navbar-menu .navbar-nav .menu-title span {
    display: block;
}

/* makes the left side menu headings primary */
:is([data-layout="vertical"], [data-layout="semibox"]):is([data-sidebar-size=lg],[data-sidebar-size=sm-hover],[data-sidebar-size=sm-hover-active]) .menu-title span {
    color: var(--vz-primary);
    font-size: 13px;
    border-bottom: 1px solid rgba(198, 198, 198, 0.3);
    margin-top: 12px;
    margin-left: 20px;
    margin-right: 20px;
    padding-top: 8px;
    padding-bottom: 8px;
    padding-left: 5px;
}

/* use a custom border color for this specific theme combination, the rest use default above */
[data-sidebar=dark]:is([data-sidebar-size=lg],[data-sidebar-size=sm-hover],[data-sidebar-size=sm-hover-active]) .menu-title span {
    border-bottom-color: rgba(198, 198, 198, 0.15);
}

/* this is a compact side bar specific style to make the headings the same as the other side menu options */
:is([data-layout="vertical"], [data-layout="semibox"])[data-sidebar-size="md"] .navbar-menu .menu-title span {
    text-decoration: none;
    color: var(--vz-primary);
}

/* Need this style for the toggle of hiding this menu vs display none, overridding inline block */
:is([data-layout="vertical"], [data-layout="semibox"])[data-sidebar-size="sm-hover"] .navbar-menu:hover .navbar-nav .menu-title span {
    display: block;
}

/* need to fix las icons in the side menu, keep them same as the other icon sets when changing side menu options */
:is([data-layout="vertical"], [data-layout="semibox"])[data-sidebar-size="sm-hover"] .navbar-menu .navbar-nav .nav-link i.las {
    font-size: 22px;
}

:is([data-layout="vertical"], [data-layout="semibox"])[data-sidebar-size="sm-hover"] .navbar-menu:hover .navbar-nav .nav-link i.las {
    font-size: 18px;
}

/* the default for this one is absolute but it does not work well at all, more useful as a fixed menu */
:is([data-layout="vertical"], [data-layout="semibox"])[data-sidebar-size="sm"] .navbar-menu {
    position: fixed;
}

/* this is for mobile the powerbase icon position */
.icon-logo {
    margin-top: 10px !important;
    margin-left: -3px !important;
}

/* when selected compact left menu mode it fits the logo */
[data-sidebar-size=md] .navbar-brand-box .logo-lg img {
    height: 46px;
}


/* hide the icons for the headings, they only are needed with a horizontal menu layout */
:is([data-layout="vertical"], [data-layout="semibox"]) .menu-title i {
    display: none !important;
}








/* breadcrumb arrow adjustment */
/*.breadcrumb-item + .breadcrumb-item::before {
    line-height: inherit;
}*/



/* This was in the master page, not sure what it fixes, if I bring in semibox I will test this */
:is([data-layout="semibox"]) .navbar-brand-box {
    text-align: center !important;
}







/* make icons larger in some form buttons */
.btn .i-lg {
    position: relative;
    top: 0.1rem;
    font-size: 20px !important;
    line-height: 1rem;
}
    .btn .i-lg.ri-arrow-right-circle-line {
        top: 0.15rem;
    }

    .btn .i-lg.bx {
        top: 0.25rem;
    }

.badge {
    line-height: 0.75rem;
    min-width: 1.5rem;
}

    .badge.rounded-pill {
        min-width: 1.3rem;
    }

/*.nav-item .badge, .card .badge {
    padding-bottom: .3rem;
}*/

.badge {
    --vz-badge-padding-y: 0.45em;
    --vz-badge-padding-x: 0.6em;
}

.badge-sm {
    font-size: 0.65rem;
    padding: 0.25rem 0.35rem;
}

.bg-muted {
    background-color: var(--vz-secondary-color) !important;
}

/* move the setting customizer button up the screen, can DELETE this setting once this is hidden */
.customizer-setting {
    bottom: 70px;
}

/* card view and edit buttons in title */
.card-title-btn {
    display: inline-block;
    margin-right: 10px;
    margin-top: 0px;
    position: relative;
    top: 2px;
}

@media (max-width: 575.98px) {
    .card-title {
        font-size: 15px;
    }
    .card-title-btn {
        margin-right: 5px;
    }
}






/* When the card-header HAS a checkbox input that is NOT checked, style the card-title */
.formview .card-header:has(input[type="checkbox"]:not(:checked)) .card-title {
    color: var(--bs-secondary-color) !important; /* Bootstrap 5 text-muted */
    text-decoration: line-through;
    opacity: 0.6;
    transition: all 0.2s ease-in-out; /* Smooth transition */
}



/* percent inside small progress bars line height for edge fix */
.progress .progress-bar {
    line-height: 0.7rem;
}

.progress {
    --vz-progress-height: 0.85rem;
}


.tooltip {
    --vz-tooltip-color: var(--vz-secondary-bg);
}

h4 * {
    vertical-align: middle;
}

/* changes the drop down arrow position more to the right */
.form-select {
    background-position: right .6rem top .95rem;
}

    /* changes the drop down arrow and validation sign to proper positions */
    .form-select.is-invalid:not([multiple]):not([size]) {
        background-position: right .6rem center,center right 2rem;
    }

/* icons inside fields with positioning that works with validation also */
.form-icon i {
    top: 0.75rem;
    bottom: 0.75rem;
    left: 0.6rem;
    font-size: 18px;
    display: block;
    position: absolute;
}

/* reset these icons to original state */
.form-icon .choices__list--dropdown i {
    position: relative;
    display: inline;
    top: auto;
    bottom: auto;
    left: auto;
    font-size: inherit;
}

.form-icon i.smaller {
    top: 0.425rem;
    bottom: 0.425rem;
    font-size: 16px;
}

.form-icon i.mdi {
    top: 0.35rem;
}


.form-icon .form-control-icon {
    padding-left: calc(.7rem * 3);
    line-height: 1.5rem;
}

.form-icon .choices__list--single {
    padding-left: calc(.7rem * 2);
    white-space: nowrap; 
}

.choices__list--single {
    padding-top: 0.15rem;
    padding-bottom: 0.2rem;
}

@supports (-moz-appearance: none) {
    .choices__list--single {
        padding-bottom: 0.25rem;
    }
}


/* in the daily page, tabs below, this fixes the border issue under tabs, the mdi icon line height is different from regular icons */
.icons-tabs .mdi {
    line-height: 1.45em;
}



/* put a border on focus for form input elements and filters */
.form-control:not(.is-invalid):focus, .form-control:not(.is-invalid).active, .form-select:focus, .choices:not(.is-invalid) .is-active input:focus, .choices:not(.is-invalid).is-focused .choices__inner {
    border-color: var(--vz-primary) !important;
    -webkit-box-shadow: 0 0 0 0;
    box-shadow: 0 0 0 0;
}

/* put a border on focus on the ckeditor inside */
.ck-editor__main {
    border: 1px solid transparent;
}

.ck-editor__main:has(.ck-focused) {
    border-color: var(--vz-primary) !important;
}

/* put a border on focus on the time picker inline field */
.flatpickr-calendar.inline .flatpickr-time:has(input:focus) {
    border-color: var(--vz-primary) !important;
}






/* This is for turning the control icon colors based on focus and validation */
.form-icon i {
    color: var(--vz-gray);
}

.form-icon i.las {
    line-height: 1rem;
}

.form-icon *:focus + i,
.form-icon *:focus + .input-group-append + i,
.form-icon .is-focused + i,
.form-icon .is-focused + .input-group-append + i,
.form-icon .active + i,
.form-icon .active + .input-group-append + i,
.form-icon *:not(.is-invalid):focus + .invalid-feedback + i 
{
    color: var(--vz-primary);
}

.form-icon .is-invalid + i, .form-icon .is-invalid + .invalid-feedback + i, .form-icon .is-invalid + .input-group-append + .invalid-feedback + i {
    color: var(--vz-danger) !important;
}


/* make the default checkboxes bigger */
.form-check-input {
    width: 1.3em;
    height: 1.3em;
    margin-top: 0.1em;
}

.form-check-label {
    padding-left: 0.2rem;
}





/* number spin buttons text vertical center */
.input-step button {
    width: 1.5em;
    /*padding: .15em !important;
    padding-bottom: .4rem !important;*/
}

.input-step button:not(:has(i)) {
    padding-bottom: .5rem !important;
}

/* on filter clear buttons, make the background match the input field */
/*.input-group-text.filter {
    background-color: var(--vz-input-bg-custom);
}*/

/* yes no drop down filters */
.yesno-filter, .choices:has(.yesno-filter) {
    max-width: 150px !important;
    width: 100% !important;
    min-width: 90px !important;
}

/* make the auto complete list show over top of other interface items */
.autoComplete_wrapper > ul {
    z-index: 20;
}

/* the number input showing arrows in firefox, this removes those */
input[type=number] {
    -moz-appearance: textfield;
}

input::-webkit-outer-spin-button, input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}


/* the generate button on the password on the employee screen */
.input-group .input-group-append .btn {
    height: 100%;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

/* left radius should show, date picker with alt input is messing up this style */
.input-group .form-control.datepicker {
    border-top-left-radius: var(--vz-border-radius) !important;
    border-bottom-left-radius: var(--vz-border-radius) !important;
}

/* if the button beside the input is not attached I want the radius to show normal (Invoice Details is an example) */
.input-group .form-control.radius {
    border-radius: var(--vz-border-radius) !important;
}




/* active selected menu on drop down menus */
.dropdown-item.active::after {
    font-family: remixicon !important;
    font-style: normal;
    content: "\eb7b";
    color: var(--vz-success);
    font-size: 18px;
    margin-left: 6px;
    position: relative;
    top: 2px;
}

/* adjust the icon, might have to change this if we use in other areas and figure out the most consistent setting */
.calculator .dropdown-item.active::after {
    top: 0px;
}


/* lining up bx icons in drop down menus to the text working like the ri icons */
.dropdown-item [class^="ri-"], .dropdown-item .bx, .dropdown-item .las {
    line-height: var(--vz-body-line-height) !important;
}

.dropdown-item [class^="ri-"].fs-18 {
    vertical-align: -.05em;
}

.dropdown-item .bx.fs-18 {
    vertical-align: -.16em;
}

.dropdown-item .bx {
    vertical-align: -.08em;
}

.dropdown-item .las {
    vertical-align: -.04em;
}

/* create new items in the top toolbar */
.dropdown-icon-item {
    line-height: 28px;
    padding: 12px 0 15px;
}

/* top toolbar profile icon / initials circle */
.header-profile-user {
    padding-top: 6px;
    font-size: 0.85rem;
}

/* page title styles */
.page-title-box {
    padding: 8px var(--vz-grid-gutter-width);
}

.page-title-box h4 {
    font-size: 16px !important;
}

.page-title-box .title-menu {
    top: 0.2rem;
    position: relative;
}

/* .page-title-box .dropdown-toggle::after {
        font-size: 16px;
        line-height: 16px;
        margin-left: .1em;
    }*/

/* Page title bar icon to the left positioning */
.page-icon {
    font-size: 26px !important;
    line-height: 1.55rem;
    position: relative;
}

.page-icon.la-receipt, .page-icon.la-handshake, .page-icon.ri-briefcase-4-line, .page-icon.ri-building-line {
    top: -1px;
}




/* next and previous button in title bar */
.next-prev a {
    padding: 1px 4px 1px 2px !important;
    line-height: 1.3rem;
    font-size: 18px;
}

    .next-prev a.next {
        padding: 1px 2px 1px 4px !important;
    }



.footer {
    padding-top: 18px;
}

.footer .enviro {
    padding-top: .3rem;
    padding-bottom: .25rem;
    position: relative;
    top: -.15rem;
    margin-left: .4rem !important;
}

@media (max-width: 575.98px) {
    .footer {
        font-size: 12px;
        padding-top: 20px;
        padding-left: 5px;
        padding-right: 5px;
    }

    .footer .enviro {
        padding-top: .2rem;
        padding-bottom: .15rem;
        line-height: 0.7rem;
        top: -.07rem;
    }

    #back-to-top {
        bottom: 10px;
        right: 170px;
    }
}

@media (max-width: 480px) {
    .footer {
        display: none;
    }

    #back-to-top {
        bottom: 20px;
        right: 20px;
    }
}



/* browser icon in the footer for which browser is being used */
footer .browser {
    position: absolute;
    top: -0.05rem;
    margin-left: 0.4rem;
    font-size: 24px;
}

@media (max-width: 575.98px) {
    footer .browser {
        top: 1px;
        margin-left: 0.3rem;
        font-size: 18px;
    }
}




/* login, reset, lock, logout, etc */

/* hide the eye ball see password button when the validation is on */
.is-invalid + .invalid-feedback + .password-addon {
    display: none;
}

.form-icon:has(.is-invalid) + .password-addon {
    display: none;
}

/* because of the button positioning, I had to create this style to make eye button toggle (original way also will still work) */
.auth-pass-inputgroup .form-icon:has(input[type=text]) + .btn .ri-eye-fill:before {
    content: "\ecb6";
}

/* the eye icon trying to center it in the textbox */
.password-addon {
    padding-top: 0.575rem;
}




/* format the descriptions from ckeditors */
.rich-text p {
    margin-top: 0;
    margin-bottom: 0;
}

/* hide the ckeditor logo since it is not working properly for display */
.ck-powered-by-balloon {
    display: none !important;
}

/* new ck editor overrides */
.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content {
    border: none;
}

.ck-content {
    color: inherit;
    font-size: inherit;
}

.ck.ck-button.ck-list-item-button, .ck.ck-button.ck-list-item-button.ck-on {
    background: inherit;
}


.ck-source-editing-area textarea {
    background-color: var(--vz-secondary-bg) !important;
    border-color: var(--vz-border-color);
}

.ck.ck-fullscreen__main-wrapper {
    background-color: var(--vz-primary-bg) !important;
}


.ck-fullscreen__main-wrapper .ck-fullscreen__editable .ck.ck-editor__editable:not(.ck-editor__nested-editable) {
    background: var(--vz-secondary-bg);
    border: 1px solid var(--vz-border-color);
    padding: 4mm 8mm;
}




/* push the content up to the top of the editor */
.ck.ck-editor__editable_inline {
    & > :first-child {
        margin-top: 0 !important;
    }
}

/* Restores CKEditor's native grouping engine */
.ck.ck-toolbar.ck-toolbar_grouping > .ck-toolbar__items {
    flex-wrap: nowrap !important;
}





/* ==========================================
   1. STANDARD TOOLBAR BUTTON STATES
   ========================================== */

/* Base & Light mode hover state defaults */
.ck.ck-button:not(.ck-disabled):hover,
a.ck.ck-button:not(.ck-disabled):hover {
    background: var(--vz-light) !important;
    border-color: var(--vz-input-border-custom) !important;
    cursor: pointer !important;
}

/* Dark mode adaptive hover states */
[data-bs-theme=dark] .ck.ck-button:not(.ck-disabled):hover,
[data-bs-theme=dark] a.ck.ck-button:not(.ck-disabled):hover {
    background: var(--vz-light-bg-subtle) !important;
    border-color: var(--vz-border-color) !important;
    color: var(--vz-emphasis-color) !important;
}

/* Dark mode active/focus states */
[data-bs-theme=dark] .ck.ck-button:not(.ck-disabled):is(:active, :focus),
[data-bs-theme=dark] a.ck.ck-button:not(.ck-disabled):is(:active, :focus) {
    background: var(--vz-dark-bg-subtle) !important;
    border-color: var(--vz-primary) !important;
}

/* FIX: Prevent the auto-focused first button in the 3-dot overflow dropdown from looking selected */
[data-bs-theme=dark] .ck-dropdown__panel .ck-toolbar__items .ck.ck-button:not(.ck-disabled):focus:not(:hover):not(:active),
[data-bs-theme=dark] .ck-dropdown__panel .ck-toolbar__items a.ck.ck-button:not(.ck-disabled):focus:not(:hover):not(:active) {
    background: transparent !important;
    border-color: transparent !important;
    box-shadow: none !important;
}

/* FIX: Force the focused first item to use the normal hover border color when the mouse moves over it */
[data-bs-theme=dark] .ck-dropdown__panel .ck-toolbar__items .ck.ck-button:not(.ck-disabled):focus:hover,
[data-bs-theme=dark] .ck-dropdown__panel .ck-toolbar__items a.ck.ck-button:not(.ck-disabled):focus:hover {
    border-color: var(--vz-border-color) !important;
}


/* ==========================================
   2. POPUP BALLOON PRIMARY ACTION BUTTON
   ========================================== */

/* Base button context (Overrides reset_all text colors for button and grandchildren) */
.ck.ck-balloon-panel .ck-button.ck-button-action,
.ck.ck-reset_all .ck-balloon-panel .ck-button.ck-button-action,
.ck.ck-reset_all .ck-balloon-panel .ck-button.ck-button-action * {
    background: var(--vz-primary) !important;
    border-color: var(--vz-primary) !important;
    color: #ffffff !important;
}

    /* Action button hover state */
    .ck.ck-balloon-panel .ck-button.ck-button-action:not(.ck-disabled):hover,
    .ck.ck-reset_all .ck-balloon-panel .ck-button.ck-button-action:not(.ck-disabled):hover,
    .ck.ck-reset_all .ck-balloon-panel .ck-button.ck-button-action:not(.ck-disabled):hover * {
        background: var(--vz-primary-text-emphasis) !important;
        border-color: var(--vz-primary-text-emphasis) !important;
        color: #ffffff !important;
        cursor: pointer !important;
    }

    /* Action button active/focus state */
    .ck.ck-balloon-panel .ck-button.ck-button-action:not(.ck-disabled):is(:active, :focus) {
        background: var(--vz-primary-text-emphasis) !important;
        border-color: var(--vz-primary-border-subtle) !important;
        color: #ffffff !important;
    }

/* ==========================================
   3. FINALIZED CKEDITOR TOOLTIP CUSTOMIZATION
   (Forces Tooltip to Top + Cleans Layout Layers)
   ========================================== */

/* 1. Reset the outer tracking framework to be completely invisible */
.ck.ck-tooltip {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    overflow: visible !important; /* Permits the inner text badge to render upward */
}

    /* 2. Style and reposition the internal text visual badge */
    .ck.ck-tooltip .ck-tooltip__text {
        /* Theme color assignments */
        background: var(--vz-secondary-bg) !important;
        color: var(--vz-body-color) !important;
        border: none !important;
        /* Typography formatting rules */
        font-size: 13px !important;
        font-weight: var(--vz-font-weight-medium) !important;
        white-space: nowrap !important;
        /* Inner padding block cushion */
        padding: 6px 10px !important;
        /* Container rounding */
        border-radius: var(--vz-border-radius-sm, 4px) !important;
        /* FIX: Professional multi-layered shadow with a subtle primary theme glow */
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4), 0 0 8px rgba(var(--vz-primary-rgb), 0.25) !important;
        /* Forces the tooltip above the button and clear of your cursor */
        position: absolute !important;
        bottom: calc(100% + 35px) !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
    }

    /* 3. Shut down all arrow indicators globally to keep the badge floating cleanly */
    .ck.ck-tooltip::after,
    .ck.ck-tooltip::before {
        display: none !important;
    }

[data-bs-theme=dark] .ck.ck-tooltip .ck-tooltip__text {
    /* Blends your border color with transparent at 40% opacity */
    border: solid 1px color-mix(in srgb, var(--vz-border-color) 40%, transparent) !important;
}











/* =========================================================================
   APPLICATION & EDITOR SPECIFICITY VIEWPORT INTERCEPTORS
   (Balances on-screen text lines while preserving raw database markup)
   ========================================================================= */

/* 1. Base default spacing for unstyled paragraphs (Editor and App views) */
:is(div.ck.ck-editor__main > div.ck-content[contenteditable="true"], .rich-text) p {
    line-height: 1.5 !important;
}

    /* 2. When database inline style is 1.0 -> map to 1.15 on-screen layout */
    :is(div.ck.ck-editor__main > div.ck-content[contenteditable="true"], .rich-text) p[style*="line-height: 1.0"],
    :is(div.ck.ck-editor__main > div.ck-content[contenteditable="true"], .rich-text) p[style*="line-height:1"] {
        line-height: 1.5 !important;
    }

    /* 3. When database inline style is 1.5 -> map to 1.45 on-screen layout */
    :is(div.ck.ck-editor__main > div.ck-content[contenteditable="true"], .rich-text) p[style*="line-height: 1.5"],
    :is(div.ck.ck-editor__main > div.ck-content[contenteditable="true"], .rich-text) p[style*="line-height:1.5"] {
        line-height: 2 !important;
    }

    /* 4. When database inline style is 2.0 -> map to 1.75 on-screen layout */
    :is(div.ck.ck-editor__main > div.ck-content[contenteditable="true"], .rich-text) p[style*="line-height: 2.0"],
    :is(div.ck.ck-editor__main > div.ck-content[contenteditable="true"], .rich-text) p[style*="line-height:2"] {
        line-height: 2.5 !important;
    }









/* borders for the top count panels for left hand border */

.card-left-xborder {
    border-left: 3px solid var(--vz-border-color);
}

.card-left-xborder.card-left-info {
    border-left-color: var(--vz-info);
}

.card-left-xborder.card-left-success {
    border-left-color: var(--vz-success);
}

.card-left-xborder.card-left-primary {
    border-left-color: var(--vz-primary);
}

.card-left-xborder.card-left-secondary {
    border-left-color: var(--vz-secondary);
}

.card-left-xborder.card-left-danger {
    border-left-color: var(--vz-danger);
}

.card-left-xborder.card-left-warning {
    border-left-color: var(--vz-warning);
}

.card-left-xborder.card-left-orange {
    border-left-color: var(--vz-orange);
}







/* get rid of the box shadow on the page title */
* {
    --vz-page-title-box-shadow: none;
    --vz-page-title-border: var(--vz-border-color);
    /* validation errors color */
    --vz-form-invalid-color: var(--vz-danger); /*#dc3545;*/
    --vz-form-invalid-border-color: var(--vz-danger); /*#dc3545;*/
}

/* In the light version of the layout the border 0, should mark dark layout or else white on white looks strange. */
.dropdown-menu {
    --vz-dropdown-border-width: 1px !important;
}

/* validation errors icon color change */
.form-control.is-invalid {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23ee6352'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23ee6352' stroke='none'/%3e%3c/svg%3e");
}

.form-select.is-invalid:not([multiple]):not([size]) {
    --vz-form-select-bg-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23ee6352'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23ee6352' stroke='none'/%3e%3c/svg%3e");
}



/* validation fix for input-step controls */

.input-step:has(.is-invalid) {
    border-color: var(--vz-form-invalid-border-color);
}

/* this makes it so the validation error placement script will put the message after the validation-message class, sometimes you need to put the error message outside certain divs */
.validation-message .invalid-feedback {
    display: block;
}


/* galaxy custom colors for labels on read only forms*/
.form-label {
    margin-bottom: 0.4rem !important;
    text-transform: uppercase !important;
    font-weight: var(--vz-font-weight-medium) !important;
    color: var(--vz-secondary-color);
}

.card:not(.card-read) .form-label { font-size: 0.9rem; }

[data-theme=galaxy] .card.card-read .form-label {
    margin-bottom: .1rem !important;
    text-transform: uppercase !important;
    font-weight: var(--vz-font-weight-medium) !important;
    color: var(--vz-secondary-color);
}

[data-theme=galaxy][data-bs-theme=light] .form-label {
    color: #000 !important;
}

/* darken the light version borders a little bit, the default is a bit too light */
[data-theme=galaxy][data-bs-theme=light] {
    --vz-border-color: #dedede;
}

    [data-theme=galaxy][data-bs-theme=light][data-topbar=light] {
        --vz-topbar-user-bg: var(--vz-secondary-bg);
    }

    [data-theme=galaxy][data-bs-theme=light] .page-title-box {
        background-color: #fff;
    }


/* The galaxy theme has the side going white when small screen (I would like it to stay dark unless they choose light side menu) */
@media (max-width: 767.98px) {
    [data-theme=galaxy][data-sidebar=dark] .app-menu {
        background: var(--vz-vertical-menu-bg);
    }

    [data-theme=galaxy][data-sidebar=light] .app-menu {
        background-color: #fff;
    }
}


[data-theme=galaxy][data-bs-theme=dark]:root[data-topbar=dark] {
    --vz-bg-opacity: 1;
    --vz-header-bg: rgba(var(--vz-secondary-bg-rgb), var(--vz-bg-opacity)) !important;
    --vz-header-border: var(--vz-border-color);
    --vz-header-item-color: rgba(255, 255, 255, 0.85);
    --vz-header-item-bg: #092748;
    --vz-header-item-sub-color: #878a99;
    --vz-topbar-user-bg: var(--vz-secondary-bg);
}

/* The horizontal menu background is wrong in the galaxy dark theme */
[data-theme=galaxy][data-bs-theme=dark][data-layout="horizontal"] .navbar-menu {
    --vz-topnav-bg: var(--vz-secondary-bg);
}

/* this will make it where the search in top will match proper background when you scroll down the page */
[data-theme=galaxy][data-bs-theme=dark]:root[data-topbar=light] .topbar-shadow {
    --vz-topbar-search-bg: rgba(255, 255, 255, 0.05);
    --vz-topbar-search-color: #fff;
}

/* changing the default dark side bar in the galaxy layout to a different color scheme default */
[data-theme="galaxy"][data-bs-theme="light"][data-sidebar="dark"] {
    --vz-vertical-menu-bg: #253142; /*#2c3a4e;*/ /*#2b2b2b;*/ /* #36404a this is legacy powerbase - for a throw back theme */
    --vz-vertical-menu-item-color: #cacaca;
    --vz-vertical-menu-title-color: #798694;
    --vz-vertical-menu-sub-item-color: #9ba5af;
    --vz-vertical-menu-border: #222d3c;
}

/* the menus were set to transparent, should have color so when you hover on small icon side menus it works */
[data-theme="galaxy"][data-sidebar="light"] {
    --vz-vertical-menu-bg: var(--vz-body-bg);
}


/* If I wanted to shut off the little border corners on cards, I can do it with this */
/*
        [data-theme="galaxy"] .card::before
        {
            border: none;
            content: none;
        }
        */

[data-theme="galaxy"][data-bs-theme="light"] {
    --vz-body-bg: #f6f6f6; /* rgba(246, 246, 246, 0.6); legacy */
    --vz-topbar-search-bg: #f3f3f3;
    --vz-card-bg: #fefefe;
}

    [data-theme="galaxy"][data-bs-theme="light"] .card {
        --vz-card-bg: #fefefe;
        --vz-card-shadow: none;
    }

    [data-theme="galaxy"][data-bs-theme="light"] .table {
        --vz-table-bg: #fefefe;
    }

[data-theme="galaxy"][data-bs-theme="light"] .table th {
            --vz-table-bg: #eef1f4;
        }


/* default values for galaxy light theme */
[data-theme="galaxy"][data-bs-theme="light"] {
    --vz-secondary-bg: #f9f9f9;
}

[data-theme="galaxy"][data-bs-theme="dark"] .nav-primary.nav-tabs .nav-link.active {
    border-bottom-color: transparent;
}

[data-theme="galaxy"][data-bs-theme="light"] .nav-primary.nav-tabs .nav-link.active {
    background-color: var(--vz-card-bg);
    border-bottom-color: var(--vz-card-bg);
}

[data-theme="galaxy"][data-bs-theme="light"] .nav-primary.nav-tabs.nopager .nav-link.active {
    background-color: var(--vz-secondary-bg);
    border-bottom-color: #eef1f4;
}

[data-theme="galaxy"][data-bs-theme="light"] body {
    background-image: none;
}


/* temp fix for galaxy select lists white backgrounds */
[data-theme=galaxy][data-bs-theme=dark] .form-select {
    background-color: var(--vz-secondary-bg);
}

/* In galaxy dark mode use the primary background on the ckeditor so its transparent */
[data-theme=galaxy][data-bs-theme=dark] .ck.ck-editor__main > .ck-editor__editable {
    background-color: var(--vz-primary-bg) !important;
}


/* this one style pushes employee name to the right */
.navbar-header {
    padding-right: 0.75rem;
}


/* mobile adjustments to top bar */

@media (max-width: 575.98px) {
    #page-header-user-dropdown {
        padding-left: 6px;
        padding-right: 4px;
    }

    .header-profile-user {
        height: 30px;
        width: 30px;
        padding-top: 4px;
    }
}

/* navigation style overrides */
.navbar-menu .navbar-nav .nav-link {
    padding: .375rem 1.5rem;
}

/*.nav-tabs {
    border-bottom: none;
}*/

/* this makes it so on the tabs tables screen the tabs show over the filters and settings cards for borderless look like the other tabs */
@media (min-width: 576px) {
    .nav-tabs .nav-item {
        z-index: 1;
    }
}


.nav-tabs .nav-link * {
    vertical-align: middle;
}
/*
.nav-tabs .nav-link tab-name {
    position: relative;
    top: 2px;
}*/

.nav-tabs .badge {
    --vz-badge-padding-x: 0.75em;
    --vz-badge-padding-y: 0.45em;
    font-size: 0.8rem;
    margin-left: 2px;
}

.nav-tabs .nav-item .bx, .nav-tabs .nav-item .las {
    line-height: var(--vz-body-line-height);
}

.modal-title i[class^="ri-"] { font-weight: 500; }

.modal-title .bx {
    top: 3px !important;
    padding-bottom: 8px;
    padding-top: 3px;
}

.nav-tabs .badge {
    min-width: 1.75rem;
    line-height: 1.2em;
}

/* set the top border on the selected tab on nav tabs */
.nav-border-top .nav-link {
    border-top: 1px solid transparent;
}


/* Search Panel, the grid vs list view buttons */

.nav-view {
    border: var(--vz-border-style) var(--vz-border-width) rgba(var(--vz-primary-rgb), 0.4);
    padding: 3px;
}

    .nav-view .btn-icon {
        height: calc(1.2rem + .9em + 1px);
        width: calc(1.2rem + 1.2em + 1px);
    }

    .nav-view a, .nav-view a:hover {
        background-color: var(--vz-primary-bg-subtle);
        color: var(--vz-primary);
    }




@media (max-width: 575.98px) {
    .mobile-search {
        z-index: 1;
        border: none !important;
        padding: 0px !important;
    }

        .mobile-search:before, .mobile-search:after {
            border: none !important;
        }
}


/* mobile friendly tabs above table */
/*@media (max-width: 575.98px) {
    .nav-tabs.icons-tabs2 {
        -webkit-box-orient: vertical !important;
        -webkit-box-direction: normal !important;
        -ms-flex-direction: column !important;
        flex-direction: column !important;
    }

        .nav-tabs.icons-tabs .nav-link2 {
            border: var(--vz-nav-tabs-border-width) solid var(--vz-border-color);
            border-radius: 0;
            padding-top: .4rem !important;
            padding-bottom: .4rem !important;
        }
}*/


/* The badge inside the search panel filters button */
.badge-btn-count {
    padding-bottom: 6px;
    min-width: 20px;
}

/* search box styles for the icon and background */
.table-search .form-control {
    background-color: var(--vz-topbar-search-bg);
}

.search-box .form-control {
    padding-left: 34px;
}

.search-box .search-icon {
    z-index: 10;
    /*top: -1px;*/
}

.card-body .search-box .search-icon {
    /*top: 0px;*/
}

[data-theme=galaxy][data-bs-theme=dark] .table-search .form-control {
    background-color: transparent;
}





/* modal custom confirmation and alert boxes */

.modal.confirmbox {
    backdrop-filter: blur(1px);
    -webkit-backdrop-filter: blur(1px);
}

    .modal.confirmbox .modal-content:has(.topstrip) {
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1), 0 0 25px rgba(var(--vz-glow-color), 0.25), -1px 0 0 var(--vz-border-color), 1px 0 0 var(--vz-border-color), 0 1px 0 var(--vz-border-color) !important;
        border: none;
    }

        .modal.confirmbox .modal-content .topstrip {
            position: absolute;
            left: -1px;
            width: calc(100% + 2px);
            height: 6px;
            z-index: 10;
            margin: 0;
            border-top-left-radius: var(--vz-border-radius);
            border-top-right-radius: var(--vz-border-radius);
        }

        .modal.confirmbox:has(.topstrip.bg-danger) { --vz-glow-color: var(--vz-danger-rgb); }
        .modal.confirmbox:has(.topstrip.bg-warning) { --vz-glow-color: var(--vz-warning-rgb); }
        .modal.confirmbox:has(.topstrip.bg-orange) { --vz-glow-color: var(--vz-orange-rgb); }
        .modal.confirmbox:has(.topstrip.bg-primary) { --vz-glow-color: var(--vz-primary-rgb); }
        .modal.confirmbox:has(.topstrip.bg-secondary) { --vz-glow-color: var(--vz-secondary-rgb); }
        .modal.confirmbox:has(.topstrip.bg-info) { --vz-glow-color: var(--vz-info-rgb); }
        .modal.confirmbox:has(.topstrip.bg-success) { --vz-glow-color: var(--vz-success-rgb); }

        .modal.confirmbox:has(.topstrip) .btn-close {
            margin-top: calc(-.2 * var(--vz-modal-header-padding-y));
        }

.modal .modal-body .avatar-xl i {
    font-size: 84px;
}

/* this fixes any extra pixels on the right side of the x button */
.modal .btn-close {
    background-size: 15px;
}

.modal.confirmbox .modal-body .avatar-xl i.ri-lock-2-line {
    position: relative;
    top: -2px;
}

.modal.confirmbox .modal-body .avatar-xl i.ri-alert-line {
    position: relative;
    top: -4px;
}




/* time picker */
.flatpickr-time input.flatpickr-hour {
    font-weight: 400;
}

    .flatpickr-time .numInputWrapper {
        height: auto;
    }

/* date picker and shortcut buttons */
.flatpickr-innerContainer {
    padding-bottom: 10px;
}

.shortcut-buttons-flatpickr-buttons {
    text-align: center;
    border-top: var(--vz-border-style) var(--vz-border-width) var(--vz-border-color);
}

.shortcut-buttons-flatpickr-button {
    margin: 15px 5px 15px 5px;
    --vz-font-base: 0.85rem;
}


/* time picker styles */

.flatpickr-time, .flatpickr-time input {
    font-size: 16px;
}

.flatpickr-calendar.inline.noCalendar {
    top: 0px;
    background-color: var(--vz-input-bg-custom);
}

.flatpickr-time { max-height: 42px; }
.flatpickr-time .flatpickr-hour { padding-left: 18px; }
.flatpickr-time .flatpickr-am-pm { margin-right: 6px; }


/* choices multi select list */
/*.choices__item {
    padding-bottom: 1px !important;
}*/

.choices__list--dropdown {
    z-index: 999;
    text-align: start;
}

/* choices dropdown with not hiding to validate the select */
.formview .choices {
    margin-bottom: 0px;
}

.choices[data-type*="select-one"] .choices__inner {
    padding-top: .23rem;
    line-height: var(--vz-body-line-height);
}

.choices__inner {
    /*padding-bottom: .25rem;*/
    padding-top: .35rem;
    min-height: 42px;
}

.choices__list--multiple .choices__item {
    font-size: 14px;
    padding: 0.1rem 0.5rem;
    line-height: 1.3rem;
}

.choices.is-invalid:not([multiple]):not([size]) .choices__inner {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23ee6352'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23ee6352' stroke='none'/%3e%3c/svg%3e");
    border-color: var(--vz-form-invalid-border-color);
    background-repeat: no-repeat;
    background-position: right calc(.375em + 1.75rem) center;
    background-size: calc(.75em + .5rem) calc(.75em + .5rem);
}

/*
.choices__list--single {
    padding: 5px 16px 3px 4px;
}*/

.choices [hidden] {
    display: block !important;
}

.choices select {
    visibility: hidden;
    width: 0px !important;
    padding: 0px !important;
    height: 0px !important;
    margin: 0px !important;
    border: none !important;
}



.choices {
    margin-bottom: 0px;
    flex: 1 1 auto;
}


    .choices[data-type*="select-one"] .choices__inner {
        padding: 0.3rem 1.8rem 0.2rem 0.65rem;
        align-content: center;
    }

    .choices[data-type*="select-one"]::after {
        font-size: 1.2rem;
        /*margin-top: 0.1rem;*/
        right: 8px;
    }

/* If there is a blank item, give it some height to match the other list items */
.choices__list--dropdown .choices__item {
    min-height: 2rem;
}

/* Removes border radius from the main container when closed */
.choices:has(+ .input-group-text) .choices__inner {
    border-top-right-radius: 0px !important;
    border-bottom-right-radius: 0px !important;
}

/* Removes border radius from the main container when open (top corners remain square) */
.choices.is-open:has(+ .input-group-text) .choices__inner {
    border-top-right-radius: 0px !important;
    border-bottom-right-radius: 0px !important;
}



/* a little bigger input step field */

.input-step.step-lg input {
    width: 6em;
}





/* small styles for pager */
@media (max-width: 575.98px) {
    .gridpager .choices[data-type*="select-one"] .choices__inner {
        padding-top: .1rem
    }

    .gridpager .choices__inner {
        min-height: 38px;
    }

    .gridpager .choices__list--single {
        padding-top: 4px;
    }
}





.multireset {
    top: -30px;
}

.multireset a {
    border: var(--vz-border-width) solid var(--vz-input-border-custom);
    border-radius: var(--vz-border-radius);
    display: block;
    background-color: var(--vz-tertiary-bg);
}

    .multireset i {
        padding: .125rem !important;
        display: block !important;
    }

.input-group-text {
    padding: .5rem .7rem;
}

    .input-group-text .Reset {
        line-height: 0.8em;
    }

/* paging styles for tables */



/* grid pager for tables */

    .gridpager .pagination {
        --vz-pagination-padding-y: 0.475rem;
        padding-left: 0.5rem;
    }

    .gridpager .pagination-separated .page-item .page-link {
        margin-left: 0px;
        margin-right: .35rem;
        padding: .12rem .5rem;
    }

    .gridpager .pagination .pageinfo {
        margin: 9px 8px 0px 4px;
    }

    .gridpager .bx-chevrons-right {
        position: relative;
        left: 2px;
    }

    .gridpager .pagination .pager-btn i {
        font-size: 22px;
        line-height: var(--vz-body-line-height);
    }

    .gridpager .form-select {
        padding: .5rem 2.6rem .4rem .9rem;
        background-position: right .6rem top .85rem;
        font-size: 15px;
    }



@media (max-width: 575.98px) {
    .gridpager .pagination .pageinfo {
        font-size: 12px;
        margin: 10px 8px 0px 6px;
    }

    .gridpager .pagination-separated .page-item .page-link {
        padding: .275rem .6rem;
    }

    .gridpager .pagination .pager-btn i {
        font-size: 18px;
    }

    .gridpager .bx-chevrons-right {
        left: 1px;
    }

    .gridpager .form-select {
        padding: .4rem 2rem .4rem .5rem;
        background-position: right .6rem top .75rem;
    }
}


/* table styles */

/*table.dataTable.tabs-table, .table:not(.cards) > :not(:first-child) {
    border-width: var(--vz-border-width);
    border-style: var(--vz-border-style);
} replacing table border with card */

.table-responsive {
    overflow-y: hidden;
}

table.dataTable {
    border-collapse: collapse !important;
    border-top-width: 1px;
    margin-top: 0px !important;
    margin-bottom: 0 !important;
    border: 0px var(--vz-border-style) var(--vz-border-color) !important; /* make the border still there but invisible and the card border is acting like the table border */
}

table.dataTable th {
    position: relative;
    /*border-top-width: 1px;
    border-top-style: solid;  replacing table border with card */
    white-space: nowrap;
}

    table.dataTable th a:not(.btn) {
        color: inherit;
    }
    table.dataTable th:not(.sorting_asc):not(.sorting_desc) a:not(.btn) {
        color: var(--vz-body-color);
    }

    table.dataTable:not(.cards) tbody tr:not(.no-data) td {
        border-top-width: 1px;
        /*border-top-color: transparent;*/
    }


    /* replacing the sort icons in the grid view table headers */
    table.dataTable > thead .sorting::before,
    table.dataTable > thead .sorting_asc::before,
    table.dataTable > thead .sorting_asc_disabled::before,
    table.dataTable > thead .sorting_desc::before,
    table.dataTable > thead .sorting_desc_disabled::before,
    table.dataTable > thead .sorting::after,
    table.dataTable > thead .sorting_asc::after,
    table.dataTable > thead .sorting_asc_disabled::after,
    table.dataTable > thead .sorting_desc::after,
    table.dataTable > thead .sorting_desc_disabled::after {
        font-family: "remixicon";
        content: "\ea55";
        position: absolute;
        right: 0.5rem;
        top: 8px;
        font-size: 1.2rem;
        z-index: 2;
    }

    table.dataTable > thead .sorting::after,
    table.dataTable > thead .sorting_asc::after,
    table.dataTable > thead .sorting_asc_disabled::after,
    table.dataTable > thead .sorting_desc::after,
    table.dataTable > thead .sorting_desc_disabled::after {
        content: "\ea4f";
        top: 14px;
    }






    /* ==========================================================================
   SERVER-SIDE DATA GRID SORTING ANCHORS (TARGETED TO DATA COLUMNS ONLY)
   ========================================================================== */
    /* 🚀 Exclusion: Excludes the pagination block cell row so your alignment stays safe */
    table.dataTable > thead tr > :is(th, td):not(.nosort):not(.sorting_disabled):not([colspan]):not(:has(.gridpager)) {
        padding-right: 30px !important;
    }

    table.dataTable > thead :is(.sorting, .sorting_asc, .sorting_desc, .sorting_asc_disabled, .sorting_desc_disabled) {
        cursor: pointer;
        position: relative;
    }

    /* ==========================================================================
   FIX: DATA GRID SORTING GLYPH COLORS & ACTIVE OPACITIES
   ========================================================================== */
    /* 1. Force sorting icons to use your muted theme color by default */
    table.dataTable > thead .sorting::before,
    table.dataTable > thead .sorting::after,
    table.dataTable > thead .sorting_asc::before,
    table.dataTable > thead .sorting_asc::after,
    table.dataTable > thead .sorting_desc::before,
    table.dataTable > thead .sorting_desc::after {
        color: var(--vz-muted-color, var(--vz-secondary-color, #878a99)) !important;
        opacity: .35 !important; /* Mutes BOTH arrows by default */
    }

    /* 2. Highlight ONLY the active UP arrow during Ascending sorts */
    table.dataTable > thead .sorting_asc::before {
        color: var(--vz-primary) !important;
        opacity: 1 !important;
    }

    /* 3. Highlight ONLY the active DOWN arrow during Descending sorts */
    table.dataTable > thead .sorting_desc::after {
        color: var(--vz-primary) !important;
        opacity: 1 !important;
    }

    /* 4. Completely hide arrows when sorting is disabled on a column */
    table.dataTable > thead .sorting_disabled::before,
    table.dataTable > thead .sorting_disabled::after {
        display: none !important;
    }






/* This is for icons in the header on grid views */
    table.dataTable > thead .new-item, table.dataTable > thead .head-icon {
        /*display: block;
        line-height: 0.9em;*/
    }

        table.dataTable > thead .new-item i, table.dataTable > thead .head-icon i {
            line-height: 0.3rem;
            position: relative;
            top: 0.25rem;
        }

    table.dataTable > thead .new-item i.bx-list-plus {
        pointer-events: none !important;
        top: 0.5rem;
    }


/* make it so hover does not affect totals row */
.table-hover > tbody > tr.totals:hover > *, .table-hover > tbody > tr.subtotals:hover > * {
    --vz-table-color-state: inherit;
    --vz-table-bg-state: inherit;
}




/*table.dataTable > thead .table-light {
    border-top-width: 1px;
    border-top-style: solid;
} replacing table border with card */

/*table.dataTable > thead th:last-child {
    border-right-width: 1px;
    border-right-style: solid;
} replacing table border with card */

/* since i fixed the line height issue with icons this probably is not needed */
/*table.dataTable .gvcount .bx {
    vertical-align: bottom;
    line-height: 1.25
}*/


/* this fixes an issue with the view cell with collapse borders and position relative (example to position bookmark icon in first cell of lists) */
table td:has(.cell-wrapper) {
    padding: 0;
}

table td .cell-wrapper {
    position: relative;
    width: 100%;
}



/* This invoice icon is skinny, so we remove the margin right so the number beside is closer */
table.dataTable .gvcount .bx-dollar {
    margin-right: 0px !important;
}

table.dataTable .row_bookmark {
    position: absolute;
    bottom: 100%;
    right: 0px;
    font-size: 14px;
}

table.dataTable.cards .row_bookmark {
    position: absolute;
    bottom: 60%;
    right: -25px;
    font-size: 16px;
}

/* if you want to highlight the bookmarked row, this can be used a way to flag rows also with danger and warning highlight */
/*table.dataTable tr:has(.row_bookmark) td { background-color: var(--vz-success-bg-subtle); }*/

table.dataTable .no-data td {
    border-style: none !important;
    -webkit-box-shadow: 0 0 0 0;
    box-shadow: 0 0 0 0;
}

/*table.dataTable .no-data .noresults {
    position: relative;
    top: -3px;
}*/

table.dataTable .qk-menu {
    position: relative;
    left: -6px;
    top: 4px;
}

table.dataTable thead td, table.dataTable tfoot td {
    padding: 0.5em;
}

/* card border takes over for this border */
table.dataTable tfoot td {
    border-bottom: none;
}

/* these 2 style make it so when I put a background on a row in the table it works, the cell background was overriding it before */
.table > :not(caption) > tr {
    background-color: var(--vz-table-bg);
}

    .table > :not(caption) > tr > td {
        /*background: inherit;*/  /* This line would make it so it doubles the color of the background opacity */
        background-color: transparent !important;
    }




/* make just the heading top and bottom padding less than regular rows */
.table > :not(caption) > * > th {
    vertical-align: middle;
}



/* take away bottom margin on paragraphs inside tables */
.table.dataTable tbody td p {
    margin-bottom: 0;
}


/*tbody, td, tfoot, th, thead, tr {
    border-style: dotted;
} replacing table border with card */

/* this makes highlighted rows show properly and also has nice faded borders on rows not selected, dotted and dashed did render well in edge */
.table.dataTable tbody td {
    border-style: outset;
}

.table.dataTable tbody tr:not(.totals) td {
    /*font-weight: 500;*/
    font-size: 0.9rem;
}

/* just for this theme in table fine tuning, making the deselected row borders more faint */
[data-theme=galaxy][data-bs-theme="dark"] .table.dataTable tbody tr:not(.table-active) td {
    border-color: #2a456266;
}

/* on the popup tables I don't need borders for now */
.table.dataTable.subTable tbody td {
    /*border: none; You can uncomment this if you want the rows in the popup tables to not have borders */
}

/*[data-bs-theme=light] .table.dataTable tbody td {
    border-bottom-color: inherit;
}*/

.table.dataTable.cards tbody td {
    border-bottom-style: solid;
    border-top-color: transparent;
}

/* 1. Target the cell before .menu-end when .menu-end is visible */
.table.dataTable.cards tbody tr td:has(+ .menu-end:not([style*="display: none"])) {
    border-bottom: 0 hidden transparent !important;
}


.table.dataTable.cards tbody tr td:last-child {
    vertical-align: bottom !important;
}


/*[data-bs-theme="light"]:root tbody td {
    border-style: solid;
}*/

/*.paging tr:last-child td, .paging thead tr th {
    border-bottom-style: solid;
} replacing table border with card */

table.dataTable.m-0 {
    margin: 0px !important;
}

table.dataTable .viewer {
    width: 36px;
}

table.dataTable:not(.cards) .viewer .bx-search-alt { left: 1px; position: relative; }

[data-bs-theme=light] .page-link {
    --vz-pagination-color: var(--vz-body-color);
}

[data-theme=galaxy][data-bs-theme=dark]:root .table-light {
    --vz-table-bg: rgba(var(--vz-light-rgb), 0.7);
}

table.table-bordered.dataTable thead tr:first-child th, table.table-bordered.dataTable thead tr:first-child td {
    border-top-width: 0px;
}

table.table-bordered.dataTable th:first-child, table.table-bordered.dataTable th:first-child, table.table-bordered.dataTable td:first-child, table.table-bordered.dataTable td:first-child {
    border-left-width: 0px;
}

table.dataTable > thead > tr > td, table.dataTable > tfoot > tr:not(.totals) > td {
    padding-right: 15px !important;
}

table.dataTable .table-active {
    background-color: rgba(var(--vz-light-rgb), 0.8);
}

table:not(.cards) .table-active td {
    border-style: var(--vz-border-style);
    border-top-width: var(--vz-border-width);
    border-color: var(--vz-border-color);
}

.dataTable td.menu-end {
    width: 45px;
    /*padding: 0 0.75rem 0 0 !important;*/
    text-align: right !important;
}

.dataTable td.menu-end ul {
    z-index: 9999; /* I don't think anything should overlap this menu */
}

/* make the space for mobile tables between rows and cell less padding (example the company popup clicking the eye on mobile) */
.table.table-mobile > :not(caption) > * > * {
    padding: .5rem .5rem;
}

/* daily hazards read view table */
.table.table-md > :not(caption) > * > * {
    padding: .4rem .5rem;
}


/* hide bottom border unless we are highlighting the row */
.card table.dataTable:not(.cards):has(tbody tr:first-child.table-active) tbody tr:last-child.table-active:not([class*="bg-"]) td {
    border-bottom-color: transparent !important;
}

.card table.dataTable:not(.cards):not(:has(tfoot .gridpager)) tbody tr:last-child:not([class*="bg-"].table-active) td {
    border-bottom-color: transparent !important;
}

/* replacement border on the highlighted rows */
table.dataTable:has(tbody tr:first-child.table-active.bg-danger-subtle) .table-light th {
    border-bottom-color: rgba(var(--vz-danger-rgb), 0.6);
}

table.dataTable:has(tbody tr:first-child.table-active.bg-warning-subtle) .table-light th {
    border-bottom-color: rgba(var(--vz-warning-rgb), 0.6);
}

table.dataTable:has(tbody tr:first-child.table-active.bg-orange-subtle) .table-light th {
    border-bottom-color: rgba(var(--vz-orange-rgb), 0.6);
}

table.dataTable:has(tbody tr:first-child.table-active.bg-primary-subtle) .table-light th {
    border-bottom-color: rgba(var(--vz-primary-rgb), 0.6);
}

table.dataTable:has(tbody tr:first-child.table-active.bg-secondary-subtle) .table-light th {
    border-bottom-color: rgba(var(--vz-secondary-rgb), 0.6);
}

table.dataTable:has(tbody tr:first-child.table-active.bg-info-subtle) .table-light th {
    border-bottom-color: rgba(var(--vz-info-rgb), 0.6);
}

table.dataTable:has(tbody tr:first-child.table-active.bg-success-subtle) .table-light th {
    border-bottom-color: rgba(var(--vz-success-rgb), 0.6);
}

table.dataTable:has(tbody tr:first-child.table-active.bg-pink-subtle) .table-light th {
    border-bottom-color: #878a99;
}

/* when there is no pager the radius needed a touch of space to look correct - this only seems to work correct placed below some of the above css */
/*table.dataTable:not(.cards):not(:has(thead .gridpager)) thead th {
    border-top: 1px var(--vz-border-style) transparent;
}*/





/* would like the row highlights to be a bit darker than default */

table.dataTable tr.bg-danger-subtle:not(.subtotals) {
    background-color: rgba(var(--vz-danger-rgb), 0.2) !important;
}

table.dataTable tr.bg-warning-subtle:not(.subtotals) {
    background-color: rgba(var(--vz-warning-rgb), 0.2) !important;
}

table.dataTable tr.bg-orange-subtle:not(.subtotals) {
    background-color: rgba(var(--vz-orange-rgb), 0.2) !important;
}

table.dataTable tr.bg-primary-subtle:not(.subtotals) {
    background-color: rgba(var(--vz-primary-rgb), 0.2) !important;
}

table.dataTable tr.bg-secondary-subtle:not(.subtotals) {
    background-color: rgba(var(--vz-secondary-rgb), 0.2) !important;
}

table.dataTable tr.bg-info-subtle:not(.subtotals) {
    background-color: rgba(var(--vz-info-rgb), 0.2) !important;
}

table.dataTable tr.bg-success-subtle:not(.subtotals) {
    background-color: rgba(var(--vz-success-rgb), 0.2) !important;
}

table.dataTable tr.bg-pink-subtle:not(.subtotals) {
    background-color: rgba(var(--vz-pink-rgb), 0.2) !important;
}


/* when highlight rows are selected give a bit more color and highlight borders */

table.dataTable tr.bg-danger-subtle.table-active {
    background-color: rgba(var(--vz-danger-rgb), 0.25) !important;
}

table.dataTable.cards tr.bg-danger-subtle.table-active, table.dataTable:not(.cards) tr.bg-danger-subtle.table-active td {
    border-color: rgba(var(--vz-danger-rgb), 0.6) !important;
}

table.dataTable tr.bg-warning-subtle.table-active {
    background-color: rgba(var(--vz-warning-rgb), 0.25) !important;
}

table.dataTable.cards tr.bg-warning-subtle.table-active, table.dataTable:not(.cards) tr.bg-warning-subtle.table-active td {
    border-color: rgba(var(--vz-warning-rgb), 0.6) !important;
}

table.dataTable tr.bg-orange-subtle.table-active {
    background-color: rgba(var(--vz-orange-rgb), 0.25) !important;
}

table.dataTable.cards tr.bg-orange-subtle.table-active, table.dataTable:not(.cards) tr.bg-orange-subtle.table-active td {
    border-color: rgba(var(--vz-orange-rgb), 0.6) !important;
}

table.dataTable tr.bg-primary-subtle.table-active {
    background-color: rgba(var(--vz-primary-rgb), 0.25) !important;
}

table.dataTable.cards tr.bg-primary-subtle.table-active, table.dataTable:not(.cards) tr.bg-primary-subtle.table-active td {
    border-color: rgba(var(--vz-primary-rgb), 0.6) !important;
}

table.dataTable tr.bg-secondary-subtle.table-active {
    background-color: rgba(var(--vz-secondary-rgb), 0.25) !important;
}

table.dataTable.cards tr.bg-secondary-subtle.table-active, table.dataTable:not(.cards) tr.bg-secondary-subtle.table-active td {
    border-color: rgba(var(--vz-secondary-rgb), 0.6) !important;
}

table.dataTable tr.bg-info-subtle.table-active {
    background-color: rgba(var(--vz-info-rgb), 0.25) !important;
}

table.dataTable.cards tr.bg-info-subtle.table-active, table.dataTable:not(.cards) tr.bg-info-subtle.table-active td {
    border-color: rgba(var(--vz-info-rgb), 0.6) !important;
}

table.dataTable tr.bg-success-subtle.table-active {
    background-color: rgba(var(--vz-success-rgb), 0.25) !important;
}

table.dataTable.cards tr.bg-success-subtle.table-active, table.dataTable:not(.cards) tr.bg-success-subtle.table-active td {
    border-color: rgba(var(--vz-success-rgb), 0.6) !important;
}

table.dataTable tr.bg-pink-subtle.table-active {
    background-color: rgba(var(--vz-pink-rgb), 0.25) !important;
}

table.dataTable.cards tr.bg-pink-subtle.table-active, table.dataTable:not(.cards) tr.bg-pink-subtle.table-active td {
    border-color: rgba(var(--vz-pink-rgb), 0.6) !important;
}



/* Inactive row look (used in cancelled subscriptions for one example) - the background and text color are applied in code on the row */

.dataTable tr.bg-muted-subtle.text-muted td:not(.viewer):not(.menu-end) {
    opacity: 0.6;
}



/* cards view for tables */
.cards {
    display: block !important
}

.cards thead {
    border-top: none;
    border-bottom: var(--vz-border-width) var(--vz-border-style) var(--vz-border-color);
    display: table !important;
    width: 100%;
}

    .cards tbody tr {
        position: relative;
        display: block;
        border-radius: 5px; /* add border radius to cards view on each card */
    }

.cards thead tr:has(th), .cards tbody tr.totals {
    display: none !important;
}

.cards thead td {
    border: none !important;
}

.cards tr.no-data {
    border: none !important;
    width: 100%;
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    /*max-width: calc(100% - 2.1em);*/
}

    .cards tr.no-data td {
        display: block;
    }

    /*tr.no-data td {
        border: none !important;
        padding: 1rem .6rem !important;
    }*/

.cards tbody {
    box-sizing: border-box;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    border-top: none;
    margin-bottom: 1em; /* replaced the margin top on the footer */
}

    .cards tbody:has(.no-data) {
        margin-bottom: 0;
    }

    .cards tbody tr:not(.no-data) {
        box-sizing: border-box;
        -webkit-box-flex: 0;
        -ms-flex: 0 0 100%;
        flex: 0 0 100%;
        max-width: calc(100% - 1em);
        position: relative;
        padding: 6px 10px 8px 10px;
        min-height: 1px;
        margin-left: 1em;
        margin-top: 1em;
        border: solid var(--vz-border-width) var(--vz-border-color);
    }

    .cards tbody :not(.no-data) td {
        display: block !important;
        background-color: transparent !important;
        padding: 10px !important;
        text-align: left !important;
        box-shadow: none;
    }

        .cards tbody td.details {
            display: none !important;
        }

        .cards tbody td.address {
            border-bottom: 0;
            padding-bottom: 0 !important;
            margin-bottom: -3px;
        }

        .cards tbody td.city {
            padding-top: 0px !important;
            border-bottom: 0;
            padding-bottom: 0 !important;
            font-size: var(--vz-font-12) !important;
            --vz-text-opacity: 1;
            color: var(--vz-secondary-color) !important;
            display: inline !important;
            padding-right: 0px !important;
        }

            .cards tbody td.city::after {
                content: ', ';
                display: inline !important;
            }

        .cards tbody td.prov {
            padding-top: 0px !important;
            border-bottom: 0;
            padding-bottom: 0 !important;
            font-size: var(--vz-font-12) !important;
            --vz-text-opacity: 1;
            color: var(--vz-secondary-color) !important;
            display: inline !important;
            padding-left: 0px !important;
        }

        .cards tbody td.postal {
            padding-top: 0px !important;
            font-size: var(--vz-font-12) !important;
            --vz-text-opacity: 1;
            color: var(--vz-secondary-color) !important;
        }

        .cards tbody td.viewer {
            border: none !important;
            width: 24px;
            padding: 4px 12px 2px 0px !important;
            margin-top: -1px;
            margin-left: -1px;
        }

        .cards tbody td.gvcount {
            display: inline-block !important;
            font-size: 12px;
            border: none !important;
            padding-bottom: 6px !important;
        }

        .cards tbody td:has(.dropdown-menu-end) {
            position: absolute;
            right: 13px;
            top: -4px;
            border: none !important;
        }

        .cards tbody td.no-card {
            display: none !important;
        }


        /* styles to show labels in card columns */

    /* Inject the column header into the top-left corner of the cell */
    .cards tbody td[data-label] {
        padding-top: 22px !important;
        position: relative;
    }

    /* Inject the column header into the top-left corner of the cell */
        .cards tbody td[data-label]::before {
            content: attr(data-label); /* Pulls text from VB.NET attribute */
            position: absolute;
            top: 6px;
            left: 8px;
            text-transform: uppercase;
            font-size: var(--vz-font-10) !important;
            --vz-text-opacity: 1;
            color: var(--vz-body-color) !important;
            font-weight: 500;
            opacity: 0.75;
        }

        .cards tbody td[data-label] .badge {
            margin-top: 0.2rem !important;
            margin-left: -0.1rem !important;
        }



/* custom css for timesheet cards */

    .cards tbody td.hrs1, .cards tbody td.hrs1h, .cards tbody td.hrs2 {
        font-size: var(--vz-font-12) !important;
        --vz-text-opacity: 1;
        color: var(--vz-secondary-color) !important;
        padding-right: 0px !important;
        width: 29%;
        display: inline-block !important;
        padding-left: 4.33% !important;
    }
/*
.cards tbody td.hrs1::before {
    content: 'Hours = ';
}

.cards tbody td.hrs1h::before {
    content: '1.5x = ';
}

.cards tbody td.hrs2::before {
    content: '2x = ';
}*/

/*.cards tbody td.hrs1::after, .cards tbody td.hrs1h::after, .cards tbody td.hrs2::after {
    margin-right: 15px;
    content: ' ';
}

.cards tbody td.hrstotal::after {
    content: ' Hours';
}*/



















/*.cards.paging tr:last-child td {
    border-bottom-style: dotted;
}*/

[data-bs-theme="light"]:root .cards.paging tr:last-child td {
    border-bottom-style: solid;
}

.cards tfoot {
    /*margin-top: 1em;*/
    border-collapse: collapse;
    display: table !important;
    width: 100%;
    border-top: var(--vz-border-width) var(--vz-border-style) var(--vz-border-color);
    border-bottom: none;
}

    .cards tfoot tr {
        display: block !important;
    }

    .cards tfoot td {
        border: none !important;
        display: block !important;
    }

@media (max-width: 649px) {
    .cards tbody tr:not(.no-data) {
        -ms-flex: 0 0 100%;
        flex: 0 0 100%;
        max-width: calc(100% - 2em);
    }
}

@media (min-width: 650px) {
    .cards tbody tr:not(.no-data) {
        -ms-flex: 0 0 50%;
        flex: 0 0 50%;
        max-width: calc(50% - 1.5em);
    }
}

@media (min-width: 1100px) {
    .cards tbody tr:not(.no-data) {
        -ms-flex: 0 0 33.33333%;
        flex: 0 0 33.33333%;
        max-width: calc(33.33333% - 1.3em);
    }
}

@media (min-width: 1350px) {
    .cards tbody tr:not(.no-data) {
        -ms-flex: 0 0 25%;
        flex: 0 0 25%;
        max-width: calc(25% - 1.25em);
    }
}

@media (min-width: 1600px) {
    .cards tbody tr:not(.no-data) {
        -ms-flex: 0 0 20%;
        flex: 0 0 20%;
        max-width: calc(20% - 1.2em);
    }
}

@media (min-width: 1850px) {
    .cards tbody tr:not(.no-data) {
        -ms-flex: 0 0 16.66%;
        flex: 0 0 16.66%;
        max-width: calc(16.66% - 1.15em);
    }
}



/* on cards highlight the separator borders on cells a little to match the highlight color when selected */
.table.dataTable.cards tr.bg-danger-subtle.table-active td {
    border-bottom-color: rgba(var(--vz-danger-rgb), 0.2) !important;
}

.table.dataTable.cards tr.bg-warning-subtle.table-active td {
    border-bottom-color: rgba(var(--vz-warning-rgb), 0.2) !important;
}

.table.dataTable.cards tr.bg-orange-subtle.table-active td {
    border-bottom-color: rgba(var(--vz-orange-rgb), 0.2) !important;
}

.table.dataTable.cards tr.bg-primary-subtle.table-active td {
    border-bottom-color: rgba(var(--vz-primary-rgb), 0.2) !important;
}

.table.dataTable.cards tr.bg-secondary-subtle.table-active td {
    border-bottom-color: rgba(var(--vz-secondary-rgb), 0.2) !important;
}

.table.dataTable.cards tr.bg-info-subtle.table-active td {
    border-bottom-color: rgba(var(--vz-info-rgb), 0.2) !important;
}

.table.dataTable.cards tr.bg-success-subtle.table-active td {
    border-bottom-color: rgba(var(--vz-success-rgb), 0.2) !important;
}

.table.dataTable.cards tr.bg-pink-subtle.table-active td {
    border-bottom-color: rgba(var(--vz-pink-rgb), 0.2) !important;
}




/* This mimics the cards feature of the border corners on the cards in a table (galaxy specific layout) */
[data-theme="galaxy"] table.cards tbody tr:not(.no-data)::after, [data-theme="galaxy"] table.cards tbody tr:not(.no-data)::before {
    content: "";
    height: 13px;
    width: 13px;
    position: absolute;
    border: 3px solid;
}

[data-theme="galaxy"] table.cards tbody tr:not(.no-data)::before {
    border-color: var(--vz-border-color) var(--vz-border-color) transparent transparent;
    right: -3px;
    top: -3px;
    border-radius: 0 3px 0 0;
}

[data-theme="galaxy"] table.cards tbody tr:not(.no-data)::after {
    border-color: transparent transparent var(--vz-border-color) var(--vz-border-color);
    left: -3px;
    bottom: -3px;
    border-radius: 0 0 0 3px;
}

[data-theme="galaxy"] table.cards tbody tr.bg-danger-subtle.table-active::before,
[data-theme="galaxy"] table.cards tbody tr.bg-danger-subtle.table-active::after {
    --vz-border-color: var(--vz-danger);
}

[data-theme="galaxy"] table.cards tbody tr.bg-warning-subtle.table-active::before,
[data-theme="galaxy"] table.cards tbody tr.bg-warning-subtle.table-active::after {
    --vz-border-color: var(--vz-warning);
}

[data-theme="galaxy"] table.cards tbody tr.bg-orange-subtle.table-active::before,
[data-theme="galaxy"] table.cards tbody tr.bg-orange-subtle.table-active::after {
    --vz-border-color: var(--vz-orange);
}

[data-theme="galaxy"] table.cards tbody tr.bg-primary-subtle.table-active::before,
[data-theme="galaxy"] table.cards tbody tr.bg-primary-subtle.table-active::after {
    --vz-border-color: var(--vz-primary);
}

[data-theme="galaxy"] table.cards tbody tr.bg-secondary-subtle.table-active::before,
[data-theme="galaxy"] table.cards tbody tr.bg-secondary-subtle.table-active::after {
    --vz-border-color: var(--vz-secondary);
}

[data-theme="galaxy"] table.cards tbody tr.bg-info-subtle.table-active::before,
[data-theme="galaxy"] table.cards tbody tr.bg-info-subtle.table-active::after {
    --vz-border-color: var(--vz-info);
}

[data-theme="galaxy"] table.cards tbody tr.bg-success-subtle.table-active::before,
[data-theme="galaxy"] table.cards tbody tr.bg-success-subtle.table-active::after {
    --vz-border-color: var(--vz-success);
}

[data-theme="galaxy"] table.cards tbody tr.bg-pink-subtle.table-active::before,
[data-theme="galaxy"] table.cards tbody tr.bg-pink-subtle.table-active::after {
    --vz-border-color: var(--vz-pink);
}


[data-theme="galaxy"] .border-danger::before,
[data-theme="galaxy"] .border-danger::after {
    --vz-border-color: var(--vz-danger);
}

[data-theme="galaxy"] .border-warning::before,
[data-theme="galaxy"] .border-warning::after {
    --vz-border-color: var(--vz-warning);
}

[data-theme="galaxy"] .border-orange::before,
[data-theme="galaxy"] .border-orange::after {
    --vz-border-color: var(--vz-orange);
}

[data-theme="galaxy"] .border-primary::before,
[data-theme="galaxy"] .border-primary::after {
    --vz-border-color: var(--vz-primary);
}

[data-theme="galaxy"] .border-secondary::before,
[data-theme="galaxy"] .border-secondary::after {
    --vz-border-color: var(--vz-secondary);
}

[data-theme="galaxy"] .border-info::before,
[data-theme="galaxy"] .border-info::after {
    --vz-border-color: var(--vz-info);
}

[data-theme="galaxy"] .border-success::before,
[data-theme="galaxy"] .border-success::after {
    --vz-border-color: var(--vz-success);
}

[data-theme="galaxy"] .border-pink::before,
[data-theme="galaxy"] .border-pink::after {
    --vz-border-color: var(--vz-pink);
}





/* drag and drop rows */

/* the column of the drag handle for sorting */
.sortable > :not(caption) > * > th:first-child, .sortable > :not(caption) > * > td:first-child, .new-header-col {  
    width: 32px;
}

.new-header-col {
    padding: 2px 9px 3px 7px !important;
    text-align: center !important;
}

.sortable > :not(caption) > * > td {
    padding: .8rem .6rem;
}

.sortable .drag-handle {
    cursor: grab;
}

/* keep the dragged row looking the same as the table rows */
.ui-sortable-helper {
    display: table;
}

/* change the handle color to white for the row being dragged */
.ui-sortable-helper td .drag-handle i {
    color: var(--vz-body-color) !important;
}





/* drag and drop column selection in the customize columns dialog */

/* Sorting Columns in the scheduler */

.column-widget .ui-sortable .list-item {
    border: 1px solid var(--vz-border-color);
    position: relative;
    cursor: pointer;
}

.column-widget .ui-sortable .list-item:not(.item-checked) .form-check-label {
    text-decoration: line-through;
    color: var(--vz-secondary-color);
}

.column-widget .ui-sortable .list-item.item-checked .form-check-label {
    text-decoration: none;
}

.column-widget .ui-sortable .list-item .ri-line-height {
    display: block;
    position: absolute;
    top: 9px;
    right: 9px;
    cursor: pointer;
}












/* Custom switch look from last version of PB */

.switch-outline {
    line-height: 0;
}

.switch-outline .switch {
    position: relative;
    display: inline-block;
    width: 64px;
    height: 32px;
}

.switch-outline label {
    margin-bottom: 0px;
}

.switch-outline .switch-sm {
    width: 50px;
    height: 26px;
}

.switch-outline .switch input {
    display: none;
}

.switch-outline .switch-state {
    background-color: var(--vz-input-bg-custom) !important;
    border: var(--vz-border-width) solid var(--vz-input-border-custom);
    border-radius: 20px;
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    -webkit-transition: .4s;
    transition: .4s;
}

    .switch-outline .switch-state:before {
        position: absolute;
        content: "";
        height: 26px;
        width: 26px;
        left: 2px;
        bottom: 0.125rem;
        background-color: var(--vz-tertiary-bg);
        -webkit-transition: .4s;
        transition: .4s;
        border-radius: 20px;
        font-family: remixicon !important;
        font-style: normal;
        content: "\eb99";
        color: rgba(var(--vz-body-color-rgb), 0.4);
        font-size: 16px;
        padding-left: 0.325rem;
        padding-right: 0.325rem;
        padding-top: 13px !important;
    }

    .switch-outline .switch-sm .switch-state:before {
        height: 20px;
        width: 20px;
        font-size: 12px;
        padding-left: 0.25rem;
        padding-right: 0.25rem;
        padding-top: 0.675rem !important;
        padding-bottom: 0.625rem !important;
    }

    .switch-outline .switch input:checked + .switch-state:before {
        left: 8px;
        -webkit-transform: translateX(26px);
        transform: translateX(26px);
        background-color: var(--vz-primary);
        font-family: remixicon !important;
        font-style: normal;
        content: "\eb7b";
        color: #fff;
        font-size: 16px;
        padding-left: 0.35rem;
        padding-right: 0.375rem;
        padding-top: 13px !important;
    }

    .switch-outline .switch-sm input:checked + .switch-state:before {
        left: 4px;
        -webkit-transform: translateX(22px);
        transform: translateX(22px);
        font-size: 13px;
        padding-left: 0.25rem;
        padding-right: 0.25rem;
        padding-top: 0.675rem !important;
        padding-bottom: 0.625rem !important;
    }

    .switch-outline .switch input:checked + .switch-state.bg-primary:before,
    .input-step.step-primary button {
        background-color: rgba(var(--vz-primary-rgb), 0.8);
    }

        .input-step.step-primary button:hover {
            background-color: rgba(var(--vz-primary-rgb), 0.9) !important;
        }

    .switch-outline .switch input:checked + .switch-state.bg-secondary:before,
    .input-step.step-secondary button {
        background-color: rgba(var(--vz-secondary-rgb), 0.8);
    }

    .switch-outline .switch input:checked + .switch-state.bg-orange:before,
    .input-step.step-orange button {
        background-color: rgba(var(--vz-orange-rgb), 0.8);
    }

    .switch-outline .switch input:checked + .switch-state.bg-success:before,
    .input-step.step-success button {
        background-color: rgba(var(--vz-success-rgb), 0.8);
    }

    .switch-outline .switch input:checked + .switch-state.bg-info:before,
    .input-step.step-info button {
        background-color: rgba(var(--vz-info-rgb), 0.8);
    }

    .switch-outline .switch input:checked + .switch-state.bg-warning:before,
    .input-step.step-warning button {
        background-color: rgba(var(--vz-warning-rgb), 0.8);
    }

    .switch-outline .switch input:checked + .switch-state.bg-danger:before,
    .input-step.step-danger button {
        background-color: rgba(var(--vz-danger-rgb), 0.8);
    }

.switch-outline .check-text {
    position: relative;
    top: -11px;
    left: 5px;
}

    .switch-outline:has(.switch-sm) .check-text {
        position: relative;
        top: -8px;
        left: 1px;
    }


/* Calculator on top bar */

.calculator {
    min-width: 320px;
}

/* this overrides the header pushing the drop menu down inside the calculator */
.navbar-header .topbar-head-dropdown .calculator .dropdown-menu.show {
    top: -1px !important;
}

    .calculator .btn-close {
        position: absolute;
        right: .3rem;
        top: .3rem;
        font-size: 0.8rem !important;
    }

    .calculator .calculator-screen {
        width: 100%;
        height: 80px;
        border: none;
        background-color: var(--vz-light-rgb);
        color: var(--vz-body-color);
        text-align: right;
        padding-right: 20px;
        padding-left: 10px;
        font-size: 4rem;
    }

    .calculator button {
        font-size: 2rem !important;
        line-height: 2rem;
    }

        .calculator button.operator {
            padding-bottom: .45rem;
            font-size: 2.5rem !important;
            padding-top: .1rem;
        }

        /*.calculator.standard .equal-sign {
            height: 100%;
            grid-area: 2 / 4 / 6 / 5;
            padding: inherit;
        }*/

        .calculator button.function:not(.all-clear) {
            font-size: 1.4rem !important;
        }

        .calculator button.function.sm {
            font-size: 1.2rem !important;
        }

        .calculator button.function.xs {
            font-size: 1.1rem !important;
        }

        /* the superscript is not clickable on the button unless you use this css */
        .calculator button.function {
            position: relative;
            z-index: 0;
        }

        .calculator button sup, .calculator button sub {
            position: relative;
            z-index: -1;
        }

    /*.calculator button.close {
            font-size: 1.2rem !important;
        }*/

    .calculator .calculator-keys {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        grid-gap: 10px;
        padding: 10px;
    }

    /*.calculator.standard .calculator-keys.advanced { display: none; }
        .calculator.advanced .calculator-keys.standard { display: none; }*/

    .calculator.advanced .calc-title .std {
        display: none;
    }

    .calculator:not(.advanced) .calc-title .adv {
        display: none;
    }

    .calculator:not(.advanced) .calculator-keys .adv {
        display: none;
    }

/* Timer styles */

#tbwatchicon {
    line-height: 2.3rem;
}

#tbwatchtime {
    right: -20px;
}

#timetrack .btn-close {
    position: absolute;
    top: 15px;
    right: 15px;
}

#timetrack #watchicon {
    font-size: 7em;
    margin-top: 0px;
}

#timetrack .digit {
    min-width: 30px;
    display: inline-block;
}


/* timeline accordian */

[data-theme=galaxy][data-bs-theme=dark] .accordion {
    --vz-accordion-bg: var(--vz-card-bg);
}





/* off canvas */
#offcanvasFilters [class^="col-"] {
    width: 100%;
}

#offcanvasFilters .half [class^="col-"] {
    width: 50%;
}

.offcanvas-width-md {
    width: 420px !important;
}


/* accordian style to hide existing arrow */
.btn-accordian[aria-expanded=false] i.ri-arrow-up-s-line {
    display: none;
}

.btn-accordian[aria-expanded=true] i.ri-arrow-down-s-line {
    display: none;
}



/* Contact Directory Widget */

.contact-dir .contact-add {
    position: absolute;
    top: 6px;
    right: 18px;
}

.contact-dir .contact-widget {
    height: calc(100vh - 338px);
    min-height: 380px;
}

.contact-dir .contact-list-divider::before {
    margin-right: 5px;
    width: 25px;
}

.contact-dir .contact-list-divider::before, .contact-dir .contact-list-divider::after {
    content: '';
    display: block;
    height: 1px;
    background-color: var(--vz-border-color);
}

.contact-dir .contact-list-divider {
    display: flex;
    align-items: center;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: .5px;
    margin: 9px 0px;
}

    .contact-dir .contact-list-divider::after {
        margin-left: 5px;
        flex: 1;
    }

.contact-dir .contact-list .media {
    padding: 15px 10px;
    position: relative;
}

.contact-dir .contact-list .dropdown-menu li {
    padding: 0;
}

.contact-dir .contact-list .media.active {
    background-color: var(--vz-secondary-bg);
}

.contact-dir .contact-list .media i.ri-eye-line {
    display: none;
}

.contact-dir .contact-list .media.active i.ri-eye-line {
    display: block;
    position: absolute;
    top: -2px;
    left: 2px;
}

.translate-left {
    -webkit-transform: translate(-280%,-50%) !important;
    transform: translate(-280%,-50%) !important;
}




/* Module Comments */

/* Module comments height of panel */
.module-comments {
    z-index: 1; /* this fixes the menu from photos being hidden behind the posting comment text box */
}
.module-comments, .module-comments .simplebar-content-wrapper {
    min-height: calc(100vh - 820px);
}

/* modify the button size and padding */
.comment-item .btn-sm {
    line-height: 0.9rem;
    padding: 6px 8px;
}

/* hide the bottom border on the last comment in the list */
.comment-item.border-bottom:last-child {
    border: none !important;
}

.comment-images .comment-img-link {
    position: absolute;
    right: 8px;
    left: auto;
    bottom: 7px;
}

    .comment-images .comment-img-link .dropdown .dropdown-toggle {
        font-size: 20px;
        color: #fff;
        display: inline-block;
        line-height: 20px;
        width: 26px;
        height: 24px;
        border-radius: 3px;
        background-color: rgba(33,37,41,.7);
        text-align: center;
        padding: 2px 4px;
    }

        .comment-images .comment-img-link .dropdown .dropdown-toggle::after {
            content: '';
            margin: 0;
        }

.comment-images .img-fluid {
    width: 120px;
    height: 80px;
}

@media (max-width: 575.98px) {
    .comment-images {
        width: 80%;
    }

        .comment-images .img-fluid {
            width: 100%;
            height: auto;
        }
}

.no-comments {
    padding-top: calc(15vh - 65px) !important;
    padding-bottom: calc(15vh - 55px) !important;
}


#UploadFileModal .dropzone {
    text-align: center;
    min-height: 200px;
}

.dz-clickable {
    border: 2px dashed var(--vz-border-color) !important;
    padding: 80px !important;
}


/* Sleek hover styling for the inner modal comments drop box container context */
#comment-dropzone.dz-drag-hover {
    background-color: rgba(var(--vz-primary-rgb), 0.08) !important;
    border-color: rgba(var(--vz-primary-rgb), 0.8) !important;
    transition: all 0.15s ease-in-out;
}



/* Timeline List */

.changelog div {
    margin-bottom: 2px;
}

    .changelog div::before {
        font-family: remixicon !important;
        font-style: normal;
        content: "\eb7b";
        font-size: 14px;
        margin-right: 3px;
        color: var(--vz-success);
    }

    .changelog div strong {
        color: var(--vz-primary);
        font-weight: 500;
    }

    .changelog div i {
        color: var(--vz-danger);
    }







/* max notes width on the support ticket list */
.max-width-notes {
    max-width: 320px;
}






/* Highlight Rules Dialog */

.helper-notes .box-icon {
    width: 60px;
    height: 60px;
}

.helper-notes ul {
    list-style-type: none;
    padding-left: .75rem;
}

.helper-notes ul li {
    margin-bottom: .35rem;
    max-width: 95%;
}

.helper-notes ul li::before {
    font-family: 'remixicon' !important;
    content: "\eb7c";
    position: absolute;
    font-size: 5px;
    margin-left: -10px;
    margin-top: 6px;
}






/* styles to show and hide the get directions icon beside the address on the company list */
.dataTable tr:not(.table-active) .active-only {
    display: none;
}

.ph-18 {
    width: 18px;
}





/* this is for mobile tabs for main list pages (example projects) and the section pages (example project) sub sections will work different (example invoice details on invoice) */

@media (max-width: 767.98px) {
    .nav-tabs-responsive {
        position: relative;
        display: block;
        width: 100%;
    }

    /* 100% Width Outer Bar Selector Box */
    .nav-tabs-dropdown {
        display: flex !important;
        align-items: center;
        justify-content: space-between;
        cursor: pointer;
        padding: 0.65rem 0.8rem;
        border: 1px solid var(--vz-border-color) !important;
        border-radius: 0.35rem;
        background-color: var(--vz-secondary-bg) !important;
        color: var(--vz-primary) !important;
        z-index: 10;
        text-align: left;
        width: 100% !important;
    }

        

        .nav-tabs-dropdown .active-tab-placeholder i {
            position: relative;
        }

        .nav-tabs-dropdown .active-tab-placeholder span:not(.badge) {
            line-height: 1.6rem;
        }

        .nav-tabs-dropdown .active-tab-placeholder .badge {
            margin-left: 2px;
            margin-right: 2px;
            font-size: 0.75rem;
            top: 0px;
        }

        .nav-tabs-dropdown .las {
            top: -1px;
        }


    .nav-tabs-responsive .nav-arrow-icon {
        font-size: 1.2rem !important;
        line-height: 1.2rem !important;
        transition: transform 0.2s ease-in-out;
        color: var(--vz-body-color) !important;
        margin-left: .5rem !important;
    }

    .nav-tabs-responsive.is-open .nav-arrow-icon {
        transform: rotate(180deg);
    }

    /* 
       1. INITIAL CLOSED STATE + ANIMATION RULES
       We removed display: none !important so the transition engine can calculate opacity/transform changes.
    */
    .nav-tabs-responsive .icons-tabs {
        display: flex !important; /* Keep structural display active */
        flex-direction: column;
        width: max-content;
        max-width: 100%;
        position: absolute;
        top: 100%;
        left: 0;
        background-color: var(--vz-choices-bg, var(--vz-secondary-bg)) !important;
        border: 1px solid var(--vz-border-color) !important;
        border-radius: 0.35rem;
        box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
        z-index: 1050;
        margin-top: 0.1rem;
        padding: 0.35rem 0 !important;
        /* Visual hiding configuration for transition processing */
        visibility: hidden;
        opacity: 0;
        transform: translateY(15px); /* Slide down offset */
        /* Smooth Velzon cubic bezier transition string */
        transition: transform 0.25s cubic-bezier(0.3, 0, 0, 1), opacity 0.25s ease-in-out, visibility 0.25s;
        /* 
           THE FIXED VARIANT BRIDGE:
           Maps dynamically across theme resets to ensure seamless color delivery.
        */
        --vz-dropdown-link-color: var(--vz-text-muted, var(--vz-muted-color, rgb(166, 175, 184)));
        --vz-dropdown-link-hover-color: var(--vz-primary);
        --vz-dropdown-link-hover-bg: var(--vz-light);
    }

    [data-bs-theme="light"] .nav-tabs-responsive .icons-tabs {
        --vz-dropdown-link-color: var(--vz-body-color) !important;
    }

    .nav-tabs-responsive:has(.nav-tabs-dropdown) .icons-tabs.border-bottom-0 {
        margin-top: 0.2rem;
    }

    /* 2. ACTIVE OPEN STATE ANIMATION (Triggered by your custom .is-open class toggle) */
    .nav-tabs-responsive.is-open .icons-tabs {
        visibility: visible !important;
        opacity: 1 !important;
        transform: translateY(0) !important; /* Slide smoothly up to normal positioning */
    }

    .nav-tabs-responsive .icons-tabs .nav-item {
        width: 100%;
        margin: 0 !important;
        display: block !important;
    }

    /* Strips borders entirely inside the option drawer panels */
    .nav-tabs-responsive .icons-tabs .nav-link {
        border: none !important;
        border-bottom: none !important;
        border-radius: 0 !important;
        padding: 0.56rem 1.25rem !important; /* PRESERVED: Your exact custom padding layout */

        width: 100%;
        display: block;
        text-align: left;
        background: transparent !important;
        /* 
           HARDCODED FIXED SIZING:
           Using a stable 13px base sizing here bypasses root typography inheritance quirks.
           Color maps cleanly to your adaptive theme token variable.
        */
        font-family: var(--vz-font-sans-serif, sans-serif) !important;
        font-size: 0.9rem !important;
        color: var(--vz-dropdown-link-color) !important;
        font-weight: var(--vz-font-weight-normal) !important;
        line-height: 1.5 !important;
    }

       /* do not show the active tab in the dropdown */
        .nav-tabs-responsive .icons-tabs .nav-link.active {
            display: none !important;
        }

        .nav-tabs-responsive .icons-tabs .nav-link:not(.active):hover {
            background-color: var(--vz-dropdown-link-hover-bg) !important;
            /* color: var(--vz-dropdown-link-hover-color) !important; */
        }

    /*.nav-tabs-responsive .icons-tabs .nav-link.active::after {
            background: none !important;
        }*/

    

    .nav-tabs-responsive ul:not(.custom-flashy-tabs) .badge {
        padding-bottom: 5px;
        min-width: 24px;
        padding-top: 6px;
        font-size: 11px;
        margin-left: 2px;
        margin-right: 2px;
        position: relative;
        top: 0px;
    }

    .nav-tabs-responsive .icons-tabs:not(.custom-flashy-tabs) .badge {
        padding-bottom: 4px;
        padding-top: 5px;
    }
}

@media (min-width: 768px) {
    .nav-tabs-dropdown {
        display: none !important;
    }

    .nav-tabs-responsive .icons-tabs {
        display: flex !important;
        /* Clear animation state rules when rendering normal wide desktop resolutions */
        visibility: visible !important;
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
        position: static !important;
        width: auto !important;
    }
}

@media (max-width: 767.98px) {
    /* adjust the menu for card touching the menu */
    .nav-tabs-responsive:has(.icons-tabs.border-bottom-0) .nav-tabs-dropdown {
        border-bottom: none !important;
        border-bottom-left-radius: 0px;
        border-bottom-right-radius: 0px;
    }

    /* take away the radius if the responsive tabs are activated */
    .nav-tabs-responsive:has(.nav-tabs-dropdown):has(.icons-tabs.border-bottom-0) + .tab-content .card {
        border-top-left-radius: 0 !important;
        border-top-right-radius: 0 !important;
    }

    /* take away the galaxy corner if responsive tabs are activated */
    [data-theme="galaxy"] .nav-tabs-responsive:has(.nav-tabs-dropdown):has(.icons-tabs.border-bottom-0) + .tab-content .card::before {
        border: none;
    }
}


/* take away the radius if the first tab is selected so it looks straight line to the tab */
.nav-tabs-responsive:not(.nav-tabs-custom) + .tab-content .tab-pane:first-child.active .card {
    border-top-left-radius: 0 !important;
}














/* This is the clear filters button on the dialog lists modals with the search bar */
.clear-filters {
    font-size: 1.36rem;
    line-height: 1rem;
    --vz-btn-padding-x: 0.7rem;
}

/* the clear filters button inside the cards in the filters tab */
.clear-filters-intab {
    position: absolute;
    top: -10px;
    right: 2px;
}







/* Any styles for the data backup page */
.backup .progress-lg .progress-bar {
    padding-top: 1px;
}




/* settings checkbox that hide and show features, this will show muted and strike through when not selected */
.togglecheck .form-check-input:not(:checked) + .form-check-label {
    text-decoration: line-through;
    color: var(--vz-secondary-color);
}

/* if any checkboxes are hidden, hide the li container or else they will take up space */
.togglecheck li:empty {
    display: none;
}



/* user and system settings */

/* default the body color in the accordion vs default gray */
.accordion .accordion-body {
    color: var(--vz-body-color);
}

/* For this accordion have the headings and icons larger */
.settings .accordion-button {
    font-size: 1.25rem;
    color: var(--vz-heading-color);
}

/* for the display settings keep the radios certain width */
.display-settings .col-4 {
    width: 150px;
}

.display-settings .col-12.col-md-6 {
    max-width: 650px;
}


/* For the primary color selector use a checkmark instead and dark so we can see it over the default */
.primary-color .card-radio .form-check-input:checked + .form-check-label::before {
    content: "\eb7b";
    font-family: remixicon;
    position: absolute;
    top: 0px;
    right: 5px;
    font-size: 22px;
    color: var(--vz-dark);
}

/* I don't want borders around the swatches */
.primary-color .card-radio .form-check-label {
    border: none;
}

/* even in the dark theme so white and light, so you can see the light layout option as white */
.color-scheme .bg-white .bg-light {
    background-color: rgba(241, 244, 247) !important;
}



/* color options for the application */
:root[data-theme-colors=purple] {
    --vz-primary: #8c68cd !important;
    --vz-primary-rgb: 140, 104, 205 !important;
    --vz-primary-bg-subtle: rgba(140, 104, 205, 0.15) !important;
    --vz-primary-border-subtle: rgba(140, 104, 205, 0.3) !important;
    --vz-primary-text-emphasis: #694e9a !important;
}

:root[data-theme-colors=green] {
    --vz-primary: #088f7d !important;
    --vz-primary-rgb: 8, 143, 125 !important;
    --vz-primary-bg-subtle: rgba(8, 143, 125, 0.15) !important;
    --vz-primary-border-subtle: rgba(8, 143, 125, 0.3) !important;
    --vz-primary-text-emphasis: #066b5e !important;
}

:root[data-theme-colors=sunset] {
    --vz-primary: #e39354 !important;
    --vz-primary-rgb: 227, 147, 84 !important;
    --vz-primary-bg-subtle: rgba(227, 147, 84, 0.15) !important;
    --vz-primary-border-subtle: rgba(227, 147, 84, 0.3) !important;
    --vz-primary-text-emphasis: #b77a49 !important;
}

:root[data-theme-colors=bronze] {
    --vz-primary: #A97142 !important;
    --vz-primary-rgb: 169, 113, 66 !important;
    --vz-primary-bg-subtle: rgba(169, 113, 66, 0.15) !important;
    --vz-primary-border-subtle: rgba(169, 113, 66, 0.3) !important;
    --vz-primary-text-emphasis: #DAAA5E !important;
}

:root[data-theme-colors=kobalt] {
    --vz-primary: #36a7d1 !important;
    --vz-primary-rgb: 54, 167, 209 !important;
    --vz-primary-bg-subtle: rgba(54, 167, 209, 0.15) !important;
    --vz-primary-border-subtle: rgba(54, 167, 209, 0.3) !important;
    --vz-primary-text-emphasis: #287798 !important;
}

:root[data-theme-colors=powerbase] {
    --vz-primary: #5769A5 !important;
    --vz-primary-rgb: 87, 105, 165 !important;
    --vz-primary-bg-subtle: rgba(87, 105, 165, 0.15) !important;
    --vz-primary-border-subtle: rgba(87, 105, 165, 0.3) !important;
    --vz-primary-text-emphasis: #6071A9 !important;
}

:root[data-theme-colors=blue] {
    --vz-primary: #2a5fc1 !important;
    --vz-primary-rgb: 42, 95, 193 !important;
    --vz-primary-bg-subtle: rgba(42, 95, 193, 0.15) !important;
    --vz-primary-border-subtle: rgba(42, 95, 193, 0.3) !important;
    --vz-primary-text-emphasis: #204791 !important;
}

:root[data-theme-colors=pink] {
    --vz-primary: #E12AB1 !important;
    --vz-primary-rgb: 225, 42, 177 !important;
    --vz-primary-bg-subtle: rgba(225, 42, 177, 0.15) !important;
    --vz-primary-border-subtle: rgba(225, 42, 177, 0.3) !important;
    --vz-primary-text-emphasis: #b82190 !important;
}

:root[data-theme-colors=teal] {
    --vz-primary: #3CB6CE !important;
    --vz-primary-rgb: 60, 182, 206 !important;
    --vz-primary-bg-subtle: rgba(60, 182, 206, 0.15) !important;
    --vz-primary-border-subtle: rgba(60, 182, 206, 0.3) !important;
    --vz-primary-text-emphasis: #378D9D !important;
}

:root[data-theme-colors=peach] {
    --vz-primary: #dc6d6d !important;
    --vz-primary-rgb: 220, 109, 109 !important;
    --vz-primary-bg-subtle: rgba(220, 109, 109, 0.15) !important;
    --vz-primary-border-subtle: rgba(220, 109, 109, 0.3) !important;
    --vz-primary-text-emphasis: #bc6049 !important;
}





/* color swatches on the settings page */
.card-radio .form-check-label.purple {
    background-color: #8c68cd;
}

.card-radio .form-check-label.green {
    background-color: #088f7d;
}

.card-radio .form-check-label.sunset {
    background-color: #e39354;
}

.card-radio .form-check-label.bronze {
    background-color: #A97142;
}

.card-radio .form-check-label.kobalt {
    background-color: #36a7d1;
}

.card-radio .form-check-label.powerbase {
    background-color: #5769A5;
}

.card-radio .form-check-label.blue {
    background-color: #2a5fc1;
}

.card-radio .form-check-label.pink {
    background-color: #E12AB1;
}

.card-radio .form-check-label.teal {
    background-color: #3CB6CE;
}

.card-radio .form-check-label.peach {
    background-color: #dc6d6d;
}



.card-radio.border-purple {
    border-color: rgba(140, 104, 205, 0.3) !important;
}

.card-radio.border-green {
    border-color: rgba(8, 143, 125, 0.3) !important;
}

.card-radio.border-sunset {
    border-color: rgba(227, 147, 84, 0.3) !important;
}

.card-radio.border-bronze {
    border-color: rgba(169, 113, 66, 0.3) !important;
}

.card-radio.border-kobalt {
    border-color: rgba(54, 167, 209, 0.3) !important;
}

.card-radio.border-powerbase {
    border-color: rgba(87, 105, 165, 0.3) !important;
}

.card-radio.border-blue {
    border-color: rgba(42, 95, 193, 0.3) !important;
}

.card-radio.border-pink {
    border-color: rgba(225, 42, 177, 0.3) !important;
}

.card-radio.border-teal {
    border-color: rgba(60, 182, 206, 0.3) !important;
}

.card-radio.border-peach {
    border-color: rgba(220, 109, 109, 0.3) !important;
}

.card-radio .form-check-label {
    border-radius: .1rem !important;
}


/* background images in the settings */
[data-theme="galaxy"][data-bs-theme="dark"] .form-check-label[data-body-image="img-1"] {
    background-image: url(/portal/assets/images/galaxy/img-1.png);
    background-size: cover;
}

[data-theme="galaxy"][data-bs-theme="dark"] .form-check-label[data-body-image="img-2"] {
    background-image: url(/portal/assets/images/galaxy/img-2.png);
    background-size: cover;
}

[data-theme="galaxy"][data-bs-theme="dark"] .form-check-label[data-body-image="img-3"] {
    background-image: url(/portal/assets/images/galaxy/img-3.png);
    background-size: cover;
}



/* quickbooks logo switching for light vs dark */
.qblogo {
    background-image: url('/img/quickbooks-logo.png');
    background-size: cover;
    vertical-align: middle;
    display: inline-block;
}
.settings .qblogo {
    width: 280px;
    height: 60px;
}
.invoice.qblogo {
    width: 175px;
    height: 38px;
}
[data-bs-theme="dark"] .qblogo {
    background-image: url('/img/quickbooks-dark.png');
}

.column-value.qblogo {
    width: 121px;
    height: 26px;
}


/* sage logo */
.sagelogo {
    background-image: url('/img/sage-logo.png');
    background-size: cover;
    vertical-align: middle;
    display: inline-block;
}
.settings .sagelogo {
    width: 120px;
    height: 60px;
}
.invoice.sagelogo {
    width: 80px;
    height: 40px;
}
.column-value.sagelogo {
    width: 60px;
    height: 30px;
}






/* invoice receipt page */
.payment-options .col-auto:empty {
    display: none;
}



/* Employee Levels */

.levels .label-sm {
    font-size: 13px !important;
}

.levels .input-sm {
    margin-top: 5px;
    min-width: 70px;
}

    .levels .input-sm .input-group-text {
        font-size: 13px !important;
        padding: 0.2rem 0.35rem !important;
    }

    .levels .input-sm .form-control {
        font-size: 13px !important;
        padding: 0.2rem 0.5rem !important;
        max-width: 50px;
        min-width: 40px;
        color: var(--vz-primary);
    }

.levels .table > thead {
    vertical-align: middle;
}

.levels table.dataTable > thead > tr > th.menu-end {
    padding-right: 10px !important;
}





/* permission for power users panels */

@media (max-width: 575.98px) {
    .permissions .form-check-input {
        margin-top: 0.15em;
    }

    .permissions .form-check label {
        font-size: 14px;
        padding-left: 0.1rem;
    }
}


/* When the .readcheck row HAS a checkbox that is NOT checked, mute and strike through the text */
.permissions .readcheck:has(input[type="checkbox"]:not(:checked)) .section-title {
    color: var(--bs-secondary-color) !important; /* Bootstrap 5 text-muted */
    text-decoration: line-through;
    opacity: 0.6;
    transition: all 0.2s ease-in-out;
}

/* Optional: Also dim the section icon when the switch is off */
.permissions .readcheck:has(input[type="checkbox"]:not(:checked)) i.section-icon {
    color: var(--bs-secondary-color) !important;
    opacity: 0.5;
    transition: all 0.2s ease-in-out;
}

/* Optional: Also hide the info rules icon when the switch is off */
.permissions .readcheck:has(input[type="checkbox"]:not(:checked)) .section-rules {
    display: none;
    transition: all 0.2s ease-in-out;
}









/* documents section */

.document-ext {
    padding-top: .1rem !important;
    letter-spacing: 0.02rem;
    font-size: var(--vz-font-10) !important;
    text-transform: uppercase !important;
    line-height: 1 !important;
    font-weight: var(--vz-font-weight-semibold) !important;
    display: block !important;
}

@media (max-width: 767.98px) {
    .document-manager .nav-view {
        font-size: 0.6rem;
    }
}

@media (max-width: 575px) {
    .document-manager .nav-view {
        font-size: 0.4rem;
    }

    .document-manager .foldertotal, .document-manager .filetotal {
        font-size: 14px;
    }
}


[data-bs-theme="light"] .document-manager .card-bg.border-dashed {
    border-style: solid !important;
}




.card:has(.document-manager) {
    min-height: 420px;
}

/* ==========================================
       1. TOP DROPZONE BOX (Standalone Card View)
       ========================================== */
#dropZone {
    border-width: 2px !important;
}

#dropZone, .documentDropZone {
    min-height: 220px;
    position: relative !important;
    border-color: rgba(var(--vz-primary-rgb), 0.3) !important;
    background-color: rgba(var(--vz-light-rgb), 0.5);
    transition: transform 0.15s ease-in-out, border-color 0.15s ease-in-out, background-color 0.15s ease-in-out !important;
}

[data-theme="galaxy"] .card.documentmanagercard::before {
    border-color: rgba(var(--vz-primary-rgb), 0.6) rgba(var(--vz-primary-rgb), 0.6) transparent transparent !important;
}

[data-theme="galaxy"] .card.documentmanagercard::after {
    border-color: transparent transparent rgba(var(--vz-primary-rgb), 0.6) rgba(var(--vz-primary-rgb), 0.6) !important;
}

    /* 🎯 Case A: Smooth scaling is safe here because it is a small standalone card */
    #dropZone.drag-over {
        background-color: rgba(var(--vz-primary-rgb), 0.1) !important;
        border-color: rgba(var(--vz-primary-rgb), 0.8) !important;
        transform: scale(1.01) !important;
    }

    /* ==========================================
       2. LOWER PANEL (Master Document Manager Card)
       ========================================== */
    /* Synchronized highlight state for the lower list container */
.card.documentmanagercard.drag-over,
.documentDropZone.drag-over {
    /* Matches your top dropzone hover background opacity mix */
    background-color: rgba(var(--vz-primary-rgb), 0.1) !important;
    border-color: rgba(var(--vz-primary-rgb), 0.8) !important;
    /* 🚀 Keep the lower layout box flat and stable (NO canvas warping) */
    transform: scale(1.005) !important;
}

[data-theme="galaxy"] .card.documentmanagercard.drag-over::before {
    border-color: rgba(var(--vz-primary-rgb), 1) rgba(var(--vz-primary-rgb), 1) transparent transparent !important;
}

[data-theme="galaxy"] .card.documentmanagercard.drag-over::after {
    border-color: transparent transparent rgba(var(--vz-primary-rgb), 1) rgba(var(--vz-primary-rgb), 1) !important;
}



        /* 🚀 CRITICAL FIX: Forces the browser to look past all nested tables and UpdatePanel containers */
        .documentmanagercard.drag-over *,
        .documentDropZone.drag-over * {
            pointer-events: none !important;
        }

/* ==========================================
       3. MODAL LAYER STACKING OVERRIDES
       ========================================== */
/* 🚀 CLEAN RE-STACK LAYER STRATEGY
       Ensures explicit step-by-step depth arrangements for manual multi-window wizard workflows */

#FileUploadDialog {
    z-index: 1050 !important;
}

    body > .modal-backdrop,
    #FileUploadDialog + .modal-backdrop {
        z-index: 1045 !important;
    }

#UploadProgressModal {
    z-index: 1060 !important;
}

    #UploadProgressModal + .modal-backdrop {
        z-index: 1055 !important;
    }

#UploadLimitModal {
    z-index: 1070 !important;
}

    #UploadLimitModal + .modal-backdrop {
        z-index: 1065 !important;
    }





/* When your custom Form view dialog popup opens, force the drag background overlay shield to shut down instantly */
body.modal-open .documentmanagercard.drag-over::before,
body.modal-open .documentmanagercard::before {
    display: none !important;
    pointer-events: none !important;
}

/* Ensure the dropzone container itself remains clickable and receptive inside the modal */
#FileUploadDialog {
    pointer-events: auto !important;
}

#document-dropzone {
    z-index: 100 !important;
    position: relative !important;
}


    /* ==========================================
       4. INNER MODAL DROPZONE HOVER SYSTEM
       ========================================== */
    /* Triggers seamlessly when files are pulled over the dialog form box area */
    #document-dropzone.dz-drag-hover {
        background-color: rgba(var(--vz-primary-rgb), 0.08) !important;
        border-color: rgba(var(--vz-primary-rgb), 0.8) !important;
        box-shadow: inset 0 0 12px rgba(var(--vz-primary-rgb), 0.05) !important;
        /* Adds a subtle inward pulse effect on the container canvas layout */
        transform: scale(1.005);
        transition: all 0.15s ease-in-out;
    }

        /* Direct child elements inside the inner drop box */
        #document-dropzone.dz-drag-hover .dz-message i {
            color: rgba(var(--vz-primary-rgb), 1) !important;
            transform: translateY(-2px);
            transition: transform 0.15s ease-in-out;
        }



























/* Document gallery container modifications */
.document-gallery .image-wrapper {
    height: 300px;
    overflow: hidden;
    background-color: #f8f9fa; /* Light background to fill empty spaces around documents */
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.25rem; /* Matches Bootstrap's rounded utility */
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

    /* Hover effect to show the document wrapper is clickable */
    .document-gallery .image-wrapper:hover {
        transform: translateY(-3px);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }

/* Document image adjustments */
.document-gallery .gallery-image {
    width: 100%;
    height: 100%;
    /* CHANGED: 'contain' stops text/borders from being cropped out */
    object-fit: contain;
    /* Fixes conflicts with Bootstrap's utility classes */
    max-height: 100% !important;
    max-width: 100% !important;
}






/* xtrareports viewer */

/* border of the viewer */
.dxrd-preview {
    border: 1px solid var(--vz-card-border-color);
}

/* background color on the toolbar */
.dx-designer-viewport .dxd-back-secondary-invariant {
    --vz-bg-opacity: 1;
    background-color: rgba(var(--vz-light-rgb),var(--vz-bg-opacity)) !important;
}

/* background color on the viewer */
.dx-designer-viewport .dxd-back-primary-invariant {
    background-color: var(--vz-card-bg-fill);
}

/* color of the buttons on the toolbar */
.dx-designer-viewport .dxd-icon-fill {
    fill: var(--vz-body-color);
}

/* color of the buttons on the toolbar hovering */
.dx-designer-viewport .dxd-icon-accented .dxd-icon-fill,
.dx-designer-viewport .dxd-icon-highlighted:hover .dxd-icon-fill {
    fill: var(--vz-primary);
}

/* hide report preview right toolbar */
.dxrd-right-tabs, .dx-shadow-right {
    display: none;
}



/* security */

/* ip address dot */
.ip-dot {
    right: -2px;
    bottom: 16px;
    font-size: 4px;
}

/* for the ip entry I don't want the validation message to show */
.no-validation-message .invalid-feedback {
    display: none !important;
}




/* Work Log */

.color-box {
    width: 16px;
    height: 16px;
}


/* Dashboard Module Breakdown swiper */
/* The right side panel was cut off a bit, this fixed it */
.project-swiper {
    /* Gives a tiny buffer zone on both sides so edge lines don't shave off */
    padding-left: 4px !important;
    padding-right: 4px !important;
    /* Pulls margins back out so it maintains alignment with your layout */
    margin-left: -4px !important;
    margin-right: -4px !important;
}

/* put the buttons in the right most panel at bottom */
.swiper .slider-buttons {
    position: absolute;
    bottom: 30px;
    right: 9px;
    z-index: 2;
}




/* Dashboard Calendar */

#calendar {
    min-height: calc(100vh - 370px) !important;
    margin-bottom: 20px;
}

@media (max-width: 575.98px) {
    #calendar {
        height: calc(100vh - 460px) !important;
    }
}

.fc-daygrid-body, .fc-scrollgrid-sync-table {
    height: 100% !important;
}

.fc .fc-toolbar.fc-header-toolbar {
    margin-bottom: 1em;
}

/* month year heading */
.fc .fc-toolbar h2.fc-toolbar-title {
    font-size: 20px !important;
}

.fc td {
    background-color: var(--vz-card-bg);
}

/* calendar top toolbar buttons */
.fc .fc-button {
    padding: 4px 8px !important;
    font-size: 0.85rem !important
}

.fc .fc-button .fc-icon {
    font-size: 1rem;
    line-height: 0.85rem;
}


.fc-event-title {
    font-weight: 500 !important;
}

/* this makes this event popup show on top but still under the hover info for the events */
.fc .fc-popover {
    z-index: 999 !important;
}




/* the popup over the events */
.popoverTitleCalendar {
    font-size: 16px;
}

.popoverInfoCalendar p {
    margin-bottom: 1px;
    font-size: 13px;
}

.popoverDescCalendar {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid var(--vz-border-color);
}


/* this highlights the current day on the calendar */
.fc .fc-daygrid-day.fc-day-today .fc-daygrid-day-number {
    background-color: rgba(var(--vz-warning-rgb), 0.4) !important;
    color: var(--vz-body-color);
}

.fc-day-today {
    background-color: rgba(var(--vz-warning-rgb), 0.2) !important;
}




/* extra calendar styles for titles in the events on the calendar */

/* 1. Force the native text block and dot to display */
.fc-daygrid-event .fc-event-time {
    display: inline-block !important;
    font-weight: 600 !important;
    margin-right: 6px !important;
    flex-shrink: 0 !important; /* Prevents the time string from getting compressed or squeezed out */
}

.fc-daygrid-event-dot {
    display: inline-block !important;
    margin-right: 4px !important;
    flex-shrink: 0 !important; /* Prevents the dot from flattening on small cells */
}

/* 2. Hide the previous custom generated troubleshooting span */
span.fc-event-time {
    display: none !important;
}

/* 3. Keep everything perfectly aligned in a single horizontal row */
.fc-daygrid-event {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important; /* 🌟 Adds horizontal centering */
    padding: 2px 4px !important;
    text-align: center !important; /* Fallback wrapper security */

    min-width: 0 !important; /* Allows the element to compress inside the table grid cell */
}

    /* Force the time element to match the text color applied by the theme variant */
    .fc-daygrid-event .fc-event-time {
        color: currentColor !important;
    }

/* Force the dot border element to match the text color applied by the theme variant */
.fc-daygrid-event-dot {
    border-color: currentColor !important;
}


/* keep the titles and everything inside the event block */
.fc-daygrid-event .fc-event-main,
.fc-daygrid-event .fc-event-title-container,
.fc-daygrid-event .fc-event-title {
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    min-width: 0 !important; /* Force flex items to shrink below their text contents bounds */
    display: inline-block !important; /* Breaks the flex layout string generation stretch */
}










/* Invoice section */

.invoice-logo img {
    height: 70px;
}

@media (max-width: 575.98px) {
    .invoice-logo img {
        height: 60px;
    }
}

.invoicestamp {
    height: 75px;
    position: absolute;
    top: 9px;
    right: 320px;
}

.invoicestamp.void {
    height: 120px;
    top: 4px;
}








/* puts the message alert that drops down in the center of the page above all other content, even modal dialogs (request payment in the invoice sublist is an example) */
.message-alert {
    z-index: 2000 !important;
}


/* message alert styles the icon and text properly (notify alerts in the program) */

.custom-notify-container {
    display: flex;
    align-items: flex-start; /* Aligns items to the start of the cross axis (top), so the text starts at the top of the icon's column even when it wraps */
    gap: 10px; /* Adds space between the icon and the text columns */
}

.notify-icon-col {
    /* This column will only take up as much width as its content (the icon) needs */
    flex: 0 0 auto;
}

.notify-text-col {
    flex: 1; /* This column will grow to take the remaining space and allow text to wrap within it */
}










/* Scheduler tab in the dashboard - Dispatch Jobs and Tasks */

.scheduler {
    display: flex;
    position: relative;
}

    .scheduler .task-panel {
        border: 1px solid var(--vz-border-color);
        height: calc(100vh - 292px);
        font-size: 0.9rem;
    }

    .scheduler .task-panel {
        background-color: var(--vz-card-bg);
    }

        .scheduler .task-panel.left-side {
            width: 200px;
            border-right: none !important;
            padding: 7px 4px 4px 4px;
            position: absolute;
            left: 0px;
            border-top-left-radius: var(--vz-border-radius);
            border-bottom-left-radius: var(--vz-border-radius);
        }

        .scheduler .task-panel.right-side {
            width: 100%;
            overflow: auto;
            padding: 9px 4px 4px 4px;
            white-space: nowrap;
            margin-left: 200px;
            border-top-right-radius: var(--vz-border-radius);
            border-bottom-right-radius: var(--vz-border-radius);
        }

@media (max-width: 575.98px) {
    .scheduler .task-panel.left-side {
        width: 50%;
    }

    .scheduler .task-panel.right-side {
        margin-left: 50%;
    }
}

.scheduler .left-side .simplebar-offset {
    bottom: 5px !important;
}

.scheduler .connectedSortable {
    border: 1px solid var(--vz-border-color);
    width: 180px;
    min-height: 46px;
    list-style-type: none;
    margin: 0;
    padding: 5px 0 0 0;
    float: left;
    height: 100%;
    margin-bottom: 5px;
}

.scheduler #unassigned {
    width: 100%;
    height: calc(100vh - 336px);
    border: none;
}

.scheduler li {
    margin: 0 5px 5px 5px !important;
    padding: 8px;
    font-size: 0.85rem;
    white-space: normal;
    cursor: pointer;
    list-style: none;
}

    .scheduler li i {
        font-size: 1.3em;
    }

.scheduler .alert-primary {
    --vz-alert-color: rgba(var(--vz-primary-rgb), 0.8);
}

.scheduler .right-side .alert-light {
    color: var(--vz-secondary-color) !important;
}

[data-bs-theme=light] .scheduler .alert-light {
    --vz-alert-border-color: var(--vz-border-color);
}

.scheduler .alert-danger .desc {
    text-decoration: line-through;
}

.scheduler .task-panel.right-side .ui-draggable-helper {
    background-color: transparent !important;
}

.scheduler .alert .ri-information-line {
    position: absolute;
    top: 1px;
    right: 2px;
    opacity: 0;
    font-size: 16px;
    cursor: pointer;
}

.scheduler .alert:hover .ri-information-line {
    opacity: 1;
    transition: opacity 0.3s ease-in;
    -moz-transition: opacity 0.3s ease-in;
    -webkit-transition: opacity 0.3s ease-in;
}

.tip-body {
    min-width: 200px;
}

.tip-body .data {
    font-size: 13px;
}





/* this is styles for container width hiding and showing content based on container size rather than just screen (right now only used on support ticket totals) */

.ticket-totals .card {
    container-type: inline-size; /* Queries based on the container's width */
}

@container (max-width: 480px) {
    .h-480 {
        display: none; /* Hide the child element */
    }
}

@container (max-width: 400px) {
    .h-400 {
        display: none; /* Hide the child element */
    }
}












/* signature in dark mode */

[data-bs-theme=dark] .bg-white.shaded {
    background-color: rgb(220, 220, 220) !important;
}



















/* Portal Styles - before the actual application (login, forgot password, two factor, etc ) */

.auth-one-bg {
    background-image: none; /* url(/portal/assets/images/galaxy/img-1.png);*/
    background-position: center;
    background-size: cover;
}

.auth-one-bg .bg-overlay {
    background: -webkit-gradient(linear,left top,right top,from(var(--vz-secondary-bg)),to(var(--vz-secondary-bg)));
    background: linear-gradient(to right,var(--vz-secondary-bg),var(--vz-secondary-bg));
    opacity: .6;
}



















/* not being used yet, would be styles for horizontal menus */

/* horizontal menus */
[data-layout="horizontal"] .menu-title {
    display: inherit;
}

[data-layout="horizontal"] .navbar-nav .nav-item > .nav-link > .badge {
    display: inherit;
}

[data-layout="horizontal"] .navbar-nav > .nav-item {
    margin: 0.1rem 2.5rem 0 0;
    white-space: nowrap;
}

[data-layout="horizontal"] .navbar-menu .navbar-nav .nav-link {
    padding: .75rem 1.5rem .75rem 0;
}

[data-layout="horizontal"] .navbar-nav > .nav-item:has(.nav-sm .nav-link.active) > .nav-link {
    color: var(--vz-topnav-item-active-color);
}

[data-layout="horizontal"] .navbar-nav > .nav-item > .nav-link > i {
    display: inline;
}

















/* timesheet widget on dashboard */

/* on mobile when the menus turn, get rid of side borders so its not double borders with card */
@media (max-width: 767.98px) {
    .widget .nav-item .nav-link {
        border-left: none;
        border-right: none;
    }
}

/* 1. Tell the browser to monitor the width of this card */
.timesheet-card {
    container-type: inline-size;
    width: 100%;
}

/* 2. When the CARD width goes beyond 800px, override col-4 to act like col-3 */
@container (min-width: 800px) {
    .timesheet-card .row > .col-lg-4,
    .timesheet-card .row > .col-xl-4,
    .timesheet-card .row > .col-xxl-4 {
        flex: 0 0 25% !important;
        max-width: 25% !important;
    }
}









/* data hygiene tool */

.dropdown-toggle.fix-all::after {
    margin-left: -0.1rem;
    font-size: 12px;
    position: relative;
    top: 1px;
}













/* Better no records or results for styles */

.no-data td {
    padding: 3rem 2rem 3rem 2rem !important;
    text-align: center;
}

@media (max-width: 768px) {
    .no-data td {
        padding: 2rem !important;
    }
}

.empty-state-wrapper {
    max-width: 420px;
    margin: 0 auto;
    text-align: center;
}





/* Animated Icon Container (Pinned to your preferred Custom Red) */
.icon-pulse {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    background-color: rgba(220, 53, 69, 0.1);
    border-radius: 50%;
    margin-bottom: 1.25rem;
    position: relative;
    box-sizing: border-box;
}

    .icon-pulse i {
        font-size: 32px;
        z-index: 2;
    }

    /* 🚀 THE RING: Restored back to your exact original dimensions and position */
    .icon-pulse::after {
        content: '';
        position: absolute;
        border-radius: 50%;
        z-index: 1;
        box-sizing: border-box;
    }

    /* 🚀 ACTIVE ANIMATION STATE: Ripples out from the base edge exactly like before */
    .icon-pulse:not(.pulse-off):not(:has(.pulse-off))::after {
        border: 2px solid rgba(220, 53, 69, 0.4);
        animation: ripple 4s infinite cubic-bezier(0.25, 0.46, 0.45, 0.94);
    }

    /* 🚀 STATIC FRAME STATE: Achieves a true 4px gap and uniformly enforces a soft 60% opacity look */
    .icon-pulse.pulse-off::after,
    .icon-pulse:has(.pulse-off)::after {
        /* 1. Dimensions for your high-visibility 4px gap channel space */
        width: calc(100% + 12px);
        height: calc(100% + 12px);
        top: -6px;
        left: -6px;
        /* 2. Absolute resets to ensure the ripple engine kills processing layout runs */
        animation: none !important;
        /* 3. Base fallback line style setup */
        border: 2px solid rgba(220, 53, 69, 0.4);
        /* 🚀 4. UNIVERSAL 60% OPACITY OVERRIDE: Applies directly to the element wrapper, 
           forcing the solid borders assigned by your theme modifiers down to a soft 60% visibility! */
        opacity: 0.4 !important;
    }

    /* 🎨 Variant Modifiers (Synchronizes your Velzon tokens for backgrounds, ripples, and static borders) */
    .icon-pulse.success-pulse {
        background-color: var(--vz-success-bg-subtle) !important;
    }

        .icon-pulse.success-pulse::after {
            border-color: var(--vz-success) !important;
        }

    .icon-pulse.info-pulse {
        background-color: var(--vz-info-bg-subtle) !important;
    }

        .icon-pulse.info-pulse::after {
            border-color: var(--vz-info) !important;
        }

    .icon-pulse.primary-pulse {
        background-color: var(--vz-primary-bg-subtle) !important;
    }

        .icon-pulse.primary-pulse::after {
            border-color: var(--vz-primary) !important;
        }

    .icon-pulse.secondary-pulse {
        background-color: var(--vz-secondary-bg-subtle) !important;
    }

        .icon-pulse.secondary-pulse::after {
            border-color: var(--vz-secondary) !important;
        }

    .icon-pulse.warning-pulse {
        background-color: var(--vz-warning-bg-subtle) !important;
    }

        .icon-pulse.warning-pulse::after {
            border-color: var(--vz-warning) !important;
        }

    .icon-pulse.orange-pulse {
        background-color: var(--vz-orange-bg-subtle) !important;
    }

        .icon-pulse.orange-pulse::after {
            border-color: var(--vz-orange) !important;
        }

.empty-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0 0 0.5rem 0;
}

.empty-subtitle {
    color: var(--vz-secondary-color) !important;
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0 0 1.5rem 0;
}

/* 🚀 ORIGINAL KEYFRAME BLOCK: Kept 100% untouched so the ripple starts exactly at the background baseline */
@keyframes ripple {
    0% {
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
        opacity: 1;
    }

    100% {
        width: 150%;
        height: 150%;
        top: -25%;
        left: -25%;
        opacity: 0;
    }
}










/* no data styles for the small widgets */

.empty-state-wrapper.widget {
    max-width: 300px;
}

.widget .icon-pulse {
    width: 48px;
    height: 48px;
    margin-bottom: 1rem;
}

.widget .icon-pulse i {
    font-size: 26px;
}

.widget .empty-title {
    font-size: 1.05rem;
}

.widget .empty-subtitle {
    font-size: 0.75rem;
}



/* upgrade to the add button on tables */

.btn-header {
    padding: 0.25rem 0.35rem;
    line-height: 1rem;
    font-size: 20px;
}



    /* ==========================================================================
   Reusable Shimmer Hover Effect (Does not affect size or layout)
   ========================================================================== */
    /* 1. Base requirements for the effect & perfect inner icon alignment */
    .btn-shimmer {
        position: relative;
        overflow: hidden;
        z-index: 1;
        /* Fixes vertical alignment for text and icons inside the button */
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    /* 2. Embedded Shimmer Reflection Matrix */
    .btn-shimmer::after {
        content: '';
        position: absolute;
        top: 0;
        left: -150%;
        width: 45%;
        height: 100%;
        background: linear-gradient( 90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.35) 50%, rgba(255, 255, 255, 0) 100% );
        transform: skewX(-20deg);
        pointer-events: none; /* Prevents the shimmer from interfering with clicks */
    }

    /* 3. Interactive Shimmer Trigger */
    .btn-shimmer:hover::after {
        left: 150%;
        transition: left 0.65s ease-in-out;
    }







/* project types color swatch */

.color-swatch-project {
    width: 36px;
    height: 36px;
    padding: 3px !important;
}

    .color-swatch-project .color {
        width: 28px;
        height: 28px;
    }


















/* These tab panels are using in the inventory system */
/* Unselected/Baseline Grid Panel Style */
.dark-panel-tab {
    background-color: var(--vz-secondary-bg) !important;
    border-radius: 6px !important;
    border: 1px solid var(--vz-border-color) !important;
    color: var(--vz-muted-color, #878a99) !important; /* Force strict text-muted default */
    transition: none !important;
}

    /* Force text layout blocks to stay muted dynamically when unselected */
    .dark-panel-tab .step-heading {
        color: var(--vz-muted-color, #878a99) !important;
        transition: none !important;
    }

    /* Unselected Circular Icon Background styling */
    .dark-panel-tab .step-icon-box {
        background-color: var(--vz-light) !important;
        color: var(--vz-muted-color, #878a99) !important;
        transition: none !important;
    }

    /* Hard-disable any child layout text animations or delays entirely */
    .dark-panel-tab h5,
    .dark-panel-tab p,
    .dark-panel-tab i,
    .dark-panel-tab span {
        transition: none !important;
    }

    /* ==========================================================================
   Clean Flat Hover Highlighting (No inner shifting or background swapping)
   ========================================================================== */
    .dark-panel-tab:hover:not(.active) {
        background-color: var(--vz-light) !important;
        color: var(--vz-muted-color, #878a99) !important;
        transition: none !important;
    }

    /* ==========================================================================
   Active State Design (Flipped entirely with zero delay by native CSS)
   ========================================================================== */
    .dark-panel-tab.active {
        background-color: rgba(var(--vz-primary-rgb), 0.18) !important; /* Darkened soft-primary mix */
        border: 1px solid rgba(var(--vz-primary-rgb), 0.35) !important;
        color: var(--vz-body-color, #495057) !important; /* Promotes baseline text to main body color */
        box-shadow: 0 0 12px rgba(var(--vz-primary-rgb), 0.3) !important;
        transition: none !important;
    }

        /* Active Heading Switch */
        .dark-panel-tab.active .step-heading {
            color: var(--vz-body-color, #495057) !important;
        }

        /* FIX: Active Icon Box Switch -> Forces Velzon background color metrics back on selection */
        .dark-panel-tab.active .step-icon-box {
            background-color: rgba(var(--vz-primary-rgb), 0.12) !important; /* Fallback native soft primary layout mix */
            background: var(--bs-primary-bg-subtle, rgba(var(--vz-primary-rgb), 0.12)) !important; /* Maps directly to template tokens */
            color: var(--vz-primary) !important; /* Vivid theme accent icon fill color */
        }












/* new menu system for item pages */

/* Container framework wrapper properties mapped directly to the parent layout class */
ul.custom-flashy-tabs {
    background-color: var(--vz-card-bg) !important;
    border: 1px solid var(--vz-border-color) !important;
    border-radius: var(--vz-border-radius) !important;
    padding: 0.175rem 0.2rem 0.25rem 0.2rem !important;
    width: 100% !important;
    overflow-x: auto !important;
}

    /* Custom layout horizontal scrollbar tracking configuration */
    ul.custom-flashy-tabs::-webkit-scrollbar {
        height: 4px;
    }

    ul.custom-flashy-tabs::-webkit-scrollbar-thumb {
        background-color: rgba(var(--vz-primary-rgb), 0.3);
        border-radius: 4px;
    }

    ul.custom-flashy-tabs .nav-item:empty {
        display: none !important;
    }

    /* Core Link Settings Override - Resets baseline shapes instantly */
    ul.custom-flashy-tabs .nav-link {
        display: flex !important;
        align-items: center !important;
        gap: 0.35rem !important; /* Perfect gap configuration for clean text & icon alignment */
        padding: 0.4rem 1.1rem !important;
        color: rgba(var(--vz-body-color-rgb), 0.75) !important; /* Strict text-muted default color baseline */
        white-space: nowrap !important;
        border-radius: 3px !important;
        border: 1px solid transparent !important;
        background: transparent !important;
        transition: none !important;
    }

        /* Forces any generated container divs or raw spans to turn into a clean tight flex grid (ASP.NET UpdatePanels) */
        ul.custom-flashy-tabs .nav-link div,
        ul.custom-flashy-tabs .nav-link span
        {
            display: flex !important;
            align-items: center !important;
            gap: 0.35rem !important;
            color: inherit !important;
            font-weight: inherit !important;
            transition: none !important;
        }

        /* Core Icon Override: Strips inline padding and hard codes size to a crisp 18px */
        ul.custom-flashy-tabs .nav-link i, .nav-tabs-dropdown i {
            font-size: 20px !important;
            padding: 0 !important;
            margin: 0 !important;
            transition: none !important;
            color: inherit !important; /* THIS SUPPRESSES THE COLOR ICON FOR NOW - JM NOV 1 2026 */
        }

        ul.custom-flashy-tabs .nav-link i  {
            line-height: 1.85rem;
            position: relative;
            top: -1px;
        }


.active-tab-placeholder i {
    position: relative;
    top: -1px;
}

.active-tab-placeholder i {
    /* line-height: 1.6rem;*/
}

        ul.custom-flashy-tabs .nav-link:not(.active) i {
            color: inherit !important;
        }

        .nav-tabs-dropdown .active-tab-placeholder,
        .nav-tabs-dropdown .active-tab-placeholder div {
            display: flex !important;
            align-items: center !important;
            gap: 0.35rem !important;
            color: inherit !important;
            font-weight: inherit !important;
            transition: none !important;
        }

            .nav-tabs-dropdown .active-tab-placeholder .me-1 {
                margin-right: 0 !important;
            }

        /* Text spans matching text color alignment properties */
        ul.custom-flashy-tabs .nav-link .tab-name {
            padding: 0 !important;
            margin: 0 !important;
        }

        /* Strict Hover Rules: Keeps everything muted layout appearance on hover */
        ul.custom-flashy-tabs .nav-link:hover:not(.active) {
            background-color: var(--vz-light) !important;
            color: var(--vz-body-color) !important;
            transition: none !important;
        }

        /* Badge Layout Customization: Beautifully round for single digits, clean pill for double digits */
        ul.custom-flashy-tabs .nav-link .badge {
            display: inline-block !important;
            vertical-align: middle !important;
            text-align: center !important;
            padding: 0.3rem 0.5rem !important;
            line-height: 1.25 !important;
            min-width: 1.7rem !important; /* Forces symmetrical circles on lone single integers */
            height: auto !important;
            opacity: 1 !important; /* Immunizes badge from inheriting parent link transparency dims */
            filter: none !important;
            color: #fff !important;
            font-weight: 600 !important;
            margin: 0 0 0 1px !important;
        }

            /* Absolute zero-footprint fallback override rule that kills layout formatting if the dynamic counter string is empty or blank */
            ul.custom-flashy-tabs .nav-link .badge:empty {
                display: none !important;
            }

        /* Active State Design - Triggers immediate selection shifts with a gorgeous primary ambient glow shadow */
        ul.custom-flashy-tabs .nav-link.active, .nav-tabs-dropdown {
            background-color: rgba(var(--vz-primary-rgb), 0.18) !important; /* Darkened soft-primary mix formulation */
            border: 1px solid rgba(var(--vz-primary-rgb), 0.35) !important;
            color: var(--vz-body-color, #495057) !important; /* Promotes font items to crisp dark body visibility instantly */
            box-shadow: 0 0 12px rgba(var(--vz-primary-rgb), 0.3) !important;
            transition: none !important;
        }


        ul.custom-flashy-tabs .las {
            position: relative;
            top: -1px;
        }


.nav-link.active .badge.bg-primary {
    box-shadow: 0 0 12px rgba(var(--vz-primary-rgb), 0.4) !important;
}
.nav-link.active .badge.bg-secondary {
    box-shadow: 0 0 12px rgba(var(--vz-secondary-rgb), 0.4) !important;
}
.nav-link.active .badge.bg-success {
    box-shadow: 0 0 12px rgba(var(--vz-success-rgb), 0.4) !important;
}
.nav-link.active .badge.bg-danger {
    box-shadow: 0 0 12px rgba(var(--vz-danger-rgb), 0.4) !important;
}
.nav-link.active .badge.bg-info {
    box-shadow: 0 0 12px rgba(var(--vz-info-rgb), 0.4) !important;
}
.nav-link.active .badge.bg-warning {
    box-shadow: 0 0 12px rgba(var(--vz-warning-rgb), 0.4) !important;
}
.nav-link.active .badge.bg-orange {
    box-shadow: 0 0 12px rgba(var(--vz-orange-rgb), 0.4) !important;
}








        /* license plate for vehicles */

.licenseplate {
    font-size: 12px;
    padding: 0.2rem 0.4rem !important;
    line-height: 1.25 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.6px !important;
}








/* This is for my custom error pages */

/* Mirroring modal properties over to the custom error layout cards */
.error-card-container {
    --vz-glow-color: var(--vz-danger-rgb); /* Fallback */
}

    .error-card-container .card {
        position: relative;
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1), 0 0 25px rgba(var(--vz-glow-color), 0.25), -1px 0 0 var(--vz-border-color), 1px 0 0 var(--vz-border-color), 0 1px 0 var(--vz-border-color) !important;
        border: none !important;
        border-radius: var(--vz-border-radius);
    }

        .error-card-container .card::before {
            display: none !important;
        }

        .error-card-container .card::after {
            display: none !important;
        }

        .error-card-container .card .topstrip {
            position: absolute;
            top: 0;
            left: -1px;
            width: calc(100% + 2px);
            height: 6px;
            z-index: 10;
            margin: 0;
            border-top-left-radius: var(--vz-border-radius);
            border-top-right-radius: var(--vz-border-radius);
        }

    /* Explicit Glow Mappings matching your layout utility classes */
    .error-card-container:has(.topstrip.bg-danger) {
        --vz-glow-color: var(--vz-danger-rgb);
    }

    .error-card-container:has(.topstrip.bg-warning) {
        --vz-glow-color: var(--vz-warning-rgb);
    }

    .error-card-container:has(.topstrip.bg-primary) {
        --vz-glow-color: var(--vz-primary-rgb);
    }



    /* This is for the maintenance page */

/* Engineering blue/slate glow wrapper for dark-theme maintenance layout */
.maintenance-panel-wrapper {
    --vz-maintenance-rgb: 97, 175, 239; /* Premium slate blue */
}

    .maintenance-panel-wrapper .card {
        position: relative;
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 30px rgba(var(--vz-maintenance-rgb), 0.15), -1px 0 0 var(--vz-border-color), 1px 0 0 var(--vz-border-color), 0 1px 0 var(--vz-border-color) !important;
        border: none !important;
        border-radius: var(--vz-border-radius);
    }

        .maintenance-panel-wrapper .card::before {
            display: none !important;
        }

        .maintenance-panel-wrapper .card::after {
            display: none !important;
        }

        .maintenance-panel-wrapper .card .topstrip {
            position: absolute;
            top: 0;
            left: -1px;
            width: calc(100% + 2px);
            height: 6px;
            z-index: 10;
            margin: 0;
            border-top-left-radius: var(--vz-border-radius);
            border-top-right-radius: var(--vz-border-radius);
        }










/* time picker for flatpickr */

/* ==========================================================================
   CUSTOM SEMANTIC TIME PICKER COMPONENT (Globally Protected & Self-Contained)
   ========================================================================== */

/* --- 1. MAIN INTERFACE CONFIGURATIONS & PRESETS --- */
input.timepicker,
.form-icon:has(input.timepicker) {
    max-width: 280px !important;
    width: 100% !important;
}

input.timepicker {
    outline: none;
    cursor: pointer;
}

/* Forces standard validation messages to break cleanly beneath inputs */
.form-group label.error,
.form-icon label.error {
    display: block !important;
    width: 100% !important;
    margin-top: 0.35rem !important;
    font-size: 0.825em !important;
    color: #dc3545 !important;
    font-weight: 500;
}

/* ==========================================================================
   2. RE-ENGINEERED PANEL SHELL AND DECK LAYOUTS
   ========================================================================== */
.flatpickr-calendar.hasTime.noCalendar .flatpickr-time {
    max-height: 210px !important;

    padding: 0 !important;
    position: relative !important;
    border-top: none !important;
    border-radius: 0 !important;
    float: none !important;
}

    /* HIDE FLATPICKR'S NATIVE INPUT GROUPS */
    .flatpickr-calendar.hasTime.noCalendar .flatpickr-time > .numInputWrapper,
    .flatpickr-calendar.hasTime.noCalendar .flatpickr-time > .flatpickr-am-pm,
    .flatpickr-calendar.hasTime.noCalendar .flatpickr-time-separator {
        display: none !important;
    }

/* Custom timepicker layout board deck layer shell */
.custom-timepicker-deck {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    height: 100% !important;
    padding: 10px !important;
    box-sizing: border-box !important;
}

/* Upper panel selector row */
.timepicker-wheel-row {
    display: flex !important;
    width: 100% !important;
    height: 140px !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 6px !important;
}

.timepicker-column {
    display: flex;
    flex-direction: column;
    flex: 1 1 0%;
    height: 100%;
    justify-content: space-between;
    align-items: center;
}

    /* Anti-jitter structural typography heading elements */
    .timepicker-column .timepicker-label {
        font-size: 11px !important;
        font-weight: 700 !important;
        text-transform: uppercase !important;
        color: var(--vz-muted, #878a99) !important;
        text-align: center !important;
        user-select: none !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        height: 20px !important;
        max-height: 20px !important;
        line-height: 20px !important;
        margin: 0 !important;
        padding: 0 !important;
        width: 100% !important;
        overflow: hidden !important;
    }

        .timepicker-column .timepicker-label .step-indicator {
            font-size: 10px !important;
            opacity: 0.65 !important;
            text-transform: lowercase !important;
            margin-left: 4px !important;
        }

    /* Large custom tap target action square controls */
    .timepicker-column .btn-timepicker-action {
        width: 100%;
        height: 48px;
        border: 1px solid var(--vz-border-color, #e9ebec);
        background: rgba(var(--vz-primary-rgb, 64, 125, 237), 0.04);
        border-radius: 4px;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: all 0.15s ease-in-out;
    }

        .timepicker-column .btn-timepicker-action i {
            font-size: 22px;
            color: var(--vz-primary, #407ded);
            font-weight: bold;
        }

        .timepicker-column .btn-timepicker-action:hover {
            background: var(--vz-primary, #407ded);
        }

            .timepicker-column .btn-timepicker-action:hover i {
                color: #fff !important;
            }

/* Central colon vector layout divider block */
.timepicker-separator {
    font-size: 28px;
    font-weight: 800;
    color: var(--vz-border-color, #a0a0a0);
    padding-bottom: 5px;
    user-select: none;
    flex: 0 0 10px;
    text-align: center;
}

/* AM/PM Column Panel Layout Bounds */
.ampm-col {
    flex: 1.2 1 0% !important;
}

    .ampm-col .btn-timepicker-ampm {
        width: 100%;
        height: 100%;
        border: 1px solid var(--vz-border-color, #e9ebec);
        background: rgba(var(--vz-primary-rgb, 64, 125, 237), 0.08);
        color: var(--vz-primary, #407ded);
        font-size: 18px;
        font-weight: 800;
        border-radius: 4px;
        cursor: pointer;
        transition: all 0.15s ease-in-out;
        display: flex;
        align-items: center;
        justify-content: center;
    }

        .ampm-col .btn-timepicker-ampm:hover {
            background: var(--vz-primary, #407ded);
            color: #fff;
        }

/* ==========================================================================
   3. INTEGRATED BOTTOM TOOLBAR STYLING LAYOUT PARAMETERS
   ========================================================================== */

/* The dividing rule breaking selectors from utility buttons */
.timepicker-toolbar-divider {
    width: calc(100% + 20px) !important;
    margin-left: -10px !important;
    height: 1px !important;
    background-color: var(--vz-border-color, #e9ebec) !important;
    margin-top: 10px !important;
    margin-bottom: 10px !important;
    flex-shrink: 0;
}

/* The horizontal lower row container shell */
.timepicker-toolbar-row {
    display: flex !important;
    width: 100% !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 8px !important;
    flex-shrink: 0;
    margin: -2px 0px -2px 0px;
}

    /* Your custom cross-browser baseline layout alignment fixes */
    .timepicker-toolbar-row .btn-timepicker-toolbar {
        flex: 1 1 0%;
        font-size: 11px;
        font-weight: 600 !important;
        text-transform: uppercase;
        cursor: pointer;
        transition: all 0.15s ease;
        white-space: nowrap;
    }

        .timepicker-toolbar-row .btn-timepicker-toolbar i {
            font-size: 18px !important;
            font-weight: 500 !important;
            position: relative !important;
            top: 0.025rem !important; /* Your precise icon offset fix */
        }



/* ==========================================================================
   4. CARD POPOVER MASTER CONFIGURATION
   ========================================================================== */
.flatpickr-calendar.hasTime.noCalendar {
    width: 100% !important;
    max-width: 280px !important;
    min-width: 260px !important;
    border-radius: 5px !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.12) !important;
    border: 1px solid var(--vz-border-color, #e9ebec) !important;
    padding: 0 !important;
}



