.pointer-events-none{
    pointer-events: none !important;
}

a{
    transition: 200ms !important;
}

.tooltip-span{
    font-size: 11px !important;
    width: 33% !important;
    text-align: left !important;
    border-bottom: 1px solid grey;
}

.tooltip-span.date{
    width: 20%;
}

.tooltip-span.amount{
    width: 20%;
}

.tooltip-span.gateway{
    width: 60%;
}

/* -------------------------------------------------------------------------
  VERTICAL STEPPERS
-------------------------------------------------------------------------- */

/* Steps */
.delivery-step {
    position: relative;
    min-height: 1em;
    color: gray;
}
.delivery-step + .delivery-step {
    margin-top: 1.5em
}
.delivery-step > div:first-child {
    position: static;
    height: 0;
}
.delivery-step > div:not(:first-child) {
    margin-left: 1.5em;
    padding-left: 1em;
}
.delivery-step h5 {
    margin-bottom: 5px !important;
}

.delivery-step.step-active {
    color: #6772e5
}
.delivery-step.step-active h5 {
    color: #6772e5
}
.delivery-step.step-active .circle {
    background-color: #6772e5;
}

.delivery-step.step-error {
    color: #dc3545
}
.delivery-step.step-error h5 {
    color: #dc3545
}
.delivery-step.step-error .circle {
    background-color: #dc3545;
}

.delivery-step.step-delivered {
    color: #28a745
}
.delivery-step.step-delivered h5 {
    color: #28a745
}
.delivery-step.step-delivered .circle {
    background-color: #28a745;
}

/* Circle */
.circle {
    background: gray;
    position: relative;
    width: 1.8em;
    height: 1.8em;
    line-height: 1.8em;
    border-radius: 100%;
    color: #fff;
    text-align: center;
    box-shadow: 0 0 0 3px #fff;
}

/* Vertical Line */
.circle:after {
    content: ' ';
    position: absolute;
    display: block;
    top: 1px;
    right: 50%;
    bottom: 1px;
    left: 50%;
    height: 100%;
    width: 1px;
    transform: scale(1, 2);
    transform-origin: 50% -100%;
    background-color: rgba(0, 0, 0, 0.25);
}
.delivery-step:last-child .circle:after {
    display: none
}

/* Stepper Titles */
.title {
    line-height: 1.5em;
    font-weight: bold;
}
.caption {
    font-size: 0.9em;
    color: rgb(90,90,90) !important;
}
.step-note {
    font-size: 0.8em;
    font-weight: 500;
    color: rgb(100,100,100) !important;
}

.tva-pill-selector {
    /*justify-content: space-between;*/
}

.tva-pill-selector li button{
    padding: 6px 13px;
    font-size: 12px;
    margin-right: 5px;
}

.tva-pill-selector li button, .tva-pill-selector li button:focus{
    border: none;
    outline: none !important;
}

.nav-pills .nav-link.active, .nav-pills .show>.nav-link {
    background-color: #03A9F4 !important;
}

.max-height-400{
    max-height: 400px;
}

.bottom-row-tva-ca{
    background-color: #ebebeb;
}
.bottom-row-tva-ca td{
    background-color: #ebebeb;
    position: sticky;
    bottom: 0;
}

.table-tva-ca::-webkit-scrollbar {
    width: 3px;
    transition: 200ms;
}

/* Track */
.table-tva-ca::-webkit-scrollbar-track {
    border-radius: 10px;
}

/* Handle */
.table-tva-ca::-webkit-scrollbar-thumb {
    background: #455a64;
    border-radius: 10px;
}

/* Handle on hover */
.table-tva-ca::-webkit-scrollbar-thumb:hover {
    background: #263136;
}

.table-tva-ca{
    transition: max-height 0.5s ease;
}

.bill-web-logo-header-container {
    position: relative;
    transition: 200ms;
    margin-bottom: 25px;
    max-width: 110px;
    max-height: 110px;
}

.bill-logosize-none {
    display: none !important;
}

.bill-logosize-small {
    max-width: 70px;
    max-height: 70px;
}

.bill-logosize-medium {
    max-width: 110px;
    max-height: 110px;
}

