/* /Components/Layout/MainLayout.razor.rz.scp.css */
/* Layout root (scoped, no longer overriding every .container-fluid) */
.layout-root[b-6btkyuxcq2] {
    min-height: 100vh;
    width: 100%;
    display: flex;
    flex-direction: column;
}

/* Row container */
.layout-root > .row[b-6btkyuxcq2] {
    flex: 1;
    min-height: 100vh;
}

/* Ensure the bootstrap row behaves like a stable 2-column layout */
.layout-root > .row[b-6btkyuxcq2] {
    display: flex;
    flex-wrap: nowrap;
}

.page[b-6btkyuxcq2] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-6btkyuxcq2] {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    width: 100%;
    min-width: 0; /* prevents overflow pushing content */
}

/* Make the section container a flex container - more specific selector */
.layout-root main > section.container[b-6btkyuxcq2] {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0; /* Allow flex item to shrink */
}

.sidebar[b-6btkyuxcq2] {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

.top-row[b-6btkyuxcq2] {
    background-color: #ffffff;
    border-bottom: 1px solid rgba(0,0,0,0.06);
    height: 3.5rem;
    display: flex;
    align-items: center;
    flex-shrink: 0;
    z-index: 10; /* modest stacking just above content */
}

.top-row[b-6btkyuxcq2]  a,
.top-row[b-6btkyuxcq2]  .btn-link {
    color: #1b6ec2;
    white-space: nowrap;
}

/* More specific selector for content */
.layout-root .content[b-6btkyuxcq2] {
    padding-top: 0.25rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0; /* Allow flex item to shrink */
}

/* Mobile: turn sidebar into an off-canvas drawer so it can't overlap/push content */
@media (max-width: 640.98px) {
    .layout-root > .row[b-6btkyuxcq2] {
        flex-direction: column;
    }

    .sidebar[b-6btkyuxcq2] {
        position: fixed;
        inset: 0 auto 0 0; /* top/right/bottom/left */
        width: min(85vw, 320px);
        height: 100vh;
        z-index: 1040;
        transform: translateX(-100%);
        transition: transform 180ms ease;
        will-change: transform;
        box-shadow: 0 12px 28px rgba(0,0,0,0.35);
    }

    /* When NavMenu toggles, it sets data attribute on the closest aside */
    .sidebar[data-nav-open="true"][b-6btkyuxcq2] {
        transform: translateX(0);
    }

    /* Give main full width; never offset by the sidebar */
    main[b-6btkyuxcq2] {
        width: 100%;
    }
}

@media (min-width: 641px) {
    .sidebar[b-6btkyuxcq2] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
        flex: 0 0 250px;
        transform: none;
        box-shadow: none;
        z-index: auto;
    }

    .top-row[b-6btkyuxcq2] {
        position: sticky;
        top: 0;
    }
}

/* Blazor error UI */
#blazor-error-ui[b-6btkyuxcq2] {
    color-scheme: light only;
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

#blazor-error-ui .dismiss[b-6btkyuxcq2] {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}
/* /Components/Layout/NavMenu.razor.rz.scp.css */
:root[b-8ljhiwxq0t] {
    --nav-bg: rgba(10, 10, 10, 0.88);
    --nav-scroll-bg: rgba(22, 28, 36, 0.36);
    --nav-group-bg: rgba(255,255,255,0.02);
    --nav-group-border: rgba(255,255,255,0.04);
    --top-row-bg: rgba(0, 0, 0, 0.70);
    --muted: #d7d7d7;
    --muted-opaque: rgba(215,215,215,0.12);
    --accent: #4f9fff;
    --accent-opaque: rgba(79,159,255,0.18);
    --surface-radius: 8px;
    --nav-width: 14.5rem;
    --icon-size: 1.25rem;
    --row-height: 3rem;
    --transition-fast: 160ms ease;
}

/* Container top bar */
.top-row[b-8ljhiwxq0t] {
    min-height: 3.5rem;
    background: linear-gradient(180deg, var(--top-row-bg), rgba(0,0,0,0.55));
    display: flex;
    align-items: center;
    padding: 0 1rem;
    box-shadow: 0 1px 0 rgba(255,255,255,0.02) inset;
}

