.update_row tr,
.update_row td {
    background-color: #f7f7d1 !important;
}
.type-a {
    font-size: 13px;
    padding: 5px 8px;
    border-radius: 3px;
}
.type-b {
    font-size: 11px;
    padding: 1px 5px;
    border-radius: 3px;
}
.type-c {
    font-size: 10px;
    padding: 1px 5px;
    border-radius: 3px;
}
.icon-md {
    margin-top: -3px;
}
.icon-sm {
    margin-top: -3px;
}
.modal {
    display: block;
}
.tomselect {
    /* display: none; */
}
.choiceselect {
    display: none;
}
.form-control:disabled,
.form-control[readonly] {
    pointer-events: none;
    background-color: #f1f1f1 !important;
    opacity: 0.7;
}
.datepickr[readonly],
.flatpickr-input[readonly] {
    pointer-events: auto;
    background-color: #fff !important;
    opacity: 1;
}
.power_grid.form-control {
    pointer-events: auto;
    background-color: #fff !important;
    opacity: 1;
}
.invalid-feedback {
    display: block;
}

.choices__inner {
    padding: 0.4rem 0.85rem !important;
}
.choices__list--dropdown .choices__item--selectable,
.choices__list[aria-expanded] .choices__item--selectable {
    padding: 8px !important;
}
.choices.is-invalid,
.was-validated .choices:invalid {
    border: 1px solid var(--bs-form-invalid-border-color);
    border-radius: 0.35rem;
    -webkit-border-radius: 0.35rem;
    -moz-border-radius: 0.35rem;
    -ms-border-radius: 0.35rem;
    -o-border-radius: 0.35rem;
}

tfoot tr th {
    text-transform: capitalize;
}

.ts-control {
    padding: 0.475rem 0.75rem;
}

/* table.dataTable tbody tr > .dtfc-fixed-left,
table.dataTable tbody tr > .dtfc-fixed-right {
    z-index: 1;
} */

.cols-fixed-height {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr));
    gap: 2rem;
}

.row-equal-height {
    display: flex;
    flex-wrap: wrap;
}
.row-equal-height > [class*="col-"] {
    display: flex;
    flex-direction: column;
}
.row-equal-height .card {
    height: 100%;
}
.ql-container.ql-snow,
.ql-toolbar.ql-snow {
    border: 1px solid var(--input-border) !important;
}
.DTFC_ScrollWrapper {
    width: 100% !important;
}

.DTFC_RightBodyLiner {
    overflow: hidden !important;
}
td.z-index-3 {
    z-index: 3 !important;
}

.ts-wrapper.has-items > .ts-control > input {
    display: none !important;
}
.ts-input.has-items > input {
    display: none !important;
}
.card {
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    transition: all 0.3s ease;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
}
.card:hover {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}
.form-control:focus,
.form-select:focus {
    border-color: #86b7fe;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}
.input-group-text {
    background-color: #f8f9fa;
}
.badge {
    padding: 0.5rem 1rem;
}

.table > :not(caption) > * > * {
    padding: 0.75rem 0.75rem;
    background-color: var(--bs-table-bg);
    border-bottom-width: 1px;
    box-shadow: inset 0 0 0 9999px var(--bs-table-accent-bg);
}

.table > tbody > tr:hover {
    background-color: rgba(0, 0, 0, 0.075) !important;
}

.table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.form-select,
.form-control {
    min-height: 31px;
}

/* Custom scrollbar styles */
.table-responsive::-webkit-scrollbar {
    height: 8px;
}

.table-responsive::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.table-responsive::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

.table-responsive::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* select 2 css */
.select2-container {
    position: relative;
}

.select2-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
    max-height: 300px;
    overflow-y: auto;
    width: 100%;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 0.375rem;
    background-color: #fff;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.select2-results__option {
    cursor: pointer;
}

.select2-results__option:hover,
.select2-results__option.active {
    background-color: #0d6efd;
    color: #fff;
}

.select2-results__option.selected {
    background-color: #e9ecef;
}
/* end select 2 css */

.btn {
    font-weight: 600;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2);
}

.btn:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 300%;
    height: 100%;
    background: linear-gradient(
        120deg,
        rgba(255, 255, 255, 0.2),
        rgba(255, 255, 255, 0.05),
        rgba(255, 255, 255, 0.2)
    );
    transition: all 0.5s ease;
}

.btn:hover::before {
    left: 100%;
}

.report-container {
    padding: 1.5rem;
}

.report-header {
    text-align: center;
    margin-bottom: 2rem;
}

.report-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.report-info {
    color: #7f8c8d;
    font-size: 0.9rem;
}

.amount-cell {
    font-size: 0.9rem !important;
    text-align: right;
    font-family: "Roboto Mono", monospace;
    white-space: nowrap;
}
.app-sidebar .side-menu__img_icon {
    margin-inline-end: 0.625rem;
    width: 20px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    vertical-align: middle;
}
.app-sidebar .side-menu__img_icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.app-sidebar .side-menu__img_icon[class*="icon-"] {
    font-size: 1.15rem;
    color: var(--menu-prime-color);
    fill: var(--menu-prime-color);
}
.icon-img {
    width: 16px;
    height: 16px;
    object-fit: contain;
}
/* Modern Bootstrap 5 Button Styles with Advanced Effects */