.bill-logosize-large {
    max-width: 200px;
    max-height: 200px;
}

.bill-web-logo-header-container img{
    width: 100%;
    height: 100%;
}

.bill-web-logo-header-container .edit-logo-btn{
    transition: 200ms;
    position: absolute;
    top: 5%;
    right: 5%;
    /*transform: translate(-50%, -50%);*/
    /*-ms-transform: translate(-50%, -50%);*/
    background-color: #ff5c6c;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    text-align: center;
    opacity: .75;
    width: 30px;
    height: 30px;
    font-size: 14px;
    padding: 5px;
}

.bill-web-logo-header-container .edit-logo-btn:hover{
    opacity: 1;
    background-color: #ff5c6c;
}

.contact-us-card{
    height: 50px;
    border: 1px solid #20aee3 !important;
    border-radius: 5px !important;
    transition: 200ms;
}

.contact-us-card:hover{
    background-color: #20aee3 !important;
}

.contact-us-card:hover p{
    color: white !important;
}

.contact-us-card p {
    font-size: 15px;
    font-weight: bold;
}

.article-thumbnail{
    max-width: 100% !important;
    max-height: 64px !important;
}

/* MOBILE */
@media screen and (max-width: 640px) {
    .show-desktop{
        display: none;
    }
    .show-mobile{
        display: block;
    }
    .flex-row-desktop-column-mobile{
        flex-direction: column;
    }
}
/* MOBILE */
@media screen and (min-width: 640px) {
    .show-desktop{
        display: block;
    }
    .show-mobile{
        display: none;
    }
    .flex-row-desktop-column-mobile{
        flex-direction: row;
    }
}

.tva-disabled{
    pointer-events: none;
    opacity: .25;
}

.dropdown-toggle-income-year::after{
    margin-bottom: 3px !important;
    font-size: 18px !important;
}

.dropdown-menu--small{
    min-width: 80px;
    border-radius: 2px;
    transform: translate3d(80px, 36px, 0px) !important;
}

.tinymce-textarea-item{
    display: block;
    width: 100%;
    min-height: 150px !important;
}

td.form-group.x-description.bill_col_description > div > div > div.mce-top-part.mce-container.mce-stack-layout-item.mce-first,
.tinymce-item-parent-element .mce-top-part
{
    position: absolute;
    bottom: 1px;
    left: 1px;
}

td.form-group.x-description.bill_col_description > div > div > div.mce-top-part.mce-container.mce-stack-layout-item.mce-first > div > div,
td.form-group.x-description.bill_col_description > div > div > div.mce-top-part.mce-container.mce-stack-layout-item.mce-first > div > div > div > div,
.tinymce-item-parent-element .mce-top-part > div > div > div > div
{
    background: #f3f3f3 !important;
    border-top-right-radius: 5px;
}

.tinymce-item-parent-element .mce-top-part > div > div {
    padding: 0;
}

td.form-group.x-description.bill_col_description > div > div > div.mce-edit-area.mce-container.mce-panel.mce-stack-layout-item.mce-last{
    transition: 200ms;
    border-radius: 3px;
    border-color: #eeeff0;
}

.mce-panel iframe{
    border-radius: 10px !important;
}

.focused-tinymce > div > .mce-panel{
    border-color: #80bdff !important;
}

#billing-items-container tr {
    border-top: 1px solid #dee2e6;
}

.rotative-div{
    transition: .3s;
}

/* Collapse accordion -> rotate arrow icon */
#recurringExpensesHeader[aria-expanded="true"] .rotative-div {
    transform: rotate(-90deg);
}

.d-flex-force{
    display: flex !important;
}

.recurring-expense-card{
    background-color: #f6f6f6;
    padding: 15px;
    margin-bottom: 20px;
}

.recurring-expense-price{
    font-size: 18px;
}

.recurring-expense-period{
    font-size: 12px;
}

