:root{
    --custom-theme-color:rgba(3, 137, 210, 1);
    --custom-drop-down-bg:rgba(138, 201, 251, 1);
    --step-green: #FA7C7C;
    --step-gray: #C0BDBD;
    --theme-table-header: #0683D6;
    --theme-table-row-search:#AEC4D1;
    --theme-grey:#5B5B5B;
    --theme-green:#45C392;
    --theme-red: #FA7C7C;
}
@font-face {
    font-family: 'ThemeWebFont';
    src: url('fonts/OpenSans.ttf') format('truetype')
}
body {
    font-family: 'ThemeWebFont', sans-serif;
    color: var(--theme-grey);
    /* Use a fallback font like 'sans-serif' in case the custom font fails to load */
}
input[type="text"] {
    white-space: pre-wrap !important;
}
.accordian-header-hr{
    background-color: rgba(0, 0, 0, .03)!important;
}
.form-field-tag{
    display: flex;
    font-weight: 500 !important;
}
.form-field-tag-child{
    flex: 1;
    /* border: 1px solid #000; */
    padding: 5px;
}
.form-field-tag-child:nth-child(2) {
    flex: 0 0 5px;
}
.mandatory-field{
    color: rgb(204, 18, 18);
}
.navbar-main-custom{
    padding: 0!important;
}
.main-header{
    background: var(--custom-theme-color);
}

/* start modifiying default bootstrap */
.custom-drop-color{
    background-color: var(--custom-drop-down-bg) !important;
}
.dropdown-item-custom{
    width: 95% !important;
    background: var(--custom-theme-color);
    margin:5px auto;
    color:white;
    word-wrap: break-word;
}
.dropdown-toggle::after{
    /* color:var(--custom-theme-color) !important; */
    color:white;
}
.dropdown-toggle:hover::after {
    color: var(--custom-theme-color) !important;
}

/* Click effect */
.dropdown-toggle:active::after {
    color: var(--custom-theme-color) !important;
}
.breadcrumb{
    margin:0.5rem 0 !important;
}
.accordion-button{
    padding:8px !important;
}

.modal-header{
    background-color: var(--custom-theme-color);
    color:white;
}
/* end modifiying default bootstrap  */
.gray-shade-1-breadcrum{
    color:#717171;
}
.gray-shade-2-breadcrum {
    color: #808080;
}
.service-header{
    padding: 0.25rem 0.5rem;
    background: var(--custom-theme-color);
}
.service-header-two{
    padding: 0.25rem 0.5rem;
}
.service-header-three {
    border-top: solid 1px gray;
}
/* .input-field{
    width: 100%!important;
    border: solid 1px lightgray !important;
} */

.breadcrumb-chevron {
    --bs-breadcrumb-divider: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%236c757d'%3E%3Cpath fill-rule='evenodd' d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
    gap: .5rem;
}

.breadcrumb-chevron .breadcrumb-item {
    display: flex;
    gap: inherit;
    align-items: center;
    padding-left: 0;
    line-height: 1;
}

.breadcrumb-chevron .breadcrumb-item::before {
    gap: inherit;
    float: none;
    width: 1rem;
    height: 1rem;
}

.breadcrumb-custom .breadcrumb-item {
    position: relative;
    flex-grow: 1;
    padding: .75rem 3rem;
}

.breadcrumb-custom .breadcrumb-item::before {
    display: none;
}

.breadcrumb-custom .breadcrumb-item::after {
    position: absolute;
    top: 50%;
    right: -25px;
    z-index: 1;
    display: inline-block;
    width: 50px;
    height: 50px;
    margin-top: -25px;
    content: "";
    background-color: var(--bs-tertiary-bg);
    border-top-right-radius: .5rem;
    box-shadow: 1px -1px var(--bs-border-color);
    transform: scale(.707) rotate(45deg);
}

.breadcrumb-custom .breadcrumb-item:first-child {
    padding-left: 1.5rem;
}

.breadcrumb-custom .breadcrumb-item:last-child {
    padding-right: 1.5rem;
}

.breadcrumb-custom .breadcrumb-item:last-child::after {
    display: none;
}

