/* /Components/GlassDockNav.razor.rz.scp.css */
.glass-dock[b-pf9et7h1cb] {
    position: fixed;
    left: 0;
    top: 0;
    width: 66px;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(14, 23, 40, 0.86);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow:
        0 1px 2px rgba(0, 0, 0, 0.16),
        0 8px 18px rgba(0, 0, 0, 0.26),
        0 26px 50px rgba(0, 0, 0, 0.36),
        0 50px 90px rgba(0, 0, 0, 0.28),
        0 20px 60px rgba(96, 165, 250, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.18),
        inset 0 0 0 1px rgba(255, 255, 255, 0.04);
    border-radius: 28px;
    padding: 12px 8px;
    z-index: 1000;
    transition: border-radius 0.3s ease;
}

.glass-dock.is-open[b-pf9et7h1cb] {
    border-radius: 26px;
}

/* ---------- always-visible top: logo + toggle ---------- */
.dock-top[b-pf9et7h1cb] {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.dock-brand-group[b-pf9et7h1cb] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.dock-brand[b-pf9et7h1cb] {
    font-family: var(--nav-font);
    font-weight: 800;
    font-size: 11px;
    letter-spacing: 0.02em;
    color: #fff;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
    white-space: nowrap;
}

.dock-logo[b-pf9et7h1cb] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.08);
    overflow: hidden;
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.25s ease, border-color 0.25s ease;
}

.dock-logo img[b-pf9et7h1cb] {
    width: 78%;
    height: 78%;
    object-fit: contain;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.4));
}

.dock-logo:hover[b-pf9et7h1cb] {
    transform: scale(1.07);
    border-color: rgba(96, 165, 250, 0.45);
    box-shadow:
        0 8px 20px rgba(0, 0, 0, 0.3),
        0 0 22px rgba(96, 165, 250, 0.25);
}

.dock-toggle[b-pf9et7h1cb] {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.05rem;
    cursor: pointer;
    transition: background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease, transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.dock-toggle:hover[b-pf9et7h1cb] {
    background: rgba(96, 165, 250, 0.16);
    border-color: rgba(96, 165, 250, 0.4);
    color: #fff;
    transform: scale(1.06);
}

.dock-toggle i[b-pf9et7h1cb] {
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-dock.is-open .dock-toggle[b-pf9et7h1cb] {
    background: rgba(96, 165, 250, 0.2);
    border-color: rgba(96, 165, 250, 0.5);
    color: #fff;
}

.glass-dock.is-open .dock-toggle i[b-pf9et7h1cb] {
    transform: rotate(90deg);
}

/* ---------- the hanging panel — collapses/expands beneath the toggle ---------- */
.dock-hanging[b-pf9et7h1cb] {
    width: 100%;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: max-height 0.45s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
}

.glass-dock.is-open .dock-hanging[b-pf9et7h1cb] {
    max-height: 720px;
    opacity: 1;
    overflow: visible;
}

.dock-divider[b-pf9et7h1cb] {
    flex-shrink: 0;
    width: 34px;
    height: 1px;
    margin: 8px 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.16), transparent);
}

