﻿::deep .mud-input {
    z-index: 10 !important;
}

::deep .mud-picker {
    z-index: 10 !important;
}

::deep .mud-picker-open {
    z-index: 1500 !important;
}

::deep .mud-overlay {
    z-index: 1400 !important;
}

::deep .mud-popover {
    z-index: 1500 !important;
}

.modal-backdrop.show {
    z-index: 99 !important;
}

    .modal-backdrop.show.backdrop-nested {
        z-index: 999 !important;
    }

.modal.show {
    z-index: 999 !important;
}

.modal.modal-nested.show {
    z-index: 9999 !important;
}

.main-content {
    padding: 34px 45px;
    flex: 1; /* Take up the remaining space */
    display: flex;
    flex-direction: column;
    position: relative;
}

    .main-content .loaderWrapper {
        position: fixed;
        inset: 0;
        width: 100%;
        height: 100%;
        background: rgba(236, 236, 236, 0.9); /* Adjusted background color */
        display: flex;
        justify-content: center;
        align-items: center;
        z-index: 1000; /* Ensure the loader is on top */
    }

#loader {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    background: #ecececb5;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999999;
}

.filter-select {
    width: 85px;
    padding-left: 6px !important;
    padding-right: 0px !important;
}

.custom-datepicker .mud-input-control {
    border: 1px solid #ccc !important;
    border-radius: 4px;
    padding: 5px;
    background: white;
    width: 175px !important;
    height: 41px;
    border-radius: 8px !important;
}

.textSmall {
    width: 110px !important;
}

.custom-datepicker .mud-button-root {
    display: none !important;
}

.mud-shrink + .mud-input-label {
    display: none !important;
}

.custom-datepicker .mud-input-control > .mud-input-control-input-container > div.mud-input.mud-input-text.mud-input-text-with-label {
    margin-top: 0px !important;
}

.custom-datepicker .mud-input.mud-input-underline:before {
    border-bottom: none !important;
}

.custom-datepicker .mud-input-label-inputcontrol {
    transform: translate(5px, 5px) scale(1) !important;
}

.custom-datepicker .mud-input-control.mud-input-control-margin-dense {
    margin: 0px 0px !important;
    align-items: center !important;
    justify-content: center !important;
}

.custom-datepicker .mud-icon-size-medium {
    font-size: 14px !important;
    margin-left: 0px !important;
    margin-right: 10px !important;
    margin-top: 2px !important;
}

.mud-picker-inline.mud-picker-input-button .mud-input:focus, .mud-picker-inline.mud-picker-input-button .mud-input .mud-input-root:focus {
    font-family: 'DM Sans', sans-serif !important;
    color: #212529
}

    .mud-picker-inline.mud-picker-input-button .mud-input, .mud-picker-inline.mud-picker-input-button .mud-input .mud-input-root:focus::placeholder {
        color: #212529 !important
    }

input::placeholder, textarea::placeholder {
    color: #212529 !important;
}

.custom-datepicker input {
    font-size: 14px !important;
    padding-bottom: 0px !important;
}

.custom-datepicker .mud-input-adornment {
    display: none !important;
}

.custom-datepicker .mud-input-control > .mud-input-control-input-container {
    left: 5px;
}

.custom-datepicker .mud-input.mud-input-underline:after {
    display: none !important;
}

.custom-datepicker .mud-button-root.mud-input-clear-button {
    display: block !important;
    position: relative;
    left: -9%;
}

@media (min-width:992px) {
    .w-lg-60 {
        width: 60% !important;
    }

    .w-lg-200px {
        width: 200px !important;
    }
}

#barChartId .chart-legend {
    display: none !important;
}

@media (min-width:1700px) {
    table th, table td {
        font-size: 16px !important;
    }
}

.form-check-input:checked {
    background-color: #000 !important;
}

input[type="checkbox"]:not(.form-check-input) {
    appearance: none; /* remove native style */
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 18px;
    height: 18px;
    border: 1px solid #000; /* your visible black border */
    border-radius: 2px !important;
    background-color: #fff; /* white box like jsTree */
    cursor: pointer;
    position: relative;
}

    /* Checked state (draw checkmark) */
    input[type="checkbox"]:not(.form-check-input):checked::after {
        content: "";
        position: absolute;
        top: 3px;
        left: 6px;
        width: 4px;
        height: 9px;
        border: solid #000;
        border-width: 0 2px 2px 0;
        transform: rotate(45deg);
    }

    /* Optional hover effect */
    input[type="checkbox"]:not(.form-check-input):hover {
        background-color: #f3f3f3;
    }


    input[type="checkbox"]:not(.form-check-input):disabled {
        opacity: 0.3 !important;
    }



.blazored-toast-container {
    z-index: 1050 !important;
}

.modal .modal-header h5 {
    color: #000000 !important;
    font-weight: 600 !important;
    font-size: 24px !important;
    line-height: 32px !important;
}

.form-check-input:checked {
    background-color: #000 !important;
}

input[type="checkbox"]:not(.form-check-input) {
    appearance: none; /* remove native style */
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 18px;
    height: 18px;
    border: 1px solid #000; /* your visible black border */
    border-radius: 2px !important;
    background-color: #fff; /* white box like jsTree */
    cursor: pointer;
    position: relative;
}

    /* Checked state (draw checkmark) */
    input[type="checkbox"]:not(.form-check-input):checked::after {
        content: "";
        position: absolute;
        top: 3px;
        left: 6px;
        width: 4px;
        height: 9px;
        border: solid #000;
        border-width: 0 2px 2px 0;
        transform: rotate(45deg);
    }

    /* Optional hover effect */
    input[type="checkbox"]:not(.form-check-input):hover {
        background-color: #f3f3f3;
    }


    input[type="checkbox"]:not(.form-check-input):disabled {
        opacity: 0.3 !important;
    }

input[type=radio] {
    accent-color: #000 !important;
    height: 17px !important;
    width: 17px !important;
}


