html, body {
    font-family: 'Segoe UI Variable Text', Helvetica, Arial, sans-serif;
    /*background-color: rgba(247, 148, 30, 0.2);*/
}

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

.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 {
    background: lightyellow;
    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+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNj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NTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.loading-progress {
    position: relative;
    display: block;
    width: 8rem;
    height: 8rem;
    margin: 20vh auto 1rem auto;
}

    .loading-progress circle {
        fill: none;
        stroke: #e0e0e0;
        stroke-width: 0.6rem;
        transform-origin: 50% 50%;
        transform: rotate(-90deg);
    }

        .loading-progress circle:last-child {
            stroke: #1b6ec2;
            stroke-dasharray: calc(3.141 * var(--blazor-load-percentage, 0%) * 0.8), 500%;
            transition: stroke-dasharray 0.05s ease-in-out;
        }

.loading-progress-text {
    position: absolute;
    text-align: center;
    font-weight: bold;
    inset: calc(20vh + 3.25rem) 0 auto 0.2rem;
}

    .loading-progress-text:after {
        content: var(--blazor-load-percentage-text, "Loading");
    }

code {
    color: #c02d76;
}



button {
    width: 100%;
    outline: none;
    border: none;
    padding: 8px;
    font-size: 14px;
}

h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
    font-weight: 0 !important;
    margin: 0px !important;
}

h1 {
    font-size: clamp(1.4rem, 2vw, 28px);
    font-weight: 100;
    margin: 0px;
    color: rgba(0, 0, 0, 0.8);
}

h2 {
}

h6 {
    font-size: clamp(12px, 1.5vw, 14px);
    font-weight: 100;
}

table {
    width: 100%;
}

th {
    font-weight: 300 !important;
}

/*th {
    border: 1px solid #333333;
    padding: 10px;
    text-align: center;
    font-size: 13px;
    color: #333333;
}*/

.transparent-card {
    position: relative;
    backdrop-filter: blur(15px);
    background-color: rgba(255,255,255,0.2);
    width: 98vw;
    height: 95vh;
    border: 1px solid rgba(255,255,255,0.5);
    border-radius: 20px;
}

@media(max-width: 1024px)
{
    .transparent-card {
        backdrop-filter: blur(15px);
        background-color: rgba(255,255,255,0.2);
        width: 100%;
        height: 100lvh;
        border: none;
        border-radius: 0px;
    }

    .paginator 
    {
        font-size: 11px;
    }

    .transparent-card-compoonents
    {
        border-radius: 0px !important;
    }
}

.transparent-card-compoonents {
    backdrop-filter: blur(5px);
    background-color: rgba(255,255,255,0.4);
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.2);
}

.animated-logo {
    animation: scaleInOut 5s infinite ease-in-out;
}

@keyframes scaleInOut {
    0%, 100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.5);
    }
}

.Load-center {
    position: relative;
    margin: 50vh auto 0 auto;
    background-color: transparent !important;
}

.btn-custom {
    background-color: rgba(247, 148, 30, 0.2);
    border: 1px solid #dd7d08;
    border-radius: 6px;
    color: #f7941e !important;
    max-width: 50px;
    min-width: 50px;
    max-height: 70px;
    transition: 0.1s ease-in-out;
}

    .btn-custom:hover {
        background-color: #f7941e;
        border: 1px solid #f7941e;
        color: white !important;
    }

@media(max-width:1024px)
{
    .btn-custom {
        max-width: 50px;
        min-width: 50px;
    }
}
    
    
.btn-custom-profile {
    background-color: rgba(247, 148, 30, 0.2);
    border: 1px solid #dd7d08;
    border-radius: 6px;
    color: #f7941e !important;
    transition: 0.1s ease-in-out;
}

    .btn-custom-profile:hover {
        background-color: #f7941e;
        border: 1px solid #f7941e;
        color: white !important;
    }

.btn-custom-gray {
    background-color: rgba(144, 164, 174, 0.2);
    border: 1px solid #7a929f;
    border-radius: 6px;
    color: #7a929f !important;
    max-width: 50px;
    min-width: 50px;
    max-height: 70px;
    transition: 0.1s ease-in-out;
}
    .btn-custom-gray:hover {
        background-color: #90a4ae;
        border: 1px solid #90a4ae;
        color: white !important;
    }

.btn-custom-green {
    background-color: rgba(120, 212, 0, 0.2);
    border: 1px solid #78d400;
    border-radius: 6px;
    color: #78d400 !important;
    max-width: 50px;
    min-width: 50px;
    max-height: 70px;
    transition: 0.1s ease-in-out;
}

.btn-custom-green-no-transparent {
    background-color: rgba(120, 212, 0);
    border: 1px solid #78d400;
    border-radius: 6px;
    color: rgba(255, 255, 255);
    max-width: fit-content;
    min-width: fit-content;
    max-height: 70px;
    transition: 0.1s ease-in-out;
}


    .btn-custom-green-no-transparent:hover
    {
        color: rgba(255, 255, 255, 0.6);
        background-color: rgba(120, 212, 0, 0.6);

    }

    .btn-custom-green:hover {
        background-color: #78d400;
        border: 1px solid #78d400;
        color: white !important;
    }

.btn-custom-blue {
    background-color: rgba(0, 102, 255, 0.2);
    border: 1px solid #005ce6;
    border-radius: 6px;
    color: #005ce6 !important;
    max-width: 50px;
    min-width: 50px;
    max-height: 70px;
    transition: 0.1s ease-in-out;
}

