@import "forms.css";

body {
    font-size: 0.8rem !important;
    background-color: #fafafa;

} 

.form-control  {
    font-size: 0.75rem !important;
}

.form-control-xss  {
    height: calc(1.0em + 0.5rem + 2px);
    padding: 0.25rem 0.5rem;
    line-height: 1.0em;
    border-radius: 0.2rem;
}

.input-group-text {
    font-size: 0.8rem !important;
}

.input-group-text-xss
{
    padding:0.05rem 0.75rem;
}

.table-scroll {
    overflow-x: auto !important;
}

.block-header-default {
    background-color: #f6f6f6;
    border-bottom: 1px solid #f0f0f0;
}

.block-sysynkt-loading{
    opacity: 0.3 !important;
}

.block-sysynkt-loading-overlay{
    position: absolute;
    height: 100%;
    width: 100%;
    display: block;
    z-index: 999;
    
}

.block-sysynkt-loading-under{
    position: relative;
    top: 0;
    right: 0;
}





.col-sysynkt-2-6{

    max-width: 50% !important;
    flex: 0 0 50% !important;
}


.col-sysynkt-2-3{

    max-width: 25% !important;
    flex: 0 0 25% !important;
}




.bg-sysynkt-green{
    background-color: #e9ff5f;
}
.bg-sysynkt-navy{
    background-color: #202432;
}
.bg-sysynkt-blue{
    background-color: #2E5DEA;
}
.bg-sysynkt-sky{
    background-color: #70A7FB;
}


/*TABLES*/

.thead-sysynkt-dark{
    background-color: #2c343faa;
    color: #fff;
    border-top-right-radius: 0.25rem;
}

.thead-sysynkt-light{
    background-color: #eeeeee;
    color: #333333;
    border-top-right-radius: 0.25rem;
    border-top-left-radius: 0.25rem;

    border-top-style: 1px;
    border-top-width: 1px;
}

.split-row-child{
    border-top: 1px dashed #e8e8e8 !important;
}

.split-row-child-date{
    border-top: 0px !important;
}

.table-sysynkt-success-lighter{
    background-color: #f1faf5 !important;
}

.table-sysynkt-corrected-lighter{
    background-color: #f0f9ff !important;
}

.table-sysynkt-split-row-parent{
    background-color: #f8f8f8 !important;
}

.table-sysynkt-split-row-child{
    /*border-top-style: dotted !important;*/
}

body.dt-is-loading::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 99998;
    display: block;
    pointer-events: auto;
}

body.dt-is-loading #app-banking-accounts-transactions-dt_processing {
    position: fixed !important;
    top: 50% !important;
    left: 50% !important;
    z-index: 99999 !important;
    pointer-events: auto;
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
}

/*BUTTONS*/

/*Should replace btn-alt-dark*/
.btn-sysynkt-grey{
    background-color: #E8EAED;
    /*border-color: #E8EAED;*/
}
.btn-sysynkt-grey:hover{
    background-color: #6c757d;
    border-color: #6c757d;
    color:	#ffffff;
}

.btn-xss, .btn-group-xss > .btn {
    padding: 0.25rem 0.5rem;
    font-size: 0.75rem;
    line-height: 1;
    border-radius: 0.2rem;
}

/*******************************
padding: 0.25rem 0.5rem;
font-size: 0.875rem;
line-height: 1.5;
border-radius: 0.2rem;
*/

/*CUSTOM CLASSES*/

.is-confirm{
    border-color: #f0a73c;
}

/*BORDERS*/

.border-sysynkt-green{
    border-color: #e9ff5f !important;
}

.border-sysynkt-navy{
    border-color: #202432 !important;
}

.border-sysynkt-blue{
    border-color: #2E5DEA !important;
}

.border-sysynkt-sky{
    border-color: #70A7FB !important;
}


.text-sysynkt-green{
    color: #e9ff5f;
}

