@font-face {
    font-family: 'NotoSansBengali';
    src: url("/jakarta.faces.resource/fonts/NotoSansBengali.ttf.xhtml") format('truetype');
}

html, body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
}

body .common-max-width {
    margin: auto;
    max-width: 1296px;
}

@media screen and (min-width: 992px) {
    .lg\:form-max-width {
        max-width: 1096px; !important
    }

    .lg\:app-detail-max-width {
        max-width: 830px; !important
    }

    .lg\:app-detail-min-width {
        min-width: 830px; !important
    }
}

* {
    font-family: "NotoSansBengali", serif;
    box-sizing: border-box;
}

body .ui-widget {
    font-family: "NotoSansBengali", serif;
}

a {
    text-decoration: none !important;
}

.no-margin p { /* to avoid unnecessary margin on p tag */
    margin: 0 !important;
}

.topbar-backdrop {
    position: absolute;
    z-index: -1;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background-color: var(--gray-50);
}

.chip-green {
    background-color: rgb(110, 190, 113) !important;
    color: #f9f9f9 !important;
}

.chip-red {
    background-color: rgb(217, 54, 43) !important;
    color: #ffffff !important;
}

.chip-yellow {
    background-color: rgb(110, 190, 113) !important;
    color: #fbc02d !important;
}

.chip-blue {
    background-color: rgb(217, 54, 43) !important;
    color: #0288d1 !important;
}

.chip-light-blue {
    background-color: rgb(217, 54, 43) !important;
    color: #2196f3 !important;
}

.chip-purple {
    background-color: rgb(217, 54, 43) !important;
    color: #9c27b0 !important;
}

.chip-grey {
    background-color: rgb(217, 54, 43) !important;
    color: #607d8b !important;
}

body .aspect-ratio-3-2 {
    position: relative;
    width: 100%; /* Allows the container to be responsive */
    padding-bottom: 66.66%; /* 2 / 3 = 0.6666 = 66.66% for 3:2 ratio */
    overflow: hidden;
}

body .aspect-ratio-3-2 img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures the image covers the container */
}

body .flex-basis-30 {
    flex-basis: 32.2%;
}

body .object-cover {
    object-fit: cover;
}

body .object-contain {
    object-fit: contain;
}

.carousel-img-height {
    height: 60vw;
}

@media (min-width: 992px) {
    .carousel-img-height {
        height: 400px;
    }
}

#login-bg{
    position: relative;
    background-size: cover;
    background-position: center;
    background-blend-mode: overlay;
    background-repeat: no-repeat;
    background-attachment: local;
    background-image: url("/jakarta.faces.resource/bg_auth.png.xhtml?ln=images");
    box-shadow: inset 0 0 0 1000px rgba(0, 0, 0, 0.45);
}


.banner-carousel-item {
    height: 630px;
    position: relative;
    background-size: cover;
    background-position: center;
    background-blend-mode: overlay;
}

/* Gradient overlay using a pseudo-element */
.gradient-overlay::before {
    content: ""; /* Required for the pseudo-element to render */
    position: absolute; /* Positions the overlay relative to the parent */
    top: 0; right: 0; bottom: 0; left: 0; /* Fills the entire parent */
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.4) 40%, rgba(0, 0, 0, 0) 100%); /* Gradient overlay */
    z-index: 1; /* Places the overlay above the image */
}

.overlay-content {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    pointer-events: none;
    text-align: center;
    width: 80%;
    color: white;
}

.login-card {
    margin-right: 80px;
    top: 40%; left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0px 25px 50px -12px #00000040;
}

/* White placeholder css */
.white-placeholder input::-webkit-input-placeholder {
    color:#fff !important;
    opacity: .5;
    font-weight: 600;
    font-size: 0.875rem;
    padding-left: .63rem;
}
.white-placeholder input:-moz-placeholder {
    color:#fff !important;
    opacity: .5;
    font-weight: 600;
    font-size: 0.875rem;
    padding-left: .63rem;
}
.white-placeholder input::-moz-placeholder {
    color:#fff !important;
    opacity: .5;
    font-weight: 600;
    font-size: 0.875rem;
    padding-left: .63rem;
}
.white-placeholder input:-ms-input-placeholder {
    color:#fff !important;
    opacity: .5;
    font-weight: 600;
    font-size: 0.875rem;
    padding-left: .63rem;
}

.white-placeholder input::placeholder {
    color:#fff !important;
    opacity: .5;
    font-weight: 600;
    font-size: 0.875rem;
    padding-left: .63rem;
}

body .white-button .ui-button {
    border: 1px solid #DADEE3;
    background-color: #FFF;
    box-shadow: 0px 3px 0px 0px rgba(255, 255, 255, 0.10) inset, 0px -3px 1px 0px rgba(46, 0, 105, 0.05) inset;
    color: #689f38;
    font-weight: bold;
}

body .white-button .ui-button:hover {
    background-color: #f0f0f0;
    color: #689f38;
    border: 1px solid #DADEE3;
}

body .white-button .ui-button:disabled {
    background-color: #d6d6d6 !important; /* Gray out background */
    color: #888 !important; /* Change text color */
    border: 1px solid #bbb !important; /* Change border */
    cursor: not-allowed !important; /* Show disabled cursor */
    opacity: 0.6;
}

body .white-button .ui-state-focus {
    box-shadow: 0 0 0 .2em #c5c5c5;
}


body .black-button .ui-button {
    border: 1px solid #37404C;
    background-color: #37404C;
    box-shadow: 0px 2px 1px 0px rgba(255, 255, 255, 0.13) inset, 0px -2px 1px 0px rgba(0, 0, 0, 0.15) inset;
    color: #FFF;
    font-weight: bold;
}

body .black-button .ui-button:hover {
    background-color: #16191E;
    color: #FFF;
    border: 1px solid #16191E;
}

body .black-button .ui-state-focus {
    box-shadow: 0 0 0 .2em #37404C;
}

body .listing-search .ui-inputgroup>.ui-inputtext:not(:first-child) {
    background: #EFF1F4;
    border-left: 1px solid;
    padding: 0.90625rem  1.5rem;
}

.ui-blockui {
    background: rgba(0, 0, 0, 0) !important;
    position: fixed  !important;
    top: 0  !important;
    text-align: center;
    height: 100%  !important;
    backdrop-filter: blur(2px);
}

.ui-blockui-content {
    -moz-box-shadow: none !important;
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
}

.ui-inputfield.ui-state-disabled {
    color: #000000;
    background: #fff;
}

.ui-inputfield.ui-state-disabled {
    cursor: not-allowed !important;
    pointer-events: all !important;
    border: 1px solid #eae1e1 !important;
    background: #D7D7D7 !important;
}

::placeholder {
    color: #aaa7a7 !important;
}

body .checklist {
    min-height: 4.5rem;
}

/* custom list */
ol.custom-list {
    list-style-type: none; /* Remove default numbering */
}

.image-dialog {
    max-height: 90vh !important;
}

.image-dialog img {
    max-height: 70vh;
    max-width: 100%;
    object-fit: contain;
}

::-webkit-scrollbar {
    width: 18px;
}

::-webkit-scrollbar-track {
    background-color: transparent;
}

::-webkit-scrollbar-thumb {
    background-color: #d6dee1;
    border-radius: 18px;
    border: 6px solid transparent;
    background-clip: content-box;
}

::-webkit-scrollbar-thumb:hover {
    background-color: #a8bbbf;
}