.bd-placeholder-img {
    font-size: 1.125rem;
    text-anchor: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
}

@media (min-width: 768px) {
    .bd-placeholder-img-lg {
        font-size: 3.5rem;
    }
}

.b-example-divider {
    width: 100%;
    height: 3rem;
    background-color: rgba(0, 0, 0, .1);
    border: solid rgba(0, 0, 0, .15);
    border-width: 1px 0;
    box-shadow: inset 0 .5em 1.5em rgba(0, 0, 0, .1), inset 0 .125em .5em rgba(0, 0, 0, .15);
}

.b-example-vr {
    flex-shrink: 0;
    width: 1.5rem;
    height: 100vh;
}

.bi {
    vertical-align: -.125em;
    fill: currentColor;
}

.nav-scroller {
    position: relative;
    z-index: 2;
    height: 2.75rem;
    overflow-y: hidden;
}

.nav-scroller .nav {
    display: flex;
    flex-wrap: nowrap;
    padding-bottom: 1rem;
    margin-top: -1px;
    overflow-x: auto;
    text-align: center;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
}

.btn-bd-primary {
    --bd-violet-bg: #712cf9;
    --bd-violet-rgb: 112.520718, 44.062154, 249.437846;

    --bs-btn-font-weight: 600;
    --bs-btn-color: var(--bs-white);
    --bs-btn-bg: var(--bd-violet-bg);
    --bs-btn-border-color: var(--bd-violet-bg);
    --bs-btn-hover-color: var(--bs-white);
    --bs-btn-hover-bg: #6528e0;
    --bs-btn-hover-border-color: #6528e0;
    --bs-btn-focus-shadow-rgb: var(--bd-violet-rgb);
    --bs-btn-active-color: var(--bs-btn-hover-color);
    --bs-btn-active-bg: #5a23c8;
    --bs-btn-active-border-color: #5a23c8;
}

.bd-mode-toggle {
    z-index: 1500;
}

.bd-mode-toggle .dropdown-menu .active .bi {
    display: block !important;
}
.nav-item,.dropdown-menu{
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}
/* start of login page  */
.carousel-indicators {
    right: 20px;
    bottom: 10%;
    flex-direction: column;
    margin-left: 96%;
}

.carousel-indicators [data-bs-target] {
    width: 10px;
    height: 10px;
    margin:3px;
    border:solid 1px white;
    background-color: lightgray;
    border-radius: 50%;
}
.carousel-indicators [data-bs-target].active{
    background-color: var(--custom-theme-color);
}
.login-box{
    background-color: var(--custom-theme-color);
}
.login-box-header{
    background-color: #4ca6d6;
    font-size: 1rem;
    font-weight: bold;
    text-align: center;
    color: rgb(255, 255, 255);
    border-radius: 10px;
    margin: auto 20%;
}
.login-box-options{
    background-color: rgb(219, 219, 219)
}
/* .login-container{
    position: relative;
    margin-top: -20px;
} */

.login-selection-btn{
    /* background-color: var(--custom-theme-color) !important; */
    background-color: rgb(80, 167, 215) !important;
}
.modal-footer-landing-page{
    justify-content: center !important;
}
.login-box-text-label{
    color: white;
}
.login-box-login-button{
    border: solid 1px white;
}
.carousel-control-prev{
    font-size: 30px;
}
/* end of login page  */

/* start of file upload  */
.custom-file-button input[type=file] {
    margin-left: -2px !important;
}

.custom-file-button input[type=file]::-webkit-file-upload-button {
    display: none;
}

.custom-file-button input[type=file]::file-selector-button {
    display: none;
}

.custom-file-button:hover label {
    background-color: #dde0e3;
    cursor: pointer;
}
.upload-icon{
    color: #028cfd
}
/* end of file upload */

