/* ==========================================================================
   GRID COORDINATE BUBBLE (Figma-style)
   ========================================================================== */

.grid-coordinate-bubble {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1000;
    pointer-events: none;
    background-color: var(--primary);
    color: var(--white);
    
    /* Tokens-based padding */
    padding-block: var(--space-2xs);
    padding-inline: var(--space-s);
    min-width: 64px;
    
    /* Layout */
    display: none;
    align-items: center;
    justify-content: center;
    text-align: center;
    
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-m);
    white-space: nowrap;
    
    /* Animation & Positioning */
    transform: translate(-50%, -160%);
    will-change: transform, opacity;
    transition: opacity 0.2s ease;
    opacity: 0;
}

.grid-coordinate-bubble.is-visible {
    display: flex;
    opacity: 1;
}
