/*#region APP BODY FONT STYLES */
html, body {
    font-family: 'Source Sans Pro', sans-serif !important;
    font-weight: 600;
    font-style: normal;
    text-rendering: geometricPrecision;
    -webkit-font-smoothing: antialiased;
}

html {
    font-size: 14px !important;
    font-weight: 600 !important
}

body, h1, h2, h3, h4, h5, h6, .subtitle1, .subtitle2 {
    font-family: 'Source Sans Pro', sans-serif !important;
}

.h6, .mud-typography-h6 {
    font-weight: 700 !important;
}

@media only screen and (max-width: 768px) {
    .mud-tab, .mud-nav-link, .mud-nav-link-text {
        font-size: 1.4rem !important;
        font-weight: 650 !important;
    }
}
.mud-typography,.mud-table, .mud-table-cell, .mud-button-label {
    font-family: 'Source Sans Pro', sans-serif !important;
}
.mud-tab, .mud-nav-link, .mud-nav-link-text {
    font-weight: 600 !important;
    font-size: 1rem !important
}

button, .mud-button-root {
    font-family: 'Source Sans Pro', sans-serif !important;
    font-weight: 700 !important;
    letter-spacing: normal !important
}

@media screen and (min-width: 320px) {
    html {
        font-family: 'Source Sans Pro', sans-serif !important;
        font-size: calc(14px + 6 * ((100vw - 320px) / 680)) !important;
    }
}

@media screen and (min-width: 768px) {
    html {
        font-family: 'Source Sans Pro', sans-serif !important;
        font-size: 17px !important;
    }
}
/*#endRegion */


h1:focus {
    outline: none;
}

/*a, .btn-link {
    color: #0071c1;
}*/

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

.mud-overlay .mud-overlay-scrim.mud-overlay-dark {
    background-color: transparent !important;
}

.content {
    padding-top: 1.1rem;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

#blazor-error-ui {
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }


/*#region SPLASH PAGE CSS */
#app {
    position: relative;
    display: flex;
    background: rgb(247,159,15);
    background: linear-gradient(180deg, rgba(247,159,15,1) 0%, rgba(171,32,142,1) 120.5%) !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.logo img {
    width: 60%;
    height: auto;
    margin-top: -60% !important;
}

@media (max-width: 374px) {
    .bottom-right-image img {
        width: 90px !important;
        margin-bottom: -10px !important;
    }
}

.copyright-text {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
}

    .copyright-text span {
        font-family: 'Source Sans Pro', sans-serif !important;
        font-size: 13px !important;
    }

.bottom-right-image img {
    position: fixed !important;
    bottom: 20px !important;
    right: 0px !important;
}

.bottom-right-image img {
    width: 180px !important;
    height: auto !important;
    margin-bottom: -20px !important;
    margin-right: 0px !important;
}

@media only screen and (min-width: 360px) and (max-width:540px) and (max-height:640px){
    .bottom-right-image img {
        width: 130px !important;
    }
}
/* General Media Queries */
@media only screen and (max-width: 768px) {
    .logo img {
        width: 50% !important; 
    }
    .bottom-right-image img {
        width: 160px !important;
        margin-bottom: -20px !important;
        margin-right: 0px !important;
    }

}
@media only screen and (max-width: 276px) {
    .bottom-right-image img {
        width: 120px !important; /* Adjusted width */
    }
}
@media only screen and (max-width: 768px) {
    .bottom-right-image img {
        width: 130px !important; /* Adjusted width */
    }
}
@media only screen and (max-width: 768px) and (min-width:600px){
    .logo img {
        width: 50% !important;
    }

    .bottom-right-image img {
        width: 160px !important;
        margin-bottom: -20px !important;
        margin-right: 0px !important;
    }
}

@media only screen and (min-width: 769px) and (max-width: 1024px) {
    .logo img {
        width: 60% !important; 
    }

    .bottom-right-image img {
        width: 180px !important;
        margin-bottom: -20px !important;
        margin-right: 0px !important;
    }

}

@media only screen and (min-width: 1025px) {
    .logo img {
        margin-top:-60% !important;
        width: 60% !important;
    }

    .bottom-right-image img {
        width: 180px !important;
        margin-bottom: -20px !important;
        margin-right: 0px !important;
    }

}


/* #endRegion SPLASH PAGE CSS */

.imageThumbnail {
    height: 350px;
    width: auto;
}

#searchInput {
    width: 100%;
    padding: 10px !important;
    margin-top: 20px !important;
    border-radius: 25px;
}

.customer-card {
    margin-bottom: 20px;
}

    .customer-card .card {
        border: none;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        transition: transform 0.2s;
    }

        .customer-card .card:hover {
            transform: translateY(-5px);
        }

    .customer-card .card-header {
        background-color: #007bff;
        color: #fff;
        text-align: center;
        padding: 10px;
    }

    .customer-card .card-title {
        font-size: 18px;
        font-weight: bold;
        margin-top: 10px;
    }

    .customer-card .card-img-top {
        max-height: 200px;
        object-fit: cover;
        margin: auto auto 0px;
    }

    .customer-card .card-footer {
        text-align: center;
        background-color: #f8f9fa;
        padding: 10px;
    }

    .customer-card .btn {
        margin: 5px;
    }

body, html {
    height: 100%;
    margin: 0;
    padding: 0;
    background-color: #F4F4F7 !important
}

.spinner {
    border: 16px solid silver;
    border-top: 16px solid #337AB7;
    border-radius: 50%;
    width: 80px;
    height: 80px;
    animation: spin 700ms linear infinite;
    color: green;
    position: absolute;
    top: 40%;
    left: 55%;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@media (max-width: 768px) {
    .spinner {
        width: 40px;
        height: 40px;
        display: flex;
        justify-content: center;
        align-items: center;
        margin: 0 auto;
        position: relative !important;
        top: 0;
        left: 0;
    }
}

.font-bold {
    font-weight: bold;
}


/* Media query for mobile screens */
@media (max-width: 767px) {
    :root {
        --is-mobile: 1;
    }
}

/* Media query for larger screens */
@media (min-width: 768px) {
    :root {
        --is-mobile: 0;
    }
}
