
a {
    color: rgb(8, 43, 125);
}

main .content- {
    background: #8ca2ce1f;
}

.main-content,
[data-bs-theme="light"]{
    background: #e6edee !important;
}


.footer {
    height: 3rem;
}

.navbar-vertical .navbar-vertical-footer {
    height: 3rem;
}

.form-label {
    padding-left: 0;
}


.select2-container--default .select2-selection--single {
    height: auto !important;
}

.select2-container {
    width: 100% !important;
    min-width: 10em !important;
}

.select2-container {
    z-index: 10;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 20px !important;
}

.select2-container--open {
    z-index: 9999;
}

.flatpickr-calendar.open {
    z-index: 1052;
}

.dropdown-menu {
    z-index: 1060;
}

.card.card-brand {
    border-radius: 0.25rem !important;
    border-top: 2px solid var(--phoenix-dark-bg-subtle);
}

.card.card-brand .card-header {
    border-bottom: 1px solid var(--phoenix-light-bg-subtle);
    background-color: var(--phoenix-light-bg-subtle);
    padding: 12px 25px;
    border-radius: 0.25rem !important;
}

.card.card-brand > .card-header h4 {
    font-size: 17px;
    margin-bottom: 0;
}

.table > tbody > tr > td:first-child,
.table > thead > tr > th:first-child {
    padding-left: 1.5rem;
}

.table > tbody > tr > td:last-child,
.table > thead > tr > th:last-child {
    padding-right: 1.5rem;
}

.table-container > nav {
    padding-top: 1rem;
}

.page-actions {
    margin-bottom: 1rem;
}

.table > tbody > tr > td > .page-actions {
    margin-bottom: 0;
}

.table > tbody > tr > td > .page-actions .btn {
    padding: 0.15rem 0.45rem;
}

/* -- Sidebar theme -- */
.app-menu.navbar-menu {
    background: #075860;
}

.app-menu .navbar-brand-box {
    background: #064a52;
}

.app-menu .navbar-brand-box .logo-lg span,
.app-menu .navbar-brand-box .logo-sm span {
    color: #fff !important;
}

.app-menu .navbar-brand-box .logo-lg {
    text-align: left;
    line-height: 1;
    padding: 0.75rem 0;
}

.app-menu .navbar-nav .menu-title span {
    color: rgba(255, 255, 255, 0.5);
}

.app-menu .navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.875rem;
}

.app-menu .navbar-nav .nav-link:hover {
    color: #fff;
}

.app-menu .navbar-nav .nav-link.active {
    color: #f2c415;
}

.app-menu .navbar-nav .nav-link i {
    color: rgba(255, 255, 255, 0.6);
}

.app-menu .navbar-nav .nav-link.active i {
    color: #f2c415;
}

.app-menu .navbar-nav .nav-sm .nav-link {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.8125rem;
}

.app-menu .navbar-nav .nav-sm .nav-link:hover {
    color: #fff;
}

.app-menu .navbar-nav .nav-sm .nav-link.active {
    color: #f2c415;
}

.app-menu .sidebar-background {
    background: none;
}

[data-sidebar="dark"] .navbar-menu {
    background: #075860 !important;
}

#div_id_image legend {
    font-size: 0.9rem;
}

.accordion-button:not(.collapsed) {
    background-color: #fff;
    border-bottom: 1px solid #eee;
}

.popup .main-content {
    margin-left: 0;
}

.popup .page-content {
    padding: 1.5rem 0 0 ;
}

.popup .page-title-right {
    display: none;
}

.form-control.readonly {
    border: 1px solid #eee;
    cursor: default;
    /*padding-left: 0;*/
    /*right: 0;*/
}

.bg-secondary {
    background-color: #6c757d !important;
}

[data-layout="twocolumn"] .twocolumn-iconview .nav-icon {
  display: inline-grid;
}

[data-layout="twocolumn"] .twocolumn-iconview {
    background: #064a52 !important;
    width: 80px;
    padding-bottom: 10px;
}

