@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;
}

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

a {
    text-decoration: none !important;
}

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

.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: 768px) {
    .carousel-img-height {
        height: 300px;
    }
}

#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-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;
}


