/* ==========================================================================
   Dropzone Upload — Enhanced styling for file upload areas
   Applied to #my-dropzone on all import pages
   ========================================================================== */

/* Base container */
#my-dropzone,
#my-dropzone-one-expense,
#my-dropzone-one-item {
    border: 2px dashed #b8c2cc;
    border-radius: 12px;
    background: linear-gradient(135deg, #f8f9fc 0%, #eef1f6 100%);
    min-height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

/* Hover state */
#my-dropzone:hover,
#my-dropzone-one-expense:hover,
#my-dropzone-one-item:hover {
    border-color: #5d78ff;
    background: linear-gradient(135deg, #f0f3ff 0%, #e8ecff 100%);
    box-shadow: 0 4px 15px rgba(93, 120, 255, 0.15);
    transform: translateY(-1px);
}

/* Drag-hover state (file dragged over) */
#my-dropzone.dz-drag-hover,
#my-dropzone-one-expense.dz-drag-hover,
#my-dropzone-one-item.dz-drag-hover {
    border-color: #0abb87;
    background: linear-gradient(135deg, #f0fff8 0%, #e8fff3 100%);
}

/* Message container */
#my-dropzone .dz-message,
#my-dropzone-one-expense .dz-message,
#my-dropzone-one-item .dz-message {
    text-align: center;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

/* Upload icon circle */
#my-dropzone .upload-icon,
#my-dropzone-one-expense .upload-icon,
#my-dropzone-one-item .upload-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, #5d78ff 0%, #3758f9 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 22px;
    margin-bottom: 4px;
    box-shadow: 0 4px 15px rgba(93, 120, 255, 0.3);
    transition: transform 0.3s ease;
}

#my-dropzone:hover .upload-icon,
#my-dropzone-one-expense:hover .upload-icon,
#my-dropzone-one-item:hover .upload-icon {
    transform: scale(1.1);
}

/* Upload text */
#my-dropzone .upload-text,
#my-dropzone-one-expense .upload-text,
#my-dropzone-one-item .upload-text {
    font-size: 15px;
    color: #595d6e;
    font-weight: 500;
}

/* Upload hint (optional subtitle) */
#my-dropzone .upload-hint,
#my-dropzone-one-expense .upload-hint,
#my-dropzone-one-item .upload-hint {
    font-size: 12px;
    color: #a2a5b9;
}

/* Floating save bar — used on pages with inline editing (taxFieldsData, annualReport, etc.) */
.save-area {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    border: 1px solid #ebedf2;
    border-radius: 8px;
    padding: 12px 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    z-index: 10;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}
.save-area .hint {
    color: #74788d;
    font-size: 0.85rem;
}
.save-area .hint i {
    color: #1dc9b7;
    margin-left: 8px;
}
@media (max-width: 768px) {
    .save-area {
        padding: 10px 20px;
        bottom: 15px;
    }
    .save-area .hint {
        display: none;
    }
}
.kt-portlet__body:has(.save-area) {
    padding-bottom: 80px !important;
}
.select-forced-disabled {
    pointer-events: none;
    opacity: 0.65;
    background-color: #e9ecef !important;
}
/* Document-type colored field rows. Used on documentNumbering, documentDefaultBank,
   and documentBottomTitle settings pages. Each row carries inline CSS variables
   --dt-color / --dt-tint / --dt-border populated from DocumentsAction's color helpers,
   so the visual matches the colored document-type pills in the documents list. */