.recurring-expense-card-create{
    cursor: pointer;
    min-height: 127px;
    width: 100%;
    border: 1px dashed #20aee3;
    background-color: transparent;
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.recurring-expense-card-create-icon{
    font-size: 25px;
}

.btn-delete-circle-recurring-expense{
    width: 26px;
    height: 26px;
    padding: 0;
    font-size: 14px;
    top: -10px;
    right: 5px;
    position: absolute;
    /*background-color: #f22613;*/
    background-color: white;
    box-shadow: 0 0 3px rgba(0,0,0,0.2);
    color: #f22613;
    border: none;
}

.btn-delete-circle-recurring-expense:hover, .btn-delete-circle-recurring-expense:focus{
    background-color: #f22613;
    color: white;
    border: none;
}

.btn-edit-circle-recurring-expense{
    width: 26px;
    height: 26px;
    padding: 0;
    font-size: 14px;
    top: -10px;
    right: 39px;
    position: absolute;
    color: #24d2b5;
    background-color: white;
    box-shadow: 0 0 3px rgba(0,0,0,0.2);
    border: none;
}

.btn-edit-circle-recurring-expense:hover, .btn-edit-circle-recurring-expense:focus{
    background-color: #24d2b5;
    color: white;
    border: none;
}

.recurring-expense-new-badge{
    padding: 3px 8px;
    font-size: 12px;
    background-color: #20aee3;
    color: white;
    font-weight: bold;
    border-radius: 6px;
    margin-left: 10px;
}

/*@media print{*/
/*    .used-for-sorting{*/
/*        display: none !important;*/
/*    }*/
/*    #tva-top-cards{*/
/*        visibility: hidden !important;*/
/*        display: none !important;*/
/*    }*/
/*}*/

.col-print-1 {width:8%;  float:left;}
.col-print-2 {width:16%; float:left;}
.col-print-3 {width:25%; float:left;}
.col-print-4 {width:33%; float:left;}
.col-print-5 {width:42%; float:left;}
.col-print-6 {width:50%; float:left;}
.col-print-7 {width:58%; float:left;}
.col-print-8 {width:66%; float:left;}
.col-print-9 {width:75%; float:left;}
.col-print-10{width:83%; float:left;}
.col-print-11{width:92%; float:left;}
.col-print-12{width:100%; float:left;}

@media print {
    .hidden-print{
        visibility: hidden !important;
        display: none !important;
    }
    .card-border-printing{
        border: 1px solid #20aee3 !important;
    }
    .table-tva-ca{
        max-height: none !important;
    }
}

.report-border-left-sep{
    border-left: 1px solid #ededed !important;
}

.gmail-box-connected-as{
    margin-top: 10px;
    margin-bottom: 25px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    background-color: #1a73e8;
    height: 42px;
    border-radius: 42px;
}

.gmail-box-connected-as p{
    margin-bottom: 0 !important;
    color: white;
    padding: 10px 20px 10px 12px;
    font-weight: 500;
}

.gmail-box-connected-as .img-container{
    width: 42px;
    height: 42px;
    background-color: white;
    border: 2px solid #1a73e8;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 42px;
}

.gmail-box-connected-as .img-container img{
    height: 25px;
    width: 25px;
    margin: auto;
}

.gmail-icon-round{
    padding: 20px;
    border-radius: 50px;
    box-shadow: 0 0 15px rgba(0,0,0,0.2);
    margin-bottom: 15px;
}

.gmail-icon-round img{
    width: 30px;
    height: 30px;
}

.text-debit{
    color: #cf5a66 !important;
}

.btn-bs-custom-action{
    justify-content: center;
    align-items: center;
    display: flex;
    background: #ebf2f5;
    color: #79848a;
    font-weight: 500;
    margin-left: 6px;
}

.btn-bs-custom-action span{
    margin-left: 4px;
}

.alert-danger-full{
    background-color: #f8d7da !important;
}

.team_manager_tenant_name{
    display: block;
    font-size: 8px;
    color: grey;
    font-weight: 700;
}

.team_avatar{
    object-fit: cover;
}

.table-responsive{
    scrollbar-width: thin;
}

.btn-whatsapp{
    background-color: #25D366;
    color: white;
    font-weight: 500;
    border: none !important;
    padding: 10px 20px;
    border-radius: 25px;
}

.btn-messenger{
    background-image: linear-gradient(to right, #00B2FF, #006AFF);
    color: white;
    font-weight: 500;
    border: none !important;
    padding: 10px 20px;
    border-radius: 25px;
}

.btn-mail{
    background-color: #5a6268;
    color: white;
    font-weight: 500;
    border: none !important;
    padding: 10px 20px;
    border-radius: 25px;
}

.btn-whatsapp, .btn-messenger, .btn-mail{
    margin: auto;
}

/*.btn-whatsapp, .btn-messenger, .btn-mail{*/
/*    display: flex !important;*/
/*    justify-content: center;*/
/*}*/

/*.btn-whatsapp i, .btn-messenger i, .btn-mail i{*/
/*    margin: auto 5px auto auto;*/
/*}*/

.btn-whatsapp:hover, .btn-messenger:hover, .btn-mail:hover{
    opacity: .9 !important;
    color: white !important;
}

/* MOBILE */
@media screen and (max-width: 640px) {
    .btn-whatsapp, .btn-messenger, .btn-mail{
        width: 100%;
    }
}

.sharer-top-logo{
    max-height: 50px;
    margin: auto;
}

.sharer-company-name{
    margin: auto auto auto 15px;
    white-space: normal;
    line-height: 14px;
}

@media screen and (max-width: 640px){
    .sharer-company-name{
        font-size: 14px;
    }
}

.page-wrapper-sharer{
    margin-left: 0 !important;
}

.sharer-navbar{
    border-bottom: 1px solid #eeeff0;
}

.js-invoice-statuses h1{
    font-size: 25px !important;
}

.bill-file-attachments-wrapper-sharer .x-file-attachment{
    width: auto !important;
    padding-right: 12px;
}

.btn-sharer-top-action-row{
    max-width: 100%;
    margin: auto;
    width: 500px;
}

.sharer-payments-no-payment{
    text-align: center;
    font-size: 13px;
    background: #ededed;
    padding: 16px 23px;
}

.sharer-payzen-icon{
    max-width: 140px;
}

@media (min-width: 1200px) {
    .container-sharer {
        max-width: 1280px;
    }
}

.fc-alert{
    border: 2px solid #def1ff;
    position: relative;
    border-radius: 5px;
    border-left-width: 60px;
    margin: .5em 0;
    padding: 10px 15px;
}

.fc-alert.warning {
    border-color: #fdf1b8;
}

.fc-alert.info {
    border-color: #b8ccfd;
}

.fc-alert.danger {
    border-color: #fdb8b8;
}

.fc-alert.warning.warning>i{
    color: #f99d29;
    background-color: #fdf1b8;
}

.fc-alert.danger.danger>i{
    color: #f92929;
    background-color: #fdb8b8;
}

.fc-alert.info.info>i{
    color: #297cf9;
}

.fc-alert>i{
    position: absolute;
    font-size: 24px;
    top: calc(50% - 12px);
    left: -42px;
}

.footer-sharer{
    padding: 60px;
    position: relative !important;
    z-index: 1;
    font-family: "Poppins", sans-serif;
}

.footer-sharer h4{
    font-size: 17px;
    font-weight: 500;
    margin: 0 0 10px;
    color: #5c5678;
}

.footer-sharer p, .footer-sharer div{
    font-weight: 500;
    font-size: 14px;
}

.sharer-footer-img{
    max-height: 115px;
    max-width: 115px;
}

.bill-text-button-actions{
    flex-wrap: wrap;
    row-gap: 7px;
}

.tva-expand-btn-container{
    position: absolute;
    top: 20px;
    right: 20px;
}

.tva-expand-btn-container span{
    font-weight: 500;
    color: #a6b5bd !important;
    font-size: 12px;
}

.tva-expand-btn-container i{
    font-size: 10px;
    color: #a6b5bd !important;
}

.tva-expand-btn-container button:hover {
    background-color: #e2e9ec !important;
    color: #a6b5bd !important;
}

/* ───────── Applied filter chips — echo the segmented-control style ─────────
   White pill + soft shadow (like the active segment), brand-blue value/icon,
   slate-bold key, and a hover-able circular remove. Markup built in
   public/js/core/app.js (NXUpdateFilterBadges). */
.active-filters-container .filter-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #ffffff;
    border: 1px solid #e6ebf1;
    border-radius: 50px;
    padding: 6px 8px 6px 14px;
    font-size: 12.5px;
    color: #4b5563;
    box-shadow: 0 1px 2px rgba(16, 24, 40, .08);
    transition: box-shadow .15s ease, border-color .15s ease;
}

.active-filters-container .filter-badge:hover {
    border-color: #d7dee6;
    box-shadow: 0 2px 6px rgba(16, 24, 40, .12);
}

.active-filters-container .filter-badge strong {
    color: #212529;
    font-weight: 600;
}

.active-filters-container .filter-badge .filter-badge-value {
    color: #20aee3;
    font-weight: 500;
}

.active-filters-container .filter-badge .filter-badge-info {
    color: #20aee3;
    font-size: 14px;
    cursor: help;
}

.active-filters-container .filter-badge .filter-badge-remove {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    margin-left: 2px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #9aa5b1;
    font-size: 15px;
    line-height: 1;
    cursor: pointer;
    transition: background-color .15s ease, color .15s ease;
}

.active-filters-container .filter-badge .filter-badge-remove:hover {
    background: #fdecec;
    color: #e0533d;
}

/* ============================================================
   Dashboard — currency code de-emphasis (moneyHtml helper)
   ============================================================ */
.money-cur { font-size: .62em; font-weight: 600; opacity: .55; margin-left: 2px; letter-spacing: .2px; }

/* dashboard income chart — empty state (dimmed placeholder chart + floating card) */
.fc-chart-faded canvas { opacity: .28; }
.fc-chart-empty-card { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid #eef0f4; border-radius: 12px; box-shadow: 0 8px 28px rgba(62, 85, 105, .12); padding: 18px 26px; color: #67757c; font-size: 14px; font-weight: 600; max-width: 85%; }
.fc-chart-empty-card i { font-size: 24px; color: #b6bfc7; flex: 0 0 auto; }

/* dashboard activity timeline — empty state (skeleton rows + floating card) */
.fc-activity-empty { position: relative; min-height: 230px; }
.fc-activity-skeleton { padding: 4px 0; }
.fc-skel-row { display: flex; align-items: flex-start; gap: 14px; padding: 12px 2px; }
.fc-skel-dot { flex: 0 0 auto; width: 34px; height: 34px; border-radius: 50%; background: #eef1f5; }
.fc-skel-lines { flex: 1 1 auto; display: flex; flex-direction: column; gap: 9px; padding-top: 5px; }
.fc-skel-line { display: block; height: 10px; border-radius: 6px; background: #eef1f5; }
.fc-skel-line--title { width: 42%; }
.fc-skel-line--sub { width: 68%; height: 8px; background: #f2f4f7; }
.fc-activity-empty-card { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid #eef0f4; border-radius: 12px; box-shadow: 0 8px 28px rgba(62, 85, 105, .12); padding: 16px 22px; color: #67757c; font-size: 14px; font-weight: 600; max-width: 88%; }
.fc-activity-empty-card i { font-size: 24px; color: #b6bfc7; flex: 0 0 auto; }

/* ============================================================
   Dashboard — invoice-status card + mobile-app promo card
   ============================================================ */
.fc-bar-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 6px; }
.fc-bar-label { font-size: 11px; font-weight: 600; color: #99abb4; text-transform: uppercase; letter-spacing: .4px; }
.fc-bar-total { font-size: 13px; font-weight: 700; color: #3e5569; }
.fc-stacked-bar { display: flex; height: 20px; border-radius: 5px; background: #eef0f4; margin-bottom: 18px; }
.fc-stacked-seg { position: relative; height: 100%; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 11px; font-weight: 600; overflow: hidden; white-space: nowrap; cursor: pointer; min-width: 22px; transition: opacity .15s ease, filter .15s ease; }
.fc-seg-txt { display: block; max-width: 100%; overflow: hidden; text-overflow: ellipsis; padding: 0 4px; }
.fc-stacked-bar:hover .fc-stacked-seg { opacity: .4; }
.fc-stacked-bar .fc-stacked-seg:hover { opacity: 1; filter: brightness(1.06); }
.fc-bar-empty { color: #99abb4; font-size: 11px; margin: auto; }
.fc-detail { width: 100%; border-collapse: collapse; }
.fc-detail td { padding: 7px 0; font-size: 12px; border-top: 1px solid #eef0f4; vertical-align: middle; }
.fc-detail tr.fc-detail-head td { border-top: 0; padding: 0 0 4px; font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: .4px; color: #aab4bd; }
.fc-detail .lbl { color: #67757c; }
.fc-detail .num { text-align: right; font-weight: 600; color: #455a64; width: 42px; white-space: nowrap; padding-right: 14px; }
.fc-detail .amt { text-align: right; font-weight: 600; color: #3e5569; white-space: nowrap; }
.fc-detail tr.muted td { color: #b6bfc7; font-weight: 500; }
.fc-detail .fc-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 8px; vertical-align: middle; }
.fc-app-promo { display: flex; align-items: center; }
.fc-phone-img { flex: 0 0 auto; width: 96px; height: auto; margin-right: 18px; }
.fc-app-text { min-width: 0; }
.fc-new-badge { display: inline-block; background: #e6f1fb; color: #1c6cc0; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .6px; padding: 3px 8px; border-radius: 5px; margin-bottom: 8px; }
.fc-app-title { color: #3e5569; font-weight: 600; font-size: 15px; line-height: 1.25; }
.fc-app-sub { color: #99abb4; font-size: 12px; margin: 5px 0 14px; line-height: 1.4; }
.fc-app-badges { margin-top: 14px; white-space: nowrap; }
.fc-app-badges a { display: inline-block; margin-right: 6px; text-decoration: none !important; }
.fc-app-badges img { height: 28px; width: auto; vertical-align: middle; border: 0; }
.fc-config-link { display: inline-block; margin-top: 14px; font-size: 12px; color: #1c6cc0 !important; font-weight: 600; text-decoration: none !important; }
.fc-config-link:hover { text-decoration: underline !important; }

/* ============================================================
   Reports — expenses category × month report
   ============================================================ */
.fc-xr-summary { display: flex; align-items: flex-end; gap: 22px; margin: 6px 0 20px; flex-wrap: wrap; }
.fc-xr-metric { display: flex; flex-direction: column; }
.fc-xr-metric .fc-xr-label { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .4px; color: #99abb4; margin-bottom: 2px; }
.fc-xr-metric .fc-xr-value { font-size: 27px; font-weight: 700; color: #3e5569; line-height: 1.05; }
.fc-xr-sub { display: flex; gap: 16px; font-size: 12px; color: #8a97a0; flex-wrap: wrap; align-items: baseline; }
.fc-xr-sub .fc-xr-period { color: #67757c; font-weight: 700; }
.fc-xr-state { background: #eef4f9; color: #3e5569; font-weight: 700; padding: 1px 9px; border-radius: 20px; font-size: 11px; }
.fc-xr-summary .money-cur { font-size: .55em; font-weight: 600; opacity: .55; margin-left: 2px; }
.fc-xr-chart { min-height: 340px; margin-bottom: 4px; }
.fc-xr-legend { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; margin: 2px 0 10px; font-size: 12px; color: #67757c; }
.fc-xr-lg { display: inline-flex; align-items: center; }
.fc-xr-sw { width: 11px; height: 11px; border-radius: 3px; display: inline-block; margin-right: 6px; }
.fc-xr-sw-hatch { background-color: #dfe4ea; background-image: repeating-linear-gradient(45deg, #9aa4ae 0, #9aa4ae 2px, transparent 2px, transparent 4px); }
.fc-xr-empty { padding: 48px 12px; text-align: center; color: #99abb4; font-size: 13px; }
.fc-xr-caption { caption-side: top; text-align: left; color: #99abb4; font-size: 11px; font-weight: 600; padding: 2px 2px 8px; }
.fc-xr-table { margin-bottom: 0; table-layout: fixed; width: 100%; min-width: 960px; font-variant-numeric: tabular-nums; }
.fc-xr-table th { font-size: 10px; text-transform: uppercase; letter-spacing: .2px; color: #aab4bd; font-weight: 600; border-bottom: 1px solid #eef0f4; white-space: nowrap; padding: 6px 5px; overflow: hidden; text-overflow: ellipsis; }
.fc-xr-table td { font-size: 12px; color: #67757c; border-top: 1px solid #f2f4f7; white-space: nowrap; padding: 7px 5px; overflow: hidden; text-overflow: ellipsis; }
.fc-xr-table .fc-xr-cat { width: 132px; text-align: left; color: #455a64; font-weight: 500; position: sticky; left: 0; background: #fff; z-index: 1; padding-left: 2px; }
.fc-xr-table th.fc-xr-cat { color: #aab4bd; }
.fc-xr-yr { display: block; font-size: 9px; color: #c3cbd1; font-weight: 500; }
.fc-xr-table .fc-xr-total-col { width: 104px; font-weight: 700; color: #3e5569; border-left: 1px solid #eef0f4; }
.fc-xr-table tr.fc-xr-muted td { color: #cbd2d8; }
.fc-xr-table tfoot .report-results-table-totals td { font-weight: 700; color: #3e5569; border-top: 2px solid #e6e9ee; background: #fbfcfd; }
.fc-xr-table tfoot .report-results-table-totals .fc-xr-cat { color: #3e5569; background: #fbfcfd; }
.reports-list-page-filter-container { margin-bottom: 6px; }
/* off-screen table used only for the complete Excel/CSV export (not display:none, so tableExport still reads it) */
.fc-xr-export-only { position: absolute; left: -99999px; top: 0; width: auto; }

/* ============================================================
   Reports — landing / start page
   ============================================================ */
.fc-rs-page { padding: 8px 4px 12px; }
.fc-rs-intro { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; margin: 0 0 22px; }
.fc-rs-intro h4 { color: #3e5569; font-weight: 700; margin: 0; font-size: 20px; }
.fc-rs-intro p { color: #99abb4; font-size: 12.5px; margin: 0; line-height: 1.5; flex: 1 1 320px; min-width: 0; }
.fc-rs-grid { display: flex; flex-wrap: wrap; gap: 14px; justify-content: flex-start; align-items: stretch; }
.fc-rs-card { flex: 0 1 288px; max-width: 300px; min-width: 240px; background: #fff; border: 1px solid #e9edf2; border-radius: 12px; box-shadow: 0 1px 3px rgba(62, 85, 105, .05); padding: 16px 16px 14px; }
.fc-rs-head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.fc-rs-icon { width: 38px; height: 38px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 19px; flex: 0 0 auto; }
.fc-rs-title { font-size: 15px; font-weight: 700; color: #3e5569; }
.fc-rs-desc { font-size: 12px; color: #99abb4; line-height: 1.5; margin: 0 0 13px; }
.fc-rs-links { display: flex; flex-wrap: wrap; gap: 6px; }
.fc-rs-links a { font-size: 11.5px; font-weight: 600; color: #3e5569; background: #f4f6f9; border-radius: 6px; padding: 5px 10px; text-decoration: none !important; cursor: pointer; transition: background .15s ease, color .15s ease; }
.fc-rs-links a:hover { background: #e6f1fb; color: #1c6cc0; }
.fc-rs-foot { text-align: center; color: #aab4bd; font-size: 12px; margin-top: 28px; }

/* ============================================================
   Dashboard — top KPI cards (payments / invoices)
   ============================================================ */
.fc-kpi .fc-kpi-card { position: relative; border: 1px solid #eef0f4; border-radius: 0; overflow: hidden; }
.fc-kpi-card::before { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; }
.fc-kpi-card .card-body { padding: 16px 18px; }
.fc-kpi-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 12px; min-height: 22px; }
.fc-kpi-label { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .5px; color: #99abb4; }
.fc-kpi-value { font-size: 25px; font-weight: 700; color: #3e5569; line-height: 1.1; white-space: nowrap; }
.fc-kpi-sub { font-size: 12px; color: #99abb4; margin-top: 8px; min-height: 18px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fc-kpi-sub--danger { color: #ff5c6c; font-weight: 600; }
.fc-kpi-prev { font-weight: 700; color: #67757c; }
.fc-kpi-badge { font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 20px; white-space: nowrap; flex: 0 0 auto; }
.fc-kpi-badge--up { background: rgba(27, 184, 158, .12); color: #1bb89e; }
.fc-kpi-badge--down { background: rgba(255, 92, 108, .12); color: #ff5c6c; }
.fc-kpi-badge--flat { background: #eef0f4; color: #99abb4; }
.fc-kpi--teal .fc-kpi-card::before { background: #24d2b5; }
.fc-kpi--blue .fc-kpi-card::before { background: #20aee3; }
.fc-kpi--orange .fc-kpi-card::before { background: #ff9041; }
.fc-kpi--red .fc-kpi-card::before { background: #ff5c6c; }

/* ============================================================
   Expense add/edit modal (expenses/components/modals/add-edit-inc)
   ============================================================ */
#js-trigger-expenses .form-group { margin-bottom: .9rem !important; }
#js-trigger-expenses .col-form-label { padding-top: 0 !important; padding-bottom: 7px !important; line-height: 1.3 !important; }
#js-trigger-expenses .row + .row { margin-top: 0; }
/* "Plus de détails" expander reflects its open/closed state via the hidden checkbox :checked state (no JS) */
#js-trigger-expenses .js-more-details-toggle:hover .more-label-show,
#js-trigger-expenses .js-more-details-toggle:hover .more-label-hide { text-decoration: underline; }
#js-trigger-expenses .more-chevron { width: 0; height: 0; border-left: 4px solid transparent; border-right: 4px solid transparent; border-top: 5px solid currentColor; transition: transform .15s ease; }
#js-trigger-expenses .more-label-hide { display: none; }
#js-trigger-expenses .js-more-details-toggle input:checked ~ .more-chevron { transform: rotate(180deg); }
#js-trigger-expenses .js-more-details-toggle input:checked ~ .more-label-show { display: none; }
#js-trigger-expenses .js-more-details-toggle input:checked ~ .more-label-hide { display: inline; }

/* settlement segmented chooser (Réglée / Pas encore réglée) */
.settle-choice { display: flex; align-items: stretch; margin-top: 12px; }
.settle-card { flex: 1 1 0; display: flex; align-items: center; gap: 12px; margin: 0; padding: 13px 14px; border: 1.5px solid #e3e8ee; border-radius: 12px; background: #fff; cursor: pointer; transition: all .15s ease; min-width: 0; }
.settle-card:hover { border-color: #cbd2d9; }
.settle-card input { position: absolute; opacity: 0; width: 0; height: 0; }
.settle-card__icon { flex: 0 0 auto; width: 34px; height: 34px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: #eef1f5; color: #9aa5b1; font-size: 15px; transition: all .15s ease; }
.settle-card__body { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.settle-card__title { font-weight: 700; font-size: 14px; color: #8795a1; }
.settle-card__desc { font-size: 11px; color: #b0b7c0; }
.settle-choice__or { align-self: center; flex: 0 0 auto; margin: 0 10px; width: 34px; height: 34px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: #fff; border: 1.5px solid #e3e8ee; font-size: 11px; font-weight: 700; color: #9aa5b1; }
.settle-card--paid.is-active { border-color: #14b8a6; background: #f0fbf9; }
.settle-card--paid.is-active .settle-card__icon { background: #14b8a6; color: #fff; }
.settle-card--paid.is-active .settle-card__title { color: #0d9488; }
.settle-card--paid.is-active .settle-card__desc { color: #4a9d92; }
.settle-card--due.is-active { border-color: #f59e0b; background: #fff8ef; }
.settle-card--due.is-active .settle-card__icon { background: #f59e0b; color: #fff; }
.settle-card--due.is-active .settle-card__title { color: #c9760a; }
.settle-card--due.is-active .settle-card__desc { color: #a9773f; }
@media (max-width: 480px) { .settle-choice { flex-direction: column; } .settle-choice__or { margin: 8px 0; } }