/*star of caf related */
.show-after-lic-search,.show-after-lic-selection{
    display: none;
}
/* .add-more-owners{
    font-size: 1.5rem;
} */
/* .remove-owner-data{
padding: 5px;
border-radius: 6px;
} */
.readonly{
    background-color: var(--bs-secondary-bg);
    pointer-events: none;
}
.custom-col-1{
    width: 6% !important;
}
.custom-caf-group-header{
    background-color: var(--custom-drop-down-bg) !important;
    margin:auto 1px;
    text-align: center;
}
.custom-caf-group-field{
    background-color:lightgray;
    margin: auto 1px;
    padding: 5px;
}
/* end of caf related */
.btn-group-home{
    width: 100%;
}
.verify-confirmation-otp-div,.save-initial-caf-div111{
    display: none;
}
.confirmation_otp, .arch-assign-confirmation_otp{
    display: initial;
    width: 200px
}

.accordion-body .detail-view:nth-child(even) {
    background-color: rgb(249, 247, 247) !important;
}
.accordion-body .detail-view {
    border-left: solid 1px rgb(249, 247, 247) !important;
    border-right: solid 1px rgb(249, 247, 247) !important;
}
.detail-view .col:nth-child(2){
    border-right: solid 0.5px rgb(245, 243, 243) !important;
}
.detail-view .col:nth-child(3) {
    border-left: solid 0.5px rgb(245,243,243) !important;
}
.right-line{
    display: inline;
    border: solid 1px #1add99;
    /* height: 3px;
    background-color: #1add99; */
    margin-left: 50%;
}

.both-line {
    display: inline;
    height: 3px;
    border: solid 1px #1add99;
    /* background-color: #1add99; */
}

.step-container {
    display: flex;
    /* justify-content: space-between; */
    width: 100%;
}

.step {
    flex: 1;
    text-align: center;
    padding: 20px;
    background-color: #fff;
    /* border: 1px solid #ddd; */
    /* box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); */
    position: relative;
    max-width: 200px;
    width: 200px
}
.done-circle{
    border: solid 10px var(--step-green);
}
.pending-circle{
    border: solid 10px var(--step-gray);
}

.initial-status {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    margin: 10px auto 10px;
    position: relative;
}
.in-between-status {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    margin: 10px auto 10px;
    position: relative;
}
.final-status {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    margin: 10px auto 10px;
    position: relative;
}
.step-text {
    margin-top: 10px;
}
.initial-status{
    content: '';
    position: absolute;
    top: 50%;
    left: 100%;
    margin-top: -1px;
    height: 2px;
    width: 110px;
    background-color: var(--step-gray);
}

.initial-status:after,.in-between-status:after{
    content: '';
    position: absolute;
    top: 50%;
    left: 100%;
    margin-top: -1px;
    height: 2px;
    width: 110px;
    background-color: var(--step-gray);
}
.in-between-status::before {
    content: '';
    position: absolute;
    top: 50%;
    right: 100%;
    margin-top: -1px;
    width: 110px;
    height: 2px;
    background-color: var(--step-green);
}
.final-status::before {
    content: '';
    position: absolute;
    top: 50%;
    right: 100%;
    margin-top: -1px;
    width: 110px;
    height: 2px;
    background-color: var(--step-green);
}

.arrow {
    position: relative;
}

.arrow::after {
    content: '';
    position: absolute;
    right: 53%;
    margin-top: -32px;
    width: 15px;
    height: 2px;
    background-color: var(--step-green);
    transform: rotate(45deg);
    transform-origin: 0 50%;
}

.arrow::before {
    content: '';
    position: absolute;
    right: 53%;
    margin-top: -10px;
    width: 15px;
    height: 2px;
    background-color: var(--step-green);
    transform: rotate(-45deg);
    transform-origin: 0 50%;
}

.step:last-child::before {
    display: none;
}

/* svg {
    max-width: 100%;
    height: auto;
} */

.tox-statusbar {
    display: none !important;
}
input[type="radio"] {
    border: solid 2px;
}
/* .tox-tinymce{
    height: 250px !important;
} */
/* Apply height ONLY if .tox-tinymce is NOT inside .do-not-reset-editor */
.tox-tinymce {
    height: 250px !important;
}

.do-not-reset-editor .tox-tinymce {
    height: 1100px !important;
}
.smart-dcr-table{
    white-space: nowrap !important;
}
#smart-dcr-table{
    font-size: 14px !important;
}
.table-container {
    width: 100%;
    overflow-x: auto;
    position: relative;
}

