/* Reconciliation module css begins here */

/** maping template css starts **/
.template-table th:last-child,
.template-table td:last-child {
    width: 40px;
    padding-right: 1.5rem;
    text-align: end;
}

.template-table td .dropdown .dot-button {
    text-align: end;
    padding-right: 1rem;
}

.template-table td .dropdown-menu::after {
    content: "";
    position: absolute;
    top: -0.5rem;
    right: 0.5rem;
    border-left: 0.5rem solid transparent;
    border-right: 0.5rem solid transparent;
    border-bottom: 0.5rem solid var(--border-color);
    z-index: 1;
}

.template-table td .dropdown-menu::before {
    content: "";
    position: absolute;
    top: -0.45rem;
    right: 0.6rem;
    border-left: 0.45rem solid transparent;
    border-right: 0.45rem solid transparent;
    border-bottom: 0.45rem solid var(--calender-range-hover-bg-color);
    z-index: 2;
}

.template-table td .dropdown-menu[data-popper-placement^="top"]::after {
    top: auto;
    bottom: -0.5rem;
    border-left: 0.5rem solid transparent;
    border-right: 0.5rem solid transparent;
    border-top: 0.5rem solid var(--border-color);
    border-bottom: none;
}

.template-table td .dropdown-menu[data-popper-placement^="top"]::before {
    top: auto;
    bottom: -0.45rem;
    border-left: 0.45rem solid transparent;
    border-right: 0.45rem solid transparent;
    border-top: 0.45rem solid var(--calender-range-hover-bg-color);
    border-bottom: none;
}

.template-table td .dropdown-menu {
    background: var(--calender-range-hover-bg-color);
}

.template-table td .dropdown-menu .dropdown-item:hover {
    background: transparent;
    color: var(--error-red);
}

.table td .bank-svg {
    width: 1.5rem;
}

.template-modal {
    min-width: 600px;
}

.template-column-container {
    border: var(--border-color) 1px solid;
    border-radius: 0.5rem;
    padding: 0;
}

.template-column-header {
    background: #F9FBFC;
    border-top-right-radius: 0.5rem;
    border-top-left-radius: 0.5rem;
    padding: 0.8rem 1rem;
    margin: 0;
}


.template-column-body {
    padding: 0;

}

.template-column-row {
    border-top: var(--border-color) 1px solid;
    margin: 0;
    align-items: center;
    padding: 0.5rem 0.25rem !important;
}

.template-column-row .form-label {
    margin: 0;
}

.template-modal .modal-body {
    max-height: 660px;
    overflow-y: scroll;
}

.btn-success.disabled {
    color: var(--bs-primary-color);
}


.recon .modal-dialog {
    top: 24rem;
}

.Recon-pending-heading .recon-batch,
.recon-batch {
    padding: 0px var(--border-radius-6);
    background-color: var(--calender-range-hover-bg-color) !important;
}

.recon-batch.view {
    background-color: var(--bs-gray-200);
}

.recon-mismatch-section {
    border: 1px solid var(--border-color);
    border-radius: var(--font-size-12);
}

.match-warning {
    background-color: #E7F4EB;
    border-radius: var(--font-size-12) var(--font-size-12) 0 0;
}

.mismatch-warning {
    background-color: #F4E7E7;
    border-radius: var(--font-size-12) var(--font-size-12) 0 0;
}

.mismatch-warning p,
.match-warning p {
    font-size: var(--common-size);
}

.mismatch-numbers {
    background-color: var(--toastBg);
    border-radius: 0 0 var(--font-size-12) var(--font-size-12);
}

.mismatch-numbers .icon {
    aspect-ratio: 1 / 1;
    width: 1.875rem;
}

.mismatch-table-badge {
    font-size: var(--font-size-12);
}

.mismatched-table .table-responsive {
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-8);
}

/* .mismatched-table td span.badge {
    font-size: var(--font-size-12);
} */

.mismatch-th,
.mismatch-td {
    background-color: #FFF5F5 !important;
}