/* Brand */
.navbar-brand[b-8ljhiwxq0t] {
    font-size: 1.05rem;
    font-weight: 600;
    color: white;
    letter-spacing: 0.2px;
}

/* Toggler (small screens) */
.navbar-toggler[b-8ljhiwxq0t] {
    appearance: none;
    cursor: pointer;
    width: 3.25rem;
    height: 2.25rem;
    color: white;
    position: absolute;
    top: 0.5rem;
    right: 1rem;
    border-radius: 6px;
    border: 1px solid rgba(255,255,255,0.10);
    background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28215,215,215,0.85%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") no-repeat center/1.5rem rgba(255,255,255,0.04);
    background-color: transparent;
    transition: background-color var(--transition-fast), transform var(--transition-fast);
}

/* Scrollable container for the menu */
.nav-scrollable[b-8ljhiwxq0t] {
    display: none;
    width: 100%;
    padding: 0.5rem;
    border-radius: 0 0 var(--surface-radius) var(--surface-radius);
    border-left: 1px solid rgba(255,255,255,0.03);
    box-shadow: none;
    background: transparent;
}

/* Mobile: show menu content when opened */
@media (max-width: 640.98px) {
    .nav-scrollable[data-open="true"][b-8ljhiwxq0t] {
        display: block;
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
    }
}

/* Desktop: always visible, no toggler */
@media (min-width: 641px) {
    .navbar-toggler[b-8ljhiwxq0t] { display: none; }

    .nav-scrollable[b-8ljhiwxq0t] {
        display: block;
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
        padding: 0.75rem;
    }
}

/* --- Syncfusion menu styling --- */
.nav-syncfusion[b-8ljhiwxq0t] {
    width: 100%;
    display: block;
    padding: 0;
}

.nav-syncfusion .e-ul[b-8ljhiwxq0t],
.nav-syncfusion .e-menu[b-8ljhiwxq0t] {
    background: linear-gradient(180deg, var(--nav-scroll-bg), rgba(8,10,12,0.92));
    border-radius: 6px;
    border: 1px solid rgba(255,255,255,0.03);
    padding: 0.35rem;
    box-shadow: 0 8px 24px rgba(0,0,0,0.45);
    margin: 0;
}

.nav-syncfusion .e-popup[b-8ljhiwxq0t],
.nav_syncfusion .e-popup .e-ul[b-8ljhiwxq0t],
.nav_syncfusion .e-menu .e-popup[b-8ljhiwxq0t] {
    background: transparent;
    box-shadow: none;
    border: none;
}

/* Menu item wrapper */
.nav-syncfusion .e-menu-item[b-8ljhiwxq0t] {
    list-style: none;
    border-radius: 6px;
    margin: 0.12rem 0;
    transition: transform var(--transition-fast), background-color var(--transition-fast), box-shadow var(--transition-fast);
}

/* Link text and spacing */
.nav-syncfusion .e-menu-item .e-menu-text[b-8ljhiwxq0t] {
    color: var(--muted);
    font-weight: 500;
    line-height: 1.25rem;
    padding: 0.6rem 0.45rem;
    display: inline-block;
}

/* Icon */
.nav-syncfusion .e-menu-item .e-menu-icon[b-8ljhiwxq0t],
.nav_syncfusion .e-menu-item .e-menu-icon img[b-8ljhiwxq0t] {
    width: var(--icon-size);
    height: var(--icon-size);
    margin-right: 0.6rem;
    vertical-align: middle;
    opacity: 0.95;
    filter: drop-shadow(0 1px 0 rgba(0,0,0,0.35));
}

/* Hover / focus: subtle lift and darker overlay */
.nav-syncfusion .e-menu-item:hover[b-8ljhiwxq0t],
.nav_syncfusion .e-menu-item:focus[b-8ljhiwxq0t],
.nav_syncfusion .e-menu-item.e-hover[b-8ljhiwxq0t] {
    background-color: rgba(255,255,255,0.03);
    color: white;
    transform: translateX(3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.36);
}