/* the core group (first item carries the divider) sits at the foot of the rail; with no free
   space the auto margin collapses and the icons simply stack as before. app.js wraps the rail
   in SimpleBar, so the flex container is its content element, not the ul */
[data-layout="twocolumn"] .twocolumn-iconview .simplebar-content {
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

[data-layout="twocolumn"] .twocolumn-iconview li:has(> .menu-rail-divider) {
    margin-top: auto;
}

/* a rule across the icon rail above the first core item (Organization), separating the
   always-present shell from the module groups; the anchor is moved into the rail by app.js
   so the class rides along, whereas an <li> in #navbar-nav never reaches it */
[data-layout="twocolumn"] .twocolumn-iconview .nav-icon.menu-rail-divider {
    position: relative;
    margin-top: 16px;
}

/* edge to edge across the 80px rail: the anchor is narrower and centred, so the overhang on
   each side is half the difference */
[data-layout="twocolumn"] .twocolumn-iconview .nav-icon.menu-rail-divider::before {
    content: '';
    position: absolute;
    top: -10px;
    left: calc((100% - 80px) / 2);
    right: calc((100% - 80px) / 2);
    border-top: 1px solid rgba(255, 255, 255, .22);
}

#logo-floating-menu {
    position: fixed;
    z-index: 9999;
}

.select2-container .select2-selection--multiple .select2-selection__choice {
  color: #333;
}

.field-mb-0 {
  margin-bottom: 0 !important;
}

.btn-xs {
    padding: 0.1rem 0.3rem;
    font-size: 0.7rem;
    line-height: 1.4;
    border-radius: 0.2rem;
}

