/* CUSTOM STYLING FOR THE MEZER 2.0 PROJECT 
0. General Styling
1. Login
*/

/* 0. General Styling */

.centralized-loading {
    position: fixed;  /* Full screen */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: white; /* White background */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999; /* Ensures it's on top */
}

.logo {
    width: 26px;
    margin-bottom: 0px;
}

.logo2 {
    max-width: 110px;
    margin-bottom: 20px;
}

.logo3 {
    width: 80px;
    margin-bottom: 10px;
}

/* Loader container */
.loader-container {
    width: 300px;
    height: 4px;
    background-color: #e0e0e0;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

/* Animated loading bar */
.loader-bar {
    width: 0%;
    height: 100%;
    background-color: #fa5069;
    animation: load 3s ease-in-out forwards;
}

@keyframes load {
    0% { width: 0%; }
    50% { width: 70%; }
    100% { width: 100%; }
}

.is-invalid {
    border: 1px solid red !important;
    background-color: #ffebeb;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    50% { transform: translateX(5px); }
    75% { transform: translateX(-5px); }
}


.bolder {
    font-weight: 700;
}

.btn-theme {
    color: #fff;
    background-color: #fa5069;
    border-color: #fa5069;
    -webkit-box-shadow: 0 0.125rem 0.25rem 0 rgba(105, 108, 255, 0.4);
    box-shadow: 0 0.125rem 0.25rem 0 rgba(105, 108, 255, 0.4);
    transition: all 0.3s linear;
}

.btn-theme:hover {
    color: #fff;
    background-color: #f03551;
    border-color: #f03551;
    margin-top:10px;
}

.curved-edge {
    border-radius: 20px;
}

.text-grey {
    color: #666666;
}

.text-theme {
    color: #f03551;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(0, 0, 0, 0.1);
    border-top-color: #fa5069;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}
@keyframes spin {
    to { transform: rotate(360deg); }
}

.bg-menu-theme .menu-inner > .menu-item.active:before {
    background: transparent;
}


.misc-wrapper{
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    min-block-size:calc(100vh - 1.5rem*2);
    text-align:center
}

/* 1. Login */
.authentication-wrapper {
    --bs-auth-basic-inner-max-width: 460px;
    display: flex;
    flex-basis: 100%;
    inline-size: 100%;
    min-block-size: 100vh
}

.authentication-wrapper .authentication-bg {
    background-color: var(--bs-paper-bg)
}

.authentication-wrapper .authentication-inner {
    inline-size: 100%
}

.authentication-wrapper .app-brand-logo.demo svg {
    block-size: 38px;
    inline-size: 22px
}

.authentication-wrapper.authentication-basic {
    overflow: hidden;
    align-items: center;
    justify-content: center
}

.authentication-wrapper.authentication-basic .authentication-inner {
    position: relative;
    max-inline-size: var(--bs-auth-basic-inner-max-width)
}

#left-cover img {
    height: 100%; /* Make the image fill the div height */
    width: 100%; /* Ensure it covers the width */
    object-fit: cover; /* Crop image to maintain aspect ratio */
}




@media(max-width: 575.98px) {
    .authentication-wrapper.authentication-basic .authentication-inner::before {
        display: none
    }
}


@media(max-width: 575.98px) {
    .authentication-wrapper.authentication-basic .authentication-inner::after {
        display: none
    }
}

.authentication-wrapper.authentication-basic .authentication-inner .card {
    z-index: 1
}

@media(min-width: 576px) {
    .authentication-wrapper.authentication-basic .authentication-inner .card {
        padding: 1.5rem
    }
}

.authentication-wrapper.authentication-basic .authentication-inner .card .app-brand {
    margin-block-end: 1.5rem
}

.authentication-wrapper .auth-input-wrapper .auth-input {
    font-size: 150%;
    max-inline-size: 50px;
    padding-inline: .4rem
}

@media(max-width: 575.98px) {
    .authentication-wrapper .auth-input-wrapper .auth-input {
        font-size: 1.125rem
    }
}

.auth-cover-brand {
    position: absolute;
    z-index: 1;
    inset-block-start: 2.1rem;
    inset-inline-start: 2.5rem
}

@media(max-width: 575.98px) {
    .auth-cover-brand {
        inset-inline-start: 1.5rem
    }
}

#twoStepsForm .fv-plugins-bootstrap5-row-invalid .form-control {
    border-width: 2px;
    border-color: #ff3e1d;
    box-shadow: none
}

@media(max-width: 575.98px) {
    .numeral-mask-wrapper .numeral-mask {
        padding: 0
    }
    .numeral-mask {
        margin-inline: 1px
    }
} 

/* 2. Dashboard */

.app-brand-text.demo {
    font-size: 1.26rem;
    letter-spacing: -0.5px;
}

.menu .app-brand.demo {
    height: 64px;
    margin-top: 12px;
    margin-left: -18px;
}

.carousel-inner img {
    height: 275px; /* Adjust height */
    object-fit: cover; /* Ensures images cover the area */
}

.selected-plan {
    background-color: #f0fff5;
    border: 2px solid #28a745 !important;
}

#custom-message {
    white-space: pre-line;
    font-family: inherit;
    line-height: 1.2;
}


/* Preloader Style */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.spinner-border {
    width: 3rem;
    height: 3rem;
    border-width: 0.3em;
}

.ad-title {
    color: #000000 !important;
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 0;
}
.ad-description {
    margin-bottom: 5px;
}

.card-body {
    padding: 18px 20px;
}

.dropdown-menu {
    z-index: 99999 !important;
}


@media print {
    body * {
      visibility: hidden;
    }
  
    #invoicePreview, #invoicePreview * {
      visibility: visible;
    }
  
    #invoicePreview {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      padding: 20px;
      background: white;
    }
}
  