/* Active / selected item */
.nav-syncfusion .e-menu-item.e-active[b-8ljhiwxq0t],
.nav_syncfusion .e-menu-item.e-selected[b-8ljhiwxq0t],
.nav_syncfusion .e-menu-item.e-active > .e-menu-text[b-8ljhiwxq0t] {
    background: linear-gradient(90deg, rgba(79,159,255,0.06), rgba(79,159,255,0.03));
    color: var(--accent);
    box-shadow: inset 0 0 0 2px rgba(79,159,255,0.03);
}

/* Submenu indicator (chevron) color */
.nav-syncfusion .e-menu-item .e-icons[b-8ljhiwxq0t],
.nav_syncfusion .e-menu-item .e-icons[b-8ljhiwxq0t]::before {
    color: var(--muted);
    opacity: 0.95;
}

/* Make nested lists align and inherit the dark surface */
.nav_syncfusion .e-menu-item .e-ul[b-8ljhiwxq0t] {
    background: transparent;
    padding-left: 0.5rem;
}

/* Improve contrast of scrollbar on dark surface */
.nav_syncfusion .e-ul[b-8ljhiwxq0t]::-webkit-scrollbar { width: 10px; }
.nav_syncfusion .e-ul[b-8ljhiwxq0t]::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.10);
    border-radius: 8px;
}

/* Fallbacks for account block or non-Syncfusion nav items */
.account-block .nav-link[b-8ljhiwxq0t] {
    color: var(--muted);
    padding-left: 0;
}
.account-block .nav-link:hover[b-8ljhiwxq0t] {
    color: white;
}

/* Ensure default nav-item styles still apply elsewhere */
.nav-item[b-8ljhiwxq0t] {
    font-size: 0.95rem;
    padding-bottom: 0.25rem;
}
.nav-item:first-of-type[b-8ljhiwxq0t] { padding-top: 0.75rem; }
.nav-item:last-of-type[b-8ljhiwxq0t] { padding-bottom: 0.75rem; }

/* Scoped deep rule to reach Blazor-generated links (preserved) */
.nav-item[b-8ljhiwxq0t]  .nav-link {
    color: var(--muted);
    background: transparent;
    border: none;
    border-radius: 8px;
    height: var(--row-height);
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0 0.5rem;
    width: 100%;
    line-height: var(--row-height);
    text-decoration: none;
    transition: background-color var(--transition-fast), color var(--transition-fast), transform var(--transition-fast);
    font-weight: 500;
}

/* Compact helpers for tighter screens */
@media (max-width: 640px) {
    .nav-scrollable[b-8ljhiwxq0t] { width: 100%; padding: 0.5rem; border-radius: 0 0 6px 6px; }
    .navbar-brand[b-8ljhiwxq0t] { padding-left: 0.25rem; }
}

/* Lightweight divider row (if used inside layout) */
.nav-divider[b-8ljhiwxq0t] {
    height: 1px;
    background: rgba(255,255,255,0.06);
    margin: 0.5rem 0;
}
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-c9tmw0yb3o],
.components-reconnect-repeated-attempt-visible[b-c9tmw0yb3o],
.components-reconnect-failed-visible[b-c9tmw0yb3o],
.components-pause-visible[b-c9tmw0yb3o],
.components-resume-failed-visible[b-c9tmw0yb3o],
.components-rejoining-animation[b-c9tmw0yb3o] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-c9tmw0yb3o],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-c9tmw0yb3o],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-c9tmw0yb3o],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-c9tmw0yb3o],
#components-reconnect-modal.components-reconnect-retrying[b-c9tmw0yb3o],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-c9tmw0yb3o],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-c9tmw0yb3o],
#components-reconnect-modal.components-reconnect-failed[b-c9tmw0yb3o],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-c9tmw0yb3o] {
    display: block;
}