.doc-type-row {
    --dt-color: #5867dd;
    --dt-tint: #5867dd1a;
    --dt-border: #5867dd33;
    background: var(--dt-tint);
    border: 1px solid var(--dt-border);
    border-radius: 8px;
    padding: 12px 16px 4px;
    margin-bottom: 12px;
    transition: filter .15s, box-shadow .15s;
}
[dir="rtl"] .doc-type-row { border-right: 4px solid var(--dt-color); }
[dir="ltr"] .doc-type-row { border-left: 4px solid var(--dt-color); }
.doc-type-row:hover {
    filter: brightness(0.99);
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.doc-type-row .form-group {
    margin-bottom: 8px;
    align-items: center;
}
.doc-type-row label,
.doc-type-row .col-form-label {
    color: var(--dt-color) !important;
    font-weight: 600;
}
.doc-type-row .col-form-label::before {
    content: "\f15c";
    font-family: "Font Awesome 5 Free", "FontAwesome";
    font-weight: 900;
    opacity: 0.7;
    font-size: 12px;
    /* Use logical property — works in RTL/LTR without depending on a [dir] attribute on html/body
       (which the app intentionally does not set; see css-rtl-no-dir-attribute memory). */
    margin-inline-end: 8px;
}
.doc-type-row.doc-type-row-disabled {
    opacity: 0.65;
    filter: grayscale(0.2);
}
.doc-type-row.doc-type-row-disabled .col-form-label::before { content: "\f023"; }
/* Intro alert variant — uses the same --dt-color but as a thicker leading bar. */
.doc-type-intro {
    --dt-color: #5867dd;
    border-radius: 6px;
}
[dir="rtl"] .doc-type-intro { border-right: 4px solid var(--dt-color) !important; }
[dir="ltr"] .doc-type-intro { border-left: 4px solid var(--dt-color) !important; }

/* Prominent friendly field-error alert (b:fieldErrorAlert) — replaces the tiny
   invalid-feedback text for errors like "add at least one payment" on
   documentDetails / expensePaymentDetails. Soft danger look + gentle entrance. */
.field-error-alert {
    margin: 16px 0 4px;
    padding: 14px 18px;
    border-radius: 10px;
    align-items: center;
    animation: fieldErrorAlertIn .35s ease-out;
}
/* leading accent bar — logical property follows the computed direction (no dir attr
   on html/body); .alert.x specificity needed to beat .alert.alert-solid-danger's
   transparent border-color from the Metronic bundle */
.alert.field-error-alert { border-inline-start: 4px solid #fd397a; }
.field-error-alert .alert-icon i {
    font-size: 2.2rem;
    animation: fieldErrorAlertPulse 1.8s ease-in-out infinite;
}
.field-error-alert .field-error-alert-title {
    display: block;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
}
.field-error-alert .field-error-alert-hint {
    margin-top: 2px;
    font-size: 13px;
    opacity: 0.85;
}
@keyframes fieldErrorAlertIn {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes fieldErrorAlertPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.12); }
}

/* ============================================================================
   Readable solid alerts — override Metronic's low-contrast .alert-solid-*
   ----------------------------------------------------------------------------
   Metronic renders .alert-solid-X as the *saturated accent color* text on a
   10%-opacity tint of the SAME color. For warning that means bright yellow text
   on a near-white background — effectively invisible ("לא רואים כלום"); success
   and info are weak too. These overrides keep each alert's color identity but
   make it readable: a soft-yet-present tint, dark body text, a bold colored
   heading, a leading accent bar, and a matching icon — NO markup changes, every
   .alert-solid-* in the whole app becomes readable at once. Loaded AFTER
   style.bundle.css (layoutHead.xhtml), same specificity → these win.
   ALWAYS use one of these for in-page notices; never hand-roll faded alerts.
   ============================================================================ */
