/* MudBlazor snackbar look, bottom-right of the page (not over the sidebar) */
.mud-snackbar-location-bottom-right {
    position: fixed;
    z-index: 2500;
    right: 24px;
    bottom: 24px;
    left: auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
    pointer-events: none;
    max-width: min(568px, calc(100vw - 48px));
}

@media (max-width: 960px) {
    .mud-snackbar-location-bottom-right {
        right: 16px;
        left: 16px;
        bottom: 16px;
        max-width: none;
    }
}

.mud-snackbar {
    pointer-events: auto;
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 48px;
    min-width: 288px;
    max-width: 568px;
    padding: 6px 8px 6px 16px;
    border-radius: 4px;
    color: #fff;
    font-family: Roboto, Helvetica, Arial, sans-serif;
    font-size: 0.875rem;
    font-weight: 400;
    line-height: 1.43;
    letter-spacing: 0.01071em;
    box-shadow: 0 3px 5px -1px rgba(0, 0, 0, 0.2), 0 6px 10px 0 rgba(0, 0, 0, 0.14), 0 1px 18px 0 rgba(0, 0, 0, 0.12);
}

.mud-snackbar-success { background: #2e7d32; }
.mud-snackbar-error { background: #d32f2f; }
.mud-snackbar-warning { background: #f57c00; }
.mud-snackbar-info { background: #0288d1; }
.mud-snackbar-normal { background: #323232; }

.mud-snackbar-icon {
    width: 24px;
    height: 24px;
    flex: 0 0 24px;
    display: flex;
}

.mud-snackbar-icon svg {
    width: 24px;
    height: 24px;
}

.mud-snackbar-content {
    margin: 0;
    flex: 1;
    padding: 8px 0;
}

.mud-snackbar-close {
    border: 0;
    background: transparent;
    color: inherit;
    width: 36px;
    height: 36px;
    padding: 6px;
    cursor: pointer;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    opacity: 0.85;
}

.mud-snackbar-close svg {
    width: 20px;
    height: 20px;
}

.mud-snackbar-close:hover {
    background: rgba(255, 255, 255, 0.12);
}