.dock-items[b-pf9et7h1cb] {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    max-height: min(82vh, 640px);
    overflow-y: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.dock-items[b-pf9et7h1cb]::-webkit-scrollbar {
    width: 0;
    display: none;
}

.dock-footer[b-pf9et7h1cb] {
    flex-shrink: 0;
}

.dock-item[b-pf9et7h1cb] {
    position: relative;
    flex-shrink: 0;
    width: 95px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.74);
    border-radius: 50%;
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 1.2rem;
    text-decoration: none;
    opacity: 0;
    transform: translateY(-10px) scale(0.85);
    transition: opacity 0.3s ease, transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1),
        background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.glass-dock.is-open .dock-item[b-pf9et7h1cb] {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* staggered cascade as the menu hangs open */
.glass-dock.is-open .dock-items .dock-item:nth-child(1)[b-pf9et7h1cb] { transition-delay: 0.03s; }
.glass-dock.is-open .dock-items .dock-item:nth-child(2)[b-pf9et7h1cb] { transition-delay: 0.06s; }
.glass-dock.is-open .dock-items .dock-item:nth-child(3)[b-pf9et7h1cb] { transition-delay: 0.09s; }
.glass-dock.is-open .dock-items .dock-item:nth-child(4)[b-pf9et7h1cb] { transition-delay: 0.12s; }
.glass-dock.is-open .dock-items .dock-item:nth-child(5)[b-pf9et7h1cb] { transition-delay: 0.15s; }
.glass-dock.is-open .dock-items .dock-item:nth-child(6)[b-pf9et7h1cb] { transition-delay: 0.18s; }
.glass-dock.is-open .dock-items .dock-item:nth-child(7)[b-pf9et7h1cb] { transition-delay: 0.21s; }
.glass-dock.is-open .dock-items .dock-item:nth-child(8)[b-pf9et7h1cb] { transition-delay: 0.24s; }
.glass-dock.is-open .dock-items .dock-item:nth-child(9)[b-pf9et7h1cb] { transition-delay: 0.27s; }
.glass-dock.is-open .dock-items .dock-item:nth-child(10)[b-pf9et7h1cb] { transition-delay: 0.3s; }
.glass-dock.is-open .dock-footer .dock-item[b-pf9et7h1cb] { transition-delay: 0.34s; }

.dock-item[b-pf9et7h1cb]::before {
    content: "";
    position: absolute;
    left: -4px;
    top: 50%;
    transform: translateY(-50%) scaleY(0);
    width: 3px;
    height: 18px;
    border-radius: 3px;
    background: #60a5fa;
    transition: transform 0.2s ease;
}

/* vibrant per-item icon badge, nested inside the hover/active ring */
.dock-ic[b-pf9et7h1cb] {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    color: #fff;
    font-size: 1rem;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35);
    transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.dock-item:hover .dock-ic[b-pf9et7h1cb] {
    transform: scale(1.08);
}

.dock-ic.blue[b-pf9et7h1cb] {
    background: linear-gradient(160deg, #60a5fa, #2563eb);
    box-shadow: 0 6px 14px rgba(37, 99, 235, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.dock-ic.cyan[b-pf9et7h1cb] {
    background: linear-gradient(160deg, #22d3ee, #0e7490);
    box-shadow: 0 6px 14px rgba(34, 211, 238, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.dock-ic.green[b-pf9et7h1cb] {
    background: linear-gradient(160deg, #34d399, #059669);
    box-shadow: 0 6px 14px rgba(16, 185, 129, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.dock-ic.amber[b-pf9et7h1cb] {
    background: linear-gradient(160deg, #fbbf24, #d97706);
    box-shadow: 0 6px 14px rgba(245, 158, 11, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.dock-ic.violet[b-pf9et7h1cb] {
    background: linear-gradient(160deg, #a78bfa, #7c3aed);
    box-shadow: 0 6px 14px rgba(139, 92, 246, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.dock-ic.rose[b-pf9et7h1cb] {
    background: linear-gradient(160deg, #fb7185, #e11d48);
    box-shadow: 0 6px 14px rgba(244, 63, 94, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.dock-item:hover[b-pf9et7h1cb] {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    box-shadow:
        0 6px 16px rgba(0, 0, 0, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.24);
    transform: scale(1.08);
}

a.active .dock-item[b-pf9et7h1cb] {
    color: #fff;
    background: rgba(96, 165, 250, 0.14);
    box-shadow:
        0 6px 18px rgba(96, 165, 250, 0.2),
        0 0 26px rgba(96, 165, 250, 0.26),
        inset 0 1px 0 rgba(96, 165, 250, 0.32);
}

a.active .dock-item[b-pf9et7h1cb]::before {
    transform: translateY(-50%) scaleY(1);
}

.tooltip[b-pf9et7h1cb] {
    position: absolute;
    left: 111px;
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(9, 14, 24, 0.97);
    backdrop-filter: blur(12px);
    color: #fff;
    font-family: var(--nav-font);
    padding: 7px 13px;
    font-size: 0.78rem;
    font-weight: 600;
    border-radius: 7px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transform: translateX(-8px);
    transition: opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1), transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.45);
    z-index: 1001;
}

.dock-item:hover .tooltip[b-pf9et7h1cb] {
    opacity: 1;
    transform: translateX(0);
}

/* ---------- mobile: compact bar with logo + hamburger; menu drops up from it ---------- */
@media (max-width: 767px) {
    .glass-dock[b-pf9et7h1cb] {
        left: 12px;
        right: 12px;
        top: auto;
        bottom: 12px;
        width: auto;
        height: 64px;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        border-radius: 24px;
        padding: 0 10px;
        gap: 0;
    }

    .dock-top[b-pf9et7h1cb] {
        flex-direction: row;
        align-items: center;
        flex-shrink: 0;
        gap: 10px;
        width: 100%;
        justify-content: space-between;
    }

    .dock-brand-group[b-pf9et7h1cb] {
        flex-direction: row;
        align-items: center;
        gap: 10px;
    }

    .dock-brand[b-pf9et7h1cb] {
        font-size: 15px;
    }

    .dock-toggle[b-pf9et7h1cb] {
        display: flex;
        flex-shrink: 0;
    }

    .dock-logo[b-pf9et7h1cb] {
        width: 40px;
        height: 40px;
        border-radius: 12px;
    }

    /* the hanging panel drops up from the bar as a floating card, collapsed by default */
    .dock-hanging[b-pf9et7h1cb] {
        position: absolute;
        left: 0;
        right: 0;
        bottom: calc(100% + 12px);
        flex-direction: column;
        align-items: stretch;
        background: rgba(14, 23, 40, 0.94);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border: 1px solid rgba(255, 255, 255, 0.12);
        border-radius: 20px;
        box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
        padding: 10px;
        max-height: 0;
        opacity: 0;
        overflow: hidden;
    }

    .glass-dock.is-open .dock-hanging[b-pf9et7h1cb] {
        max-height: min(85vh, 640px);
        opacity: 1;
        overflow-y: auto;
    }

    .dock-divider[b-pf9et7h1cb] {
        width: 100%;
        height: 1px;
        margin: 6px 0;
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.16), transparent);
    }

    .dock-items[b-pf9et7h1cb] {
        flex-direction: column;
        align-items: stretch;
        max-height: none;
        overflow: visible;
        gap: 2px;
    }

    .dock-item[b-pf9et7h1cb] {
        width: 100%;
        height: auto;
        overflow: hidden;
        flex-direction: row;
        justify-content: flex-start;
        border-radius: 12px;
        padding: 2px 2px;
        gap: 12px;
        transform: none;
    }

    .dock-item[b-pf9et7h1cb]::before {
        left: 0;
        top: 50%;
    }

    .tooltip[b-pf9et7h1cb] {
        position: static;
        display: inline-block;
        flex: 1 1 auto;
        min-width: 0;
        opacity: 1;
        pointer-events: auto;
        transform: none;
        background: transparent;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        box-shadow: none;
        border: none;
        padding: 0;
        font-size: 0.9rem;
        white-space: normal;
        overflow-wrap: break-word;
    }
}
/* /Components/Layout/MainLayout.razor.rz.scp.css */
/* Layout styling lives in wwwroot/app.css. */
/* /Components/Layout/NavMenu.razor.rz.scp.css */
/* Navigation styling lives in wwwroot/app.css. */