#components-reconnect-modal[b-c9tmw0yb3o] {
    background-color: white;
    width: 20rem;
    margin: 20vh auto;
    padding: 2rem;
    border: 0;
    border-radius: 0.5rem;
    box-shadow: 0 3px 6px 2px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: display 0.5s allow-discrete, overlay 0.5s allow-discrete;
    animation: components-reconnect-modal-fadeOutOpacity-b-c9tmw0yb3o 0.5s both;
    &[open]

{
    animation: components-reconnect-modal-slideUp-b-c9tmw0yb3o 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-c9tmw0yb3o 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

}

#components-reconnect-modal[b-c9tmw0yb3o]::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    animation: components-reconnect-modal-fadeInOpacity-b-c9tmw0yb3o 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-c9tmw0yb3o {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-c9tmw0yb3o {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-c9tmw0yb3o {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-c9tmw0yb3o] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-c9tmw0yb3o] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-c9tmw0yb3o] {
    border: 0;
    background-color: #6b9ed2;
    color: white;
    padding: 4px 24px;
    border-radius: 4px;
}

    #components-reconnect-modal button:hover[b-c9tmw0yb3o] {
        background-color: #3b6ea2;
    }

    #components-reconnect-modal button:active[b-c9tmw0yb3o] {
        background-color: #6b9ed2;
    }

.components-rejoining-animation[b-c9tmw0yb3o] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-c9tmw0yb3o] {
        position: absolute;
        border: 3px solid #0087ff;
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-c9tmw0yb3o 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-c9tmw0yb3o] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-c9tmw0yb3o {
    0% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    4.9% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    5% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 1;
    }

    100% {
        top: 0px;
        left: 0px;
        width: 80px;
        height: 80px;
        opacity: 0;
    }
}
/* /Components/Pages/Auctions.razor.rz.scp.css */
/* Center Syncfusion dialogs for this component via CssClass="centered-dialog" */
.centered-dialog[b-ngw4rkqc5a] {
  position: fixed !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
  margin: 0 !important;
  z-index: 2000 !important;
}

/* Ensure overlay sits behind the dialog */
.e-dlg-overlay[b-ngw4rkqc5a] {
  z-index: 1995 !important;
}

/* Tweak for the smaller confirm/delete dialog */
.centered-confirm-dialog[b-ngw4rkqc5a] {
  width: 400px !important;
  max-width: 90% !important;
}
/* /Components/Shared/Dashboard/Dashboard.razor.rz.scp.css */
.dashboard-container[b-0x5dxc5kfm] {
    width: 100%;
    height: 100%;
    user-select: none;
}

.dashboard-toolbar[b-0x5dxc5kfm] {
    padding: 15px 0;
    margin-bottom: 20px;
    border-bottom: 2px solid #e9ecef;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.device-indicator[b-0x5dxc5kfm] {
    display: inline-flex;
    align-items: center;
}