.duplicate-td {
    background-color: var(--warning-yellow-bg) !important;
}

.disabled-td,
.disabled-th {
    background-color: #F8F8F8 !important;
}

.disabled-th .bi-exclamation-circle-fill {
    color: var(--bs-gray-500);
}

.primary-td {
    background-color: var(--success-green-bg) !important;
    border-bottom: 1px solid var(--success-green) !important;
    border-top: 1px solid var(--success-green) !important;
}

.primary-td>.badge.bg-success {
    background-color: var(--success-green) !important;
    color: var(--text-color) !important;
}

.primary-td:nth-child(1) {
    border-left: 1px solid var(--success-green) !important;
}

.strike-td {
    background-color: var(--calender-range-hover-bg-color) !important;
    color: var(--bs-gray-500) !important;
}

.strike-td:nth-child(1) {
    max-width: max-content !important;
}

.navigate-mismatch {
    position: absolute;
    top: -25px;
    right: 0;
    min-width: auto;
}

.duplicate-status {
    background-color: var(--warning-yellow-bg);
    border: 1px solid var(--warning-yellow);
    border-radius: var(--font-size-12);
    padding: var(--common-size);
}

.missing-status {
    background-color: var(--error-red-bg);
    border: 1px solid var(--error-red);
    border-radius: var(--font-size-12);
    padding: var(--common-size);
}

.settlement-status {
    background-color: var(--info-blue-bg);
    border: 1px solid var(--info-blue);
    border-radius: var(--font-size-12);
    padding: var(--common-size);
}

.settlement-status {
    background-color: var(--info-blue-bg);
    border: 1px solid var(--info-blue);
    border-radius: var(--font-size-12);
    padding: var(--common-size);
}

/*A s*/

/*template note for create new template*/
.template-note {
    border-left: 2px solid #b88603;
    padding-left: 12px;
    margin: 12px 0;
    font-size: 12px;
    color: var(--bs-secondary-color);
}

.template-note h6 {
    font-size: 13px;
    font-weight: 600;
    color: var(--bs-primary-color);
}

.template-note ul {
    margin-top: 4px;
}

.template-note li {
    margin-bottom: 4px;
    line-height: 1.5;
}

.template-note h6 {
    margin-left: -4px;
    font-weight: 600;
}

.recon-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 500;
}

/* info */
.recon-status-info {
    background: var(--info-blue-bg);
}

.recon-status-info,
.recon-status-info i,
.recon-status-info span {
    color: var(--info-blue) !important;
}

/* error */
.recon-status-error {
    background: var(--error-red-bg);
}

.recon-status-error,
.recon-status-error i,
.recon-status-error span {
    color: var(--error-red) !important;
}

/* ICONS */
.recon-status-info .status-icon::before {
    content: "\f430";
    font-family: 'bootstrap-icons';
}

.recon-status-error .status-icon::before {
    content: "\f33a";
    font-family: 'bootstrap-icons';
}

.save-dropdown-btn {
    min-width: 32px !important;
    max-width: 32px !important;
    padding-left: 10px !important;
    padding-right: 10px !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    border-top-right-radius: 6px !important;
    border-bottom-right-radius: 6px !important;
}

.save-dropdown-btn i {
    font-size: 12px;
}

.recon-save-dropdown {
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 8px 0;
    width: 200px;
    transform: translateX(-8px);
    box-shadow: 0px 4px 16px 0px rgba(0, 0, 0, 0.12);
}

.recon-save-dropdown .dropdown-item {
    color: var(--bs-secondary-color);
    font-weight: 400;
    padding: 8px 12px;
}

.recon-save-dropdown .dropdown-item:hover {
    color: #101828;
}

/* ERROR STATE (inside Table)*/
.recon-field-error .status-icon::before {
    content: "\f33b";
    font-family: 'bootstrap-icons';
    color: var(--error-red);
}

.recon-field-error .required-star {
    display: inline;
    color: var(--error-red);
}