.alert.alert-solid-warning,
.alert.alert-solid-info,
.alert.alert-solid-success,
.alert.alert-solid-danger,
.alert.alert-solid-primary,
.alert.alert-solid-brand {
    border: 0;
    border-inline-start: 4px solid var(--alert-accent);
    border-radius: 8px;
    background: var(--alert-bg);
    color: var(--alert-text);
}
.alert.alert-solid-warning { --alert-accent:#f0a500; --alert-bg:#fff3cd; --alert-text:#7a5600; --alert-head:#8a5a00; }
.alert.alert-solid-info    { --alert-accent:#5578eb; --alert-bg:#e8f1fe; --alert-text:#27407e; --alert-head:#2f49b8; }
.alert.alert-solid-success { --alert-accent:#0fae9e; --alert-bg:#e2f6f2; --alert-text:#0b5e56; --alert-head:#0c7d71; }
.alert.alert-solid-danger  { --alert-accent:#fd397a; --alert-bg:#fde9ee; --alert-text:#971241; --alert-head:#c41e57; }
.alert.alert-solid-primary { --alert-accent:#5867dd; --alert-bg:#ecedfb; --alert-text:#323a86; --alert-head:#404bbf; }
.alert.alert-solid-brand   { --alert-accent:#2c77f4; --alert-bg:#e7f0fe; --alert-text:#154488; --alert-head:#1e63cc; }

/* body text, icon and heading follow the per-variant vars (beat the bundle's
   saturated-color rules at the same specificity, loaded later) */
.alert.alert-solid-warning .alert-text,
.alert.alert-solid-info .alert-text,
.alert.alert-solid-success .alert-text,
.alert.alert-solid-danger .alert-text,
.alert.alert-solid-primary .alert-text,
.alert.alert-solid-brand .alert-text { color: var(--alert-text); }

.alert.alert-solid-warning .alert-icon i,
.alert.alert-solid-info .alert-icon i,
.alert.alert-solid-success .alert-icon i,
.alert.alert-solid-danger .alert-icon i,
.alert.alert-solid-primary .alert-icon i,
.alert.alert-solid-brand .alert-icon i { color: var(--alert-accent); }

.alert.alert-solid-warning .alert-heading,
.alert.alert-solid-info .alert-heading,
.alert.alert-solid-success .alert-heading,
.alert.alert-solid-danger .alert-heading,
.alert.alert-solid-primary .alert-heading,
.alert.alert-solid-brand .alert-heading { color: var(--alert-head); font-weight: 600; }

/* Outline (bordered, white-bg) alerts share the same flaw for the LIGHT accents:
   amber/teal text on white is unreadable. Keep the bordered outline look but
   darken only the text/heading of warning & success to a readable shade.
   info/danger/dark stay as Metronic intends (their accent text is legible). */
.alert.alert-outline-warning,
.alert.alert-outline-warning .alert-text { color:#7a5600; }
.alert.alert-outline-warning .alert-heading { color:#8a5a00; font-weight:600; }
.alert.alert-outline-success,
.alert.alert-outline-success .alert-text { color:#0b5e56; }
.alert.alert-outline-success .alert-heading { color:#0c7d71; font-weight:600; }

/* ===== Israel-invoices allocation tooltips =====
   HTML is built in DocumentsAction.java (buildNoAllocationTooltip / buildSelfInvoiceTooltip /
   buildAllocationRequiredTooltip). Bootstrap 4.3's tooltip sanitizer strips inline style
   attributes (class/dir survive), so ALL styling must live here.
   :has() widens the host tooltip bubble; browsers without :has() fall back to the
   200px bubble but keep RTL right-alignment from the inner classes. */
.tooltip-inner:has(.ils-alloc-tooltip) {
    max-width: 340px;
    text-align: right;
}
.ils-alloc-tooltip {
    direction: rtl;
    text-align: right;
    font-size: 13px;
}
/* English/LTR mode: builder adds .ils-alloc-ltr so the tooltip reads left-to-right (Hebrew unchanged) */
.ils-alloc-tooltip.ils-alloc-ltr {
    direction: ltr;
    text-align: left;
}
.tooltip-inner:has(.ils-alloc-tooltip.ils-alloc-ltr) {
    text-align: left;
}
.ils-alloc-header {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
}
.ils-alloc-title {
    flex: 1;
    font-weight: 600;
    font-size: 14px;
    color: #48465b;
}
.ils-alloc-check {
    flex: 0 0 28px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #1dc9b7;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-inline-start: 8px;
    color: #fff;
    font-size: 15px;
    font-weight: bold;
}
.ils-alloc-check-required { background: #fd397a; }
.ils-alloc-card {
    background: #f7f8fa;
    border-radius: 6px;
    padding: 8px 10px;
    margin-bottom: 6px;
    line-height: 1.7;
    color: #48465b;
}
.ils-alloc-row { margin-bottom: 4px; }
.ils-alloc-row:last-child { margin-bottom: 0; }
.ils-alloc-note {
    font-size: 12px;
    color: #74788d;
    line-height: 1.7;
}
.ils-nowrap { white-space: nowrap; }

/* ===== IRS approved-stamp pill (b:irsApprovedStamp — accountant customer lists) =====
   Palette mirrors the documentDetails IRS header badge: blue = valid token,
   red (.irs-stamp-pill-alert) = token expired or expiring within two weeks. */
.irs-stamp-pill, .irs-stamp-pill:hover, .irs-stamp-pill:focus {
    background: #f3f6ff;
    border: 1px solid #d6def9;
    color: #5867dd;
}
.irs-stamp-pill.irs-stamp-pill-alert, .irs-stamp-pill.irs-stamp-pill-alert:hover, .irs-stamp-pill.irs-stamp-pill-alert:focus {
    background: #fdf0f3;
    border-color: #f5c2c7;
    color: #fd397a;
}

/* ===== Tax Authority (Israel Invoices) common-errors self-service help callout ===== */
.irs-help-callout {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 16px 0 4px;
    padding: 13px 18px;
    background: linear-gradient(90deg, #eef3ff 0%, #f6f9ff 100%);
    border: 1px solid #d6e0ff;
    border-radius: 10px;
}
.irs-help-callout__icon {
    font-size: 1.7rem;
    color: #5867dd;
    flex: 0 0 auto;
    opacity: 0.9;
}
.irs-help-callout__body {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    flex: 1 1 auto;
    justify-content: space-between;
}
.irs-help-callout__text {
    font-size: 0.95rem;
    color: #48465b;
    font-weight: 500;
    line-height: 1.5;
}
.irs-help-callout__btn {
    white-space: nowrap;
    flex: 0 0 auto;
}
.irs-help-callout__btn i { margin-inline-end: 5px; }

/* ===== Contact cards (customer / supplier "contacts" tab) ===== */
.contact-cards-wrap { margin-top: 4px; }
.contact-cards-row { margin-inline: -8px; }
.contact-card-col { padding: 8px; margin-bottom: 0; }
.contact-card {
    height: 100%;
    border: 1px solid #ebedf2;
    border-radius: 10px;
    background: #fff;
    padding: 16px 18px;
    transition: box-shadow .15s ease, border-color .15s ease;
}
.contact-card:hover {
    border-color: #d3d9f5;
    box-shadow: 0 6px 18px rgba(88,103,221,0.10);
}
.contact-card__head {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}
.contact-card__avatar {
    flex: 0 0 auto;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, #5d78ff 0%, #5867dd 100%);
    color: #fff;
    font-weight: 600;
    font-size: 1.05rem;
    line-height: 42px;
    text-align: center;
    text-transform: uppercase;
}
.contact-card__title {
    flex: 1 1 auto;
    min-width: 0;
    padding-top: 2px;
}
.contact-card__name {
    font-weight: 600;
    font-size: 1.02rem;
    color: #48465b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.contact-card__role {
    font-size: 0.85rem;
    color: #a2a5b9;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-top: 1px;
}
.contact-card__actions {
    flex: 0 0 auto;
    display: flex;
    gap: 2px;
    opacity: 0.55;
    transition: opacity .15s ease;
}
.contact-card:hover .contact-card__actions { opacity: 1; }
.contact-card__del:hover { color: #fd397a !important; }
.contact-card__body { margin-top: 12px; }
.contact-card__line {
    display: flex;
    align-items: center;
    font-size: 0.9rem;
    color: #6c7293;
    margin-top: 7px;
}
.contact-card__line i {
    flex: 0 0 auto;
    width: 18px;
    font-size: 1rem;
    color: #5867dd;
    margin-inline-end: 8px;
    text-align: center;
}
.contact-card__val {
    flex: 1 1 auto;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: inline-block;
}
.contact-cards-empty { margin-top: 6px; }

/* ===== b:megaOptions selection cards (donation type on documentDetails, import source on importIlTax)
   The selected state is rendered server-side (.mega-option-selected) and mirrored instantly on
   click via :has() — the :has() rules are kept SEPARATE from the class rules because a comma list
   containing :has() is dropped entirely by browsers that don't support it. dir is set per-card
   from gen.dir (no dir attr on html/body), so the radio side, flex order and text-align follow
   the UI language natively. ===== */
.mega-option-col { margin-bottom: 10px; }
.mega-option-card {
    height: 100%;
    margin: 0;
    padding: 1.1rem;
    cursor: pointer;
    background-color: #fff;
    transition: border-color .15s ease, box-shadow .15s ease, background-color .15s ease;
}
.mega-option-card .kt-option__title { font-weight: 500; }
.mega-option-card .kt-option__body { line-height: 1.5; padding-top: .4rem; }
.mega-option-card:not(.mega-option-disabled):hover {
    border-color: #2c77f4;
    box-shadow: 0 2px 10px rgba(44, 119, 244, .15);
}
.mega-option-card.mega-option-selected {
    border-color: #2c77f4;
    box-shadow: 0 0 0 1px #2c77f4;
    background-color: rgba(44, 119, 244, .04);
}
.mega-option-card.mega-option-selected .kt-option__title { color: #2c77f4; font-weight: 600; }
.mega-option-card:has(input:checked) {
    border-color: #2c77f4;
    box-shadow: 0 0 0 1px #2c77f4;
    background-color: rgba(44, 119, 244, .04);
}
.mega-option-card:has(input:checked) .kt-option__title { color: #2c77f4; font-weight: 600; }
.mega-option-card.mega-option-disabled { opacity: .7; cursor: not-allowed; }

/* ===== Maven-package upsell line (b:mavenUpsell) — shown under package-gated features ===== */
.maven-upsell {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    margin: 2px 0 10px;
    padding: 6px 10px;
    border-radius: 6px;
    background: #fff7e6;
    border: 1px solid #ffe2a8;
    color: #6c5a1f;
    font-size: 0.95em;
}
.maven-upsell__icon { color: #ffb822; font-size: 1.1em; }
.maven-upsell__cta { font-weight: 600; white-space: nowrap; color: #2c77f4; }
.maven-upsell__cta:hover { text-decoration: underline; color: #1a5fd0; }

/* reportFieldError on met:fieldChkBox — the wrapper gets "validated" but the checkbox never gets
   is-invalid, so Bootstrap keeps .invalid-feedback hidden. Show the error whenever the framework
   marked the row as validated (no effect on text/combo fields — theirs is already visible). */
.form-group.validated .invalid-feedback { display: block; }

/* trial mode of b:mavenUpsell — a discreet "included in the Maven package" note, no box, no CTA */
.maven-upsell.maven-upsell--trial {
    background: none;
    border: none;
    padding: 0;
    margin: 2px 0 6px;
    color: #a7abc3;
    font-size: 0.88em;
}
.maven-upsell--trial .maven-upsell__icon { color: #c9cce0; font-size: 1em; }
/* when the upsell line sits inside the control's own row (afterInput), keep it tight to the control */
.form-group .maven-upsell { margin: 8px 0 0; }

/* the "מייבן" premium chip (b:mavenUpsell) — marks every Maven-package feature in all access states */
.maven-badge {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    background: linear-gradient(135deg, #f6b50b, #f78f1e);
    color: #fff;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: .3px;
    line-height: 1;
    padding: 3px 8px;
    border-radius: 10px;
    white-space: nowrap;
    box-shadow: 0 1px 3px rgba(247, 143, 30, .35);
    cursor: default;
}
.maven-badge .la-diamond { font-size: 11px; }
/* paid state — the chip alone, no box, minimal footprint */
.maven-upsell.maven-upsell--paid {
    background: none;
    border: none;
    padding: 0;
    margin: 4px 0 0;
}

/* central-invoice markers on the documents list (b:documentNoAndClosing) */
.central-doc-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #5d78ff;
    color: #fff;
    font-size: 10.5px;
    font-weight: 600;
    line-height: 1;
    padding: 3px 8px;
    border-radius: 10px;
    margin: 0 4px;
    white-space: nowrap;
    vertical-align: middle;
    cursor: default;
}
.central-doc-badge .la { font-size: 11px; }
.central-doc-badge--pending {
    background: #fff;
    color: #5d78ff;
    border: 1px dashed #5d78ff;
}

/* clickable "מרכזת" badge + the active central-filter banner */
.central-doc-badge--link { cursor: pointer; text-decoration: none; transition: filter .15s, box-shadow .15s; }
.central-doc-badge--link:hover { filter: brightness(1.06); box-shadow: 0 2px 6px rgba(93,120,255,.4); color: #fff; }
.central-filter-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 14px;
    padding: 12px 16px;
    border-radius: 8px;
    background: #eef0ff;
    border: 1px solid #d6dbff;
    color: #2a2f6b;
}
.central-filter-banner__text { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; }
.central-filter-banner__text .la-compress { color: #5d78ff; font-size: 1.15em; }
/* the central invoice number — looks like a clickable blue document-number pill */
.central-filter-banner__docno {
    display: inline-flex;
    align-items: center;
    background: #5d78ff;
    color: #fff;
    font-weight: 700;
    font-size: 0.92em;
    line-height: 1;
    padding: 5px 11px;
    border-radius: 6px;
    text-decoration: none;
    transition: filter .15s, box-shadow .15s;
}
.central-filter-banner__docno:hover { filter: brightness(1.08); box-shadow: 0 2px 8px rgba(93,120,255,.5); color: #fff; }
/* clear-filter button — forced visible (Metronic btn-secondary renders transparent on this banner) */
.central-filter-banner__clear {
    white-space: nowrap;
    background: #fff;
    border: 1px solid #c2c8f0;
    color: #2a2f6b;
}
.central-filter-banner__clear:hover { background: #5d78ff; border-color: #5d78ff; color: #fff; }

/* central-invoice clarity notice inside the document preview (both directions) */
.central-preview-notice {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 14px;
    padding: 11px 15px;
    border-radius: 8px;
    background: #eef0ff;
    border: 1px solid #d6dbff;
    color: #2a2f6b;
    font-weight: 500;
}
.central-preview-notice .la-compress { color: #5d78ff; font-size: 1.15em; margin-inline-end: 5px; }
.central-preview-notice__btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: #5d78ff;
    color: #fff;
    font-weight: 600;
    font-size: 0.9em;
    padding: 5px 12px;
    border-radius: 6px;
    text-decoration: none;
    white-space: nowrap;
    transition: filter .15s, box-shadow .15s;
}
.central-preview-notice__btn:hover { filter: brightness(1.08); box-shadow: 0 2px 8px rgba(93,120,255,.5); color: #fff; }

/* ==========================================================================
   "View selector" dropdowns — gently highlighted (soft indigo pill)
   Used by the list-view selectors that hide part of the records behind a
   non-default view, so users notice the list is scoped and don't assume a
   record "disappeared":
     • accountantCustomers — "לקוחות בשימוש" vs. "לקוחות בארכיון"
     • customers / suppliers — "לקוחות/ספקים קבועים" vs. "מזדמנים"
   ========================================================================== */
.btn-view-filter,
.btn-view-filter:not(:disabled):not(.disabled) {
    background-color: #eef0fd !important;
    border: 1px solid #aab2f2 !important;
    color: #3f4cc4 !important;
    box-shadow: 0 1px 4px rgba(88, 103, 221, 0.18);
}
.btn-view-filter:hover,
.btn-view-filter:focus,
.btn-view-filter.show,
.btn-view-filter[aria-expanded="true"] {
    background-color: #e1e4fb !important;
    border-color: #8b95ec !important;
    color: #2f3aa8 !important;
    box-shadow: 0 2px 8px rgba(88, 103, 221, 0.30);
}

/* ===================== Menu favorites (per-user) =====================
   A star toggle on every side-menu link + a "Favorites" section pinned
   at the top of the menu. The section is built client-side by
   initMenuFavorites() (invoiceFunctions.js) from links already present
   in the rendered menu, so page permissions are always honored. */
#kt_aside_menu .kt-menu__link {
    position: relative;
}
.menu-fav-star {
    position: absolute;
    inset-inline-end: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 15px;
    line-height: 1;
    color: #6c7293;
    opacity: 0;
    cursor: pointer;
    transition: opacity .15s ease, color .15s ease, transform .15s ease;
    z-index: 2;
    -webkit-user-select: none;
    user-select: none;
}
.kt-menu__link:hover .menu-fav-star {
    opacity: .7;
}
.menu-fav-star:hover {
    opacity: 1;
    color: #ffb822;
    transform: translateY(-50%) scale(1.2);
}
.menu-fav-star.is-fav {
    opacity: 1;
    color: #ffb822;
    text-shadow: 0 0 6px rgba(255, 184, 34, .45);
}
/* "Favorites" section header (non-clickable label) */
.menu-fav-section {
    pointer-events: none;
}
.menu-fav-section__title {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 12px 25px 5px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .4px;
    text-transform: uppercase;
    color: #6c7293;
    opacity: .85;
}
.menu-fav-section__title i {
    font-size: 11px;
    color: #ffb822;
}
.menu-fav-divider {
    height: 0;
    margin: 7px 22px 11px;
    border-bottom: 1px solid rgba(110, 114, 147, .18);
    list-style: none;
}
/* Subtle emphasis on the favorite copy of the currently-open page */
.menu-fav-item.kt-menu__item--active > .kt-menu__link {
    font-weight: 600;
}
