/* ==========================
            AlbertSans
   ========================== */
@font-face {
    font-family: 'AlbertSans';
    src: url('../../Assets/Fonts/AlbertSans/AlbertSans-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'AlbertSans';
    src: url('../../Assets/Fonts/AlbertSans/AlbertSans-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'AlbertSans';
    src: url('../../Assets/Fonts/AlbertSans/AlbertSans-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'AlbertSans';
    src: url('../../Assets/Fonts/AlbertSans/AlbertSans-Black.ttf') format('truetype');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

body[index],
body[dealer],
body[internal] {
    font-family: 'AlbertSans', sans-serif;
}

body[dealer],
body[internal] {
    background: url("../../Assets/Images/General/Background.png") center / cover no-repeat;
}

@media (max-width: 768px) {

    body[dealer],
    body[internal] {
        background: url("../../Assets/Images/General/Background Mobile.png") center / cover no-repeat;
    }
}


/* ========================================
   Mforce.CAS Brand Gradients
   Colors: #0d3954 (Dark Blue) → #179b46 (Green)
=========================================== */

/* Navbar Dark Blue to Green */
.navbar.bg-gradient-mforcecas-navbar {
    background: #0d3954 linear-gradient(135deg, #0d3954, #179b46) repeat-x !important;
    border-bottom: 2px white solid;
    box-shadow: 0 2px 4px rgba(0, 0, 0, .1);
}

.navbar.bg-gradient-mforcecas-navbar .navbar-brand {
    color: #fff !important;
}

.navbar.bg-gradient-mforcecas-navbar .nav-link {
    color: rgba(255, 255, 255, .85) !important;
}

.navbar.bg-gradient-mforcecas-navbar .nav-link:hover {
    color: #fff !important;
    background: rgba(255, 255, 255, .1) !important;
}

.navbar.bg-gradient-mforcecas-navbar .nav-link.active {
    background: rgba(255, 255, 255, .15) !important;
    color: #fff !important;
}

/* Primary Gradient - Dark Blue to Green (Default) */
.bg-gradient-mforcecas {
    background: #0d3954 linear-gradient(135deg, #0d3954, #179b46) repeat-x !important;
    color: #fff !important;
}

.bg-gradient-radial {
    background: linear-gradient(135deg, #dbeafe, #bbf7d0) !important;
    color: #000;
}

label {
    font-weight: bold;
}

.accordion-button::after {
    filter: none;
    /* remove your current filter */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23ffffff' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
}

/* Make sure SweetAlert2 popup is above preloader */
.swal2-container {
    z-index: 99999999999999999 !important;
}

#preloader2 {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    overflow: hidden;
    background: #ffffff82;
}

#preloader2:before {
    content: "";
    position: fixed;
    top: calc(50% - 30px);
    left: calc(50% - 30px);
    border: 6px solid #1977cc;
    border-top-color: #d1e6f9;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    -webkit-animation: animate-preloader 1s linear infinite;
    animation: animate-preloader 1s linear infinite;
}

.img-preview {
    text-align: center !important;
}

.iframe {
    max-height: 350px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    display: block !important;
    border: 1px solid black !important;
}

.overlay-block {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    background: rgba(0, 0, 0, 0.5);
    z-index: 10;

    display: flex;
    justify-content: center;
    align-items: center;

    border-radius: 6px;
}

.app-footer a {
    text-decoration: none;
    color: #87fc95;
}