.text-sysynkt-sky{
    color: #70A7FB;
}

.text-sysynkt-navy{
    color: #202432 !important;
}

.text-sysynkt-blue{
    color: #2E5DEA !important;
}

/*Remove default datatable bottom border*/
.dataTables_wrapper.no-footer .dataTables_scrollBody {
    border-bottom: 0 !important;
}
table.dataTable.no-footer {
    border-bottom: 0 !important;
    
}

.dataTables_processing>div:last-child>div{
    background: rgba(30,30,30,0.9) !important;
}

.br-narrow{
    padding: 	2px 8px !important;
}

.br-light-border-amounts-col {
    border-right: 1px dotted #E1E1E1 !important;
    border-left: 1px dotted #D3D3D3 !important;
}

.transactions-narrow{
    padding: 	2px 8px !important;
}

/*Fix for Datables ScrollY headers appearing twice*/
.dataTables_scrollBody thead {
    visibility: hidden;
    line-height: 0;
    opacity:0.0;
    width: 0px;
    height:0px;
}


/*Dropdown Narrow */

.dropdown-item-sysynkt{
    padding: 0.25rem 0.5rem;
}

.sysynkt-checkbox:before{
    width: 0.75rem  !important;
    height: 0.75rem  !important;
}


.debug-block{
    border-radius: 0.25rem;
    border: 1px solid maroon;
    margin-bottom: 1.875rem;
    background-color: #F5ECEC;
    padding: 0.5rem;
    font-size: xx-small;
    white-space: pre-wrap;
    white-space: -moz-pre-wrap;
    white-space: -pre-wrap;
    white-space: -o-pre-wrap;
    word-wrap: break-word;
    color: darkred;
    font-family: monospace;
}





/*Tigher Select2 & Control*/
.select2-container--default .select2-selection--single .select2-selection__rendered {
    padding-left: 8px;
    height: 23px;
}
.select2-container--default .select2-selection--multiple{
    padding: 0.25rem;
}



.select2-selection__rendered {
    /*line-height: 21px !important;*/
    /*height: 23px !important;*/
    margin-bottom: 0px;
    
}
.select2-container .select2-selection--single {
    height: 25px !important;
    
}
.select2-selection__arrow {
    height: 24px !important;
    
}


.sysynkt-input-narrow{
    height: 25px;
    padding: 0.25rem 0.50rem;
}


.sysynkt-input-group-narrow{
    height: 25px;
}



.sysynkt-label{
    font-size: 0.7rem;
}

.correction-marker{
    text-decoration: line-through;  
    text-decoration-line: line-through;  
    -webkit-text-decoration: line-through; 
    -webkit-text-decoration-line: line-through; 
    color: red;
}

.invoice-header-totals-container{
    container-type: inline-size;
}

.conditional-break {
    display: none;
}

@media screen and (max-width: 1300px) {
    .conditional-break {
        display: block;
    }
}

/* If the container is larger than 700px */
@container (max-width: 600px) {
    .invoice-header-totals-container-object {
      flex: 0 0 50%;
      max-width: 50%;
    }
}


.invoice-header-action-buttons-container{
    container-type: inline-size;
}

/* If the container is larger than 700px */
@container (max-width: 220px) {
    .invoice-header-action-buttons-container-object {
      flex: 0 0 100%;
      max-width: 100%;
      text-align: left !important;
      margin-bottom: 2px;
    }
}


.dt-currency-rate-cell{
    padding-left: 10px !important;
    padding-right: 0px !important;

}

.sysynkt-info-pill{
    display: flex;
    border-radius: 5px;
}

.split-progress-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
}

.split-progress-modal.is-open {
    display: flex;
    align-items: center;
    justify-content: center;
}

.split-progress-step-row .small {
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;

    white-space: normal;
    word-break: break-word;
    overflow-wrap: anywhere;

    line-height: 1.5;
    font-size: 13px !important;
}