.btn-custom-grey-nohover {
    background-color: rgba(144, 164, 174, 0.2);
    border: 1px solid #7a929f;
    border-radius: 6px;
    color: #7a929f !important;
    max-width: 50px;
    min-width: 50px;
    max-height: 70px;
    transition: 0.1s ease-in-out;
}



.btn-custom-blue:hover {
    background-color: #005ce6;
    border: 1px solid #005ce6;
    color: white !important;
}

.btn-custom-red {
    background-color: rgba(230, 46, 0, 0.2);
    border: 1px solid #991f00;
    border-radius: 6px;
    color: #991f00 !important;
    max-width: 50px;
    min-width: 50px;
    max-height: 70px;
    transition: 0.1s ease-in-out;
}

    .btn-custom-red:hover {
        background-color: #991f00;
        border: 1px solid #991f00;
        color: white !important;
    }


div.position-relative i{
    fill: #90a4ae !important;
    color: #90a4ae !important;
}

.d-grid.three-divs {
    grid-template-columns: 5fr auto auto;
}

td {
    font-size: clamp(13px, 2vw, 16px);
}

.col-title-text {
    font-size: clamp(15px, 2.2vw, 18px);
    font-weight: 100 !important;
    color: white !important;
}


@media(min-width:1024px)
{

    .body-height {
        height: 81.3% !important;
    }

    .body-main-height {
        height: 75lvh !important;
    }

}
/* Webkit Browsers (Chrome, Safari) */
.custom-scrollbar::-webkit-scrollbar {
    width: 6px; /* Adjust for mobile view */
}

.custom-scrollbar::-webkit-scrollbar-track {
    background: transparent; /* Ensure track is transparent */
}

.custom-scrollbar::-webkit-scrollbar-thumb {
    background: #f7941e; /* Orange color */
    border-radius: 10px; /* Rounded edges for a modern look */
}

    .custom-scrollbar::-webkit-scrollbar-thumb:hover {
        background: #e67e22; /* Slightly darker orange on hover */
    }



/* Firefox */
.custom-scrollbar {
    scrollbar-width: thin; /* 'auto' | 'thin' */
    scrollbar-color: #f7941e transparent; /* thumb color and track color */
}

    /* Firefox hover effect */
    .custom-scrollbar:hover {
        scrollbar-color: #e67e22 transparent; /* Slightly darker orange on hover */
    }

.body-height {
    height: 79%;
    margin-top: 12px;
}

/* Sticky header while scrolling */
::deep thead {
    position: sticky;
    top: 0;
    background-color: rgba(38, 150, 255);
    z-index: 1;
}

.body-main-height {
    height: 68lvh;
}

label {
    margin-bottom: 0.2rem;
}

@media(min-width: 1024px) {
    .d-grid.checklist {
        grid-template-columns: auto auto auto;
        gap: 12px;
    }
}

th.col-justify-start, .table thead tr th {
    position: sticky;
    top: 0;
    background-color: rgba(38, 150, 255);
    z-index: 1;
    color: white;
}

/* Parent container */
.grid {
    overflow-x: scroll; /* Enable horizontal scrolling */
    scrollbar-width: none; /* Hide scrollbar for Firefox */
    -ms-overflow-style: none; /* Hide scrollbar for Internet Explorer and Edge */
}

    /* Hide scrollbar for WebKit-based browsers (Chrome, Safari, etc.) */
    .grid::-webkit-scrollbar {
        display: none;
    }


/*@media(min-width: 1024px) {
    .hide-branch-changer {
        display: none;
    }

    .show-branch-changer-for-mobile
    {
        display: block !important;
    }
}*/

.show-branch-changer-for-mobile{
    display: none;
}
/* Overlay for the popup */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent background */
    z-index: 9999; /* Ensures it's above other elements */
    display: flex;
    align-items: flex-start; /* Align popup to the top */
    justify-content: center; /* Center horizontally */
}

/* Popup content container */
.popup-content {
    background-color: #fff; /* White background for the popup */
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.25);
    max-width: 400px;
    width: 90%; /* Responsive width */
    /*margin-top: 20px;*/ /* Space from the top */
    z-index: 10000;
}

/* Custom center-top alignment */
.center-top {
    /*margin-top: 10px;*/ /* Slight offset from the top */
    position: relative;
}

/* Close button styling */
.popup-content button {
    display: block;
    margin: 20px auto 0;
    padding: 10px 20px;
    border: none;
    background-color: #007bff;
    color: #fff;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
}

    .popup-content button:hover {
        background-color: #0056b3;
    }

/* Text styling for the list */
.popup-content ul {
    list-style-type: none;
    padding: 0;
}

    .popup-content ul li {
        margin: 10px 0;
    }

        .popup-content ul li a {
            color: #007bff;
            text-decoration: none;
        }

            .popup-content ul li a:hover {
                text-decoration: underline;
            }

div.position-relative div {
    position: absolute;
    top: 50%;
    left: 6px;
    transform: translate(0, -50%);
    width: 13px;
    height: auto;
}

.dropdown {
    position: relative;
    display: inline-block;
    width: 100%;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1050;
    display: none;
    float: left;
    min-width: 100%;
    padding: 0.5rem 0;
    margin: 0.125rem 0 0;
    font-size: 1rem;
    color: #212529;
    text-align: left;
    list-style: none;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 0.25rem;
}

    .dropdown-menu.show {
        display: block;
    }




.form-control {
    padding: 0.375rem 1.75rem;
}