.device-indicator .badge[b-0x5dxc5kfm] {
    font-size: 0.875rem;
    padding: 0.5rem 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.device-indicator .bi[b-0x5dxc5kfm] {
    font-size: 1rem;
}

.dashboard-layout[b-0x5dxc5kfm] {
    position: relative;
    background: #f8f9fa;
    border: 2px dashed transparent;
    border-radius: 8px;
    overflow: hidden;
    transition: min-width 0.3s ease, min-height 0.3s ease;
    /* Prevent default touch behaviors that interfere with dragging */
    touch-action: none;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.dashboard-layout.edit-mode[b-0x5dxc5kfm] {
    border-color: #007bff;
    background: linear-gradient(45deg, #f8f9fa 25%, transparent 25%), 
                linear-gradient(-45deg, #f8f9fa 25%, transparent 25%), 
                linear-gradient(45deg, transparent 75%, #f8f9fa 75%), 
                linear-gradient(-45deg, transparent 75%, #f8f9fa 75%);
    background-size: 20px 20px;
    background-position: 0 0, 0 10px, 10px -10px, -10px 0px;
}

.empty-dashboard[b-0x5dxc5kfm] {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
}

.dashboard-panel[b-0x5dxc5kfm] {
    border: 2px solid #dee2e6;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
    overflow: hidden;
    transition: all 0.2s ease;
    /* Improved touch handling */
    touch-action: none;
}

.dashboard-panel:hover[b-0x5dxc5kfm] {
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.dashboard-panel.editable[b-0x5dxc5kfm] {
    border-color: #0d6efd;
}

.dashboard-panel.editable:hover[b-0x5dxc5kfm] {
    border-color: #0a58ca;
    transform: translateY(-2px);
}

.dashboard-panel.dragging[b-0x5dxc5kfm] {
    z-index: 1000 !important;
    transform: rotate(2deg) scale(1.02);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
    border-color: #0a58ca;
    opacity: 0.9;
    transition: none; /* Disable transitions during drag */
}

.dashboard-panel.resizing[b-0x5dxc5kfm] {
    z-index: 1000 !important;
    border-color: #fd7e14;
    box-shadow: 0 8px 16px rgba(253, 126, 20, 0.3);
    transition: none; /* Disable transitions during resize */
}

.dashboard-panel.pushed[b-0x5dxc5kfm] {
    z-index: 100 !important;
    border-color: #dc3545;
    box-shadow: 0 6px 12px rgba(220, 53, 69, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); /* Smooth push animation */
}

.dashboard-panel.pushed[b-0x5dxc5kfm]::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    border: 2px solid #dc3545;
    border-radius: 15px;
    opacity: 0.6;
    animation: pushPulse-b-0x5dxc5kfm 0.6s ease-in-out;
    pointer-events: none;
    z-index: -1;
}

@keyframes pushPulse-b-0x5dxc5kfm {
    0% {
        transform: scale(0.95);
        opacity: 0.8;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.4;
    }
    100% {
        transform: scale(1);
        opacity: 0.6;
    }
}

.dashboard-panel.resizing .resize-handle[b-0x5dxc5kfm] {
    background-color: #fd7e14 !important;
    opacity: 1 !important;
    transform: scale(1.2);
}

.panel-header[b-0x5dxc5kfm] {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-bottom: 1px solid #dee2e6;
    padding: 10px 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    font-size: 14px;
    min-height: 41px;
    /* Enhanced touch support */
    touch-action: none;
}

.panel-header.draggable-header[b-0x5dxc5kfm] {
    cursor: move;
    /* Better touch indication */
    position: relative;
}

.panel-header.draggable-header:hover[b-0x5dxc5kfm] {
    background: linear-gradient(135deg, #e9ecef 0%, #dee2e6 100%);
}

.panel-header.draggable-header:active[b-0x5dxc5kfm] {
    cursor: grabbing;
}

/* Touch-specific styles */
@media (hover: none) and (pointer: coarse) {
    .panel-header.draggable-header[b-0x5dxc5kfm] {
        /* Larger touch target for mobile */
        min-height: 48px;
        padding: 12px 15px;
    }
    
    .resize-handle[b-0x5dxc5kfm] {
        /* Larger resize handle for touch devices */
        width: 24px !important;
        height: 24px !important;
    }
    
    .panel-controls .btn[b-0x5dxc5kfm] {
        /* Larger buttons for touch */
        min-width: 40px;
        min-height: 40px;
        padding: 8px;
    }
}

.panel-title[b-0x5dxc5kfm] {
    color: #495057;
    font-weight: 600;
    flex-grow: 1;
    pointer-events: none; /* Prevent text selection during drag */
}

.panel-controls[b-0x5dxc5kfm] {
    display: flex;
    gap: 5px;
    align-items: center;
    /* Allow interaction with control buttons */
    touch-action: auto;
}

.panel-controls .btn[b-0x5dxc5kfm] {
    pointer-events: auto;
    touch-action: auto;
}

.panel-content[b-0x5dxc5kfm] {
    padding: 15px;
    background: white;
    /* Allow scrolling in panel content */
    touch-action: auto;
}

.default-content[b-0x5dxc5kfm] {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6c757d;
    background: #f8f9fa;
    border-radius: 6px;
}

.resize-handles[b-0x5dxc5kfm] {
    position: absolute;
    bottom: 0;
    right: 0;
    pointer-events: auto;
}

.resize-handle[b-0x5dxc5kfm] {
    position: absolute;
    background: #0d6efd;
    opacity: 0.8;
    transition: all 0.2s ease;
    pointer-events: auto;
    touch-action: none;
}

.resize-se[b-0x5dxc5kfm] {
    bottom: 0;
    right: 0;
    width: 16px;
    height: 16px;
    cursor: se-resize;
    clip-path: polygon(100% 0%, 0% 100%, 100% 100%);
    border-radius: 0 0 10px 0;
}

.resize-handle:hover[b-0x5dxc5kfm] {
    opacity: 1;
    background: #0a58ca;
    transform: scale(1.1);
}

.resize-handle:active[b-0x5dxc5kfm] {
    background: #fd7e14;
    opacity: 1;
}

/* Dashboard expansion zones */
.dashboard-expansion-zones[b-0x5dxc5kfm] {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 500;
}

.expansion-zone[b-0x5dxc5kfm] {
    position: absolute;
    background: rgba(13, 110, 253, 0.1);
    border: 2px dashed #0d6efd;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0d6efd;
    font-size: 24px;
    animation: expandPulse-b-0x5dxc5kfm 1s ease-in-out infinite alternate;
}

.expand-right[b-0x5dxc5kfm] {
    top: 0;
    right: 0;
    width: 50px;
    height: 100%;
}

.expand-bottom[b-0x5dxc5kfm] {
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50px;
}

@keyframes expandPulse-b-0x5dxc5kfm {
    0% {
        opacity: 0.3;
        background: rgba(13, 110, 253, 0.05);
    }
    100% {
        opacity: 0.7;
        background: rgba(13, 110, 253, 0.15);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .dashboard-toolbar[b-0x5dxc5kfm] {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }
    
    .dashboard-toolbar .btn[b-0x5dxc5kfm],
    .dashboard-toolbar .dropdown[b-0x5dxc5kfm],
    .dashboard-toolbar .form-check[b-0x5dxc5kfm],
    .dashboard-toolbar .device-indicator[b-0x5dxc5kfm] {
        margin: 2px 0;
    }
    
    .device-indicator[b-0x5dxc5kfm] {
        justify-content: center;
    }
    
    .dashboard-panel.editable .panel-header[b-0x5dxc5kfm] {
        cursor: default;
    }
    
    .dashboard-layout.edit-mode[b-0x5dxc5kfm] {
        overflow-x: auto;
    }
}

@media (max-width: 576px) {
    .panel-header[b-0x5dxc5kfm] {
        padding: 8px 10px;
        font-size: 12px;
    }
    
    .panel-content[b-0x5dxc5kfm] {
        padding: 10px;
    }
}

/* Animation for smooth interactions */
@keyframes panelAppear-b-0x5dxc5kfm {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.dashboard-panel:not(.dragging):not(.resizing):not(.pushed)[b-0x5dxc5kfm] {
    animation: panelAppear-b-0x5dxc5kfm 0.3s ease-out;
}

/* Focus styles for accessibility */
.dashboard-panel:focus-within[b-0x5dxc5kfm] {
    outline: 2px solid #0d6efd;
    outline-offset: 2px;
}

.panel-controls .btn:focus[b-0x5dxc5kfm] {
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
}

/* Ensure resize handle is always on top */
.resize-handles[b-0x5dxc5kfm] {
    z-index: 10;
}

.resize-handle[b-0x5dxc5kfm] {
    z-index: 11;
}

/* Improved drag handle styling */
.draggable-header[b-0x5dxc5kfm]::before {
    content: '⋮⋮';
    position: absolute;
    left: 5px;
    top: 50%;
    transform: translateY(-50%);
    color: #6c757d;
    font-size: 12px;
    line-height: 1;
    opacity: 0.5;
    pointer-events: none;
}

.draggable-header:hover[b-0x5dxc5kfm]::before {
    opacity: 0.8;
    color: #495057;
}

.draggable-header .panel-title[b-0x5dxc5kfm] {
    margin-left: 15px;
}
/* /Components/Shared/WizardDialog.razor.rz.scp.css */