/* SUCCESS STATE */
.recon-field-success .status-icon::before {
    content: "\f26b";
    font-family: 'bootstrap-icons';
    color: var(--success-green);
}

.recon-field-success .required-star {
    display: none;
}

/* UNIQUE SCROLLBAR */
.recon-template-scroll::-webkit-scrollbar {
    width: 6px;
}

.recon-template-scroll::-webkit-scrollbar-track {
    background: var(--bs-gray-200);
    border-radius: 999px;
}

.recon-template-scroll::-webkit-scrollbar-thumb {
    background: var(--bs-gray-500);
    border-radius: 999px;
}

.recon-template-scroll::-webkit-scrollbar-thumb:hover {
    background: #98A2B3;
}


.recon-searchbox .bi-search {
    position: absolute;
    top: 50%;
    left: 10px;
    transform: translateY(-50%);
    z-index: 999;
    color: var(--bs-primary-color);
}

.recon-searchbox .dropdown-search {
    padding-left: 2.188rem;
}

.modal-filter .modal-dialog.exception-approval-modal {
    top: 19rem;
}

.modal-filter .modal-dialog.transaction-filter-modal {
    top: 10rem;
}

.modal-filter .modal-dialog.reconbatch-filter-modal {
    top: 9.5rem;
}

.modal-dialog.reconbatch-filter-modal .dual-date-picker .daterangepicker {
    /* left: -156px !important; */
    top: 41px !important;
}

.exception-table-tab .nav-pills .nav-link {
    border: none;
}

.exception-table-tab .nav-pills .nav-link.active {
    box-shadow: 0px 0px 9px 0px #00000014;
}

.reconBactes {
    border-left: 1px solid #e0e0e0;
}

.name-holder {
    /* width: 20px;
  height: 20px; */
    background: var(--calender-range-hover-bg-color);
    padding: 0.25rem;
    border-radius: 0.25rem;

}

.recon-details-card {
    width: 98rem;
    height: 8.5rem;
    border: 0.5px;
    background-color: var(--recon-details-card);
    border-radius: 0.75rem;
}

.recon-sub-card {
    background-color: #F4E7E7;
    padding: 0.625rem;
    gap: 8;
    height: 3rem;
    border-top-right-radius: 0.75rem;
    border-top-left-radius: 0.75rem;
}

.icon-holders {
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 0.25rem;
    background: #FFFFFF;
}

.recon-badge {
    background: #E7F4EB;
    color: var(--highlight-color);
    padding: 0.5rem;
    border-radius: 1.5rem;
}

.exception-approval-card {
    padding: 1rem;
    gap: 16;
    border-radius: 12px;
    border: 0.5px solid var(--warning-yellow);
    background: var(--warning-yellow-bg);
}

.under-review-error {
    background: var(--error-red-bg);
    padding: 0.5rem;
    gap: 10;
    border-radius: 1rem;
}


/** supplimentary batch css starts **/

.badge.bg-warning3 {
    --_badge-bg-color: #F4F4E7 !important;
    --_badge-color: #B88804 !important;
    --_badge-border-color: #F4F4E7 !important;
}

.supp-tab-sec .nav-pills {
    border-bottom: var(--border-color) 1px solid;
    margin-bottom: 1rem;

}

.supp-tab-sec .nav-pills .nav-link {
    padding: 0.8rem;
}

.supp-tab-sec .nav-pills .nav-link.active {
    color: var(--highlight-color);
    font-weight: 500;
    border-radius: 0;
    border-bottom: 2px solid var(--highlight-color);
}

.missMatch {
    background: var(--error-red-bg);
}

.exception-approval-pendingApproval {
    padding: 1rem;
    gap: 16;
    border-radius: 12px;
    border: 0.5px solid var(--info-blue);
    background: var(--info-blue-bg);
}

.create-recon-modal .modal-body {
    background-color: var(--calender-range-hover-bg-color);
}

.create-recon-modal .modal-content {
    border-radius: calc(var(--border-radius) * 3);
}

.border-radius-1x {
    border-radius: var(--border-radius);
}

