﻿html,body{
    height:100vh;
}

.dialog-background {
    backdrop-filter: blur(8px);
}
.mud-dialog-container {
    backdrop-filter: blur(6px);
}

.mud-tab {
    text-transform: none;
}


.my-container {
    padding: 24px; /* desktop */
}

@media (max-width: 600px) {
    .my-container {
        padding: 8px; /* mobile */
    }
}


.mud-breadcrumbs {
    padding: 4px 6px!important;
}
.mud-breadcrumb-separator {
    padding: 0 8px !important;
}

.ellipsis {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Non-modal, draggable panels. These styles are global intentionally because
   the panel uses fixed viewport positioning and can be hosted by any page. */
.floating-panel {
    position: fixed;
    z-index: 1300;
    min-width: 360px;
    min-height: 220px;
    max-width: calc(100vw - 16px);
    max-height: calc(100vh - 16px);
    flex-direction: column;
    overflow: hidden;
    resize: both;
    border: 1px solid var(--mud-palette-lines-default);
    border-radius: var(--mud-default-borderradius);
    background: var(--mud-palette-surface);
    box-shadow: var(--mud-elevation-12);
}

.floating-panel__header {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 8px;
    min-height: 42px;
    padding: 2px 4px 2px 12px;
    color: var(--mud-palette-appbar-text);
    background: var(--mud-palette-appbar-background);
    cursor: move;
    user-select: none;
    touch-action: none;
}

.floating-panel__title {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.floating-panel__content {
    flex: 1 1 auto;
    min-height: 0;
    padding: 12px;
    overflow: auto;
    overscroll-behavior: contain;
}

@media (max-width: 600px) {
    .floating-panel {
        inset: 8px !important;
        width: auto !important;
        height: auto !important;
        min-width: 0;
        max-width: none;
        max-height: none;
        resize: none !important;
    }
}
