.error-help-block {
    font-size: 0.65rem !important;
    color: rgb(var(--danger));
}
details {
    position: relative;
}

summary {
    cursor: pointer;
    border-radius: 4px;
    display: inline-block;
    top: 10px;
    right: 10px;
    z-index: 10;
}

details p {
    position: absolute;
}

summary::-webkit-details-marker {
    display: none;
}

details[open] summary {
    background-color: #e0e0e0;
}

.details-content {
    margin-top: 30px;
    padding: 10px;
    border-radius: 4px;
}

.choices__list--dropdown .choices__item,
.choices__list[aria-expanded] .choices__item {
    font-size: 12px !important;
}

.approval-key {
    padding: 10px 5px;
}

.approval-value {
    margin-left: 10px;
}

.approval-div {
    /* border:1px solid red; */
}

.approval-sub-div {
    /* border:1px solid blue; */
    margin-left: 20px;
}

.timethumb {
    font-size: 8px !important;
}

.inactiveBalance {
    opacity: 0.5 !important;
}

.lowBalance {
    color: #b2b251 !important;
}

.healthyBalance {
}

.criticallyLowBalance {
    color: #bc2b2b !important;
}

.currency {
    font-size: 10px;
    margin-top: 3px;
    margin-left: 5px;
}

.error-td {
    border: 1px solid red;
    background-color: red;
}

.sticky-header {
    position: sticky;
    top: 0;
    z-index: 2; /* Ensure it stays above other elements */
    border-bottom: 2px solid #ddd; /* Optional: Add a border for better visibility */
}

.bvn-image {
    /* border:1px solid red; */
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
}

.bvn-image img {
    max-width: 100%;
    margin: autp;
}

.select2-container {
    z-index: 1050 !important;
}

.select2-container--default .select2-selection--single {
    height: 44px !important;
}

.select2-container .select2-selection--single .select2-selection__rendered {
    margin-top: 5px !important;
    margin-left: 7px;
}

.select2-results__option {
    padding: 10px 10px !important;
}

.select2-search--dropdown .select2-search__field {
    font-size: 14px !important;
}

.sub-dropdown {
    top: -6px !important;
    left: -5px !important;
}

.control-wrap {
    display: flex;
    justify-content: center;
}

.avatar-balance {
    border: 1px solid rgb(var(--default-border));
    overflow: hidden;
    border-radius: 100% !important;
}

.table-thead border-b border-defaultborder {
    border-bottom: 1px solid red;
}

#loadingOverlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 24px;
    z-index: 9999;
}

#loadingMessage {
    font-size: 30px;
}

#downloadButton {
    margin-top: 20px;
}

/* .sub-dropdown-height{
    inset: auto auto 0px -5px !important;
} */
.product-documents-container {
    max-height: 160px;
}

.form-tag {
    display: flex;
    flex-direction: column;
}

.form-tag label {
    font-size: 11px !important;
}

.sub-loan-item {
    margin-bottom: 10px;
}

.sub-loan-item:last-child {
    margin-bottom: 0px;
}

.preview-box {
    margin-bottom: 1px !important;
}

.loan-row {
    border-radius: 0.5rem;
    padding: 10px;
}

#previewTab {
    position: relative;
}

.dynamic-table thead tr {
    background-color: inherit !important;
}

.dynamic-table thead td {
    padding: 10px 15px !important;
    font-weight: 600;
    background-color: rgb(255 255 255 / var(--tw-bg-opacity));
    color: rgb(var(--default-text-color));
}

.dynamic-header {
    position: absolute;
}

.box:is(.dark *) .dynamic-table thead td {
    background-color: rgb(var(--body-bg));
    color: rgb(var(--default-text-color) / 0.7);
}

.otcImage {
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.otcImage img {
    max-width: 100% !important;
}

.swal2-actions {
    justify-content: flex-end;
}

body.swal2-shown > :not(.swal2-container) {
    filter: blur(12px);
    transition: filter 0.2s ease;
}

/* Code inputs */
.swal-code {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-top: 0.75rem;
}
.swal-code .digit {
    width: 44px;
    height: 52px;
    text-align: center;
    font-size: 26px;
    /* border: 2px solid #e5e7eb; */
    border-radius: 12px;
}
.swal-code .digit:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.kycImage {
    /* border:1px solid red; */
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

div:where(.swal2-container) div:where(.swal2-html-container) {
    padding: 0 !important;
}

a:focus-visible {
    outline: none !important;
}

div:where(.swal2-container) .swal2-textarea {
    height: auto;
    padding: 0.75em;
    width: 100%;
    margin: 10px 0;
    font-size: 14px;
}

.swal2-container .swal2-html-container {
    padding: 0;
}

.dropzone .dz-message button.dz-button {
    font-size: 12px !important;
}

.dropzone .dz-preview .dz-remove {
    font-size: 12px !important;
}


.swal2-file:focus, .swal2-input:focus, .swal2-textarea:focus {
    --tw-shadow-color: none !important;
}