/* stock card (dsh_items/includes/stock_card.html) */
.fact-group { display: flex; flex-direction: column; }
.fact { padding: .5rem 0; border-bottom: 1px solid #eef0f2; }
.fact:last-child { border-bottom: none; padding-bottom: 0; }
.fact:first-child { padding-top: 0; }
.fact .label { font-size: .65rem; color: #97a1ad; text-transform: uppercase; letter-spacing: .04em; margin-bottom: .1rem; }
.fact .value { font-size: .85rem; font-weight: 700; color: #343a40; line-height: 1.2; }
.fact .value.muted { font-weight: 400; color: #97a1ad; font-style: italic; }

.locations-line { font-size: .8rem; color: #495057; line-height: 1.6; margin-top: .35rem; }
.locations-line .qty { font-weight: 700; color: #343a40; font-variant-numeric: tabular-nums; }
.locations-line .sep { color: #adb5bd; }

.card-overview {
  border-left: 3px solid #28a745;
  border-top: 1px solid #c3e6cb;
  border-right: 1px solid #c3e6cb;
  border-bottom: 1px solid #c3e6cb;
  border-radius: 0;
  background-color: #fefefe;
}

span.helptext {
  display: block;
  font-size: 0.8em;
  color: var(--bs-secondary-color);
  margin-top: 0.2rem;
}

.kcms-gallery-folder {
    width: 92px;
}

.kcms-gallery-folder-shape {
    position: relative;
    height: 68px;
    background: #fff;
    border: 1px solid #dfe3ea;
    border-radius: 0 .35rem .35rem .35rem;
    overflow: hidden;
}

.kcms-gallery-folder-shape::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 0;
    width: 42px;
    height: 10px;
    background: #fff;
    border: 1px solid #dfe3ea;
    border-bottom: none;
    border-radius: .35rem .35rem 0 0;
}

.kcms-gallery-folder-grid {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 1px;
}

.kcms-gallery-folder-grid img,
.kcms-gallery-folder-grid .no-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.kcms-gallery-folder-grid .single {
    grid-column: span 2;
    grid-row: span 2;
}

.kcms-add-zone {
    border: 1px dashed #c8ced6;
    border-radius: .6rem;
    background: #fafbfc;
}

.kcms-section-header {
    background: #064a52;
    color: #ffffff;
}

.topbar-add-menu {
    min-width: 500px;
}

@media (max-width: 767.98px) {
    .topbar-add-menu {
        min-width: 320px;
    }
}

/* Checkout "Store · Date · Currency" collapse toggle — rotate the caret when expanded */
[data-bs-target="#checkout-more"] .ri-arrow-down-s-line {
    transition: transform .15s ease;
}
[data-bs-target="#checkout-more"][aria-expanded="true"] .ri-arrow-down-s-line {
    transform: rotate(180deg);
}

/* Fund Plan "Fund Activity" cards — collapse toggle cursor + chevron rotate */
.fundbox-toggle {
    cursor: pointer;
}
.fundbox-toggle .fundbox-chevron {
    transition: transform .15s ease;
}
.fundbox-toggle[aria-expanded="true"] .fundbox-chevron {
    transform: rotate(180deg);
}

/* CollapsedSection ("More options" toggles across dsh_entities/dsh_items/dsh_jobcard/dsh_configs
   forms) — accordion-card style: filled header bar + bordered body, no border-radius. */
.collapsed-section-header {
    padding: .65rem 1rem;
    background: #eef1f5;
    cursor: pointer;
    user-select: none;
}
.collapsed-section-header:hover {
    background: #e4e9f0;
}
.collapsed-section-title {
    font-weight: 600;
    font-size: .85rem;
    color: #232a35;
}
.collapsed-section-count {
    font-size: .68rem;
    background: #d7ddf3;
    color: #3a4a8f;
}
.collapsed-section-chevron {
    transition: transform .15s ease;
}
.collapsed-section-header[aria-expanded="true"] .collapsed-section-chevron {
    transform: rotate(180deg);
}
.collapsed-section-body {
    border: 1px solid #eef1f5;
    border-top: none;
    padding: 1rem;
}

.app-menu .navbar-nav .nav-sm .nav-link.menu-config {
    display: flex;
    align-items: center;
    margin-top: .5rem;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .04em;
    font-weight: 600;
    opacity: .75;
}
.app-menu .navbar-nav .nav-sm .nav-link.menu-config:hover {
    opacity: 1;
}
.app-menu .navbar-nav .nav-sm .nav-link.menu-config .menu-config-icon {
    margin-left: auto;
    margin-right: .4rem;
    font-size: 13px;
}


/* Catalog item picker on the unit form (see .claude/specs/item_identity.md) */
.item-search {
    position: relative;
}
.item-search input {
    padding-left: 2rem;
}
.item-search-icon {
    position: absolute;
    left: .65rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--vz-secondary-color);
}
.item-search-results {
    border: 1px solid var(--vz-border-color);
    border-top: 0;
    max-height: 260px;
    overflow-y: auto;
    display: none;
}
.item-search-results.open {
    display: block;
}
.item-search-result {
    padding: .5rem .75rem;
    cursor: pointer;
    border-bottom: 1px solid var(--vz-border-color);
    display: flex;
    align-items: center;
    gap: .6rem;
}
.item-search-result:last-child {
    border-bottom: 0;
}
.item-search-result:hover {
    background: var(--vz-light);
}
.item-search-result .item-search-meta {
    font-size: .75rem;
    color: var(--vz-secondary-color);
}
.item-search-result .item-search-units {
    margin-left: auto;
    font-size: .75rem;
    color: var(--vz-secondary-color);
    white-space: nowrap;
}
.or-divider {
    display: flex;
    align-items: center;
    gap: .85rem;
    margin-top: 1rem;
    color: var(--vz-secondary-color);
    font-size: .9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .1em;
}
.or-divider::before,
.or-divider::after {
    content: '';
    flex: 1;
    border-top: 1px solid var(--vz-border-color);
}
.item-card {
    border: 1px solid var(--vz-border-color);
    margin-top: 1rem;
    margin-bottom: 1.5rem;
}
.item-card-bar {
    display: flex;
    align-items: center;
    gap: .5rem;
    padding: .5rem .8rem;
    border-bottom: 1px solid var(--vz-border-color);
    background: var(--vz-light);
    font-size: .8125rem;
}
.item-card-bar .item-card-title {
    font-weight: 600;
}
.item-card-bar .item-card-actions {
    margin-left: auto;
}
.item-card-body {
    padding: .85rem .9rem 0;
}
.item-card-hint {
    font-size: .78rem;
    color: var(--vz-secondary-color);
    padding-bottom: .85rem;
}

/* Service Setup: fixed box so a wide or tall logo previews at a stable size */
.srv-logo-preview {
    width: 160px;
    height: 96px;
}

/* Drag-to-reorder handle on sortable tiles (images list) */
.kcrud-sortable-tiles .kcrud-drag-handle {
    cursor: grab;
    user-select: none;
}

/* Settings › Templates › Documents: design thumbnails drawn in the document colour (--doc-accent) */
.doc-design {
    width: 120px;
}
.doc-design-thumb {
    position: relative;
    display: block;
    width: 120px;
    height: 170px;
    background: #fff;
    border: 1px solid var(--vz-border-color);
}
.doc-design-thumb:hover {
    border-color: var(--vz-secondary-color);
}
.doc-design:has(input:checked) .doc-design-thumb {
    border-color: var(--vz-success);
    box-shadow: 0 0 0 2px var(--vz-success);
}
.doc-design-thumb > span {
    position: absolute;
    display: block;
}
.doc-design-thumb .tc-logo { top: 10px; left: 9px; width: 14px; height: 14px; background: var(--doc-accent, #1f3a5f); }
.doc-design-thumb .tc-name { top: 11px; left: 27px; width: 40px; height: 4px; background: #5b6472; }
.doc-design-thumb .tc-tag { top: 18px; left: 27px; width: 28px; height: 3px; background: #d6dbe1; }
.doc-design-thumb .tc-contact { top: 23px; left: 27px; width: 44px; height: 3px; background: #d6dbe1; }
.doc-design-thumb .tc-title { top: 11px; right: 9px; width: 24px; height: 3px; background: var(--doc-accent, #1f3a5f); }
.doc-design-thumb .tc-meta { top: 17px; right: 9px; width: 16px; height: 3px; background: #d6dbe1; }
.doc-design-thumb .tc-rule { top: 33px; left: 9px; right: 9px; height: 1px; background: var(--doc-accent, #1f3a5f); }
.doc-design-thumb .tc-info { top: 39px; left: 9px; width: 62px; height: 6px; background: repeating-linear-gradient(90deg, #d6dbe1 0 16px, transparent 16px 23px); }
.doc-design-thumb .tc-head { top: 53px; left: 9px; right: 9px; height: 7px; background: var(--doc-accent, #1f3a5f); }
.doc-design-thumb .tc-rows { top: 60px; left: 9px; right: 9px; height: 56px; background: repeating-linear-gradient(#fff 0 7px, #f3f5f8 7px 14px); }
.doc-design-thumb .tc-total { top: 122px; right: 9px; width: 38px; height: 7px; background: var(--doc-accent, #1f3a5f); }
.doc-design-thumb .tc-foot { bottom: 24px; left: 9px; right: 9px; height: 1px; background: #e3e6ea; }
.doc-design-thumb .tc-barcode { bottom: 12px; left: 9px; width: 30px; height: 8px; background: repeating-linear-gradient(90deg, #3b4250 0 1px, transparent 1px 3px); }
.doc-design-thumb .tc-page { bottom: 16px; right: 9px; width: 18px; height: 3px; background: #5b6472; }
.doc-design-thumb .tb-band { top: 6px; left: 6px; right: 6px; height: 34px; background: color-mix(in srgb, var(--doc-accent, #1f3a5f) 8%, #fff); }
.doc-design-thumb .tb-logo { top: 11px; left: 11px; width: 12px; height: 12px; background: var(--doc-accent, #1f3a5f); }
.doc-design-thumb .tb-name { top: 12px; left: 27px; width: 36px; height: 4px; background: #5b6472; }
.doc-design-thumb .tb-tag { top: 19px; left: 27px; width: 24px; height: 3px; background: #d6dbe1; }
.doc-design-thumb .tb-title { top: 12px; right: 11px; width: 26px; height: 4px; background: color-mix(in srgb, var(--doc-accent, #1f3a5f) 75%, #000); }
.doc-design-thumb .tb-meta { top: 19px; right: 11px; width: 16px; height: 3px; background: #d6dbe1; }
.doc-design-thumb .tb-strip { top: 32px; left: 11px; width: 80px; height: 3px; background: color-mix(in srgb, var(--doc-accent, #1f3a5f) 45%, #fff); }
.doc-design-thumb .tb-info { top: 47px; left: 6px; width: 62px; height: 6px; background: repeating-linear-gradient(90deg, #d6dbe1 0 16px, transparent 16px 23px); }
.doc-design-thumb .tb-head { top: 62px; left: 6px; right: 6px; height: 2px; background: var(--doc-accent, #1f3a5f); }
.doc-design-thumb .tb-rows { top: 64px; left: 6px; right: 6px; height: 54px; background: repeating-linear-gradient(transparent 0 8px, #e3e6ea 8px 9px); }
.doc-design-thumb .tb-total { top: 122px; right: 6px; width: 40px; height: 8px; background: color-mix(in srgb, var(--doc-accent, #1f3a5f) 8%, #fff); }
.doc-design-thumb .tb-foot { bottom: 10px; left: 6px; right: 6px; height: 18px; background: color-mix(in srgb, var(--doc-accent, #1f3a5f) 8%, #fff); }
.doc-design-thumb .tb-barcode { bottom: 15px; left: 11px; width: 28px; height: 8px; background: repeating-linear-gradient(90deg, #3b4250 0 1px, transparent 1px 3px); }
.doc-design-thumb .tb-page { bottom: 20px; right: 11px; width: 16px; height: 3px; background: #5b6472; }
.doc-design-thumb .te-logo { top: 10px; left: 11px; width: 9px; height: 9px; border: 1px solid #1c1917; }
.doc-design-thumb .te-name { top: 11px; left: 24px; width: 34px; height: 4px; background: #1c1917; }
.doc-design-thumb .te-contact { top: 11px; right: 11px; width: 30px; height: 6px; background: repeating-linear-gradient(#d6d3d1 0 2px, transparent 2px 4px); }
.doc-design-thumb .te-title { top: 32px; left: 11px; width: 62px; height: 9px; background: #1c1917; }
.doc-design-thumb .te-dot { top: 38px; left: 75px; width: 3px; height: 3px; background: var(--doc-accent, #1f3a5f); }
.doc-design-thumb .te-meta { top: 47px; left: 11px; right: 11px; height: 9px; border-top: 1px solid #1c1917; border-bottom: 1px solid #e7e5e4; }
.doc-design-thumb .te-info { top: 62px; left: 11px; width: 60px; height: 6px; background: repeating-linear-gradient(90deg, #d6d3d1 0 16px, transparent 16px 23px); }
.doc-design-thumb .te-head { top: 76px; left: 11px; right: 11px; height: 1px; background: #1c1917; }
.doc-design-thumb .te-rows { top: 77px; left: 11px; right: 11px; height: 40px; background: repeating-linear-gradient(transparent 0 9px, #e7e5e4 9px 10px); }
.doc-design-thumb .te-total { top: 124px; right: 11px; width: 38px; height: 6px; border-top: 1px solid #1c1917; }
.doc-design-thumb .te-foot { bottom: 24px; left: 11px; right: 11px; height: 1px; background: #e7e5e4; }
.doc-design-thumb .te-barcode { bottom: 12px; left: 11px; width: 28px; height: 8px; background: repeating-linear-gradient(90deg, #3b4250 0 1px, transparent 1px 3px); }
.doc-design-thumb .te-page { bottom: 16px; right: 11px; width: 16px; height: 3px; background: #78716c; }
.doc-design-thumb .ts-side { top: 5px; left: 5px; bottom: 5px; width: 32px; background: #f6f8fb; }
.doc-design-thumb .ts-logo { top: 11px; left: 10px; width: 10px; height: 10px; background: #0f172a; }
.doc-design-thumb .ts-name { top: 26px; left: 10px; width: 22px; height: 4px; background: #0f172a; }
.doc-design-thumb .ts-contact { top: 40px; left: 10px; width: 20px; height: 22px; background: repeating-linear-gradient(var(--doc-accent, #1f3a5f) 0 2px, transparent 2px 6px) left / 2px 100% no-repeat, repeating-linear-gradient(#cbd5e1 0 2px, transparent 2px 6px) 4px 0 / 16px 100% no-repeat; }
.doc-design-thumb .ts-title { top: 11px; left: 42px; width: 40px; height: 6px; background: #0f172a; }
.doc-design-thumb .ts-sub { top: 21px; left: 42px; width: 28px; height: 3px; background: #cbd5e1; }
.doc-design-thumb .ts-info { top: 32px; left: 42px; right: 8px; height: 10px; background: repeating-linear-gradient(90deg, #f6f8fb 0 21px, transparent 21px 24px); }
.doc-design-thumb .ts-head { top: 50px; left: 42px; right: 8px; height: 1px; background: #0f172a; }
.doc-design-thumb .ts-rows { top: 51px; left: 42px; right: 8px; height: 63px; background: repeating-linear-gradient(transparent 0 8px, #e2e8f0 8px 9px); }
.doc-design-thumb .ts-total { top: 120px; right: 8px; width: 32px; height: 6px; border-top: 1px solid #0f172a; border-bottom: 2px solid var(--doc-accent, #1f3a5f); }
.doc-design-thumb .ts-foot { bottom: 22px; left: 42px; right: 8px; height: 1px; background: #e2e8f0; }
.doc-design-thumb .ts-barcode { bottom: 10px; left: 42px; width: 24px; height: 8px; background: repeating-linear-gradient(90deg, #3b4250 0 1px, transparent 1px 3px); }
.doc-design-thumb .tp-brand { top: 6px; left: 6px; width: 68px; height: 30px; background: #f6f7fb; }
.doc-design-thumb .tp-logo { top: 11px; left: 11px; width: 12px; height: 12px; background: var(--doc-accent, #1f3a5f); }
.doc-design-thumb .tp-name { top: 12px; left: 27px; width: 34px; height: 4px; background: #111827; }
.doc-design-thumb .tp-chips { top: 26px; left: 27px; width: 42px; height: 4px; background: repeating-linear-gradient(90deg, #fff 0 12px, transparent 12px 14px); }
.doc-design-thumb .tp-doc { top: 6px; right: 6px; width: 30px; height: 28px; border: 1px solid #e9ebf0; }
.doc-design-thumb .tp-number { top: 15px; right: 16px; width: 16px; height: 5px; background: color-mix(in srgb, var(--doc-accent, #1f3a5f) 14%, #fff); }
.doc-design-thumb .tp-info { top: 42px; left: 6px; right: 6px; height: 12px; background: repeating-linear-gradient(90deg, transparent 0 35px, #e9ebf0 35px 36px); border: 1px solid #e9ebf0; }
.doc-design-thumb .tp-table { top: 60px; left: 6px; right: 6px; height: 56px; border: 1px solid #e9ebf0; }
.doc-design-thumb .tp-rows { top: 61px; left: 7px; right: 7px; height: 54px; background: linear-gradient(#f6f7fb 0 7px, transparent 7px) top / 100% 7px no-repeat, repeating-linear-gradient(transparent 0 8px, #e9ebf0 8px 9px); }
.doc-design-thumb .tp-total { top: 121px; right: 6px; width: 42px; height: 9px; background: #f6f7fb; border-top: 2px solid transparent; box-shadow: inset 0 -3px 0 var(--doc-accent, #1f3a5f); }
.doc-design-thumb .tp-foot { bottom: 10px; left: 6px; right: 6px; height: 18px; background: #f6f7fb; }
.doc-design-thumb .tp-barcode { bottom: 15px; left: 11px; width: 26px; height: 8px; background: repeating-linear-gradient(90deg, #3b4250 0 1px, transparent 1px 3px); }
.doc-swatch {
    width: 26px;
    height: 26px;
    padding: 0;
}
.doc-swatch.active {
    box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--vz-success);
}
.doc-color-hex {
    width: 6.5rem;
    font-family: var(--vz-font-monospace, monospace);
}