.split-progress-box {
    position: relative;
    z-index: 100000;
    width: 400px;
    min-width: 400px;
    max-height: 90vh;
    overflow-y: auto;
    background: #fff;
    padding: 20px 24px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    text-align: center;
}

.spinner {
    width: 42px;
    height: 42px;
    border: 4px solid #eee;
    border-top: 4px solid #007bff;
    border-radius: 50%;
    margin: 0 auto 18px auto;
    animation: spin 1s linear infinite;
}

.message-warning {
    color: #856404;
    background-color: #fff3cd;
    border-color: #ffeeba;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.password-popup-wrap {
    position: relative;
    overflow: visible !important;
}

.password-requirements-popup {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    bottom: calc(100% + 8px);
    z-index: 9999;

    background: #fff;
    border: 1px solid #d9d9d9;
    border-radius: 6px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    padding: 12px 14px;
    max-width: 420px;
}

.pw-rule {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 8px;
    line-height: 1.4;
}

.pw-rule:last-child {
    margin-bottom: 0;
}

.pw-rule-icon {
    margin-top: 2px;
    min-width: 14px;
    color: #c7c7c7;
    transition: color 0.15s ease;
}

.pw-rule.ok .pw-rule-icon {
    color: #28a745;
}

.pw-rule-text {
    color: #444;
}

.pw-example {
    color: #777;
    font-size: 12px;
}

#NewPaginationContainerBank .dt-paging-button,
#NewPaginationContainerLedger .dt-paging-button,
#NewPaginationContainerBank .dt-paging .ellipsis,
#NewPaginationContainerLedger .dt-paging .ellipsis {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    height: 23px;
    padding: 2px 7px;
    margin-right: 4px;
    font-size: 12px;
    line-height: 1;
}

#NewPaginationContainerBank .dt-paging .ellipsis,
#NewPaginationContainerLedger .dt-paging .ellipsis {
    box-sizing: border-box;
}

#NewPaginationContainerBank .dt-paging-button,
#NewPaginationContainerLedger .dt-paging-button {
    background: #f5f5f5;
    color: #495057;
    border: 1px solid #d8dde2;
    cursor: pointer;
    border-radius: 4px;
}

#NewPaginationContainerBank .dt-paging-button.current,
#NewPaginationContainerLedger .dt-paging-button.current {
    background: #ced3d8;
    color: #495057;
    border-color: #ced3d8;
}

#NewPaginationContainerBank .dt-paging-button:focus,
#NewPaginationContainerLedger .dt-paging-button:focus {
    outline: none;
    box-shadow: none;
}

.popover {
    max-width: 360px;
}

#dt-debtor-transactions .tx-actions {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
}

#dt-debtor-transactions .tx-actions .btn-xss {
    width: 28px;
    height: 24px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

#dt-debtor-transactions .tx-actions .mini-count {
    margin-left: 2px;
    font-size: 10px;
    font-weight: 700;
}

#dt-debtor-transactions .tx-actions .badge {
    min-width: 54px;
    text-align: center;
    font-size: 10px;
}

#dt-debtor-transactions .tx-actions .dropdown-toggle {
    width: 28px;
    height: 24px;
    padding: 0;
}

.tx-actions .dropdown-toggle::after {
    display: none;
}

