/* Admin Sidebar Styles */
.admin-sidebar-fixed {
    position: fixed;
    z-index: 50;
    transition: all 0.3s ease;
}

/* Desktop: Right Center */
@media (min-width: 768px) {
    .admin-sidebar-fixed {
        top: 50%;
        right: 1rem;
        transform: translateY(-50%);
    }

    .sidebar-tooltip {
        position: absolute;
        right: 100%;
        top: 50%;
        transform: translateY(-50%) translateX(-10px);
        background: #1f2937;
        color: white;
        padding: 4px 8px;
        border-radius: 6px;
        font-size: 12px;
        white-space: nowrap;
        opacity: 0;
        visibility: hidden;
        transition: all 0.2s;
        pointer-events: none;
    }

    .sidebar-btn:hover .sidebar-tooltip {
        opacity: 1;
        visibility: visible;
        transform: translateY(-50%) translateX(-5px);
    }
}

/* Mobile: Bottom Sticky Horizontal */
@media (max-width: 767px) {
    .admin-sidebar-fixed {
        bottom: 1rem !important;
        left: 1rem !important;
        right: 1rem !important;
        top: auto !important;
        transform: none !important;
        width: auto !important;
        display: flex;
        justify-content: center;
        padding-bottom: env(safe-area-inset-bottom);
        pointer-events: none;
        z-index: 50;
        /* Let clicks pass through container */
    }

    .admin-sidebar-fixed>div {
        flex-direction: row;
        width: 100%;
        justify-content: space-around;
        border-radius: 9999px;
        padding: 0.5rem 0.75rem;
        pointer-events: auto;
        /* Re-enable clicks on bar */
        box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -2px rgb(0 0 0 / 0.05);
        background: rgba(255, 255, 255, 0.85);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        border: 1px solid rgba(255, 255, 255, 0.3);
    }

    .sidebar-tooltip {
        display: none;
        /* No tooltips on mobile */
    }
}