.custom-image-file {
    border: #cccbcb dashed 2px;
    cursor: pointer;
    padding: 1px;
    width: 156px;
    background: #ffff;
    height: 156px;
    text-align: center;
}

.custom-image-file-preview {
    position: relative;
    width: 150px;
    height: 150px;
}

.custom-image-file-preview img {
    width: 150px;
    height: 150px;
}

.image-file-controller {
    width: 150px;
    height: 150px;
    position: absolute;
    top: 0;
    left: 0;
}

.custom-image-file-preview .btn {
    position: absolute;
    top: 55px;
    left: 60px;
    color: white;
}

.aside .aside-menu {
    width: 100%;
    padding-top: 0;
}

.account-tree-item {
    padding: 0 10px;
}

.account-tree-item-wrapper {
    transition: 0.2s linear;
    padding: 7px;
    margin-bottom: 5px;
    border: 1px solid #7d3938;
    margin-top: 10px;
}

.account-tree-item-wrapper:hover {
    background-color: #d1ddde;
}

.account-tree-item-container {
    padding: 7px 0;
    color: var(--secondary-color) !important;
    cursor: pointer;
    display: inline-block;
}

.accounte-tree-item-viewer,
.accounte-tree-item-creator,
.accounte-tree-item-collapse {
    float: left;
    margin-top: 8px;
    margin-left: 5px;
}

.accounte-tree-item-collapse {
    rotate: 90deg;
}

.account-tree-children {
    display: none;
    overflow: hidden;
}

.account-tree {
    background-color: #f5f5f5;
    padding: 2rem;
    border-radius: 1.5rem;
}

.input-group .form-control,
.form-group .form-control {
    /* border-radius: 20px !important;
    background-color: #fff !important;
    border: 1px solid #c9c8c8 !important;
    padding: 0 0.5rem !important; */
}

.input-group .form-control:hover,
.form-group .form-control:hover {
    /* background-color: #fff !important; */
}

.form-wrapper {
    background: #f5f5f5 0% 0% no-repeat padding-box;
    padding: 2rem;
    border-radius: 1.5rem;
    /* margin-right: 2rem; */
}
.form-wrapper input {
    background-color: #fff !important;
}
.form-wrapper textarea {
    background-color: #fff !important;
}
.form-white-wrapper {
    background: #fff 0% 0% no-repeat padding-box;
    padding: 2rem;
    border-radius: 1.5rem;
}

.form-group.date-format-input .form-control {
    padding-right: 4.5rem !important;
}

body {
    background: url("/images/graph.svg") top left / 200px 200px no-repeat;
}

.form-group.date-format-input::before {
    background: url("/images/calendar-2.svg") center/contain no-repeat;
    left: unset;
    right: 25px;
}

.input-group label,
.input-group .form-label,
.form-group label,
.form-group .form-label,
.col-form-label {
    color: var(--secondary-color) !important;
}

.custom-btn {
    /* height: 62px !important; */
}
.custom-btn img {
    filter: unset;
    width: 24px;
}

.custom-btn:hover img {
    filter: brightness(0) !important;
}

.custom-btn.border-btn {
    background-color: #fff !important;
}
.custom-btn.border-btn:hover img {
    filter: brightness(0) invert(1) !important;
}

.width-100 {
    width: 100% !important;
}

.ml-10 {
    margin-left: 5rem !important;
}

thead,
tfoot {
    background-color: #f5f5f5 !important;
}

.dataTable thead,
.dataTable tfoot {
    background: #05595b0f 0% 0% no-repeat padding-box !important;
}

.dataTable thead th,
.dataTable tfoot th {
    padding: 10px 8px !important;
    text-align: center;
}

.dataTable tbody tr:nth-child(even) {
    background-color: #e2d7840f;
}

.dataTable tbody tr:nth-child(odd) {
    background-color: #fff;
}

.width-25 {
    width: 24% !important;
    margin-left: 0.5% !important;
    margin-right: 0.5% !important;
}

.width-33 {
    width: 32.3333% !important;
    margin-left: 0.5% !important;
    margin-right: 0.5% !important;
}

.custom-btn.custom-btn-danger {
    border-color: #ca0000 !important;
}

.custom-btn.custom-btn-danger span {
    color: #ca0000 !important;
}

.custom-btn.custom-btn-danger::before {
    background-color: #ca0000 !important;
}

.custom-btn.custom-btn-danger::after {
    background-color: #ca0000 !important;
}

.text-primary {
    color: #095b5d !important;
}

.custom-btn:hover {
    color: var(--secondary-color) !important;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--secondary-color) !important;
}