.table-scroll-top,
.table-scroll-bottom {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 15px;
    overflow-x: hidden;
}

.table-scroll-top {
    left: 0;
}

.table-scroll-bottom {
    right: 0;
}

.dashboard-success {
    /* background-image: linear-gradient(to right, #43e97b 0%, #38f9d7 100%); */
    background-image: linear-gradient(-225deg, #B7F8DB 0%, #50A7C2 100%);
}

.dashboard-danger {
    background-image: linear-gradient(to right, #ed6ea0 0%, #ec8c69 100%);
}

.dashboard-normal {
    background-image: linear-gradient(to top, #dfe9f3 0%, white 100%);
}

.dashboard-count {
    height: 50%;
    padding: 10px;
}

.dashboard-header {
    height: 50%;
    margin-bottom: 0;
    padding: 10px 2px;
    background: var(--custom-theme-color);
    /* fallback for old browsers */
    background: -webkit-linear-gradient(to right, #363795, var(--custom-theme-color));
    /* Chrome 10-25, Safari 5.1-6 */
    background: linear-gradient(to right, #363795, var(--custom-theme-color));
    /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
}
.dashboard-header-green {
    height: 50%;
    margin-bottom: 0;
    padding: 10px 2px;
    background: var(--custom-theme-color);
    /* fallback for old browsers */
    background: -webkit-linear-gradient(to right, #369549, var(--custom-theme-color));
    /* Chrome 10-25, Safari 5.1-6 */
    background: linear-gradient(to right, #369549, var(--custom-theme-color));
    /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
}
.dashboard-header-yellow {
    height: 50%;
    margin-bottom: 0;
    padding: 10px 2px;
    background: var(--custom-theme-color);
    /* fallback for old browsers */
    background: -webkit-linear-gradient(to right, #e6cd2b, var(--custom-theme-color));
    /* Chrome 10-25, Safari 5.1-6 */
    background: linear-gradient(to right, #e6cd2b, var(--custom-theme-color));
    /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
}
.dashboard-header-red {
    height: 50%;
    margin-bottom: 0;
    padding: 10px 2px;
    background: var(--custom-theme-color);
    /* fallback for old browsers */
    background: var(--theme-red)
}
.dashboard-card {
    padding: 0;
    margin: 0;
    
}
.dashboad-card-parent{
    height: 5rem;
    width: 18rem;
}
.dashboad-card-parent-action {
    /* height: 5rem; */
    width: 18rem;
}
.curly-brace {
    position: relative;
    padding-right: 30px;
    /* Space for the curly brace */
    min-height: 60px;
}

.curly-brace::after {
    content: "}";
    font-size: 3rem;
    /* Adjust size */
    font-weight: bold;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    line-height: 1;
}
.dashboad-text * {
    font-size: 12px;
}
.dashboard-anchor-text{
    text-decoration: none;
    color: white;
    font-weight: bold;
}
.dashboard-height{
    height: 70%;
}
.border-right{
    border-right: solid 1px;
}
/* Custom font size for Select2 dropdown items */
.select2-results__option {
    font-size: 12px;
    /* Adjust the font size as needed */
}

/* Set a fixed width for the dropdown */
/* select2 select2-container select2-container--default select2-container--below select2-container--focus */
.select2-container--default {
    width: 150px !important;
}

.select2-selection {
    width: 150px !important;
}

.plot_no_exist .select2-container--default,
.plot_no_exist .select2-selection {
    width: 100% !important;
}
/* .select2-dropdown */
/* Truncate or hide overflow for long option names */
.select2-results__option {
    overflow: hidden;
    white-space: normal;
    text-overflow: ellipsis;
}

.select2-container--default .select2-results__option:nth-child(even) {
    /* background-color: rgb(228, 226, 226); */
    background: -webkit-linear-gradient(360deg, #dee1e1 10%, #f4f4f4 360%);
    /* Chrome 10+, Saf5.1+ */
    background: -moz-linear-gradient(360deg, #dee1e1 10%, #f4f4f4 360%);
    /* FF3.6+ */
    background: linear-gradient(360deg, #dee1e1 10%, #f4f4f4 360%);
    /* W3C */
}
.select2-container--default .select2-results__option {
    border-bottom: solid 1px rgb(168, 167, 167);
}
.select2-container--default .select2-results__option:nth-child(even):hover {
    color: rgb(66, 65, 65);
    /* Red color on hover, adjust as needed */
}

.smart-dcr-table-header{
    background-color: var(--theme-table-header) !important;
}
.comment-background{
    background-color: #E2FBD2 !important;
}
.comment-table-heading{
    background-color: #A2C8B8 !important;
}
.smartdcr-search-row{
    background-color: var(--theme-table-row-search) !important;
}
.list-search-icon{
    border:solid 1px rgb(167, 165, 165);
}
.consumer-details-header-green,.assigned_consultant_header_green,.owners_header_green,.owner_declaration_header_green,.caf_header_green{
    background-color: #a4efd2 !important;
}
.consumer-details-header-oranage,.assigned_consultant_header_orange,.owners_header_orange,.owner_declaration_header_orange,.caf_header_orange{
    background-color: #efd098 !important;
}
.caf_header_red{
    background-color: #f78b8b !important;
}
.pay-option-cards{
    height: 100%;
}
.adjust-pay-option-margin{
    margin-top:21%;
}
#back-to-top{
    display: none;
    position: fixed;
    bottom: -5px;
    right: 20px;
    background-color: red;
    color: #fff;
    border: none;
    border-radius: 5px;
    padding: 10px;
    cursor: pointer;
}

#scroll-down {
    display: none;
    position: fixed;
    bottom: 40px;
    right: 20px;
    background-color: #007BFF;
    color: #fff;
    border: none;
    border-radius: 5px;
    padding: 10px;
    cursor: pointer;
}
.custom-alert{
    height: 10%;
    position: absolute;
    width: 20%;
    margin-top: -8%;
}
.custom-smaller-fonts {
    font-size: 12px;
}

.custom-smaller-fonts * {
    font-size: 12px;
}
.arch-sml-btn{
    padding: 1px 3px !important;
    font-size: 10px !important;
}

.wrapper1 {
    height: 20px;
}
.div1{
    height: 100%;
}
.wrapper1{
    width: 100%; 
    overflow-x: scroll;
    overflow-y: auto;
}
.wrapper1table {
    height: 20px;
}

.div1table {
    height: 100%;
}

.wrapper1table {
    width: 100%;
    overflow-x: scroll;
    overflow-y: auto;
}
.mis-report-filter{
    font-size: 11px;
}
.mis-report-filter * {
    font-size: 11px;
}

.add-level1-item,.add-level2-item{
    padding: 0 5px;
}
.cursor-button{
    cursor: pointer;
}
.auto-width{
    width: auto !important;
}

.payment_link_btn{
    width: 40% !important;
    margin: auto;
}

.highlighted-div {
    border: solid 1px;
    border-radius: 10px;
    padding: 12px;
    position: relative;
}

.payment-revalidation-icon {
    position: absolute;
    top: 50%;
    right: -8px;
    transform: translateY(-50%);
    font-size: 16px;
    /* color: green; */
    background-color: white;
}

/* Context menu styles */
.context-menu {
    display: none;
    position: absolute;
    background: #fff;
    border: 1px solid #ccc;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
    z-index: 1000;
}

.context-menu-item {
    padding: 8px 12px;
    cursor: pointer;
}

.context-menu-item:hover {
    background: #f0f0f0;
}

.frozenxxx {
    position: sticky;
    left: 0;
    background: #f8f9fa;
    z-index: 1;
}

#smart-dcr-table1 {
    width: 100%;
    /* or a specific width, e.g., 800px */
    table-layout:fixed;
    /* Ensures consistent column resizing */
    border-collapse: collapse;
}

#smart-dcr-table td,#smart-dcr-table th {
    width: auto;
    /* Allows the plugin to calculate widths */
    overflow: hidden;
    /* Prevents content overflow */
    text-overflow: ellipsis;
    /* Optional: adds "..." for overflowing text */
    white-space: nowrap;
    /* Prevents text wrapping */
}
.plot_number_col {
    text-wrap: auto !important;
}
/* Frozen columns styles */
.frozen {
    position: sticky;
    left: 0;
    background-color: #fff;
    z-index: 2;
    border-right: 2px solid #ddd;
}

#building-plan-caf .form-control{
    font-size: 13px !important;
}

.profile-image-container{
    border-radius: 50%;
    border: solid 1px #cecece;
    width: 50px;
    height: 50px;
    overflow: hidden;
}
.profile-image{
    width: 50px;
}

.permit_icon{
    width: 17px;
    margin-left: 5px;
}
/* .notification-icon{
    background-color: rgb(171, 2, 2) !important;
    color:white !important;
    padding:2px;
    font-size: 11px;
    border-radius: 5px;
} */
.icon-with-badge {
    position: relative;
    display: inline-block;
}

.icon-with-badge .badge {
    position: absolute;
    top: 0;
    /* notification icon  */
    /* right: 0; */
    transform: translate(50%, -50%);
    transform-origin: top right;
    font-size: 10px;
}
.bell-size{
    font-size: 1.5rem;
}
.notification-popover {
    position: absolute;
    top: 35px;
    right: 12px;
    width: 300px;
    z-index: 1000;
    font-size: 14px;
    display: none;
}
.notification-item{
    cursor: pointer;
}

.dashboard-count{
    font-size: 20px;
    font-weight: bold;
    text-decoration: none;
}
.applicant_name_td {
    text-wrap: wrap;
    word-break: break-word;
    white-space: break-spaces !important;
}
.input-group-text-hr{
    font-size: 12px !important;
    font-weight: 700;
}

.service-box {
    cursor: pointer;
    padding: 5px;
    text-align: center;
    border-radius: 10px;
    color: white;
    min-height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.hidden-section {
    display: none;
}
.star {
    font-size: 2rem;
    cursor: pointer;
    color: #ccc;
}

.star.checked {
    color: gold;
}
.merged_clu_control{
    display: none;
}
.custom-reduced-size,
.custom-reduced-size * {
    font-size: 12px !important;
}
.custom-reduced-size .input-group-text {
    font-size: 10px !important;
}
.reduced-block-size .input-group-text {
    font-size: 10px !important;
}
/* Flashy Pay Now button */
.payment-display.flashy {
    animation: pulse 1.5s infinite;
    box-shadow: 0 0 10px rgba(0, 123, 255, 0.6);
    font-weight: bold;
    border: 2px solid #0056b3;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 10px rgba(0, 123, 255, 0.6);
    }

    50% {
        transform: scale(1.1);
        box-shadow: 0 0 20px rgba(0, 123, 255, 0.9);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 10px rgba(0, 123, 255, 0.6);
    }
}
.pointing-icon {
    margin-left: 8px;
    animation: bounceRight 1s infinite;
}

@keyframes bounceRight {

    0%,
    100% {
        transform: translateX(0);
    }

    50% {
        transform: translateX(5px);
    }
}
.custom-alert-info {
    font-size: 0.9rem;
    line-height: 1.4;
    padding: .75rem 1.25rem;
    border: 1px solid transparent;
    border-radius: .25rem;
    color: #055160;
    background-color: #cff4fc;
    border-color: #b6effb;
}
.custom-tooltip {
    position: absolute;
    background: #fff;
    color: #333;
    border: 1px solid #ccc;
    border-radius: 0.5rem;
    padding: 0.5rem 0.75rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    display: none;
    white-space: normal;
    /* allow text to wrap */
    word-wrap: break-word;
    /* break long words */
    max-width: 400px;
    /* wider tooltip */
}

.custom-tooltip::after {
    content: "";
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    border-width: 6px;
    border-style: solid;
    border-color: #fff transparent transparent transparent;
    filter: drop-shadow(0 -1px 1px rgba(0, 0, 0, 0.1));
}

.tooltip-trigger {
    cursor: pointer;
    display: inline-block;
}
/*For ocr*/
.overlay-container {
    pointer-events: none;
}

.ocr-box {
    transition: border-color 0.15s ease;
    pointer-events: auto;
    /* allows hover */
}

.ocr-word:hover {
    background-color: #ffe0e0;
}