.tx-menu-btn {
    width: 30px;
    height: 24px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.tx-menu-wrap {
    position: relative;
}

.tx-menu-btn {
    position: relative;
    width: 30px;
    height: 24px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.tx-menu-count {
    position: absolute;
    top: -7px;
    right: -7px;
    min-width: 15px;
    height: 15px;
    padding: 0 4px;
    border-radius: 999px;
    background: #28a745;
    color: #fff;
    font-size: 9px;
    line-height: 15px;
    font-weight: 700;
}

.debtor-selection-overlay {
    position: sticky;
    top: 70px;
    z-index: 30;

    width: 100%;

    background: #eef4ff;
    border: 1px solid #c9dcff;
    border-radius: 4px;
    padding: 8px 12px;
    margin-bottom: 8px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;

    box-shadow: 0 2px 6px rgba(0,0,0,.08);
}

.debtor-selection-overlay.is-hidden {
    display: none !important;
}

.debtor-selection-summary {
    display: flex;
    align-items: center;
    gap: 20px;
    min-width: 0;
    flex-wrap: wrap;
}

.debtor-selection-actions {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-left: auto;
    flex-shrink: 0;
    flex-wrap: wrap;
}

#btn-debtor-clear-selection {
    margin-left: 8px;
}

.debtor-sidebar {
    position: fixed;
    top: 0;
    right: -420px;
    width: 400px;
    max-width: 92vw;
    height: 100vh;
    overflow-y: auto;
    background: #fff;
    z-index: 1030;
    padding: 16px;
    box-shadow: -8px 0 24px rgba(0,0,0,.18);
    transition: right .25s ease;
}

.debtor-sidebar.is-open {
    right: 0;
}

.debtor-sidebar-backdrop.is-open {
    display: block;
}

.debtor-sidebar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 12px;
    margin-bottom: 12px;
    border-bottom: 1px solid #e5e5e5;
}

.debtor-main {
    flex: 0 0 100%;
    max-width: 100%;
}

@media (min-width: 1500px) {

    #debtor-sidebar.debtor-sidebar {
        position: static !important;
        flex: 0 0 25%;
        max-width: 25%;
        width: auto !important;
        height: auto !important;
        padding: 0 15px !important;
        box-shadow: none !important;
        background: transparent !important;
        overflow: visible !important;
        z-index: auto;
    }


    #btn-open-debtor-sidebar,
    #debtor-sidebar-backdrop,
    .debtor-sidebar-header {
        display: none !important;
    }

    .debtor-main {
        flex: 0 0 75%;
        max-width: 75%;
    }

    .debtor-side {
        flex: 0 0 25%;
        max-width: 25%;
    }

    .debtor-sidebar-tab {
        display: none !important;
    }
}

@media (max-width: 1499.98px) {
    #btn-open-debtor-sidebar {
        display: inline-flex !important;
        align-items: center;
    }

    #debtor-sidebar .debtor-sidebar-header {
        display: flex !important;
    }

    .debtor-main {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .debtor-side {
        max-width: 92vw;
    }
}

.debtor-sidebar-tab {
    position: fixed !important;
    right: 0;
    top: 175px;
    transform: none;

    width: 42px;
    height: 58px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    background: #fff;
    color: #4a5568;

    border: 1px solid #dfe3ea;
    border-right: 0;
    border-radius: 10px 0 0 10px;

    box-shadow: -3px 3px 12px rgba(0,0,0,.16);
    z-index: 1030;
    cursor: pointer;
}

.debtor-sidebar-tab::before {
    content: "Interactions & Reminders";

    position: absolute;
    right: 55px;

    white-space: nowrap;

    background: #2d3748;
    color: #fff;

    padding: 8px 12px;
    border-radius: 6px;

    opacity: 0;
    visibility: hidden;

    transition: all .15s ease;
}

.debtor-sidebar-tab:hover::before {
    opacity: 1;
    visibility: visible;
}

.debtor-sidebar-tab:hover {
    width: 48px;
    background: #f7f9fc;
}

@media (min-width: 1500px) {
    .debtor-sidebar-tab {
        display: none !important;
    }
}

.allocation-acc-chevron.open {
    transform: rotate(180deg);
    transition: transform 0.2s;
}
.allocation-acc-chevron {
    transition: transform 0.2s;
}
.allocation-acc-body .dropdown-item {
    padding-left: 1.5rem;
}

#markers-filter-menu {
    max-height: min(420px, 70vh);
    overflow-y: auto;
}

.debtor-cell-comment {
    overflow-wrap: anywhere;
    margin-top: 2px;
}
ˇ