/* Base button improvements */
.btn {
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 500;
    border-radius: 8px;
    overflow: hidden;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-size: 0.95rem;
}

/* Glassmorphism Effect Base */
.btn-glass {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(31, 38, 135, 0.15);
}

/* Neon Primary Button */
.btn-primary {
    border: none;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.4),
        0 0 10px rgba(99, 102, 241, 0.2);
}

/* Success Button with Nature Gradient */
.btn-success {
    border: none;
    box-shadow: 0 4px 15px rgba(52, 211, 153, 0.3);
}

.btn-success:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(52, 211, 153, 0.4);
}

/* Danger Button with Vibrant Gradient */
.btn-danger {
    border: none;
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.3);
}

.btn-danger:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(239, 68, 68, 0.4);
}

/* Warning Button with Sunset Gradient */
.btn-warning {
    border: none;
    box-shadow: 0 4px 15px rgba(251, 191, 36, 0.3);
    color: #fff;
}

.btn-warning:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(251, 191, 36, 0.4);
    color: #fff;
}

/* Info Button with Ocean Gradient */
.btn-info {
    border: none;
    box-shadow: 0 4px 15px rgba(14, 165, 233, 0.3);
    color: #fff;
}

.btn-info:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(14, 165, 233, 0.4);
    color: #fff;
}

/* Modern Outline Buttons */
.btn-outline {
    border: 2px solid;
    background: transparent;
    position: relative;
    z-index: 1;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-outline::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    width: 0;
    height: 100%;
    background: currentColor;
    opacity: 0.1;
    transform: translateX(-50%);
    z-index: -1;
    transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-outline:hover::before {
    width: 110%;
}

/* Neon Effect Buttons */
.btn-neon {
    border: none;
    background: transparent;
    color: #fff;
    box-shadow: 0 0 5px currentColor, 0 0 25px currentColor;
    transition: all 0.3s ease;
}

.btn-neon:hover {
    background: currentColor;
    color: #000;
    box-shadow: 0 0 5px currentColor, 0 0 25px currentColor,
        0 0 50px currentColor, 0 0 100px currentColor;
}

/* 3D Button Effect */
.btn-3d {
    transform-style: preserve-3d;
    transform: perspective(1000px);
    border: none;
}

.btn-3d::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
    transform: translateZ(-10px);
    border-radius: inherit;
}

.btn-3d:hover {
    transform: perspective(1000px) translateZ(10px);
}

/* Pulse Animation Button */
.btn-pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4);
    }
    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 10px rgba(255, 255, 255, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
    }
}

/* Shiny Button Effect */
.btn-shine {
    position: relative;
    overflow: hidden;
}

.btn-shine::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent,
        rgba(255, 255, 255, 0.1),
        transparent
    );
    transform: rotate(45deg);
    transition: all 0.5s;
}

.btn-shine:hover::before {
    left: 100%;
}

/* Modern Floating Action Button */
.btn-floating {
    width: 60px;
    height: 60px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    font-size: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-floating:hover {
    width: auto;
    padding: 0 25px;
    border-radius: 30px;
}

.btn-floating span {
    display: none;
    margin-left: 8px;
    white-space: nowrap;
}

.btn-floating:hover span {
    display: inline;
}

/* Loading Button Animation */
.btn-loading {
    position: relative;
    pointer-events: none;
}

.btn-loading::after {
    content: "";
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
}

@keyframes spin {
    to {
        transform: translateY(-50%) rotate(360deg);
    }
}

/* Social Media Button Styles */
.btn-social {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.btn-social i {
    font-size: 1.2em;
}

/* Disabled State with Style */
.btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    backdrop-filter: grayscale(100%);
}

.stat-icon {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-bottom: 1rem;
}

.table-custom th {
    background-color: #f8f9fa;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
}

.table-custom td {
    vertical-align: middle;
    padding: 1rem 0.75rem;
}

.status-badge {
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
}

.badge-pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.2);
    }
    70% {
        box-shadow: 0 0 0 6px rgba(0, 0, 0, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
    }
}

.calculator-wrapper button:focus {
    outline: none;
    box-shadow: none;
}

.copy-btn:hover {
    background: #e9ecef;
}

.hover-opacity:hover {
    opacity: 0.8;
}

.transition {
    transition-property: all;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

.duration-200 {
    transition-duration: 200ms;
}

.duration-300 {
    transition-duration: 300ms;
}
.table th {
    background-color: #e9ecef;
    color: #495057;
    font-weight: 500;
}

.loan-related-section {
    display: none;
}

@keyframes blink {
    0%,
    100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

.blink-btn {
    animation: blink 1.5s infinite;
    -webkit-animation: blink 1.5s infinite;
}