/*
* demo.css
* File include item demo only specific css only
******************************************************************************/

.light-style .menu .app-brand.loginmenu {
    height: 64px;
}

.dark-style .menu .app-brand.loginmenu {
    height: 64px;
}

.app-brand-logo.loginmenu {
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-pack: center;
    justify-content: center;
    display: -ms-flexbox;
    display: flex;
    width: 46px;
    height: 64px;
}

.app-brand-logo.login {
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-pack: center;
    justify-content: center;
    display: -ms-flexbox;
    display: flex;
}

.app-brand-text.loginmenu {
    font-size: 1.375rem;
}

.app-brand-text.private {
    font-size: 1 rem;
}

/* ! For .layout-navbar-fixed added fix padding top tpo .layout-page */
.layout-navbar-fixed .layout-wrapper:not(.layout-without-menu) .layout-page {
    padding-top: 64px !important;
}
.layout-navbar-fixed
    .layout-wrapper:not(.layout-horizontal):not(.layout-without-menu)
    .layout-page {
    padding-top: 78px !important;
}
/* Navbar page z-index issue solution */
.content-wrapper .navbar {
    z-index: auto;
}

/*
  * Content
  ******************************************************************************/

.demo-blocks > * {
    display: block !important;
}

.demo-inline-spacing > * {
    margin: 1rem 0.375rem 0 0 !important;
}

/* ? .demo-vertical-spacing class is used to have vertical margins between elements. To remove margin-top from the first-child, use .demo-only-element class with .demo-vertical-spacing class. For example, we have used this class in forms-input-groups.html file. */
.demo-vertical-spacing > * {
    margin-top: 1rem !important;
    margin-bottom: 0 !important;
}
.demo-vertical-spacing.demo-only-element > :first-child {
    margin-top: 0 !important;
}

.demo-vertical-spacing-lg > * {
    margin-top: 1.875rem !important;
    margin-bottom: 0 !important;
}
.demo-vertical-spacing-lg.demo-only-element > :first-child {
    margin-top: 0 !important;
}

.demo-vertical-spacing-xl > * {
    margin-top: 5rem !important;
    margin-bottom: 0 !important;
}
.demo-vertical-spacing-xl.demo-only-element > :first-child {
    margin-top: 0 !important;
}

.rtl-only {
    display: none !important;
    text-align: left !important;
    direction: ltr !important;
}

[dir="rtl"] .rtl-only {
    display: block !important;
}

/*
  * Layout demo
  ******************************************************************************/

.layout-demo-wrapper {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    margin-top: 1rem;
}
.layout-demo-placeholder img {
    width: 900px;
}
.layout-demo-info {
    text-align: center;
    margin-top: 1rem;
}

.pageLoader {
    background: url("../img/spinner/loader.gif") no-repeat center center;
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    z-index: 9999999;
    background-color: #ffffff8c;
}

.loading {
    z-index: 20;
    position: absolute;
    top: 0;
    left: -5px;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
}
.loading-content {
    position: absolute;
    border: 16px solid #f3f3f3;
    border-top: 16px solid #3498db;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    top: 40%;
    left: 50%;
    animation: spin 2s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.beep {
    position: relative;
}
.beep:after {
    content: "";
    position: absolute;
    top: -1px;
    right: 5px;
    width: 10px;
    height: 10px;
    background-color: red;
    border-radius: 50%;
    animation: pulsate 1s ease-out;
    animation-iteration-count: infinite;
    opacity: 1;
}

.pulsate {
    animation: pulsate 1s ease-out;
    animation-iteration-count: infinite;
    opacity: 1;
}

@-webkit-keyframes pulsate {
    0% {
        -webkit-transform: scale(0.1, 0.1);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        -webkit-transform: scale(1.2, 1.2);
        opacity: 0;
    }
}

.misc-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    text-align: center;
}

.misc-bg-wrapper {
    position: relative;
}
.misc-bg-wrapper img {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: -1;
}

@media (max-width: 1499.98px) {
    .misc-bg-wrapper img {
        height: 250px;
    }
    .misc-under-maintenance-bg-wrapper img {
        height: 270px !important;
    }
}

.carousel-item {
    height: 90vh; /* Fill 90% of the viewport height */
    position: relative;
    align-items: center;
    justify-content: center;
    overflow: hidden; /* Prevent overflow */
}

.carousel-item img {
    width: 100%; /* Ensure the image fills the full width */
    height: 100%; /* Ensure the image fills the full height */
     object-fit: contain; /*Maintain aspect ratio and cover the container */
    object-position: center;
}

/* Adjustments for screens smaller than 1600px */
@media screen and (max-width: 1200px) {
    .carousel-item {
        height: 80vh; /* Reduce height slightly for 1600px screens */
    }

    .carousel-item img {
        object-fit: contain; /* Ensure the image is fully visible */
    }
}



/* Style for error messages */
.error-message {
    color: red;
    font-size: 12px;
    margin-top: 5px;
    display: none; /* Hidden by default */
}

/* Style for input with errors (red border) */
.error-border {
    border: 1px solid red;
}

.footer_login {
    background-color: #f4f5f7;
    padding: 10px 0 0 0;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
}

.footer-images img {
    max-width: 100px; /* Adjust the size of the images */
    height: auto;
}

.footer-images .text-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.footer-images .text-center .d-flex {
    gap: 10px; /* Space between Bank Islam and Itekad */
}

/* CSS untuk tajuk */
.footer-title {
    font-family: Arial, sans-serif;
    font-size: 12px;
    font-weight: bold;
    margin-bottom: 5px;
}

/* Styling untuk teks hakcipta */
.copyright {
    font-size: 14px;
    font-weight: bold;
    color: #6c757d;
    margin: 0;
    text-align: center;
    position: absolute;
    bottom: 2px; /* Keep it near the bottom */
    width: 100%;
}

.copyright p {
    margin-bottom: 1px; /* Set the gap between the two paragraphs to 1px */
}

@media (max-width: 800px) {
    .hide-on-small {
        display: none;
    }
}

.form-select:disabled {
    background-color: white; /* Set a custom background color */
    color: #6f6b7d; /* Set text color */
    opacity: 1; /* Ensure the select element is fully opaque */
    border: 1px solid #ced4da; /* Optional: set a custom border */
    cursor: not-allowed; /* Display a 'not-allowed' cursor to indicate it's disabled */
}

.payment-info {
    display: flex;
    flex-direction: column;
    max-width: 400px;
    border: 1px solid #ccc;
    padding: 10px;
}

.payment-row {
    display: flex;
    justify-content: space-between;
    padding: 5px 0;
    border-bottom: 1px solid #eee;
}

.payment-row:last-child {
    border-bottom: none;
}
