/* Drag ghost for draggable invoice cards (built on body by drag-ghost-interop.js).
   The browser rasterizes this node for the native drag image, so it lives outside
   any scoped-CSS component tree and cannot use ::deep or component styles. */

.lw-drag-ghost-wrap {
    position: fixed;
    top: -1000px;
    left: -1000px;
    /* Roomy enough that the ghost's shadow is fully inside the rasterized
       snapshot -- anything the wrapper clips reads as a hard cut edge. */
    padding: 8px 10px 12px;
    background: transparent;
    pointer-events: none;
    z-index: 9999;
}

.lw-drag-ghost {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    background: #fff;
    border: 1.5px solid var(--lw-primary-blue);
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(2, 11, 43, 0.20);
    white-space: nowrap;
    transform: rotate(3deg);
    transform-origin: center center;
}

.lw-drag-ghost-grip {
    flex-shrink: 0;
    color: var(--lw-gray-space);
}

.lw-drag-ghost-name {
    font-size: 14px;
    font-weight: 700;
    color: var(--lw-text-primary);
}

.lw-drag-ghost-num {
    font-size: 12px;
    font-weight: 500;
    color: var(--lw-gray-graphite);
    margin-left: 4px;
}

.lw-drag-ghost-amount {
    font-size: 14px;
    font-weight: 700;
    color: var(--lw-primary-blue);
    margin-left: 6px;
    font-variant-numeric: tabular-nums;
}
