﻿.mym-center-text {
    text-align: center !important;
}

.mud-button-filled {
    box-shadow: 0 3px 1px -2px rgb(0 0 0 / 30%), 0 2px 2px 0 rgb(0 0 0 / 0), 0 1px 5px 0 rgb(0 0 0 / 10%) !important;
}

.mud-dialog {
    box-shadow: 0 3px 1px -2px rgb(0 0 0 / 10%), 0 2px 2px 0 rgb(0 0 0 / 0), 0 10px 10px 0 rgb(0 0 0 / 5%) !important;
}

.mud-th {
    color:aqua !important;
}
.mud-nav-link {
    white-space: normal !important;
    padding: 12px 16px 12px 38px;
}

.mud-nav-link.active:not(.mud-nav-link-disabled) {
    border-right: 3px solid var(--mud-palette-primary);
    background-color: rgba(var(--mud-palette-primary-rgb), 0.1);
}

.mud-table {
    margin-bottom: 12px !important;
}

/*dense table padding*/
.mud-table-dense * .mud-table-row .mud-table-cell {
    padding: 2px 4px;
}
.mud-table-dense * .mud-table-row .mud-table-cell:first-child {
    padding-inline-start: 8px;
}
.mud-table-dense * .mud-table-row .mud-table-cell:last-child {
    padding-inline-end: 8px;
}
.mud-card {
    margin-bottom: 12px !important;
}

#blazor-error-ui {
    color: var(--mud-palette-drawer-text);
    background: var(--mud-palette-drawer-background);
}

.mud-overlay-dark {
    backdrop-filter: blur(2px);
}

.mud-card-header .mud-card-header-avatar {
    margin-inline-end: 10px !important;
}

.mud-nav-link {
    padding: 12px 16px 12px 15px !important;
}


/*.mud-dialog-actions {
    position: absolute;
    bottom: 0;
    width: 100%;*/ /* Optional: Set full width for buttons */
/*}*/

/*.mud-table-bordered .mud-table-container .mud-table-root .mud-table-body .mud-table-row .mud-table-cell:not(:last-child) {
    border: 1px solid var(--mud-palette-table-lines);
}
.mud-dialog {
    max-height: 100vh !important;
}

.mud-grid-spacing-xs-3 {
    margin: 0px !important;
    margin-left: -12px !important;
}*/

.mud-table-toolbar
{
    flex-wrap:wrap;
    margin-bottom:20px!important;
}
/*this remove unneeded horizinatal scrollbar in main and login */
.mud-tooltip.mud-tooltip-center-right:not([data-mudpopover-flip]), .mud-tooltip.mud-tooltip-center-left[data-mudpopover-flip] {
    transform: translateX(0);
}
::-webkit-scrollbar {
    width: 2px!important;
    height: 0px!important;
}
.mym-nav-child {
    padding-left: 10px !important;
}

input:-webkit-autofill {
    -webkit-box-shadow: 0 0 0px 1000px var(--mud-palette-surface) inset;
}

input:-webkit-autofill {
    -webkit-text-fill-color: var(--mud-palette-text-primary) !important;
}

.mym-wasm {
    animation: slide 3s ease-in-out infinite alternate;
    bottom: 0;
    left: -50%;
    opacity: .5;
    position: fixed;
    right: -50%;
    top: 0;
    z-index: -1
}

.mym-wasm-cont {
    left: 50%;
    padding: 10vmin;
    position: fixed;
    text-align: center;
    top: 50%;
    transform: translate(-50%, -50%)
}

@keyframes slide {
    0% {
        transform: translateX(-25%);
    }

    100% {
        transform: translateX(25%);
    }
}
/*.mud-dialog-content {
    max-height: calc(100vh - 130px);
}*/
.mud-dialog-fullscreen {
    overflow-y: auto;
}
.mud-grid-spacing-xs-3 {
    margin: 0 -12px; /*This remove un nedded scroolbar in mud dialog in tall screens*/
}
.mud-collapse-entering {
    animation-duration: .2s !important /*Reduce animation for MudTreeView*/
}