/*
 * GX CONTEXT MENU
 * Premium dark context menu with Flamingo Pink accent.
 */

.gx-contextmenu {
    position: fixed;
    top: 0;
    left: 0;
    width: 220px;
    background: var(--color-bg-card);
    border-radius: var(--radius);
    border: 1px solid rgba(255, 79, 163, 0.20);

    padding: 6px 0;
    list-style: none;

    opacity: 0;
    scale: 0.92;
    pointer-events: none;

    z-index: 99999;

    /* subtle multidirectional glow */
    box-shadow:
    0 12px 32px rgba(0, 0, 0, 0.65),
    0 0 22px rgba(255, 79, 163, 0.14);

    backdrop-filter: blur(4px);

    transition:
    opacity 0.18s ease-out,
    scale 0.16s cubic-bezier(0.2, 0.9, 0.25, 1.4);
}

.gx-contextmenu.show {
    opacity: 1;
    scale: 1;
    pointer-events: auto;
}

.gx-contextmenu-item {
    padding: 10px 14px;
    color: var(--color-text-primary);
    cursor: pointer;
    font-size: 0.95rem;

    display: flex;
    justify-content: space-between;
    align-items: center;

    transition: background var(--transition-fast),
    color var(--transition-fast);
}

/* Hover */
.gx-contextmenu-item:hover {
    background: rgba(255, 79, 163, 0.12);
    color: var(--color-brand);
}

/* Divider */
.gx-contextmenu-divider {
    height: 1px;
    background: rgba(255, 79, 163, 0.15);
    margin: 6px 0;
}

/* Keyboard focused */
.gx-contextmenu-item.focused {
    background: rgba(255, 79, 163, 0.18);
    color: var(--color-brand-hover);
}

/* Optional submenu arrow (future support) */
.gx-contextmenu-item .submenu-arrow {
    opacity: 0.6;
    font-size: 0.75rem;
}