.form-control {
    border-radius: 5px !important;
    background-color: rgba(196, 165, 129, 0.1) !important;
}

.input-group .form-control:hover,
.form-group .form-control:hover {
    /* background-color: #f5f5f5 !important; */
}

.modal .modal-header {
    /* background-color: transparent !important;
    border-bottom: none; */
}

.input-group:hover .input-group-text {
    border-color: #095b5d !important;
}

.input-group:hover .form-control {
    border-color: #095b5d !important;
}

.input-group input.form-control {
    width: auto !important;
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
    border: 1px solid #e4e6ef !important;
    border-right-width: 0 !important;
    padding: 2rem 0.5rem !important;
    padding-right: 1rem !important;
}

.package {
    width: 520px;
    max-width: 100%;
    border: 2px solid #062c300f;
    background-color: #f5f5f5;
    border-radius: 40px;
    padding-top: 22px;
}

.package-body {
    border-radius: 100px 0 40px 40px;
    background-color: #fff;
    display: inline-block;
    width: 100%;
    padding: 2rem;
}

.package-description {
    font-size: 20px;
}

.package-props .prop-value {
    font-size: 1.4rem;
}

.fc-daygrid-body-balanced,
.fc-scrollgrid-sync-table {
    width: 100% !important;
    height: 100% !important;
}

.fc-col-header {
    width: 100% !important;
}

.dt-buttons {
    gap: 1rem;
}

.input-search-account {
    background-color: #fff !important;
    margin-bottom: 1.5rem;
    position: relative;
    padding-right: 3rem;
    font-size: 14px;
}

.input-search-account-container {
    position: relative;
}

.input-search-account-container::before {
    display: flex;
    content: "";
    background-image: url(../images/search-status.svg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    width: 20px;
    height: 20px;
    position: absolute;
    right: 1%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
}

#balance-sheet-table td:first-child {
    width: 30%;
}

@media (min-width: 768px) {
    .account-tree-container {
        max-width: 450px;
    }
}

@media (max-width: 767px) {
    #account-form-container {
        margin: 1rem 0 !important;
    }
}

.w-full {
    width: 100% !important;
}
.enquiry-icon {
    text-align: end !important;
}
@media (max-width: 480px) {
    .enquiry-icon {
        text-align: center !important;
        margin-top: 20px !important;
    }
}
/* html[dir="ltr"] .enquiry-icon {
    margin-right: unset !important;
    margin-left: auto !important;
}
 */
.custom-text-secondary {
    color: var(--secondary-color) !important;
}
.btn-outline-primary {
    color: var(--secondary-color) !important;
    border: 1px solid var(--secondary-color) !important;
}

/* ===== Datatable Skeleton Loading ===== */
.dt-skeleton {
    padding: 2px 0;
}

.dt-skeleton-row {
    display: flex;
    gap: 16px;
    padding: 15px 16px;
    border-bottom: 1px solid #eef0f2;
    align-items: center;
}

.dt-skeleton-row--head {
    background: rgba(5, 89, 91, 0.03);
    border-bottom: 2px solid #e8ebed;
    padding: 17px 16px;
}

.dt-skeleton-bar {
    height: 12px;
    background: linear-gradient(90deg, #e4e7eb 30%, #f0f2f4 50%, #e4e7eb 70%);
    background-size: 300% 100%;
    border-radius: 6px;
    animation: dt-shimmer 1.8s ease-in-out infinite;
}

.dt-skeleton-row--head .dt-skeleton-bar {
    height: 14px;
    background: linear-gradient(90deg, #d5dae0 30%, #e8ecef 50%, #d5dae0 70%);
    background-size: 300% 100%;
}

.dt-skeleton-row:nth-child(even) {
    background: rgba(0, 0, 0, 0.012);
}

@keyframes dt-shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Reload loading bar (shows on search/sort/pagination) */
.dataTable-card-wrapper.dt-reloading::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    z-index: 10;
    border-radius: 3px 3px 0 0;
    background: linear-gradient(90deg, transparent 0%, #095b5d 50%, transparent 100%);
    background-size: 50% 100%;
    animation: dt-loading-bar 0.8s linear infinite;
}

@keyframes dt-loading-bar {
    0% { background-position: -50% 0; }
    100% { background-position: 150% 0; }
}

.dataTable-card-wrapper.dt-reloading .dataTable-content {
    opacity: 0.45;
    transition: opacity 0.15s ease;
    pointer-events: none;
}

.dataTable-card-wrapper .dataTable-content {
    transition: opacity 0.2s ease;
}

/* Hide DataTables built-in processing indicator (we have our own) */
div.dataTables_processing {
    display: none !important;
}