.border-radius-3x {
    border-radius: calc(var(--border-radius) * 3);
}

.modal-footer .tab-container span:after {
    content: "\f285";
    font-family: 'bootstrap-icons';
    font-size: .75rem;
    position: relative;
    left: 1.5rem;
}

.modal-footer .tab-container span i {
    border: 1px solid;
    padding: 3px;
    border-radius: 50%;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-footer .tab-container span.active i:before {
    color: #8BE53A;
}

.modal-footer .tab-container span:last-child:after {
    display: none;
}

.modal-footer .tab-container span {
    display: flex;
    align-items: center;
    color: var(--bs-gray-500);
}

/* .modal-footer .tab-container span.active {
    --bs-gray-500: var(--bs-success);
} */

.modal-footer .tab-container span.completed {
    color: var(--highlight-color);
}

.modal-footer .tab-container span.completed i {
    background: var(--highlight-color);
    border-color: var(--highlight-color);
    color: #fff;
}

.modal-footer .tab-container span.active {
    color: var(--highlight-color);
}

.modal-footer .tab-container span.active i {
    color: var(--highlight-color);
    border-color: var(--highlight-color);
}

.modal-footer .tab-container span.completed:after,
.modal-footer .tab-container span.active:after {
    color: var(--highlight-color);
}


.modal-blur-effect {
    filter: blur(2px);
    transition: 0.3s ease;
    pointer-events: none;
}

/* Recon Modal width reset */
@media (min-width: 1200px) {
    .modal-xl {
        --bs-modal-width: 1200px;
    }
}

.account-badge {
    background: var(--success-green);
    padding: 0.25rem;
    border-radius: 0.25rem;
    color: #FFFFFF;
    gap: 10;
}

.bg-return {
    background: var(--return-background);
    color: var(--return-color);
    border-color: var(--return-border-color);
}

.batch-holder {
    background: var(--bs-gray-200);
    border-radius: 0.25rem;
    padding: 0 0.25rem 0 0.25rem;
}

/* Review History */
.reviewHistory .accordion-item {
    background-color: transparent;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-8);
    padding: 1rem;
}

.reviewHistory .accordion-item::after {
    content: none;
}

.reviewHistory .accordion-collapse.collapse {
    background-color: #F9FBFC;
    border-radius: var(--border-radius-8);
}

.reviewHistory .accordion-button::after {
    width: var(--font-size-20);
    height: var(--font-size-20);
    background-size: var(--font-size-20);
}

.dashed-border {
    border: 1px dashed var(--border-color);
}

.font-10 {
    font-size: 10px;
}

.recon-batch-border,
.recon-batch-border-start,
.recon-batch-border-end {
    border-bottom: 1px solid var(--calender-range-hover-bg-color) !important;
}

.recon-batch-border-start.position-relative::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 20px;
    height: 1px;
    background: white;
}

.recon-batch-border-end.position-relative::after {
    content: '';
    position: absolute;
    right: 0;
    bottom: 0;
    width: 20px;
    height: 1px;
    background: white;
}

.temp-note-bx {
    border-left: #B88804 2px solid;
}

.modal-backdrop.modal-backdrop-level-2 {
    z-index: 1060;
}

.batch-container {
    display: flex;
    align-items: center;
    gap: 12px;
}

.batch-type {
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #F8F8F8;
    border: 1px solid #F8F8F8;
    border-radius: 4px;
    color: #2D2D2D;
    font-size: 14px;
    font-weight: 500;
    flex-shrink: 0;
}

.deleteMapColumn {
    cursor: pointer;
}

.reconciliation-notification .notification-icon {
    font-size: 1.4rem;
    line-height: 1;
}

.reconciliation-notification .error-message {
    font-size: 12px;
    line-height: 1.5;
    word-break: break-word;
}

.reconciliation-notification small {
    line-height: 0.5;
    font-size: 10px;
}

.custom-select__menu {
    max-height: 260px !important;
}

.dropdown-hidden {
    display: none !important;
}